

# Requirements for Amazon EBS Multi-AZ volumes

**Important**  
Both the source instance and the standby instance must have an instance profile with the [AWSElasticDisasterRecoveryEc2InstancePolicy](security-iam-awsmanpol-AWSElasticDisasterRecoveryEc2InstancePolicy.md) managed policy, or a policy with the same permissions. The policy must include `drs:RebindSourceServer`.  
The instance profile belongs to the instance, not to its volumes, so it does not move with a failover. Attach it to the standby instance before you fail over. Without it, the agent on the standby instance cannot connect to AWS Elastic Disaster Recovery, and replication does not continue.

The agent keeps its files in several folders. In this topic, *the volumes that hold agent files* are the following volumes:
+ On Linux – The volumes of the installation folder, the driver state folder, and `/boot`.
+ On Windows – The volumes of the installation folder and the system drive.

Before you install the agent, verify that the source instance meets all of the following requirements:
+ The instance is a Nitro-based Amazon EC2 instance.
+ The root volume and the volumes that hold agent files are Amazon EBS Multi-AZ volumes.
+ AWS Elastic Disaster Recovery replicates the root volume and the volumes that hold agent files. Do not exclude these volumes from replication.
+ The volumes that hold agent files have the same standby Availability Zone as the root volume.
+ The source server replicates in the same AWS account as the Amazon EC2 instance.
+ The Amazon EBS Multi-AZ volumes do not use Multi-Attach.
+ The agent on a Windows instance is on a volume that has a drive letter, not on a volume that you mounted into a folder.

A volume that holds agent files can span several disks. Examples are a Logical Volume Manager (LVM) logical volume or a RAID array on Linux, and a spanned volume on Windows. All of its disks must be Amazon EBS Multi-AZ volumes.

After a failover, AWS Elastic Disaster Recovery continues to replicate the volumes that are attached to the standby instance. A volume that is not an Amazon EBS Multi-AZ volume stays in the original Availability Zone. AWS Elastic Disaster Recovery does not replicate it from the standby instance.

The same applies to a data volume that has a different standby Availability Zone than the root volume. That volume cannot attach to the standby instance, so AWS Elastic Disaster Recovery does not replicate it after the failover.