NEW: Initial commit

Terraform modules for AWS Zonal Shift demo
This commit is contained in:
KenF
2025-05-17 22:10:34 +08:00
commit bc71da905f
19 changed files with 592 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
# 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>
```