Posted On: Oct 13, 2016

You can now create and manage Git repositories hosted by AWS CodeCommit with the Elastic Beanstalk CLI (EB CLI) for your AWS Elastic Beanstalk environments. You can use the CodeCommit repository to store your project code and then deploy it to your Elastic Beanstalk environment. This provides you a convenient and secure place to store and version your Elastic Beanstalk applications.

AWS CodeCommit is a fully-managed source control service that makes it easy for companies to host secure and highly scalable private Git repositories. Anyone with an AWS account can get started with CodeCommit for free. Your account gets 5 active users per month for free (within limits), after which you pay $1 per additional active user per month. Visit here to learn more about pricing.

You can use the Elastic Beanstalk CLI (EB CLI), AWS CLI, SDKs, and APIs to create a CodeCommit repository and to deploy code from the repository. When using the EB CLI, you are prompted with the option to create a CodeCommit repository after running the ‘eb init’ command. Visit the documentation to learn more. This feature is only available in the AWS regions that support AWS CodeCommit.

For more information on Elastic Beanstalk: