DEV Community

Cover image for Disaster Recovery for EC2
Olawale Adepoju for AWS Community Builders

Posted on

Disaster Recovery for EC2

Recovery from Disaster

Disaster recovery is the process by which an organization prepares for and responds to a technical disaster. Power outages, natural disasters, security issues, and other unforeseen circumstances can cause a company's IT systems to suddenly fail.

AWS Elastic Disaster Recovery (AWS DRS) reduces downtime by providing fast and reliable recovery of on-premises and cloud-based applications using less expensive storage, less compute, and point-in-time recovery. Reduces Reduce time and data loss.

Disaster recovery on EC2

Protecting your mission-critical EC2 instances from long-term or permanent outages in the AWS Regions that host your cloud workloads doesn't have to be a difficult task. In this blog, I will show you how to replicate and failover his EC2 instances across regions.

Indicates that the instance was launched in Northern Virginia.

Image description

  • Create a clone instance from the same AMI in another region.

Image description

  • Snapshot primary instance volume

Image description

Image description

  • Copy snapshot to DR region

Image description

Image description

  • Create a volume from the replicated snapshot

Image description

Note: It is important to select the same availability as your instance

Image description

  • Detach the volume from the instance and attach the volume created from the snapshot to the DR instance.

Note: Be sure to stop the instance before detaching the volume.

Image description

Top comments (0)