DISASTER RECOVERY

AWS Disaster Recovery Overview

Disaster Recovery Setup Wizard

Our Disaster Recovery section will give you an option to setup and manage some aspects of the Disaster Recovery scenarios described in the AWS Disaster Recovery Overview article.

Using our wizard for Disaster Recovery you will be able to make setup across AWS Regions as well as across AWS Accounts.

Using our wizard you will be able to select source and destination regions and account as well as instances you want to replicate to Disaster Recovery region. In addition, you will get options to define the Disaster Recovery parameters for each resource.

Let’s review the options available under Disaster Recovery wizard step by step:

General Tab

Disaster Recovery General Tab

Name – name of your Disaster Recovery setup. The name must be unique across all of your DRs under the same account.

Source Region – AWS region from which you want to replicate resources

Destination Region – AWS region that will be setup as the Disaster Recovery region. In other words, it is the region, where selected resource from source region will be replicated to.

Setup Disaster Recovery under different AWS account – by checking this option you will be able to transfer your AWS EC2 resources to different AWS account.

Destination Account – AWS account to which you want to setup/transfer EC2 resources.

Resource Selection Tab

The Resource Selection tab will list all Instances and Elastic Load Balancers currently accessible in source region. You can select any instance that you want to replicate to Disaster Recovery region. Also you can select Elastic Load Balancer that you want to setup in DR region.

When you select ELB, you have to select at least one instance, which is currently attached to that ELB. (This option applies only to ELB, which has already attached instance(s)).

Notes:

For ELB while using SSL, all certificates need to be manually copied and setup in destination Disaster Recovery region.

Most attributes of the instances from source region will be replicated to the destination region including: Security Groups, Local IP, Source Destination Check, and Sub-networks; along with all VPC parameters such as, Subnets, Route Tables, Internet Gateway, and DHCP Options.

Disaster Recovery Resource Selection EC2 Disaster Recovery Resource Selection ELB

Resource Configuration Tab

The resource configuration tab lets you specify disaster recovery option for each instance selected on previous tab.

Disaster Recovery Resource Configuration

List of options that can be setup for each instance include:

Instance Name – identification of the instance selected on the previous tab (not editable)

Action Type – there are three possible options to select from:

  • -Only Copy:
    • Initial Setup Action: this option will create AMI of the instance from the source region and copy it over to the destination region. The new instance won’t be launched from that AMI. There will be additional option available for this type of replication described latter in this document.
    • Scheduler Action: create and copy a new AMI image of the source instance to the destination region. Deregister previous AMI image in destination region.
  • -Replace Instance:
    • Initial Setup Action: this option will create the source instance, copy it to the destination region, and launch a new instance based on that image. The additional actions can be taken after instance launch (if applicable), such as: register under ELB, assign EIP, stop instance
    • Scheduler Action: the process will be similar to the one in initial setup with additional steps:
      •  before the new instance is launched, the old one will be terminated.
      •  if the replacing instance was attached to ELB or was setup as NAT server, then load balancer or route table will be updated adequately.
  • -Update Volume:
    • Initial Setup Action: the initial action will be the same as in the Replace Instance option.
    • Scheduler Action: the snapshot of the volume will be taken and copied over to the destination region. The old volume attached to the instance in destination region will be detached and deleted. The newly copied snapshot will be converted into volume and attached to the instance.

Instance Type – this option lets you specify the type of the EC2 Instance in destination region. The new instance can have different size from source instance.

AMI Action – there are two options available:

  • - New: this option will trigger a creation of new image of the source instance and copy it to destination region.
  • - AMI ID: if the image of the selected instance was already copied to the destination region, you can skip creation of the new image and use one in Disaster Recovery region.

Keep Running – this option allows you to specify if the instance after launch supposed to be running or be shutdown.

Allocate EIP – when this option is checked off, the new Elastic IP will be allocated and associated with the newly launched instance. This option is active only when selected instance in the source region has associated EIP.

Only Setup – this option lets you specify whether the selected instance will be created only during initial disaster recovery setup or should be also updated based on the scheduler.

