Enable EKS Zonal Shift to avoid impaired Availability Zones - Amazon EKS
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).

Help improve this page

Want to contribute to this user guide? Choose the Edit this page on GitHub link that is located in the right pane of every page. Your contributions will help make our user guide better for everyone.

Enable EKS Zonal Shift to avoid impaired Availability Zones

Amazon Application Recovery Controller (ARC) helps you manage and coordinate recovery for your applications across Availability Zones (AZs) and works with many services, including Amazon EKS. With EKS support for ARC zonal shift, you can shift in-cluster network traffic away from an impaired AZ. You can also authorize Amazon to monitor the health of your AZs and temporarily shift network traffic away from an unhealthy AZ on your behalf.

How to use EKS Zonal Shift:

  1. Enable your EKS cluster with Amazon Application Recovery Controller (ARC). This is done at the cluster level using the Amazon EKS Console, the Amazon CLI, CloudFormation, or eksctl.

  2. Once enabled, you can manage zonal shifts or zonal autoshifts using the ARC Console, the Amazon CLI, or the Zonal Shift and Zonal Autoshift APIs.

Note that after you register an EKS cluster with ARC, you still need to configure ARC. For example, you can use the ARC console to configure Zonal Autoshift.

For more detailed information about how EKS Zonal Shift works, and how to design your workloads to handle impaired availability zones, see Learn about Amazon Application Recovery Controller’s (ARC) Zonal Shift in Amazon EKS.

Considerations:

  • EKS Auto Mode does not support Amazon Application Recovery Controller, Zonal Shift, and Zonal Autoshift

What is Amazon Application Recovery Controller?

Amazon Application Recovery Controller (ARC) helps you prepare for and accomplish faster recovery for applications running on Amazon. Zonal shift enables you to quickly recover from Availability Zone (AZ) impairments, by temporarily moving traffic for a supported resource away from an AZ, to healthy AZs in the Amazon Region.

Learn more about Amazon Application Recovery Controller (ARC)

What is zonal shift?

Zonal shift is a capability in ARC that allows you to move traffic for a resource like an EKS cluster or an Elastic Load Balancer away from an Availability Zone in an Amazon Region to quickly mitigate an issue and quickly recover your application. You might choose to shift traffic, for example, because a bad deployment is causing latency issues, or because the Availability Zone is impaired. A zonal shift requires no advance configuration steps.

Learn more about ARC Zonal Shift

What is zonal autoshift?

Zonal autoshift is a capability in ARC that you can enable to authorize Amazon to shift traffic away from an AZ for supported resources, on your behalf, to healthy AZs in the Amazon Region. Amazon starts an autoshift when internal telemetry indicates that there is an impairment in one AZ in a Region that could potentially impact customers. The internal telemetry incorporates metrics from multiple sources, including the Amazon network, and the Amazon EC2 and Elastic Load Balancing services.

Amazon ends autoshifts when indicators show that there is no longer an issue or potential issue.

Learn more about ARC Zonal Autoshift

What does EKS do during an autoshift?

EKS updates networking configurations to avoid directing traffic to impaired AZs. Additionally, if you are using Managed Node Groups, EKS will only launch new nodes in the healthy AZs during a zonal shift. When the shift expires or gets cancelled, the networking configurations will be restored to include the AZ that was previously detected as unhealthy.

Learn more about EKS Zonal Shift.

Register EKS cluster with Amazon Application Recovery Controller (ARC) (Amazon console)

  1. Find the name and region of the EKS cluster you want to register with ARC.

  2. Navigate to the EKS console in that region, and select your cluster.

  3. On the Cluster info page, select the Overview tab.

  4. Under the Zonal shift heading, select the Manage button.

  5. Select enable or disable for EKS Zonal Shift.

Now your EKS cluster is registered with ARC.

If you want Amazon to detect and avoid impaired availability zones, you need to configure ARC Zonal Autoshift. For example, you can do this in the ARC console.

Next Steps