Thursday, 19 September 2024

AWS Elastic Disaster Recovery labs step by step

 

1. Create an Elastic Disaster Recovery (EDR) Replication Instance

  • Navigate to EDR Console: In the AWS Management Console, search for "Elastic Disaster Recovery" and select the service.
  • Create Replication Instance: Click "Create replication instance".
  • Configure Instance:
    • Name: Provide a meaningful name.
    • Instance type: Choose an appropriate instance type based on your workload.
    • Availability Zone: Select the desired availability zone.
    • IAM role: Create a new IAM role with necessary permissions to access EC2, S3, and other required resources.
    • Tags: Add any relevant tags for organization and management.
  • Create: Click "Create replication instance".
  • Image of Elastic Disaster Recovery Console showing the creation of a replication instance

2. Create a Replication Configuration

  • Navigate to Replication Configurations: In the EDR console, select "Replication configurations".
  • Create Replication Configuration: Click "Create replication configuration".
  • Configure Replication:
    • Name: Provide a meaningful name.
    • Replication instance: Select the previously created replication instance.
    • Source VPC: Choose the VPC containing your source resources.
    • Target VPC: Choose the VPC where the disaster recovery resources will be deployed.
    • Replication settings: Configure replication settings like replication frequency, data transfer rate, and retention policy.
  • Create: Click "Create replication configuration".
  • Image of Elastic Disaster Recovery Console showing the creation of a replication configuration

3. Create a Replication Group

  • Navigate to Replication Groups: In the EDR console, select "Replication groups".
  • Create Replication Group: Click "Create replication group".
  • Configure Replication Group:
    • Name: Provide a meaningful name.
    • Replication configuration: Select the previously created replication configuration.
    • Replication group type: Choose the desired replication group type (e.g., manual, automated).
    • Failover settings: Configure failover settings like failover mode and automatic failover triggers.
  • Create: Click "Create replication group".
  • Image of Elastic Disaster Recovery Console showing the creation of a replication group

4. Add Resources to the Replication Group

  • Select Replication Group: Choose the newly created replication group.
  • Add Resources: Click "Add resources".
  • Select Resources: Choose the EC2 instances or other resources you want to replicate.
  • Add: Click "Add".
  • Image of Elastic Disaster Recovery Console showing the addition of resources to a replication group

5. Test Failover

  • Select Replication Group: Choose the desired replication group.
  • Initiate Failover: Click "Initiate failover".
  • Confirm Failover: Confirm the failover operation.
  • Image of Elastic Disaster Recovery Console showing the initiation of a failover

No comments:

Post a Comment