Delete – this option lets you delete the instance from the list. When you edit existing setup, this option will not cause deletion of the instance in destination region, but will remove it from scheduler list.

Volumes Configuration Tab

The volume configuration tab will be active only, when at least one of the instances on previous tab had been selected as “Update Volume” action type.

Disaster Recovery Volumes Configuration

Instance Name – Name of the selected instance

Instance ID – Id of the selected instance

Stop Instance – this option lets you specify if you want to stop instance before the old volume is replaced with the new one. This option should be checked when the selected volume(s) contain database or other data used by any application; where sudden loss of access to hard drive could cause potential issue. When the root drive is selected (/dev/sda1) the instance must be stopped regardless of the chosen options.

To expend the list of the volumes attached to the given instance, click the arrow on the right.

Update – when checked, volume in Disaster Recovery region will be updated based on the schedule.

Name – name or drive path of the volume

Volume ID – id of the volume

Size – size of the volume

Volume Type – this option lets you choose what type of the EBS volume you want to restore during scheduled update process.

IOPS – allows specify new IOPS of the EBS volume. This option is active only when the selected Volume Type is “Provisioned IOPS”

Suspend – this option lets you suspend scheduled update of the EBS volume

Note: For each instance you have to check at least one volume, otherwise the wizard won’t let you continue to the next step

AZ Mapping Tab

Availability Zone mapping tab gives you an option to map zones from source region to the destination region. This feature is helpful when your source resources are spread between multiple availability zones.

Disaster Recovery AZ Mapping

Schedule Tab

The Schedule tab allows you to setup interval of how frequently you want to update your resources in Disaster Recovery region.

If you are planning to setup or transfer your EC2 resources as one time process, you can skip schedule by checking
“Don’t use scheduler to update Disaster Recovery resources on regular basis” option.

Occur – this option allows you to select occurrence of the updates. You can choose from Hourly, Daily, or Monthly frequency. Each of the occurrences will have additional options described below:

Hourly:

  • Occurs Every x Hours: specify the interval of occurrence in hours
  • Starting At and Ending At: also, you can specify the time range when the update should take place or leave blank for 24h range period

Daily:

  • Days: select days on which the update supposed to occur
  • Time: select time at which the update supposed to occur

Monthly:

  • Occurs Every x Day of the Month: the update will occur once a month at specified day of the month
  • Time: time when the update should occur
Disaster Recovery Schedule

Finish Tab

After clicking the “Finish” button, the new setup will be created. The process of initial setup of the disaster recovery region will start within 5 minutes after completion of the wizard. You won’t be able to modify any options of your Disaster Recovery plan until the initial setup is finished.

All Disaster Recovery plans will be listed above the wizard. You can track progress of the setup by refreshing the list.

Disaster Recovery List

For each Disaster Recovery plan, you can execute the following options:
Edit – this option allows you to change some of the parameters of the previously setup Disaster Recovery plan
Suspend/Resume – this option allows you to suspend or resume the scheduler
Delete – delete existing Disaster Recovery plan. This option won’t delete any resources in destination region
Boot – this option will launch instances marked as “Only Copy” under Disaster Recovery plan.
CloudFormation – this option will output the CloudFormation script with setup of all instances marked as “Only Copy”
Resource Log – show mapping between source and destination objects
Error Log – show list of errors occurred during setup or update
Updates Log – show list of objects that were updated based on the schedule

Note:
Both “Boot” and “CloudFormation” options will be available only, when at least one instance was marked as “Only Copy” on configuration tab in the wizard.
When you use “Cloud Formation” script, there won’t be an option to attach new instance to Elastic Load Balancer.
Also, in both cases, the route table won’t be updated even if the created instance serves as the NAT server.

General Note:

Despite Disaster Recovery plan setup for each instance, whenever at least one of them is inside VPC, then the entire VPC will be recreated in destination region with the same attributes.

Each Elastic Load Balancer selected in the wizard will be automatically recreated in the destination region. If ELB is using SSL connection, all certificates need to be manually setup under the new ELB.

Watch video showing our wizard in action.