0

How can I setup aws codepipeline with aws code commit + aws code build + elastic beanstalk without using jenkins, teamcity or any other 3rd party tool?

1
  • What language is your source code in and what Elastic Beanstalk platform are you deploying to? Commented Jan 25, 2017 at 13:34

1 Answer 1

4

If you take parts of two solutions I put together, you should be able to come up with a comprehensive solution for Elastic Beanstalk, CodePipeline, CodeCommit, and CodeBuild.

I wrote a post on using CodeCommit and CodePipeline with Elastic Beanstalk here: Create a Pipeline for Elastic Beanstalk in CodePipeline using CloudFormation and CodeCommit. In it, I'm using the example Node.js app from AWS. The associated launch stack and code is here.

I wrote about CodeBuild, CodePipeline, CodeCommit, and CodeDeploy integration at Deploy to Production using AWS CodeBuild and the AWS Developer Tools Suite. The code for the post is described at CodeBuild and AWS Developer Tools Suite Lab.

Depending on which programming language you're using to configure and deploy your application, you'll use a different CodeBuild curated environment. To see a list of CodeBuild examples, go to CodeBuild samples. There's a specific one for Elastic Beanstalk for Java here.

Ultimately, you'll need to use CodeBuild to generate the ZIP file that Elastic Beanstalk uses. You orchestrate this CodeBuild action in CodePipeline and use the OutputArtifacts generated in your CodeBuild stage/action as an InputArtifacts to your ElasticBeastalk deploy action. As you see from the examples, everything can be defined in AWS CloudFormation. Hope this helps.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.