Cross Region AMI Backup Part-1

This use case automates the process of copying your AMI across regions. The AMI’s from one region backed up across a different region enables your Disaster Recovery (DR) setup, and also quickly recovers instances in case the EC2 service in the entire region fails (though this is a rare case). You can scale your applications globally much easier with cross-region AMIs, without any code.


Benefits


  • Multi-Region Deployment 
  • Scalability
  • Improved Performance
  • Higher Availability


Workflow Brief


There are two parts to this workflow. The first workflow collects and filters out the EC2 images. Then the endpoint URL of the account in the second region is sent as a payload to the second workflow where the filtered images are pasted on.


Process


In this particular template, the trigger is set to a recurrent schedule that runs every day. This means that backups are carried out everyday. This trigger setting can be customized as well. The resources node collects the EC2 images and the filter node identifies the appropriate images by tags. The http node will post the filtered image onto the account of the second region which is connected using an endpoint URL. The second workflow then copies the image and sends a report via slack or mail.

Adopt Template

Trigger

Use this to initiate a workflow based on time, events or call.

Runs everyday.

Resource

Select resources on which you want to work on.

Gets Images in a specific AWS Region for EC2 service.

Filter

Enter parameters to filter resources in the workflow.

Filters the data

HTTP

Invoke external http(s) endpoint

Call http endpoint and get response
Adopt Template

Workflow Template

Trigger

Use this to initiate a workflow based on time, events or call.

Runs everyday.

Resource

Select resources on which you want to work on.

Gets Images in a specific AWS Region for EC2 service.

Filter

Enter parameters to filter resources in the workflow.

Filters the data

HTTP

Invoke external http(s) endpoint

Call http endpoint and get response

Create A Template

Thank you! Your submission has been received!
Oops! Something went wrong while submitting. Please Try Again.

Request for a template

You can publish templates created by you on this platform.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Similar Templates

Azure Disks having standard tier

Storage
Performance-efficiency

Identify disks that are in the standard tier. Use managed disks to prevent disk I/O throttling

Disks with high iops that are not using premium storage

Performance-efficiency
Storage

Identify Disks with high iops that are not using premium storage in your azure account

VMSS which are not using load balancers

Virtual Machines
Performance-efficiency

Identify VMSS which are not using load balancers in your azure account

Storage account using standard storage

Storage Accounts
Performance-efficiency

Identify storage accounts that are using standard storage.