How do I deploy code from a CodeCommit repository to an Elastic Beanstalk environment?

Last updated: 2020-03-05

I want to use AWS CodeCommit to deploy incremental code updates to an AWS Elastic Beanstalk environment without re-uploading my entire project.


You can use the Elastic Beanstalk Command Line Interface (EB CLI) to deploy your application directly from a CodeCommit repository.

  1. Install the EB CLI.
  2. Initialize a local Git repository.
  3. Create a CodeCommit repository.
    Note: You can also use the EB CLI to configure additional branches. Then, you can use an existing repository to deploy your code to your Elastic Beanstalk environment.
  4. Deploy your code from the CodeCommit repository.

Did this article help?

Do you need billing or technical support?