DEV Community

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

Posted on

1 1

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

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

Top comments (0)

Create a simple OTP system with AWS Serverless cover image

Create a simple OTP system with AWS Serverless

Implement a One Time Password (OTP) system with AWS Serverless services including Lambda, API Gateway, DynamoDB, Simple Email Service (SES), and Amplify Web Hosting using VueJS for the frontend.

Read full post