EC2 Get List of Tags

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.  

Using this action, you can get the list of all the tags created for instances in a particular region. To do this, you first need to configure the action, and select the required AWS connection. Select the region where you want to perform this task. Set filters, if any.

You can also specify the maximum number of tags you want to get. Then, provide the token to retrieve the next page of results. Performing a dry run will help you determine if you have the required permissions to get the list of tags. Set dry run as true or false.

ec2-get-list-of-tags

Once you have entered all the details, click on ‘Done’ and run the workflow. This will return the list of all the tags in a particular region.

Output:
  • output-arrow aws-128 EC2 Get List of Tags
    • left-triangle Tags array
      • left-triangle ResourceId string
      • left-triangle ResourceType string
      • left-triangle Key string
      • left-triangle Value string