EC2 Copy Image
Amazon Web Services (AWS)’s Elastic Compute Cloud (EC2) is a commercial web service that allows users to rent virtual computers. Using AWS EC2’s cloud infrastructure, you can build powerful servers in the cloud. This service completely eliminates the need to set up and invest in hardware, enabling you to deploy your apps quickly. With AWS EC2, you can set up servers, configure networking and security, and manage storage.
Amazon Machine Image (AMI) is your virtual machine’s software configuration. It includes elements such as operating system, application server, and applications.
An instance is nothing but a virtual machine. AWS offers a variety of instance types, which are various combinations of CPU, storage, memory, networking capacity, and so on.
Amazon Elastic Block Store (EBS) provides block level storage volumes that you can use with your EC2 instances. You can attach an EBS volume to any running EC2 instance and can use it as primary storage for databases, file systems, or any app that requires frequent updates and quick access to the data.
If you have already created an AMI, and you want to copy this AMI to another region, you can do this easily with the action. To do this, you first need to configure the action, and select the required AWS connection. Next, select the destination where the copy of the AMI would reside. In the next field, enter the name of the new AMI.
Once you have provided these details, it’s time to give certain details about the AMI you will use to create a new copy. First, give the exact ID of this original AMI. Then, specify the region in which this AMI resides. Also, provide the client token.
You can also perform a dry run to check if you have the required permissions to perform this action. Once you have entered all the required details, click on ‘Done’ and run the workflow. This will create a new copy of the specified AMI in the mentioned region.
Output:
-
EC2 Copy Image
-
ImageId string
-