Cloud Automator allows you to specify taget which you can operate using Job function based on resource ID or Tag.
When specified by the Resource ID, the operation taget can be limited, but when specified by the Tag, there is an advantage that multiple EC2 instances can be operated together.
In this step, we will introduce the process of tagging EC2 instances to be backed up.
Tagging EC2 Instance
In this configuration example, we apply "environment" as Tag key and "production" as Tag value for both of the two EC2 instances running in the AWS account.
- Sign in to the AWS Management console and access to EC2
- Click "Instances" in the left menu
- Select an EC2 instance, then click "Tags", and finally click "Manage Tags"
-
Enter the Key and Value, then click "Save"
- Select the EC2 instance, click "Tags", and verify that the tags have been applied to the EC2 instance
- If necessary, tag other instances using the same procedure
This conclude tagging EC2 instances. Let's create a Job using Cloud Automator.