Overview
By creating an AMI snapshot and then copying it to another region, you can improve data availability.
This template creates one job workflow that automates the entire process from AMI snapshot creation to cross-region copying.
Job Workflows Created
Using this template will create the following job workflow.
AMI Creation and Cross-Region Copy Workflow
Creates an AMI at a specified time and copies it to another region.
| Order | Job Configuration |
|---|---|
| 1 | Trigger Job (Timer Trigger) |
| 2 | EC2: Create AMI |
| 3 | EC2: Copy AMI Across Regions |
User-Configured Items
- Group: The group in which to create the job workflow
- AWS Account: The target AWS account
- Region: The source region for AMI creation
- EC2 Instance: The EC2 instance to create the AMI from (specify by ID or tag)
- AMI Name: The name of the AMI to create
- AMI Description: A description for the AMI (optional)
- Generation Count: The number of AMI generations to retain (default: 7)
- Additional Tags: Tags to add to the AMI (optional)
- Destination Region: The destination region for the AMI copy (default: ap-northeast-3)
- Execution Schedule: The execution time of the workflow
- Post-process: Post-processing on success or failure for each job (optional)
AI Auto-Configured Items
The following settings are automatically configured by AI. They can be modified from the edit screen after the job workflow is created.
Common to All Jobs
| Setting | Auto-Configured Value |
|---|---|
| Workflow Name / Job Name | Auto-generated based on target resource and schedule |
| Timezone | User's timezone setting |
| Skip Dates | None (empty) |
| Status Check (trace_status) | Enabled (true) |
EC2: Create AMI Job Specific
| Setting | Auto-Configured Value |
|---|---|
| Reboot before creating AMI (reboot_instance) | Disabled (false) |
| Add same tags to snapshots (add_same_tag_to_snapshot) | Enabled (true) |
| Recreate if AMI status is failed (recreate_image_if_ami_status_failed) | Enabled (true) |
EC2: Copy AMI Across Regions Job Specific
| Setting | Auto-Configured Value |
|---|---|
| Source Region (source_region) | Same value as the region selected by the user |
| AMI Specification Method (specify_image) | Specify by tag (tag) |
| Tag Key (tag_key) | "Cloud Automator Job ID" (for automatic linkage with the AMI creation job) |
| Tag Value (tag_value) | Job ID of the AMI creation job (automatic linkage) |
| Generation Count (generation) | Matched to the source generation count |
In the "EC2: Copy AMI Across Regions" job, the job ID of the AMI creation job is automatically set as a tag. This ensures that the correct AMI is identified for copying.
AI auto-configured items (such as job names and workflow names) can be modified from the edit screen after the job workflow is created.