2026/12/01 - Elastic Disaster Recovery Service - 8 updated api methods
Changes AWS Elastic Disaster Recovery now supports Amazon EC2 source servers with Amazon EBS Multi-AZ volumes. After the volumes fail over to a standby instance in another Availability Zone, the same source server keeps replicating. DescribeSourceServers returns the new multiAzEnabledType field.
{'sourceServer': {'multiAzEnabledType': 'MULTI_AZ_ENABLED_VOLUME'}}
Create an extended source server in the target Account based on the source server in staging account.
See also: AWS API Documentation
Request Syntax
client.create_extended_source_server(
sourceServerArn='string',
tags={
'string': 'string'
}
)
string
[REQUIRED]
This defines the ARN of the source server in staging Account based on which you want to create an extended source server.
dict
A list of tags associated with the extended source server.
(string) --
(string) --
dict
Response Syntax
{
'sourceServer': {
'sourceServerID': 'string',
'arn': 'string',
'tags': {
'string': 'string'
},
'recoveryInstanceId': 'string',
'lastLaunchResult': 'NOT_STARTED'|'PENDING'|'SUCCEEDED'|'FAILED',
'dataReplicationInfo': {
'lagDuration': 'string',
'etaDateTime': 'string',
'replicatedDisks': [
{
'deviceName': 'string',
'totalStorageBytes': 123,
'replicatedStorageBytes': 123,
'rescannedStorageBytes': 123,
'backloggedStorageBytes': 123,
'volumeStatus': 'REGULAR'|'CONTAINS_MARKETPLACE_PRODUCT_CODES'|'MISSING_VOLUME_ATTRIBUTES'|'MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE'|'PENDING'
},
],
'dataReplicationState': 'STOPPED'|'INITIATING'|'INITIAL_SYNC'|'BACKLOG'|'CREATING_SNAPSHOT'|'CONTINUOUS'|'PAUSED'|'RESCAN'|'STALLED'|'DISCONNECTED',
'dataReplicationInitiation': {
'startDateTime': 'string',
'nextAttemptDateTime': 'string',
'steps': [
{
'name': 'WAIT'|'CREATE_SECURITY_GROUP'|'LAUNCH_REPLICATION_SERVER'|'BOOT_REPLICATION_SERVER'|'AUTHENTICATE_WITH_SERVICE'|'DOWNLOAD_REPLICATION_SOFTWARE'|'CREATE_STAGING_DISKS'|'ATTACH_STAGING_DISKS'|'PAIR_REPLICATION_SERVER_WITH_AGENT'|'CONNECT_AGENT_TO_REPLICATION_SERVER'|'START_DATA_TRANSFER',
'status': 'NOT_STARTED'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED'|'SKIPPED'
},
]
},
'dataReplicationError': {
'error': 'AGENT_NOT_SEEN'|'SNAPSHOTS_FAILURE'|'NOT_CONVERGING'|'UNSTABLE_NETWORK'|'FAILED_TO_CREATE_SECURITY_GROUP'|'FAILED_TO_LAUNCH_REPLICATION_SERVER'|'FAILED_TO_BOOT_REPLICATION_SERVER'|'FAILED_TO_AUTHENTICATE_WITH_SERVICE'|'FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE'|'FAILED_TO_CREATE_STAGING_DISKS'|'FAILED_TO_ATTACH_STAGING_DISKS'|'FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT'|'FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER'|'FAILED_TO_START_DATA_TRANSFER',
'rawError': 'string'
},
'stagingAvailabilityZone': 'string',
'stagingOutpostArn': 'string'
},
'lifeCycle': {
'addedToServiceDateTime': 'string',
'firstByteDateTime': 'string',
'elapsedReplicationDuration': 'string',
'lastSeenByServiceDateTime': 'string',
'lastLaunch': {
'initiated': {
'apiCallDateTime': 'string',
'jobID': 'string',
'type': 'RECOVERY'|'DRILL'
},
'status': 'PENDING'|'IN_PROGRESS'|'LAUNCHED'|'FAILED'|'TERMINATED'
}
},
'sourceProperties': {
'lastUpdatedDateTime': 'string',
'recommendedInstanceType': 'string',
'identificationHints': {
'fqdn': 'string',
'hostname': 'string',
'vmWareUuid': 'string',
'awsInstanceID': 'string'
},
'networkInterfaces': [
{
'macAddress': 'string',
'ips': [
'string',
],
'isPrimary': True|False
},
],
'disks': [
{
'deviceName': 'string',
'bytes': 123
},
],
'cpus': [
{
'cores': 123,
'modelName': 'string'
},
],
'ramBytes': 123,
'os': {
'fullString': 'string'
},
'supportsNitroInstances': True|False,
'architecture': 'x86_64'|'arm64'
},
'stagingArea': {
'status': 'EXTENDED'|'EXTENSION_ERROR'|'NOT_EXTENDED',
'stagingAccountID': 'string',
'stagingSourceServerArn': 'string',
'errorMessage': 'string'
},
'sourceCloudProperties': {
'originAccountID': 'string',
'originRegion': 'string',
'originAvailabilityZone': 'string',
'sourceOutpostArn': 'string'
},
'replicationDirection': 'FAILOVER'|'FAILBACK',
'reversedDirectionSourceServerArn': 'string',
'sourceNetworkID': 'string',
'agentVersion': 'string',
'multiAzEnabledType': 'MULTI_AZ_ENABLED_VOLUME'
}
}
Response Structure
(dict) --
sourceServer (dict) --
Created extended source server.
sourceServerID (string) --
The ID of the Source Server.
arn (string) --
The ARN of the Source Server.
tags (dict) --
The tags associated with the Source Server.
(string) --
(string) --
recoveryInstanceId (string) --
The ID of the Recovery Instance associated with this Source Server.
lastLaunchResult (string) --
The status of the last recovery launch of this Source Server.
dataReplicationInfo (dict) --
The Data Replication Info of the Source Server.
lagDuration (string) --
Data replication lag duration.
etaDateTime (string) --
An estimate of when the data replication will be completed.
replicatedDisks (list) --
The disks that should be replicated.
(dict) --
A disk that should be replicated.
deviceName (string) --
The name of the device.
totalStorageBytes (integer) --
The total amount of data to be replicated in bytes.
replicatedStorageBytes (integer) --
The amount of data replicated so far in bytes.
rescannedStorageBytes (integer) --
The amount of data to be rescanned in bytes.
backloggedStorageBytes (integer) --
The size of the replication backlog in bytes.
volumeStatus (string) --
The status of the volume.
dataReplicationState (string) --
The state of the data replication.
dataReplicationInitiation (dict) --
Information about whether the data replication has been initiated.
startDateTime (string) --
The date and time of the current attempt to initiate data replication.
nextAttemptDateTime (string) --
The date and time of the next attempt to initiate data replication.
steps (list) --
The steps of the current attempt to initiate data replication.
(dict) --
Data replication initiation step.
name (string) --
The name of the step.
status (string) --
The status of the step.
dataReplicationError (dict) --
Error in data replication.
error (string) --
Error in data replication.
rawError (string) --
Error in data replication.
stagingAvailabilityZone (string) --
AWS Availability zone into which data is being replicated.
stagingOutpostArn (string) --
The ARN of the staging Outpost
lifeCycle (dict) --
The lifecycle information of this Source Server.
addedToServiceDateTime (string) --
The date and time of when the Source Server was added to the service.
firstByteDateTime (string) --
The date and time of the first byte that was replicated from the Source Server.
elapsedReplicationDuration (string) --
The amount of time that the Source Server has been replicating for.
lastSeenByServiceDateTime (string) --
The date and time this Source Server was last seen by the service.
lastLaunch (dict) --
An object containing information regarding the last launch of the Source Server.
initiated (dict) --
An object containing information regarding the initiation of the last launch of a Source Server.
apiCallDateTime (string) --
The date and time the last Source Server launch was initiated.
jobID (string) --
The ID of the Job that was used to last launch the Source Server.
type (string) --
The Job type that was used to last launch the Source Server.
status (string) --
Status of Source Server's last launch.
sourceProperties (dict) --
The source properties of the Source Server.
lastUpdatedDateTime (string) --
The date and time the Source Properties were last updated on.
recommendedInstanceType (string) --
The recommended EC2 instance type that will be used when recovering the Source Server.
identificationHints (dict) --
Hints used to uniquely identify a machine.
fqdn (string) --
Fully Qualified Domain Name identification hint.
hostname (string) --
Hostname identification hint.
vmWareUuid (string) --
vCenter VM path identification hint.
awsInstanceID (string) --
AWS Instance ID identification hint.
networkInterfaces (list) --
An array of network interfaces.
(dict) --
Network interface.
macAddress (string) --
The MAC address of the network interface.
ips (list) --
Network interface IPs.
(string) --
isPrimary (boolean) --
Whether this is the primary network interface.
disks (list) --
An array of disks.
(dict) --
An object representing a data storage device on a server.
deviceName (string) --
The disk or device name.
bytes (integer) --
The amount of storage on the disk in bytes.
cpus (list) --
An array of CPUs.
(dict) --
Information about a server's CPU.
cores (integer) --
The number of CPU cores.
modelName (string) --
The model name of the CPU.
ramBytes (integer) --
The amount of RAM in bytes.
os (dict) --
Operating system.
fullString (string) --
The long name of the Operating System.
supportsNitroInstances (boolean) --
Are EC2 nitro instance types supported when recovering the Source Server.
architecture (string) --
The architecture of the Source Server.
stagingArea (dict) --
The staging area of the source server.
status (string) --
Status of Source server extension. Possible values: (a) NOT_EXTENDED - This is a source server that is replicating in the current account. (b) EXTENDED - Source server is extended from a staging source server. In this case, the value of stagingSourceServerArn is pointing to the Arn of the source server in the staging account. (c) EXTENSION_ERROR - Some issue occurred when accessing staging source server. In this case, errorMessage field will contain an error message that explains what happened.
stagingAccountID (string) --
Account ID of the account to which source server belongs. If this source server is extended - shows Account ID of staging source server.
stagingSourceServerArn (string) --
Arn of the staging source server if this source server is extended
errorMessage (string) --
Shows an error message that occurred when DRS tried to access the staging source server. In this case StagingArea$status will have value EXTENSION_ERROR
sourceCloudProperties (dict) --
Source cloud properties of the Source Server.
originAccountID (string) --
AWS Account ID for an EC2-originated Source Server.
originRegion (string) --
AWS Region for an EC2-originated Source Server.
originAvailabilityZone (string) --
AWS Availability Zone for an EC2-originated Source Server.
sourceOutpostArn (string) --
The ARN of the source Outpost
replicationDirection (string) --
Replication direction of the Source Server.
reversedDirectionSourceServerArn (string) --
For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN of the Source Server on the opposite replication direction.
sourceNetworkID (string) --
ID of the Source Network which is protecting this Source Server's network.
agentVersion (string) --
The version of the DRS agent installed on the source server
multiAzEnabledType (string) --
Specifies whether Multi-AZ is enabled for the source server.
{'items': {'multiAzEnabledType': 'MULTI_AZ_ENABLED_VOLUME'}}
Lists all Source Servers or multiple Source Servers filtered by ID.
See also: AWS API Documentation
Request Syntax
client.describe_source_servers(
filters={
'sourceServerIDs': [
'string',
],
'hardwareId': 'string',
'stagingAccountIDs': [
'string',
]
},
maxResults=123,
nextToken='string'
)
dict
A set of filters by which to return Source Servers.
sourceServerIDs (list) --
An array of Source Servers IDs that should be returned. An empty array means all Source Servers.
(string) --
hardwareId (string) --
An ID that describes the hardware of the Source Server. This is either an EC2 instance id, a VMware uuid or a mac address.
stagingAccountIDs (list) --
An array of staging account IDs that extended source servers belong to. An empty array means all source servers will be shown.
(string) --
integer
Maximum number of Source Servers to retrieve.
string
The token of the next Source Server to retrieve.
dict
Response Syntax
{
'items': [
{
'sourceServerID': 'string',
'arn': 'string',
'tags': {
'string': 'string'
},
'recoveryInstanceId': 'string',
'lastLaunchResult': 'NOT_STARTED'|'PENDING'|'SUCCEEDED'|'FAILED',
'dataReplicationInfo': {
'lagDuration': 'string',
'etaDateTime': 'string',
'replicatedDisks': [
{
'deviceName': 'string',
'totalStorageBytes': 123,
'replicatedStorageBytes': 123,
'rescannedStorageBytes': 123,
'backloggedStorageBytes': 123,
'volumeStatus': 'REGULAR'|'CONTAINS_MARKETPLACE_PRODUCT_CODES'|'MISSING_VOLUME_ATTRIBUTES'|'MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE'|'PENDING'
},
],
'dataReplicationState': 'STOPPED'|'INITIATING'|'INITIAL_SYNC'|'BACKLOG'|'CREATING_SNAPSHOT'|'CONTINUOUS'|'PAUSED'|'RESCAN'|'STALLED'|'DISCONNECTED',
'dataReplicationInitiation': {
'startDateTime': 'string',
'nextAttemptDateTime': 'string',
'steps': [
{
'name': 'WAIT'|'CREATE_SECURITY_GROUP'|'LAUNCH_REPLICATION_SERVER'|'BOOT_REPLICATION_SERVER'|'AUTHENTICATE_WITH_SERVICE'|'DOWNLOAD_REPLICATION_SOFTWARE'|'CREATE_STAGING_DISKS'|'ATTACH_STAGING_DISKS'|'PAIR_REPLICATION_SERVER_WITH_AGENT'|'CONNECT_AGENT_TO_REPLICATION_SERVER'|'START_DATA_TRANSFER',
'status': 'NOT_STARTED'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED'|'SKIPPED'
},
]
},
'dataReplicationError': {
'error': 'AGENT_NOT_SEEN'|'SNAPSHOTS_FAILURE'|'NOT_CONVERGING'|'UNSTABLE_NETWORK'|'FAILED_TO_CREATE_SECURITY_GROUP'|'FAILED_TO_LAUNCH_REPLICATION_SERVER'|'FAILED_TO_BOOT_REPLICATION_SERVER'|'FAILED_TO_AUTHENTICATE_WITH_SERVICE'|'FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE'|'FAILED_TO_CREATE_STAGING_DISKS'|'FAILED_TO_ATTACH_STAGING_DISKS'|'FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT'|'FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER'|'FAILED_TO_START_DATA_TRANSFER',
'rawError': 'string'
},
'stagingAvailabilityZone': 'string',
'stagingOutpostArn': 'string'
},
'lifeCycle': {
'addedToServiceDateTime': 'string',
'firstByteDateTime': 'string',
'elapsedReplicationDuration': 'string',
'lastSeenByServiceDateTime': 'string',
'lastLaunch': {
'initiated': {
'apiCallDateTime': 'string',
'jobID': 'string',
'type': 'RECOVERY'|'DRILL'
},
'status': 'PENDING'|'IN_PROGRESS'|'LAUNCHED'|'FAILED'|'TERMINATED'
}
},
'sourceProperties': {
'lastUpdatedDateTime': 'string',
'recommendedInstanceType': 'string',
'identificationHints': {
'fqdn': 'string',
'hostname': 'string',
'vmWareUuid': 'string',
'awsInstanceID': 'string'
},
'networkInterfaces': [
{
'macAddress': 'string',
'ips': [
'string',
],
'isPrimary': True|False
},
],
'disks': [
{
'deviceName': 'string',
'bytes': 123
},
],
'cpus': [
{
'cores': 123,
'modelName': 'string'
},
],
'ramBytes': 123,
'os': {
'fullString': 'string'
},
'supportsNitroInstances': True|False,
'architecture': 'x86_64'|'arm64'
},
'stagingArea': {
'status': 'EXTENDED'|'EXTENSION_ERROR'|'NOT_EXTENDED',
'stagingAccountID': 'string',
'stagingSourceServerArn': 'string',
'errorMessage': 'string'
},
'sourceCloudProperties': {
'originAccountID': 'string',
'originRegion': 'string',
'originAvailabilityZone': 'string',
'sourceOutpostArn': 'string'
},
'replicationDirection': 'FAILOVER'|'FAILBACK',
'reversedDirectionSourceServerArn': 'string',
'sourceNetworkID': 'string',
'agentVersion': 'string',
'multiAzEnabledType': 'MULTI_AZ_ENABLED_VOLUME'
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
items (list) --
An array of Source Servers.
(dict) --
sourceServerID (string) --
The ID of the Source Server.
arn (string) --
The ARN of the Source Server.
tags (dict) --
The tags associated with the Source Server.
(string) --
(string) --
recoveryInstanceId (string) --
The ID of the Recovery Instance associated with this Source Server.
lastLaunchResult (string) --
The status of the last recovery launch of this Source Server.
dataReplicationInfo (dict) --
The Data Replication Info of the Source Server.
lagDuration (string) --
Data replication lag duration.
etaDateTime (string) --
An estimate of when the data replication will be completed.
replicatedDisks (list) --
The disks that should be replicated.
(dict) --
A disk that should be replicated.
deviceName (string) --
The name of the device.
totalStorageBytes (integer) --
The total amount of data to be replicated in bytes.
replicatedStorageBytes (integer) --
The amount of data replicated so far in bytes.
rescannedStorageBytes (integer) --
The amount of data to be rescanned in bytes.
backloggedStorageBytes (integer) --
The size of the replication backlog in bytes.
volumeStatus (string) --
The status of the volume.
dataReplicationState (string) --
The state of the data replication.
dataReplicationInitiation (dict) --
Information about whether the data replication has been initiated.
startDateTime (string) --
The date and time of the current attempt to initiate data replication.
nextAttemptDateTime (string) --
The date and time of the next attempt to initiate data replication.
steps (list) --
The steps of the current attempt to initiate data replication.
(dict) --
Data replication initiation step.
name (string) --
The name of the step.
status (string) --
The status of the step.
dataReplicationError (dict) --
Error in data replication.
error (string) --
Error in data replication.
rawError (string) --
Error in data replication.
stagingAvailabilityZone (string) --
AWS Availability zone into which data is being replicated.
stagingOutpostArn (string) --
The ARN of the staging Outpost
lifeCycle (dict) --
The lifecycle information of this Source Server.
addedToServiceDateTime (string) --
The date and time of when the Source Server was added to the service.
firstByteDateTime (string) --
The date and time of the first byte that was replicated from the Source Server.
elapsedReplicationDuration (string) --
The amount of time that the Source Server has been replicating for.
lastSeenByServiceDateTime (string) --
The date and time this Source Server was last seen by the service.
lastLaunch (dict) --
An object containing information regarding the last launch of the Source Server.
initiated (dict) --
An object containing information regarding the initiation of the last launch of a Source Server.
apiCallDateTime (string) --
The date and time the last Source Server launch was initiated.
jobID (string) --
The ID of the Job that was used to last launch the Source Server.
type (string) --
The Job type that was used to last launch the Source Server.
status (string) --
Status of Source Server's last launch.
sourceProperties (dict) --
The source properties of the Source Server.
lastUpdatedDateTime (string) --
The date and time the Source Properties were last updated on.
recommendedInstanceType (string) --
The recommended EC2 instance type that will be used when recovering the Source Server.
identificationHints (dict) --
Hints used to uniquely identify a machine.
fqdn (string) --
Fully Qualified Domain Name identification hint.
hostname (string) --
Hostname identification hint.
vmWareUuid (string) --
vCenter VM path identification hint.
awsInstanceID (string) --
AWS Instance ID identification hint.
networkInterfaces (list) --
An array of network interfaces.
(dict) --
Network interface.
macAddress (string) --
The MAC address of the network interface.
ips (list) --
Network interface IPs.
(string) --
isPrimary (boolean) --
Whether this is the primary network interface.
disks (list) --
An array of disks.
(dict) --
An object representing a data storage device on a server.
deviceName (string) --
The disk or device name.
bytes (integer) --
The amount of storage on the disk in bytes.
cpus (list) --
An array of CPUs.
(dict) --
Information about a server's CPU.
cores (integer) --
The number of CPU cores.
modelName (string) --
The model name of the CPU.
ramBytes (integer) --
The amount of RAM in bytes.
os (dict) --
Operating system.
fullString (string) --
The long name of the Operating System.
supportsNitroInstances (boolean) --
Are EC2 nitro instance types supported when recovering the Source Server.
architecture (string) --
The architecture of the Source Server.
stagingArea (dict) --
The staging area of the source server.
status (string) --
Status of Source server extension. Possible values: (a) NOT_EXTENDED - This is a source server that is replicating in the current account. (b) EXTENDED - Source server is extended from a staging source server. In this case, the value of stagingSourceServerArn is pointing to the Arn of the source server in the staging account. (c) EXTENSION_ERROR - Some issue occurred when accessing staging source server. In this case, errorMessage field will contain an error message that explains what happened.
stagingAccountID (string) --
Account ID of the account to which source server belongs. If this source server is extended - shows Account ID of staging source server.
stagingSourceServerArn (string) --
Arn of the staging source server if this source server is extended
errorMessage (string) --
Shows an error message that occurred when DRS tried to access the staging source server. In this case StagingArea$status will have value EXTENSION_ERROR
sourceCloudProperties (dict) --
Source cloud properties of the Source Server.
originAccountID (string) --
AWS Account ID for an EC2-originated Source Server.
originRegion (string) --
AWS Region for an EC2-originated Source Server.
originAvailabilityZone (string) --
AWS Availability Zone for an EC2-originated Source Server.
sourceOutpostArn (string) --
The ARN of the source Outpost
replicationDirection (string) --
Replication direction of the Source Server.
reversedDirectionSourceServerArn (string) --
For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN of the Source Server on the opposite replication direction.
sourceNetworkID (string) --
ID of the Source Network which is protecting this Source Server's network.
agentVersion (string) --
The version of the DRS agent installed on the source server
multiAzEnabledType (string) --
Specifies whether Multi-AZ is enabled for the source server.
nextToken (string) --
The token of the next Source Server to retrieve.
{'multiAzEnabledType': 'MULTI_AZ_ENABLED_VOLUME'}
Disconnects a specific Source Server from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Source Server will be terminated / deleted within 90 minutes. You cannot disconnect a Source Server if it has a Recovery Instance. If the agent on the Source Server has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
See also: AWS API Documentation
Request Syntax
client.disconnect_source_server(
sourceServerID='string'
)
string
[REQUIRED]
The ID of the Source Server to disconnect.
dict
Response Syntax
{
'sourceServerID': 'string',
'arn': 'string',
'tags': {
'string': 'string'
},
'recoveryInstanceId': 'string',
'lastLaunchResult': 'NOT_STARTED'|'PENDING'|'SUCCEEDED'|'FAILED',
'dataReplicationInfo': {
'lagDuration': 'string',
'etaDateTime': 'string',
'replicatedDisks': [
{
'deviceName': 'string',
'totalStorageBytes': 123,
'replicatedStorageBytes': 123,
'rescannedStorageBytes': 123,
'backloggedStorageBytes': 123,
'volumeStatus': 'REGULAR'|'CONTAINS_MARKETPLACE_PRODUCT_CODES'|'MISSING_VOLUME_ATTRIBUTES'|'MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE'|'PENDING'
},
],
'dataReplicationState': 'STOPPED'|'INITIATING'|'INITIAL_SYNC'|'BACKLOG'|'CREATING_SNAPSHOT'|'CONTINUOUS'|'PAUSED'|'RESCAN'|'STALLED'|'DISCONNECTED',
'dataReplicationInitiation': {
'startDateTime': 'string',
'nextAttemptDateTime': 'string',
'steps': [
{
'name': 'WAIT'|'CREATE_SECURITY_GROUP'|'LAUNCH_REPLICATION_SERVER'|'BOOT_REPLICATION_SERVER'|'AUTHENTICATE_WITH_SERVICE'|'DOWNLOAD_REPLICATION_SOFTWARE'|'CREATE_STAGING_DISKS'|'ATTACH_STAGING_DISKS'|'PAIR_REPLICATION_SERVER_WITH_AGENT'|'CONNECT_AGENT_TO_REPLICATION_SERVER'|'START_DATA_TRANSFER',
'status': 'NOT_STARTED'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED'|'SKIPPED'
},
]
},
'dataReplicationError': {
'error': 'AGENT_NOT_SEEN'|'SNAPSHOTS_FAILURE'|'NOT_CONVERGING'|'UNSTABLE_NETWORK'|'FAILED_TO_CREATE_SECURITY_GROUP'|'FAILED_TO_LAUNCH_REPLICATION_SERVER'|'FAILED_TO_BOOT_REPLICATION_SERVER'|'FAILED_TO_AUTHENTICATE_WITH_SERVICE'|'FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE'|'FAILED_TO_CREATE_STAGING_DISKS'|'FAILED_TO_ATTACH_STAGING_DISKS'|'FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT'|'FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER'|'FAILED_TO_START_DATA_TRANSFER',
'rawError': 'string'
},
'stagingAvailabilityZone': 'string',
'stagingOutpostArn': 'string'
},
'lifeCycle': {
'addedToServiceDateTime': 'string',
'firstByteDateTime': 'string',
'elapsedReplicationDuration': 'string',
'lastSeenByServiceDateTime': 'string',
'lastLaunch': {
'initiated': {
'apiCallDateTime': 'string',
'jobID': 'string',
'type': 'RECOVERY'|'DRILL'
},
'status': 'PENDING'|'IN_PROGRESS'|'LAUNCHED'|'FAILED'|'TERMINATED'
}
},
'sourceProperties': {
'lastUpdatedDateTime': 'string',
'recommendedInstanceType': 'string',
'identificationHints': {
'fqdn': 'string',
'hostname': 'string',
'vmWareUuid': 'string',
'awsInstanceID': 'string'
},
'networkInterfaces': [
{
'macAddress': 'string',
'ips': [
'string',
],
'isPrimary': True|False
},
],
'disks': [
{
'deviceName': 'string',
'bytes': 123
},
],
'cpus': [
{
'cores': 123,
'modelName': 'string'
},
],
'ramBytes': 123,
'os': {
'fullString': 'string'
},
'supportsNitroInstances': True|False,
'architecture': 'x86_64'|'arm64'
},
'stagingArea': {
'status': 'EXTENDED'|'EXTENSION_ERROR'|'NOT_EXTENDED',
'stagingAccountID': 'string',
'stagingSourceServerArn': 'string',
'errorMessage': 'string'
},
'sourceCloudProperties': {
'originAccountID': 'string',
'originRegion': 'string',
'originAvailabilityZone': 'string',
'sourceOutpostArn': 'string'
},
'replicationDirection': 'FAILOVER'|'FAILBACK',
'reversedDirectionSourceServerArn': 'string',
'sourceNetworkID': 'string',
'agentVersion': 'string',
'multiAzEnabledType': 'MULTI_AZ_ENABLED_VOLUME'
}
Response Structure
(dict) --
sourceServerID (string) --
The ID of the Source Server.
arn (string) --
The ARN of the Source Server.
tags (dict) --
The tags associated with the Source Server.
(string) --
(string) --
recoveryInstanceId (string) --
The ID of the Recovery Instance associated with this Source Server.
lastLaunchResult (string) --
The status of the last recovery launch of this Source Server.
dataReplicationInfo (dict) --
The Data Replication Info of the Source Server.
lagDuration (string) --
Data replication lag duration.
etaDateTime (string) --
An estimate of when the data replication will be completed.
replicatedDisks (list) --
The disks that should be replicated.
(dict) --
A disk that should be replicated.
deviceName (string) --
The name of the device.
totalStorageBytes (integer) --
The total amount of data to be replicated in bytes.
replicatedStorageBytes (integer) --
The amount of data replicated so far in bytes.
rescannedStorageBytes (integer) --
The amount of data to be rescanned in bytes.
backloggedStorageBytes (integer) --
The size of the replication backlog in bytes.
volumeStatus (string) --
The status of the volume.
dataReplicationState (string) --
The state of the data replication.
dataReplicationInitiation (dict) --
Information about whether the data replication has been initiated.
startDateTime (string) --
The date and time of the current attempt to initiate data replication.
nextAttemptDateTime (string) --
The date and time of the next attempt to initiate data replication.
steps (list) --
The steps of the current attempt to initiate data replication.
(dict) --
Data replication initiation step.
name (string) --
The name of the step.
status (string) --
The status of the step.
dataReplicationError (dict) --
Error in data replication.
error (string) --
Error in data replication.
rawError (string) --
Error in data replication.
stagingAvailabilityZone (string) --
AWS Availability zone into which data is being replicated.
stagingOutpostArn (string) --
The ARN of the staging Outpost
lifeCycle (dict) --
The lifecycle information of this Source Server.
addedToServiceDateTime (string) --
The date and time of when the Source Server was added to the service.
firstByteDateTime (string) --
The date and time of the first byte that was replicated from the Source Server.
elapsedReplicationDuration (string) --
The amount of time that the Source Server has been replicating for.
lastSeenByServiceDateTime (string) --
The date and time this Source Server was last seen by the service.
lastLaunch (dict) --
An object containing information regarding the last launch of the Source Server.
initiated (dict) --
An object containing information regarding the initiation of the last launch of a Source Server.
apiCallDateTime (string) --
The date and time the last Source Server launch was initiated.
jobID (string) --
The ID of the Job that was used to last launch the Source Server.
type (string) --
The Job type that was used to last launch the Source Server.
status (string) --
Status of Source Server's last launch.
sourceProperties (dict) --
The source properties of the Source Server.
lastUpdatedDateTime (string) --
The date and time the Source Properties were last updated on.
recommendedInstanceType (string) --
The recommended EC2 instance type that will be used when recovering the Source Server.
identificationHints (dict) --
Hints used to uniquely identify a machine.
fqdn (string) --
Fully Qualified Domain Name identification hint.
hostname (string) --
Hostname identification hint.
vmWareUuid (string) --
vCenter VM path identification hint.
awsInstanceID (string) --
AWS Instance ID identification hint.
networkInterfaces (list) --
An array of network interfaces.
(dict) --
Network interface.
macAddress (string) --
The MAC address of the network interface.
ips (list) --
Network interface IPs.
(string) --
isPrimary (boolean) --
Whether this is the primary network interface.
disks (list) --
An array of disks.
(dict) --
An object representing a data storage device on a server.
deviceName (string) --
The disk or device name.
bytes (integer) --
The amount of storage on the disk in bytes.
cpus (list) --
An array of CPUs.
(dict) --
Information about a server's CPU.
cores (integer) --
The number of CPU cores.
modelName (string) --
The model name of the CPU.
ramBytes (integer) --
The amount of RAM in bytes.
os (dict) --
Operating system.
fullString (string) --
The long name of the Operating System.
supportsNitroInstances (boolean) --
Are EC2 nitro instance types supported when recovering the Source Server.
architecture (string) --
The architecture of the Source Server.
stagingArea (dict) --
The staging area of the source server.
status (string) --
Status of Source server extension. Possible values: (a) NOT_EXTENDED - This is a source server that is replicating in the current account. (b) EXTENDED - Source server is extended from a staging source server. In this case, the value of stagingSourceServerArn is pointing to the Arn of the source server in the staging account. (c) EXTENSION_ERROR - Some issue occurred when accessing staging source server. In this case, errorMessage field will contain an error message that explains what happened.
stagingAccountID (string) --
Account ID of the account to which source server belongs. If this source server is extended - shows Account ID of staging source server.
stagingSourceServerArn (string) --
Arn of the staging source server if this source server is extended
errorMessage (string) --
Shows an error message that occurred when DRS tried to access the staging source server. In this case StagingArea$status will have value EXTENSION_ERROR
sourceCloudProperties (dict) --
Source cloud properties of the Source Server.
originAccountID (string) --
AWS Account ID for an EC2-originated Source Server.
originRegion (string) --
AWS Region for an EC2-originated Source Server.
originAvailabilityZone (string) --
AWS Availability Zone for an EC2-originated Source Server.
sourceOutpostArn (string) --
The ARN of the source Outpost
replicationDirection (string) --
Replication direction of the Source Server.
reversedDirectionSourceServerArn (string) --
For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN of the Source Server on the opposite replication direction.
sourceNetworkID (string) --
ID of the Source Network which is protecting this Source Server's network.
agentVersion (string) --
The version of the DRS agent installed on the source server
multiAzEnabledType (string) --
Specifies whether Multi-AZ is enabled for the source server.
{'replicatedDisks': {'optimizedStagingDiskType': {'IO2'},
'stagingDiskType': {'IO2'}}}
Gets a ReplicationConfiguration, filtered by Source Server ID.
See also: AWS API Documentation
Request Syntax
client.get_replication_configuration(
sourceServerID='string'
)
string
[REQUIRED]
The ID of the Source Serve for this Replication Configuration.r
dict
Response Syntax
{
'sourceServerID': 'string',
'name': 'string',
'stagingAreaSubnetId': 'string',
'associateDefaultSecurityGroup': True|False,
'replicationServersSecurityGroupsIDs': [
'string',
],
'replicationServerInstanceType': 'string',
'useDedicatedReplicationServer': True|False,
'defaultLargeStagingDiskType': 'GP2'|'GP3'|'ST1'|'AUTO',
'replicatedDisks': [
{
'deviceName': 'string',
'isBootDisk': True|False,
'stagingDiskType': 'AUTO'|'GP2'|'GP3'|'IO1'|'IO2'|'SC1'|'ST1'|'STANDARD',
'iops': 123,
'throughput': 123,
'optimizedStagingDiskType': 'AUTO'|'GP2'|'GP3'|'IO1'|'IO2'|'SC1'|'ST1'|'STANDARD'
},
],
'ebsEncryption': 'DEFAULT'|'CUSTOM'|'NONE',
'ebsEncryptionKeyArn': 'string',
'bandwidthThrottling': 123,
'dataPlaneRouting': 'PRIVATE_IP'|'PUBLIC_IP',
'createPublicIP': True|False,
'stagingAreaTags': {
'string': 'string'
},
'pitPolicy': [
{
'ruleID': 123,
'units': 'MINUTE'|'HOUR'|'DAY',
'interval': 123,
'retentionDuration': 123,
'enabled': True|False
},
],
'autoReplicateNewDisks': True|False,
'internetProtocol': 'IPV4'|'IPV6'
}
Response Structure
(dict) --
sourceServerID (string) --
The ID of the Source Server for this Replication Configuration.
name (string) --
The name of the Replication Configuration.
stagingAreaSubnetId (string) --
The subnet to be used by the replication staging area.
associateDefaultSecurityGroup (boolean) --
Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration.
replicationServersSecurityGroupsIDs (list) --
The security group IDs that will be used by the replication server.
(string) --
replicationServerInstanceType (string) --
The instance type to be used for the replication server.
useDedicatedReplicationServer (boolean) --
Whether to use a dedicated Replication Server in the replication staging area.
defaultLargeStagingDiskType (string) --
The Staging Disk EBS volume type to be used during replication.
replicatedDisks (list) --
The configuration of the disks of the Source Server to be replicated.
(dict) --
The configuration of a disk of the Source Server to be replicated.
deviceName (string) --
The name of the device.
isBootDisk (boolean) --
Whether to boot from this disk or not.
stagingDiskType (string) --
The Staging Disk EBS volume type to be used during replication.
iops (integer) --
The requested number of I/O operations per second (IOPS).
throughput (integer) --
The throughput to use for the EBS volume in MiB/s. This parameter is valid only for gp3 volumes.
optimizedStagingDiskType (string) --
The Staging Disk EBS volume type to be used during replication when stagingDiskType is set to Auto. This is a read-only field.
ebsEncryption (string) --
The type of EBS encryption to be used during replication.
ebsEncryptionKeyArn (string) --
The ARN of the EBS encryption key to be used during replication.
bandwidthThrottling (integer) --
Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
dataPlaneRouting (string) --
The data plane routing mechanism that will be used for replication.
createPublicIP (boolean) --
Whether to create a Public IP for the Recovery Instance by default.
stagingAreaTags (dict) --
A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
(string) --
(string) --
pitPolicy (list) --
The Point in time (PIT) policy to manage snapshots taken during replication.
(dict) --
A rule in the Point in Time (PIT) policy representing when to take snapshots and how long to retain them for.
ruleID (integer) --
The ID of the rule.
units (string) --
The units used to measure the interval and retentionDuration.
interval (integer) --
How often, in the chosen units, a snapshot should be taken.
retentionDuration (integer) --
The duration to retain a snapshot for, in the chosen units.
enabled (boolean) --
Whether this rule is enabled or not.
autoReplicateNewDisks (boolean) --
Whether to allow the AWS replication agent to automatically replicate newly added disks.
internetProtocol (string) --
Which version of the Internet Protocol to use for replication of data. (IPv4 or IPv6)
{'multiAzEnabledType': 'MULTI_AZ_ENABLED_VOLUME'}
WARNING: RetryDataReplication is deprecated. Causes the data replication initiation sequence to begin immediately upon next Handshake for the specified Source Server ID, regardless of when the previous initiation started. This command will work only if the Source Server is stalled or is in a DISCONNECTED or STOPPED state.
See also: AWS API Documentation
Request Syntax
client.retry_data_replication(
sourceServerID='string'
)
string
[REQUIRED]
The ID of the Source Server whose data replication should be retried.
dict
Response Syntax
{
'sourceServerID': 'string',
'arn': 'string',
'tags': {
'string': 'string'
},
'recoveryInstanceId': 'string',
'lastLaunchResult': 'NOT_STARTED'|'PENDING'|'SUCCEEDED'|'FAILED',
'dataReplicationInfo': {
'lagDuration': 'string',
'etaDateTime': 'string',
'replicatedDisks': [
{
'deviceName': 'string',
'totalStorageBytes': 123,
'replicatedStorageBytes': 123,
'rescannedStorageBytes': 123,
'backloggedStorageBytes': 123,
'volumeStatus': 'REGULAR'|'CONTAINS_MARKETPLACE_PRODUCT_CODES'|'MISSING_VOLUME_ATTRIBUTES'|'MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE'|'PENDING'
},
],
'dataReplicationState': 'STOPPED'|'INITIATING'|'INITIAL_SYNC'|'BACKLOG'|'CREATING_SNAPSHOT'|'CONTINUOUS'|'PAUSED'|'RESCAN'|'STALLED'|'DISCONNECTED',
'dataReplicationInitiation': {
'startDateTime': 'string',
'nextAttemptDateTime': 'string',
'steps': [
{
'name': 'WAIT'|'CREATE_SECURITY_GROUP'|'LAUNCH_REPLICATION_SERVER'|'BOOT_REPLICATION_SERVER'|'AUTHENTICATE_WITH_SERVICE'|'DOWNLOAD_REPLICATION_SOFTWARE'|'CREATE_STAGING_DISKS'|'ATTACH_STAGING_DISKS'|'PAIR_REPLICATION_SERVER_WITH_AGENT'|'CONNECT_AGENT_TO_REPLICATION_SERVER'|'START_DATA_TRANSFER',
'status': 'NOT_STARTED'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED'|'SKIPPED'
},
]
},
'dataReplicationError': {
'error': 'AGENT_NOT_SEEN'|'SNAPSHOTS_FAILURE'|'NOT_CONVERGING'|'UNSTABLE_NETWORK'|'FAILED_TO_CREATE_SECURITY_GROUP'|'FAILED_TO_LAUNCH_REPLICATION_SERVER'|'FAILED_TO_BOOT_REPLICATION_SERVER'|'FAILED_TO_AUTHENTICATE_WITH_SERVICE'|'FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE'|'FAILED_TO_CREATE_STAGING_DISKS'|'FAILED_TO_ATTACH_STAGING_DISKS'|'FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT'|'FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER'|'FAILED_TO_START_DATA_TRANSFER',
'rawError': 'string'
},
'stagingAvailabilityZone': 'string',
'stagingOutpostArn': 'string'
},
'lifeCycle': {
'addedToServiceDateTime': 'string',
'firstByteDateTime': 'string',
'elapsedReplicationDuration': 'string',
'lastSeenByServiceDateTime': 'string',
'lastLaunch': {
'initiated': {
'apiCallDateTime': 'string',
'jobID': 'string',
'type': 'RECOVERY'|'DRILL'
},
'status': 'PENDING'|'IN_PROGRESS'|'LAUNCHED'|'FAILED'|'TERMINATED'
}
},
'sourceProperties': {
'lastUpdatedDateTime': 'string',
'recommendedInstanceType': 'string',
'identificationHints': {
'fqdn': 'string',
'hostname': 'string',
'vmWareUuid': 'string',
'awsInstanceID': 'string'
},
'networkInterfaces': [
{
'macAddress': 'string',
'ips': [
'string',
],
'isPrimary': True|False
},
],
'disks': [
{
'deviceName': 'string',
'bytes': 123
},
],
'cpus': [
{
'cores': 123,
'modelName': 'string'
},
],
'ramBytes': 123,
'os': {
'fullString': 'string'
},
'supportsNitroInstances': True|False,
'architecture': 'x86_64'|'arm64'
},
'stagingArea': {
'status': 'EXTENDED'|'EXTENSION_ERROR'|'NOT_EXTENDED',
'stagingAccountID': 'string',
'stagingSourceServerArn': 'string',
'errorMessage': 'string'
},
'sourceCloudProperties': {
'originAccountID': 'string',
'originRegion': 'string',
'originAvailabilityZone': 'string',
'sourceOutpostArn': 'string'
},
'replicationDirection': 'FAILOVER'|'FAILBACK',
'reversedDirectionSourceServerArn': 'string',
'sourceNetworkID': 'string',
'agentVersion': 'string',
'multiAzEnabledType': 'MULTI_AZ_ENABLED_VOLUME'
}
Response Structure
(dict) --
sourceServerID (string) --
The ID of the Source Server.
arn (string) --
The ARN of the Source Server.
tags (dict) --
The tags associated with the Source Server.
(string) --
(string) --
recoveryInstanceId (string) --
The ID of the Recovery Instance associated with this Source Server.
lastLaunchResult (string) --
The status of the last recovery launch of this Source Server.
dataReplicationInfo (dict) --
The Data Replication Info of the Source Server.
lagDuration (string) --
Data replication lag duration.
etaDateTime (string) --
An estimate of when the data replication will be completed.
replicatedDisks (list) --
The disks that should be replicated.
(dict) --
A disk that should be replicated.
deviceName (string) --
The name of the device.
totalStorageBytes (integer) --
The total amount of data to be replicated in bytes.
replicatedStorageBytes (integer) --
The amount of data replicated so far in bytes.
rescannedStorageBytes (integer) --
The amount of data to be rescanned in bytes.
backloggedStorageBytes (integer) --
The size of the replication backlog in bytes.
volumeStatus (string) --
The status of the volume.
dataReplicationState (string) --
The state of the data replication.
dataReplicationInitiation (dict) --
Information about whether the data replication has been initiated.
startDateTime (string) --
The date and time of the current attempt to initiate data replication.
nextAttemptDateTime (string) --
The date and time of the next attempt to initiate data replication.
steps (list) --
The steps of the current attempt to initiate data replication.
(dict) --
Data replication initiation step.
name (string) --
The name of the step.
status (string) --
The status of the step.
dataReplicationError (dict) --
Error in data replication.
error (string) --
Error in data replication.
rawError (string) --
Error in data replication.
stagingAvailabilityZone (string) --
AWS Availability zone into which data is being replicated.
stagingOutpostArn (string) --
The ARN of the staging Outpost
lifeCycle (dict) --
The lifecycle information of this Source Server.
addedToServiceDateTime (string) --
The date and time of when the Source Server was added to the service.
firstByteDateTime (string) --
The date and time of the first byte that was replicated from the Source Server.
elapsedReplicationDuration (string) --
The amount of time that the Source Server has been replicating for.
lastSeenByServiceDateTime (string) --
The date and time this Source Server was last seen by the service.
lastLaunch (dict) --
An object containing information regarding the last launch of the Source Server.
initiated (dict) --
An object containing information regarding the initiation of the last launch of a Source Server.
apiCallDateTime (string) --
The date and time the last Source Server launch was initiated.
jobID (string) --
The ID of the Job that was used to last launch the Source Server.
type (string) --
The Job type that was used to last launch the Source Server.
status (string) --
Status of Source Server's last launch.
sourceProperties (dict) --
The source properties of the Source Server.
lastUpdatedDateTime (string) --
The date and time the Source Properties were last updated on.
recommendedInstanceType (string) --
The recommended EC2 instance type that will be used when recovering the Source Server.
identificationHints (dict) --
Hints used to uniquely identify a machine.
fqdn (string) --
Fully Qualified Domain Name identification hint.
hostname (string) --
Hostname identification hint.
vmWareUuid (string) --
vCenter VM path identification hint.
awsInstanceID (string) --
AWS Instance ID identification hint.
networkInterfaces (list) --
An array of network interfaces.
(dict) --
Network interface.
macAddress (string) --
The MAC address of the network interface.
ips (list) --
Network interface IPs.
(string) --
isPrimary (boolean) --
Whether this is the primary network interface.
disks (list) --
An array of disks.
(dict) --
An object representing a data storage device on a server.
deviceName (string) --
The disk or device name.
bytes (integer) --
The amount of storage on the disk in bytes.
cpus (list) --
An array of CPUs.
(dict) --
Information about a server's CPU.
cores (integer) --
The number of CPU cores.
modelName (string) --
The model name of the CPU.
ramBytes (integer) --
The amount of RAM in bytes.
os (dict) --
Operating system.
fullString (string) --
The long name of the Operating System.
supportsNitroInstances (boolean) --
Are EC2 nitro instance types supported when recovering the Source Server.
architecture (string) --
The architecture of the Source Server.
stagingArea (dict) --
The staging area of the source server.
status (string) --
Status of Source server extension. Possible values: (a) NOT_EXTENDED - This is a source server that is replicating in the current account. (b) EXTENDED - Source server is extended from a staging source server. In this case, the value of stagingSourceServerArn is pointing to the Arn of the source server in the staging account. (c) EXTENSION_ERROR - Some issue occurred when accessing staging source server. In this case, errorMessage field will contain an error message that explains what happened.
stagingAccountID (string) --
Account ID of the account to which source server belongs. If this source server is extended - shows Account ID of staging source server.
stagingSourceServerArn (string) --
Arn of the staging source server if this source server is extended
errorMessage (string) --
Shows an error message that occurred when DRS tried to access the staging source server. In this case StagingArea$status will have value EXTENSION_ERROR
sourceCloudProperties (dict) --
Source cloud properties of the Source Server.
originAccountID (string) --
AWS Account ID for an EC2-originated Source Server.
originRegion (string) --
AWS Region for an EC2-originated Source Server.
originAvailabilityZone (string) --
AWS Availability Zone for an EC2-originated Source Server.
sourceOutpostArn (string) --
The ARN of the source Outpost
replicationDirection (string) --
Replication direction of the Source Server.
reversedDirectionSourceServerArn (string) --
For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN of the Source Server on the opposite replication direction.
sourceNetworkID (string) --
ID of the Source Network which is protecting this Source Server's network.
agentVersion (string) --
The version of the DRS agent installed on the source server
multiAzEnabledType (string) --
Specifies whether Multi-AZ is enabled for the source server.
{'sourceServer': {'multiAzEnabledType': 'MULTI_AZ_ENABLED_VOLUME'}}
Starts replication for a stopped Source Server. This action would make the Source Server protected again and restart billing for it.
See also: AWS API Documentation
Request Syntax
client.start_replication(
sourceServerID='string'
)
string
[REQUIRED]
The ID of the Source Server to start replication for.
dict
Response Syntax
{
'sourceServer': {
'sourceServerID': 'string',
'arn': 'string',
'tags': {
'string': 'string'
},
'recoveryInstanceId': 'string',
'lastLaunchResult': 'NOT_STARTED'|'PENDING'|'SUCCEEDED'|'FAILED',
'dataReplicationInfo': {
'lagDuration': 'string',
'etaDateTime': 'string',
'replicatedDisks': [
{
'deviceName': 'string',
'totalStorageBytes': 123,
'replicatedStorageBytes': 123,
'rescannedStorageBytes': 123,
'backloggedStorageBytes': 123,
'volumeStatus': 'REGULAR'|'CONTAINS_MARKETPLACE_PRODUCT_CODES'|'MISSING_VOLUME_ATTRIBUTES'|'MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE'|'PENDING'
},
],
'dataReplicationState': 'STOPPED'|'INITIATING'|'INITIAL_SYNC'|'BACKLOG'|'CREATING_SNAPSHOT'|'CONTINUOUS'|'PAUSED'|'RESCAN'|'STALLED'|'DISCONNECTED',
'dataReplicationInitiation': {
'startDateTime': 'string',
'nextAttemptDateTime': 'string',
'steps': [
{
'name': 'WAIT'|'CREATE_SECURITY_GROUP'|'LAUNCH_REPLICATION_SERVER'|'BOOT_REPLICATION_SERVER'|'AUTHENTICATE_WITH_SERVICE'|'DOWNLOAD_REPLICATION_SOFTWARE'|'CREATE_STAGING_DISKS'|'ATTACH_STAGING_DISKS'|'PAIR_REPLICATION_SERVER_WITH_AGENT'|'CONNECT_AGENT_TO_REPLICATION_SERVER'|'START_DATA_TRANSFER',
'status': 'NOT_STARTED'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED'|'SKIPPED'
},
]
},
'dataReplicationError': {
'error': 'AGENT_NOT_SEEN'|'SNAPSHOTS_FAILURE'|'NOT_CONVERGING'|'UNSTABLE_NETWORK'|'FAILED_TO_CREATE_SECURITY_GROUP'|'FAILED_TO_LAUNCH_REPLICATION_SERVER'|'FAILED_TO_BOOT_REPLICATION_SERVER'|'FAILED_TO_AUTHENTICATE_WITH_SERVICE'|'FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE'|'FAILED_TO_CREATE_STAGING_DISKS'|'FAILED_TO_ATTACH_STAGING_DISKS'|'FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT'|'FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER'|'FAILED_TO_START_DATA_TRANSFER',
'rawError': 'string'
},
'stagingAvailabilityZone': 'string',
'stagingOutpostArn': 'string'
},
'lifeCycle': {
'addedToServiceDateTime': 'string',
'firstByteDateTime': 'string',
'elapsedReplicationDuration': 'string',
'lastSeenByServiceDateTime': 'string',
'lastLaunch': {
'initiated': {
'apiCallDateTime': 'string',
'jobID': 'string',
'type': 'RECOVERY'|'DRILL'
},
'status': 'PENDING'|'IN_PROGRESS'|'LAUNCHED'|'FAILED'|'TERMINATED'
}
},
'sourceProperties': {
'lastUpdatedDateTime': 'string',
'recommendedInstanceType': 'string',
'identificationHints': {
'fqdn': 'string',
'hostname': 'string',
'vmWareUuid': 'string',
'awsInstanceID': 'string'
},
'networkInterfaces': [
{
'macAddress': 'string',
'ips': [
'string',
],
'isPrimary': True|False
},
],
'disks': [
{
'deviceName': 'string',
'bytes': 123
},
],
'cpus': [
{
'cores': 123,
'modelName': 'string'
},
],
'ramBytes': 123,
'os': {
'fullString': 'string'
},
'supportsNitroInstances': True|False,
'architecture': 'x86_64'|'arm64'
},
'stagingArea': {
'status': 'EXTENDED'|'EXTENSION_ERROR'|'NOT_EXTENDED',
'stagingAccountID': 'string',
'stagingSourceServerArn': 'string',
'errorMessage': 'string'
},
'sourceCloudProperties': {
'originAccountID': 'string',
'originRegion': 'string',
'originAvailabilityZone': 'string',
'sourceOutpostArn': 'string'
},
'replicationDirection': 'FAILOVER'|'FAILBACK',
'reversedDirectionSourceServerArn': 'string',
'sourceNetworkID': 'string',
'agentVersion': 'string',
'multiAzEnabledType': 'MULTI_AZ_ENABLED_VOLUME'
}
}
Response Structure
(dict) --
sourceServer (dict) --
The Source Server that this action was targeted on.
sourceServerID (string) --
The ID of the Source Server.
arn (string) --
The ARN of the Source Server.
tags (dict) --
The tags associated with the Source Server.
(string) --
(string) --
recoveryInstanceId (string) --
The ID of the Recovery Instance associated with this Source Server.
lastLaunchResult (string) --
The status of the last recovery launch of this Source Server.
dataReplicationInfo (dict) --
The Data Replication Info of the Source Server.
lagDuration (string) --
Data replication lag duration.
etaDateTime (string) --
An estimate of when the data replication will be completed.
replicatedDisks (list) --
The disks that should be replicated.
(dict) --
A disk that should be replicated.
deviceName (string) --
The name of the device.
totalStorageBytes (integer) --
The total amount of data to be replicated in bytes.
replicatedStorageBytes (integer) --
The amount of data replicated so far in bytes.
rescannedStorageBytes (integer) --
The amount of data to be rescanned in bytes.
backloggedStorageBytes (integer) --
The size of the replication backlog in bytes.
volumeStatus (string) --
The status of the volume.
dataReplicationState (string) --
The state of the data replication.
dataReplicationInitiation (dict) --
Information about whether the data replication has been initiated.
startDateTime (string) --
The date and time of the current attempt to initiate data replication.
nextAttemptDateTime (string) --
The date and time of the next attempt to initiate data replication.
steps (list) --
The steps of the current attempt to initiate data replication.
(dict) --
Data replication initiation step.
name (string) --
The name of the step.
status (string) --
The status of the step.
dataReplicationError (dict) --
Error in data replication.
error (string) --
Error in data replication.
rawError (string) --
Error in data replication.
stagingAvailabilityZone (string) --
AWS Availability zone into which data is being replicated.
stagingOutpostArn (string) --
The ARN of the staging Outpost
lifeCycle (dict) --
The lifecycle information of this Source Server.
addedToServiceDateTime (string) --
The date and time of when the Source Server was added to the service.
firstByteDateTime (string) --
The date and time of the first byte that was replicated from the Source Server.
elapsedReplicationDuration (string) --
The amount of time that the Source Server has been replicating for.
lastSeenByServiceDateTime (string) --
The date and time this Source Server was last seen by the service.
lastLaunch (dict) --
An object containing information regarding the last launch of the Source Server.
initiated (dict) --
An object containing information regarding the initiation of the last launch of a Source Server.
apiCallDateTime (string) --
The date and time the last Source Server launch was initiated.
jobID (string) --
The ID of the Job that was used to last launch the Source Server.
type (string) --
The Job type that was used to last launch the Source Server.
status (string) --
Status of Source Server's last launch.
sourceProperties (dict) --
The source properties of the Source Server.
lastUpdatedDateTime (string) --
The date and time the Source Properties were last updated on.
recommendedInstanceType (string) --
The recommended EC2 instance type that will be used when recovering the Source Server.
identificationHints (dict) --
Hints used to uniquely identify a machine.
fqdn (string) --
Fully Qualified Domain Name identification hint.
hostname (string) --
Hostname identification hint.
vmWareUuid (string) --
vCenter VM path identification hint.
awsInstanceID (string) --
AWS Instance ID identification hint.
networkInterfaces (list) --
An array of network interfaces.
(dict) --
Network interface.
macAddress (string) --
The MAC address of the network interface.
ips (list) --
Network interface IPs.
(string) --
isPrimary (boolean) --
Whether this is the primary network interface.
disks (list) --
An array of disks.
(dict) --
An object representing a data storage device on a server.
deviceName (string) --
The disk or device name.
bytes (integer) --
The amount of storage on the disk in bytes.
cpus (list) --
An array of CPUs.
(dict) --
Information about a server's CPU.
cores (integer) --
The number of CPU cores.
modelName (string) --
The model name of the CPU.
ramBytes (integer) --
The amount of RAM in bytes.
os (dict) --
Operating system.
fullString (string) --
The long name of the Operating System.
supportsNitroInstances (boolean) --
Are EC2 nitro instance types supported when recovering the Source Server.
architecture (string) --
The architecture of the Source Server.
stagingArea (dict) --
The staging area of the source server.
status (string) --
Status of Source server extension. Possible values: (a) NOT_EXTENDED - This is a source server that is replicating in the current account. (b) EXTENDED - Source server is extended from a staging source server. In this case, the value of stagingSourceServerArn is pointing to the Arn of the source server in the staging account. (c) EXTENSION_ERROR - Some issue occurred when accessing staging source server. In this case, errorMessage field will contain an error message that explains what happened.
stagingAccountID (string) --
Account ID of the account to which source server belongs. If this source server is extended - shows Account ID of staging source server.
stagingSourceServerArn (string) --
Arn of the staging source server if this source server is extended
errorMessage (string) --
Shows an error message that occurred when DRS tried to access the staging source server. In this case StagingArea$status will have value EXTENSION_ERROR
sourceCloudProperties (dict) --
Source cloud properties of the Source Server.
originAccountID (string) --
AWS Account ID for an EC2-originated Source Server.
originRegion (string) --
AWS Region for an EC2-originated Source Server.
originAvailabilityZone (string) --
AWS Availability Zone for an EC2-originated Source Server.
sourceOutpostArn (string) --
The ARN of the source Outpost
replicationDirection (string) --
Replication direction of the Source Server.
reversedDirectionSourceServerArn (string) --
For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN of the Source Server on the opposite replication direction.
sourceNetworkID (string) --
ID of the Source Network which is protecting this Source Server's network.
agentVersion (string) --
The version of the DRS agent installed on the source server
multiAzEnabledType (string) --
Specifies whether Multi-AZ is enabled for the source server.
{'sourceServer': {'multiAzEnabledType': 'MULTI_AZ_ENABLED_VOLUME'}}
Stops replication for a Source Server. This action would make the Source Server unprotected, delete its existing snapshots and stop billing for it.
See also: AWS API Documentation
Request Syntax
client.stop_replication(
sourceServerID='string'
)
string
[REQUIRED]
The ID of the Source Server to stop replication for.
dict
Response Syntax
{
'sourceServer': {
'sourceServerID': 'string',
'arn': 'string',
'tags': {
'string': 'string'
},
'recoveryInstanceId': 'string',
'lastLaunchResult': 'NOT_STARTED'|'PENDING'|'SUCCEEDED'|'FAILED',
'dataReplicationInfo': {
'lagDuration': 'string',
'etaDateTime': 'string',
'replicatedDisks': [
{
'deviceName': 'string',
'totalStorageBytes': 123,
'replicatedStorageBytes': 123,
'rescannedStorageBytes': 123,
'backloggedStorageBytes': 123,
'volumeStatus': 'REGULAR'|'CONTAINS_MARKETPLACE_PRODUCT_CODES'|'MISSING_VOLUME_ATTRIBUTES'|'MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE'|'PENDING'
},
],
'dataReplicationState': 'STOPPED'|'INITIATING'|'INITIAL_SYNC'|'BACKLOG'|'CREATING_SNAPSHOT'|'CONTINUOUS'|'PAUSED'|'RESCAN'|'STALLED'|'DISCONNECTED',
'dataReplicationInitiation': {
'startDateTime': 'string',
'nextAttemptDateTime': 'string',
'steps': [
{
'name': 'WAIT'|'CREATE_SECURITY_GROUP'|'LAUNCH_REPLICATION_SERVER'|'BOOT_REPLICATION_SERVER'|'AUTHENTICATE_WITH_SERVICE'|'DOWNLOAD_REPLICATION_SOFTWARE'|'CREATE_STAGING_DISKS'|'ATTACH_STAGING_DISKS'|'PAIR_REPLICATION_SERVER_WITH_AGENT'|'CONNECT_AGENT_TO_REPLICATION_SERVER'|'START_DATA_TRANSFER',
'status': 'NOT_STARTED'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED'|'SKIPPED'
},
]
},
'dataReplicationError': {
'error': 'AGENT_NOT_SEEN'|'SNAPSHOTS_FAILURE'|'NOT_CONVERGING'|'UNSTABLE_NETWORK'|'FAILED_TO_CREATE_SECURITY_GROUP'|'FAILED_TO_LAUNCH_REPLICATION_SERVER'|'FAILED_TO_BOOT_REPLICATION_SERVER'|'FAILED_TO_AUTHENTICATE_WITH_SERVICE'|'FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE'|'FAILED_TO_CREATE_STAGING_DISKS'|'FAILED_TO_ATTACH_STAGING_DISKS'|'FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT'|'FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER'|'FAILED_TO_START_DATA_TRANSFER',
'rawError': 'string'
},
'stagingAvailabilityZone': 'string',
'stagingOutpostArn': 'string'
},
'lifeCycle': {
'addedToServiceDateTime': 'string',
'firstByteDateTime': 'string',
'elapsedReplicationDuration': 'string',
'lastSeenByServiceDateTime': 'string',
'lastLaunch': {
'initiated': {
'apiCallDateTime': 'string',
'jobID': 'string',
'type': 'RECOVERY'|'DRILL'
},
'status': 'PENDING'|'IN_PROGRESS'|'LAUNCHED'|'FAILED'|'TERMINATED'
}
},
'sourceProperties': {
'lastUpdatedDateTime': 'string',
'recommendedInstanceType': 'string',
'identificationHints': {
'fqdn': 'string',
'hostname': 'string',
'vmWareUuid': 'string',
'awsInstanceID': 'string'
},
'networkInterfaces': [
{
'macAddress': 'string',
'ips': [
'string',
],
'isPrimary': True|False
},
],
'disks': [
{
'deviceName': 'string',
'bytes': 123
},
],
'cpus': [
{
'cores': 123,
'modelName': 'string'
},
],
'ramBytes': 123,
'os': {
'fullString': 'string'
},
'supportsNitroInstances': True|False,
'architecture': 'x86_64'|'arm64'
},
'stagingArea': {
'status': 'EXTENDED'|'EXTENSION_ERROR'|'NOT_EXTENDED',
'stagingAccountID': 'string',
'stagingSourceServerArn': 'string',
'errorMessage': 'string'
},
'sourceCloudProperties': {
'originAccountID': 'string',
'originRegion': 'string',
'originAvailabilityZone': 'string',
'sourceOutpostArn': 'string'
},
'replicationDirection': 'FAILOVER'|'FAILBACK',
'reversedDirectionSourceServerArn': 'string',
'sourceNetworkID': 'string',
'agentVersion': 'string',
'multiAzEnabledType': 'MULTI_AZ_ENABLED_VOLUME'
}
}
Response Structure
(dict) --
sourceServer (dict) --
The Source Server that this action was targeted on.
sourceServerID (string) --
The ID of the Source Server.
arn (string) --
The ARN of the Source Server.
tags (dict) --
The tags associated with the Source Server.
(string) --
(string) --
recoveryInstanceId (string) --
The ID of the Recovery Instance associated with this Source Server.
lastLaunchResult (string) --
The status of the last recovery launch of this Source Server.
dataReplicationInfo (dict) --
The Data Replication Info of the Source Server.
lagDuration (string) --
Data replication lag duration.
etaDateTime (string) --
An estimate of when the data replication will be completed.
replicatedDisks (list) --
The disks that should be replicated.
(dict) --
A disk that should be replicated.
deviceName (string) --
The name of the device.
totalStorageBytes (integer) --
The total amount of data to be replicated in bytes.
replicatedStorageBytes (integer) --
The amount of data replicated so far in bytes.
rescannedStorageBytes (integer) --
The amount of data to be rescanned in bytes.
backloggedStorageBytes (integer) --
The size of the replication backlog in bytes.
volumeStatus (string) --
The status of the volume.
dataReplicationState (string) --
The state of the data replication.
dataReplicationInitiation (dict) --
Information about whether the data replication has been initiated.
startDateTime (string) --
The date and time of the current attempt to initiate data replication.
nextAttemptDateTime (string) --
The date and time of the next attempt to initiate data replication.
steps (list) --
The steps of the current attempt to initiate data replication.
(dict) --
Data replication initiation step.
name (string) --
The name of the step.
status (string) --
The status of the step.
dataReplicationError (dict) --
Error in data replication.
error (string) --
Error in data replication.
rawError (string) --
Error in data replication.
stagingAvailabilityZone (string) --
AWS Availability zone into which data is being replicated.
stagingOutpostArn (string) --
The ARN of the staging Outpost
lifeCycle (dict) --
The lifecycle information of this Source Server.
addedToServiceDateTime (string) --
The date and time of when the Source Server was added to the service.
firstByteDateTime (string) --
The date and time of the first byte that was replicated from the Source Server.
elapsedReplicationDuration (string) --
The amount of time that the Source Server has been replicating for.
lastSeenByServiceDateTime (string) --
The date and time this Source Server was last seen by the service.
lastLaunch (dict) --
An object containing information regarding the last launch of the Source Server.
initiated (dict) --
An object containing information regarding the initiation of the last launch of a Source Server.
apiCallDateTime (string) --
The date and time the last Source Server launch was initiated.
jobID (string) --
The ID of the Job that was used to last launch the Source Server.
type (string) --
The Job type that was used to last launch the Source Server.
status (string) --
Status of Source Server's last launch.
sourceProperties (dict) --
The source properties of the Source Server.
lastUpdatedDateTime (string) --
The date and time the Source Properties were last updated on.
recommendedInstanceType (string) --
The recommended EC2 instance type that will be used when recovering the Source Server.
identificationHints (dict) --
Hints used to uniquely identify a machine.
fqdn (string) --
Fully Qualified Domain Name identification hint.
hostname (string) --
Hostname identification hint.
vmWareUuid (string) --
vCenter VM path identification hint.
awsInstanceID (string) --
AWS Instance ID identification hint.
networkInterfaces (list) --
An array of network interfaces.
(dict) --
Network interface.
macAddress (string) --
The MAC address of the network interface.
ips (list) --
Network interface IPs.
(string) --
isPrimary (boolean) --
Whether this is the primary network interface.
disks (list) --
An array of disks.
(dict) --
An object representing a data storage device on a server.
deviceName (string) --
The disk or device name.
bytes (integer) --
The amount of storage on the disk in bytes.
cpus (list) --
An array of CPUs.
(dict) --
Information about a server's CPU.
cores (integer) --
The number of CPU cores.
modelName (string) --
The model name of the CPU.
ramBytes (integer) --
The amount of RAM in bytes.
os (dict) --
Operating system.
fullString (string) --
The long name of the Operating System.
supportsNitroInstances (boolean) --
Are EC2 nitro instance types supported when recovering the Source Server.
architecture (string) --
The architecture of the Source Server.
stagingArea (dict) --
The staging area of the source server.
status (string) --
Status of Source server extension. Possible values: (a) NOT_EXTENDED - This is a source server that is replicating in the current account. (b) EXTENDED - Source server is extended from a staging source server. In this case, the value of stagingSourceServerArn is pointing to the Arn of the source server in the staging account. (c) EXTENSION_ERROR - Some issue occurred when accessing staging source server. In this case, errorMessage field will contain an error message that explains what happened.
stagingAccountID (string) --
Account ID of the account to which source server belongs. If this source server is extended - shows Account ID of staging source server.
stagingSourceServerArn (string) --
Arn of the staging source server if this source server is extended
errorMessage (string) --
Shows an error message that occurred when DRS tried to access the staging source server. In this case StagingArea$status will have value EXTENSION_ERROR
sourceCloudProperties (dict) --
Source cloud properties of the Source Server.
originAccountID (string) --
AWS Account ID for an EC2-originated Source Server.
originRegion (string) --
AWS Region for an EC2-originated Source Server.
originAvailabilityZone (string) --
AWS Availability Zone for an EC2-originated Source Server.
sourceOutpostArn (string) --
The ARN of the source Outpost
replicationDirection (string) --
Replication direction of the Source Server.
reversedDirectionSourceServerArn (string) --
For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN of the Source Server on the opposite replication direction.
sourceNetworkID (string) --
ID of the Source Network which is protecting this Source Server's network.
agentVersion (string) --
The version of the DRS agent installed on the source server
multiAzEnabledType (string) --
Specifies whether Multi-AZ is enabled for the source server.
{'replicatedDisks': {'optimizedStagingDiskType': {'IO2'},
'stagingDiskType': {'IO2'}}}
Allows you to update a ReplicationConfiguration by Source Server ID.
See also: AWS API Documentation
Request Syntax
client.update_replication_configuration(
sourceServerID='string',
name='string',
stagingAreaSubnetId='string',
associateDefaultSecurityGroup=True|False,
replicationServersSecurityGroupsIDs=[
'string',
],
replicationServerInstanceType='string',
useDedicatedReplicationServer=True|False,
defaultLargeStagingDiskType='GP2'|'GP3'|'ST1'|'AUTO',
replicatedDisks=[
{
'deviceName': 'string',
'isBootDisk': True|False,
'stagingDiskType': 'AUTO'|'GP2'|'GP3'|'IO1'|'IO2'|'SC1'|'ST1'|'STANDARD',
'iops': 123,
'throughput': 123,
'optimizedStagingDiskType': 'AUTO'|'GP2'|'GP3'|'IO1'|'IO2'|'SC1'|'ST1'|'STANDARD'
},
],
ebsEncryption='DEFAULT'|'CUSTOM'|'NONE',
ebsEncryptionKeyArn='string',
bandwidthThrottling=123,
dataPlaneRouting='PRIVATE_IP'|'PUBLIC_IP',
createPublicIP=True|False,
stagingAreaTags={
'string': 'string'
},
pitPolicy=[
{
'ruleID': 123,
'units': 'MINUTE'|'HOUR'|'DAY',
'interval': 123,
'retentionDuration': 123,
'enabled': True|False
},
],
autoReplicateNewDisks=True|False,
internetProtocol='IPV4'|'IPV6'
)
string
[REQUIRED]
The ID of the Source Server for this Replication Configuration.
string
The name of the Replication Configuration.
string
The subnet to be used by the replication staging area.
boolean
Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration.
list
The security group IDs that will be used by the replication server.
(string) --
string
The instance type to be used for the replication server.
boolean
Whether to use a dedicated Replication Server in the replication staging area.
string
The Staging Disk EBS volume type to be used during replication.
list
The configuration of the disks of the Source Server to be replicated.
(dict) --
The configuration of a disk of the Source Server to be replicated.
deviceName (string) --
The name of the device.
isBootDisk (boolean) --
Whether to boot from this disk or not.
stagingDiskType (string) --
The Staging Disk EBS volume type to be used during replication.
iops (integer) --
The requested number of I/O operations per second (IOPS).
throughput (integer) --
The throughput to use for the EBS volume in MiB/s. This parameter is valid only for gp3 volumes.
optimizedStagingDiskType (string) --
The Staging Disk EBS volume type to be used during replication when stagingDiskType is set to Auto. This is a read-only field.
string
The type of EBS encryption to be used during replication.
string
The ARN of the EBS encryption key to be used during replication.
integer
Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
string
The data plane routing mechanism that will be used for replication.
boolean
Whether to create a Public IP for the Recovery Instance by default.
dict
A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
(string) --
(string) --
list
The Point in time (PIT) policy to manage snapshots taken during replication.
(dict) --
A rule in the Point in Time (PIT) policy representing when to take snapshots and how long to retain them for.
ruleID (integer) --
The ID of the rule.
units (string) -- [REQUIRED]
The units used to measure the interval and retentionDuration.
interval (integer) -- [REQUIRED]
How often, in the chosen units, a snapshot should be taken.
retentionDuration (integer) -- [REQUIRED]
The duration to retain a snapshot for, in the chosen units.
enabled (boolean) --
Whether this rule is enabled or not.
boolean
Whether to allow the AWS replication agent to automatically replicate newly added disks.
string
Which version of the Internet Protocol to use for replication of data. (IPv4 or IPv6)
dict
Response Syntax
{
'sourceServerID': 'string',
'name': 'string',
'stagingAreaSubnetId': 'string',
'associateDefaultSecurityGroup': True|False,
'replicationServersSecurityGroupsIDs': [
'string',
],
'replicationServerInstanceType': 'string',
'useDedicatedReplicationServer': True|False,
'defaultLargeStagingDiskType': 'GP2'|'GP3'|'ST1'|'AUTO',
'replicatedDisks': [
{
'deviceName': 'string',
'isBootDisk': True|False,
'stagingDiskType': 'AUTO'|'GP2'|'GP3'|'IO1'|'IO2'|'SC1'|'ST1'|'STANDARD',
'iops': 123,
'throughput': 123,
'optimizedStagingDiskType': 'AUTO'|'GP2'|'GP3'|'IO1'|'IO2'|'SC1'|'ST1'|'STANDARD'
},
],
'ebsEncryption': 'DEFAULT'|'CUSTOM'|'NONE',
'ebsEncryptionKeyArn': 'string',
'bandwidthThrottling': 123,
'dataPlaneRouting': 'PRIVATE_IP'|'PUBLIC_IP',
'createPublicIP': True|False,
'stagingAreaTags': {
'string': 'string'
},
'pitPolicy': [
{
'ruleID': 123,
'units': 'MINUTE'|'HOUR'|'DAY',
'interval': 123,
'retentionDuration': 123,
'enabled': True|False
},
],
'autoReplicateNewDisks': True|False,
'internetProtocol': 'IPV4'|'IPV6'
}
Response Structure
(dict) --
sourceServerID (string) --
The ID of the Source Server for this Replication Configuration.
name (string) --
The name of the Replication Configuration.
stagingAreaSubnetId (string) --
The subnet to be used by the replication staging area.
associateDefaultSecurityGroup (boolean) --
Whether to associate the default Elastic Disaster Recovery Security group with the Replication Configuration.
replicationServersSecurityGroupsIDs (list) --
The security group IDs that will be used by the replication server.
(string) --
replicationServerInstanceType (string) --
The instance type to be used for the replication server.
useDedicatedReplicationServer (boolean) --
Whether to use a dedicated Replication Server in the replication staging area.
defaultLargeStagingDiskType (string) --
The Staging Disk EBS volume type to be used during replication.
replicatedDisks (list) --
The configuration of the disks of the Source Server to be replicated.
(dict) --
The configuration of a disk of the Source Server to be replicated.
deviceName (string) --
The name of the device.
isBootDisk (boolean) --
Whether to boot from this disk or not.
stagingDiskType (string) --
The Staging Disk EBS volume type to be used during replication.
iops (integer) --
The requested number of I/O operations per second (IOPS).
throughput (integer) --
The throughput to use for the EBS volume in MiB/s. This parameter is valid only for gp3 volumes.
optimizedStagingDiskType (string) --
The Staging Disk EBS volume type to be used during replication when stagingDiskType is set to Auto. This is a read-only field.
ebsEncryption (string) --
The type of EBS encryption to be used during replication.
ebsEncryptionKeyArn (string) --
The ARN of the EBS encryption key to be used during replication.
bandwidthThrottling (integer) --
Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.
dataPlaneRouting (string) --
The data plane routing mechanism that will be used for replication.
createPublicIP (boolean) --
Whether to create a Public IP for the Recovery Instance by default.
stagingAreaTags (dict) --
A set of tags to be associated with all resources created in the replication staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
(string) --
(string) --
pitPolicy (list) --
The Point in time (PIT) policy to manage snapshots taken during replication.
(dict) --
A rule in the Point in Time (PIT) policy representing when to take snapshots and how long to retain them for.
ruleID (integer) --
The ID of the rule.
units (string) --
The units used to measure the interval and retentionDuration.
interval (integer) --
How often, in the chosen units, a snapshot should be taken.
retentionDuration (integer) --
The duration to retain a snapshot for, in the chosen units.
enabled (boolean) --
Whether this rule is enabled or not.
autoReplicateNewDisks (boolean) --
Whether to allow the AWS replication agent to automatically replicate newly added disks.
internetProtocol (string) --
Which version of the Internet Protocol to use for replication of data. (IPv4 or IPv6)