Create a deployment group with CodeDeploy
You can use the CodeDeploy console, the Amazon CLI, the CodeDeploy APIs, or an Amazon CloudFormation template to create deployment groups. For information about using an Amazon CloudFormation template to create a deployment group, see Amazon CloudFormation templates for CodeDeploy reference.
When you use the CodeDeploy console to create an application, you configure its first deployment group at the same time. When you use the Amazon CLI to create an application, you create its first deployment group in a separate step.
As part of creating a deployment group, you must specify a service role. For more information, see Step 2: Create a service role for CodeDeploy.
Topics
- Create a deployment group for an in-place deployment (console)
- Create a deployment group for an EC2/On-Premises blue/green deployment (console)
- Create a deployment group for an Amazon ECS deployment (console)
- Set up a load balancer in Elastic Load Balancing for CodeDeploy Amazon EC2 deployments
- Set up a load balancer, target groups, and listeners for CodeDeploy Amazon ECS deployments
- Create a deployment group (CLI)