Create an Application with AWS CodeDeploy
An application is simply a name or container used by AWS CodeDeploy to ensure the correct revision, deployment configuration, and deployment group are referenced during a deployment. You can use the AWS CodeDeploy console, the AWS CLI, the AWS CodeDeploy APIs, or an AWS CloudFormation template to create applications.
Your code, or application revision, is installed to instances through a process called a deployment. AWS CodeDeploy supports two types of deployments:
In an in-place deployment, the instances in a deployment group are taken offline, updated with the latest application revision, and then returned to service.
In a blue/green deployment, the set of instances associated with a deployment group are taken offline by degistering them from a load balancer. A different set of instances is registered with the same load balancer. These sets of instances are referred to as the original environment and the replacement environment. You typically deploy the latest application revision to the replacement environment for testing before rerouting traffic from the original environment.
When you use the AWS CodeDeploy console to create an application, you configure its first deployment group at the same time. When you use the AWS CLI to create an application, you create its first deployment group in a separate step.
To view a list of applications already registered to your AWS account, see View Application Details. For information about using an AWS CloudFormation template to create an application, see AWS CloudFormation Template Reference.