Using CodeDeploy to orchestrate deployment workflows in compute environments
Software deployments could mean different things for different technology stacks. For Python-based applications, it could mean placing the scripts at a specific location, and for Java web apps, it could mean deploying WAR
(web application archive) files on Tomcat. Whatever the requirement, CodeDeploy can help you deploy different compute environments. You can manage your deployments on servers (EC2/on-premises), Elastic Container Service (ECS), or even Lambda’s serverless platform.
Like CodeBuild, CodeDeploy depends on a manifest file, known as appspec.yml
(which can also be JSON formatted). This file contains all the steps CodeDeploy needs to manage your application deployments. On EC2 instances or on-premises servers, this task is delegated to an agent that is already running alongside your application. With ECS and Lambda, the service directly speaks to the respective control plane to roll out...