2.1.4. Implementing Deployment Strategies for Various Environments
Choosing the wrong deployment strategy is like choosing the wrong surgery — you might fix the problem, but the side effects can be catastrophic. An in-place deployment to a stateful EC2 fleet during peak hours can take your entire application offline. A blue/green deployment for a Lambda function wastes effort on infrastructure that Lambda already manages. The right strategy depends on your compute platform, tolerance for downtime, rollback requirements, and traffic patterns.
This section covers how to select and implement deployment methodologies across EC2, ECS, EKS, and Lambda — from simple in-place updates to sophisticated canary and blue/green releases. The exam frequently tests your ability to match the right strategy to the right scenario, especially when competing constraints (cost, speed, safety) are involved.
