Map a VPC's IPv4 CIDR block to a different IPv4 CIDR block in the recovery environment
arpio-config:renumber:<cidr-block>[@<rec-account>/<rec-region>] = <rec-cidr-block>
<cidr-block>
An IPv4 CIDR block in the tagged VPC that should be created with a different network address in the recovery environment.
<rec-account>
An optional part of the tag name that causes Arpio to use this configuration tag only when the VPC is being recovered in the specified recovery account and region.
If you specify a recovery account in the tag name, you must also specify a recovery region.
<rec-region>
An optional part of the tag name that causes Arpio to use this configuration tag only when the VPC is being recovered in the specified recovery account and region.
If you specify a recovery region in the tag name, you must also specify a recovery account.
<rec-cidr-block>
The IPv4 CIDR block to use when recovering the tagged VPC's <cidr-block>. The CIDR block must have the same prefix length (network size) as <cidr-block>, and it should not overlap with any other CIDR block that will be assigned to the VPC in the recovery environment.
Supported Resources
- VPC
Description
You can use the arpio-config:renumber: configuration tag to map a VPC's IPv4 CIDR block to a different IPv4 CIDR block in the recovery environment. You can use this tag on a VPC's primary IPv4 CIDR block and create additional tags to renumber its additional CIDR blocks.
When you use this tag, Arpio automatically translates network addresses of resources like subnets, EC2 instances, and load balancers into the specified recovery CIDR block when it recovers those resources.
This tag is useful when you want to maintain persistent VPN connections to both your primary and recovery environments, but do not want to introduce complex routing rules or network address translation to handle duplicate private address spaces.
You can use this tag on one or more networks in a VPC. When you set this tag, you can format the tag name to include a specific recovery account and region, or leave those parts out of the name so the renumbering happens in all recovery environments.
Arpio uses the most specific tag when recovering VPC networks. If there's a tag for a network that specifies a recovery account and region, that tag's value will be used for that recovery environment. The other tag will be used for other recovery environments.
Examples
Tag | Value |
---|---|
arpio-config:renumber:192.168.0.0/16 |
10.1.0.0/16 |
arpio-config:renumber:10.0.1.0/24 |
10.0.111.0/24 |
arpio-config:renumber:10.0.1.0/24@111111111111/us-east-2 |
10.0.222.0/24 |
arpio-config:renumber:10.0.1.0/24@222222222222/us-west-1 |
10.0.333.0/24 |