Create Application and Deployment Group

Create an application and deployment group using CodeDeploy.

Instructions

  1. Go to the AWS Management Console, select services then select CodeDeploy under Developer Tools
  2. Select create application

In the Application Configuration panel:

  1. Enter DemoApp in the application name field
  2. Select EC2/on-premises in the compute platform field
  3. Select create application

Deployment Group

  1. Go to the AWS Management Console, select services then select CodeDeploy under Developer Tools
  2. Select applications
  3. Select DemoApp
  4. Select create deployment group

In the Deployment Group Name panel:

  1. Enter Development in the deployment group name field

In the Service Role panel:

  1. Select the role created by your InfrastructureStack in the service role field. You will find the role ARN in the output of the CDK application deployment with the key InfrastructureStack.DeployRoleArn.

In the Deployment Type panel:

  1. Select in place

In the Environment Configuration panel:

  1. Select Amazon EC2 instances
  2. In tag group 1 enter App as the key and DemoApp as the value
  3. Add a tag group
  4. In tag group 2 enter Env as the key and DEV as the value

Environment Config Panel

In the Deployment Settings panel:

  1. Leave the default deployment configuration as CodeDeployDefault.AllAtOnce

In the Load Balancer panel:

  1. Uncheck the enable load balancing checkbox

Select create deployment group