Menu
AWS CodeDeploy
User Guide (API Version 2014-10-06)

Create a Deployment Group for an In-Place Deployment (Console)

To use the AWS CodeDeploy console to create a deployment group for an in-place deployment:

  1. Sign in to the AWS Management Console and open the AWS CodeDeploy console at https://console.aws.amazon.com/codedeploy.

    Note

    Sign in with the same account or IAM user information you used in Getting Started.

  2. On the AWS CodeDeploy menu, choose Applications.

  3. On the Applications page, choose the name of the application for which you want to create a deployment group.

  4. Choose Create deployment group.

  5. In the Deployment group name box, type a name that describes the deployment group.

    Note

    If you want to use the same settings used in another deployment group, specify them on this page. These can be the deployment configuration, the deployment group name, tags, or Auto Scaling group names. Although this new deployment group and the existing deployment group have the same name, AWS CodeDeploy treats them as separate deployment groups, because they are each associated with separate applications.

  6. Choose In-place deployment.

  7. In the Search by tags table, choose from the following:

    • Amazon EC2 or On-premises instance: In the Key and Value fields, type the values of the key-value pair you used to tag the instances. You can tag up to 10 key-value pairs.

      You can use wildcards in the Value field to identify all instances tagged in certain patterns, such as similar Amazon EC2 instance, cost center, and group names, and so on. For example, if you select Name in the Key field and type GRP-*a in the Value field, AWS CodeDeploy identifies all instances that fit that pattern, such as GRP-1a, GRP-2a, and GRP-XYZ-a.

      The Value field is case-sensitive.

      To remove a key-value pair from the list, choose the remove icon.

    • Auto Scaling group: Choose the name of an Auto Scaling group to deploy your application revision to. When new Amazon EC2 instances are launched as part of an Auto Scaling group, AWS CodeDeploy can deploy your revisions to the new instances automatically. You can add up to 10 Auto Scaling groups to a deployment group.

    As AWS CodeDeploy finds instances that match each specified key-value pair or Auto Scaling group name, it displays the number of matching instances. To see more information about the instances, click the number.

  8. In the Deployment configuration list, choose a deployment configuration to control the rate at which instances are deployed to, such as one at a time or all at once. For more information, see Working with Deployment Configurations

  9. (Optional) In Advanced, configure options you want to include in the deployment, such as Amazon SNS notification triggers, Amazon CloudWatch alarms, or automatic rollbacks.

    For information, see Configure Advanced Options for a Deployment Group.

  10. In the Service role ARN box, choose an Amazon Resource Name (ARN) for a service role that trusts AWS CodeDeploy with, at minimum, the trust and permissions described in Step 3: Create a Service Role. To get the service role ARN, see Get the Service Role ARN (Console) .

  11. Choose Create deployment group.