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

A new console design is available for this service. Although the procedures in this guide were written for the older version of the console, you will find many of the concepts and basic procedures in this guide still apply.

Create an AWS Lambda Compute Platform Deployment (Console)

  1. Sign in to the AWS Management Console and open the AWS CodeDeploy console at


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

  2. Do one of the following:

    • On the AWS CodeDeploy menu, choose Deployments, and then choose Create deployment.

    • On the AWS CodeDeploy menu, choose Applications, and then choose the name of the AWS Lambda application you want to deploy a revision to. You can look in the Compute platform column to identify AWS Lambda applications. On the Application details, page, select the button for the deployment group you want to deploy a revision to. On the Actions menu, choose Deploy new revision.

  3. In the Application list, choose the name of the application you want to use for this deployment. After selecting your application, make sure the Compute platform under the Application list says AWS Lambda.

  4. In the Deployment group list, choose the name of the deployment group associated with the application.

  5. Notice the Deployment type label. AWS Lambda deployments are all blue/green.

  6. Next to Revision location choose where your revision is located:

  7. (Optional) In the Deployment description box, type a description for this deployment.

  8. In the Deployment configuration list, choose a deployment configuration to control how traffic is shifted to the Lambda function version.

    For more information, see Deployment Configurations on an AWS Lambda Compute Platform

  9. (Optional) In Rollback configuration overrides, you can specify different automatic rollback options for this deployment than were specified for the deployment group, if any.


    For information about rollbacks in AWS CodeDeploy, see Redeployments and Deployment Rollbacks and Redeploy and Roll Back a Deployment with AWS CodeDeploy.

    Choose from the following:

    • Roll back when a deployment fails — AWS CodeDeploy will redeploy the last known good revision as a new deployment.

    • Roll back when alarm thresholds are met — If alarms were added to the deployment group, AWS CodeDeploy will redeploy the last known good revision when one or more of the specified alarms is activated.

    • Disable rollbacks — Do not perform rollbacks for this deployment.

  10. Choose Deploy.

    To track the status of your deployment, see View Deployment Details with AWS CodeDeploy.