EC2 Start Instances by TagName
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.
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.
If an existing EBS-backed EC2 instance was stopped earlier, and you do not remember its ID, but just the tag name, you can easily start that instance through this action, provided that it was stopped in a state that allows the instance to restart later. To do this, you first need to configure the action, and select the required AWS connection. Select the region in which your EC2 instance resides. Then provide the tag name of the instance that you wish to start. If you want to start multiple instances at once, click on ‘+ Tag Name’ to add more instances. Specify additional info, if any, in the ‘additional info’ field.
You can also perform a test dry run before the instances are started. This dry run will check if you have the required permissions to start an instance. Once you have entered all the required details, click on ‘Done’ and run the workflow. This will start the specified EC2 instance.
Output:
-
EC2 Start Instances by TagName
-
StartingInstances array
InstanceId string
CurrentState object
-
count number
-