bc71da905f
Terraform modules for AWS Zonal Shift demo
19 lines
556 B
Markdown
19 lines
556 B
Markdown
# ZonelShiftLab
|
|
Deploy VPC, Subnet, Ec2, NLB for testing Zonal Shift
|
|
|
|
## Description
|
|
When zonel shift is initiated, the paused AZ will stop responding after 1-2 minutes
|
|
After cancelling a zonal shift, wait for DNS TTL to expire and the resumed AZ should start responding.
|
|
|
|
To initiate / cancel zonal shift:
|
|
|
|
```bash
|
|
aws arc-zonal-shift start-zonal-shift \
|
|
--resource-identifier <RESOURCE_ARN> \
|
|
--away-from <AZ_ID> \
|
|
--expires-in <DURATION eg 30m> \
|
|
--comment AzFailoverTest
|
|
|
|
aws arc-zonal-shift cancel-zonal-shift --zonal-shift-id <SHIFT_ID>
|
|
```
|