DOP-C02 Question 68
Select 3Your company is building a new microservices application that will be deployed across multiple environments (development, staging, and production). The application components are containerized and need to be deployed on AWS Elastic Kubernetes Service (EKS). Additionally, you must ensure that the deployment process supports blue/green deployments to minimize downtime during application updates. Which combination of actions will help you implement this deployment strategy on Amazon EKS?
- A
Use Kubernetes Deployment resources with a ReplicaSet configuration to manage rolling updates.
- B
Implement AWS CodeDeploy with the blue/green deployment strategy integrated with Amazon EKS.
- C
Leverage Kubernetes Ingress and Traffic Routing annotations to direct traffic between blue and green environments.
- D
Use Helm charts to deploy application manifests and define separate blue and green configurations.
- E
Configure AWS Lambda to handle traffic switching between blue and green deployments on EKS.
Show answer and explanation
Correct answers: B, C, D
Explanation
To implement blue/green deployments on Amazon EKS, you need tools that can manage separate environments (blue and green) and route traffic between them. AWS CodeDeploy provides native blue/green deployment support for Amazon EKS, while Kubernetes Ingress and Traffic Routing annotations enable traffic management. Helm charts simplify the deployment and management of blue/green configurations. Rolling updates with Kubernetes Deployment resources are not suitable for blue/green deployments, and AWS Lambda is not used for traffic management in this context.
- A. Incorrect.
Kubernetes Deployment resources with a ReplicaSet configuration are suitable for rolling updates, not blue/green deployments. Rolling updates update pods incrementally rather than maintaining separate blue and green environments for traffic switching.
- B. Correct.
AWS CodeDeploy supports blue/green deployments for Amazon EKS, allowing you to manage traffic shifting and rollback as part of the deployment process.
- C. Correct.
Kubernetes Ingress and Traffic Routing annotations can be used to manage traffic between blue and green environments effectively, making them essential for blue/green deployments on EKS.
- D. Correct.
Helm charts allow you to define and manage Kubernetes application manifests. By using separate blue and green configurations in Helm charts, you can deploy and manage blue/green environments efficiently.
- E. Incorrect.
AWS Lambda is not used to handle traffic switching between blue and green deployments on EKS. Traffic management is typically handled by Kubernetes Ingress, service annotations, or AWS CodeDeploy in this scenario.