If Beanstalk began with PaaS philosophy ("bundle environment together"), CodeDeploy starts from opposite conviction: Build infrastructure yourself. I'll safely deploy code only. Launched November 2014, this service extracted external version from Amazon's internal Apollo deployment system (millions of deployments annually). Whether EC2 exists, is on-premises, Lambda, or ECS Task—CodeDeploy solves one problem: "How to safely place new code atop already-running compute?"
This article examines how In-place vs Blue-Green trade-offs manifest across EC2, Lambda, ECS; why AppSpec.yml's 13 lifecycle hooks follow that specific order; and what signals trigger auto-rollback