Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions,
see Getting Started with Amazon Web Services in China
(PDF).
Start a zonal shift for your Network Load Balancer
Zonal shift in ARC enables you to temporarily move traffic for supported resources away from an Availability Zone
so that your application can continue to operate normally with other Availability Zones in an Amazon Region.
Prerequisite
Before you begin, verify that you enabled zonal shift
for the load balancer.
- Console
-
This procedure explains how to start a zonal shift using the Amazon EC2 console.
For steps to start a zonal shift using the ARC console, see Starting a zonal shift
in the Amazon Application Recovery Controller (ARC) Developer Guide.
To start a zonal shift
Open the Amazon EC2 console at
https://console.amazonaws.cn/ec2/.
-
On the navigation pane, under Load Balancing, choose
Load Balancers.
-
Select the Network Load Balancer.
-
On the Integrations tab, expand Amazon Application Recovery Controller (ARC) and
choose Start zonal shift.
-
Select the Availability Zone that you want to move traffic away from.
-
Choose or enter an expiration for the zonal shift. A zonal shift can initially be set from 1 minute up to three days (72 hours).
All zonal shifts are temporary. You must set an expiration, but you can update active shifts later to set a new expiration.
-
Enter a comment. You can update the zonal shift later to edit the comment.
-
Select the check box to acknowledge that starting a zonal shift reduces capacity for your
application by shifting traffic away from the Availability Zone.
-
Choose Confirm.
- Amazon CLI
-
To start a zonal shift
Use the Amazon Application Recovery Controller (ARC) start-zonal-shift command.
aws arc-zonal-shift start-zonal-shift \
--resource-identifier load-balancer-arn
\
--away-from use2-az2
\
--expires-in 2h
\
--comment "zonal shift due to scheduled maintenance
"