Building the Pipeline


AWS CodePipeline is a fully managed continuous delivery service that helps you automate your release pipelines for fast and reliable application and infrastructure updates. CodePipeline automates the build, test, and deploy phases of your release process every time there is a code change, based on the release model you define. This enables you to rapidly and reliably deliver features and updates. You can easily integrate AWS CodePipeline with third-party services such as GitHub or with your own custom plugin. With AWS CodePipeline, you only pay for what you use. There are no upfront fees or long-term commitments.

Click here to learn more about codepipeline.

Building the Pipeline

In your AWS Console, search for CodePipeline.

Click on Create Pipeline.

Use awsbuilders-codepipeline for the name and click on Next.

Select GitHub for your source and click on Connect to GitHub.

Sign in using your GitHub credentials used to fork the repository.

Select the repository that you forked, the master branch and click on Next.

The codepipeline using webhooks will automatically trigger your pipeline if any changes are detected in the main branch.

Select AWS Codebuild as a build provider and click on Create Project.

Use awsbuilders-codebuild for the name.

Select the options below:

  1. Managed Image
  2. Ubuntu
  3. Standard
  4. aws/codebuild/standard:3.0
  5. Enable the option Enable this flag if you want to build Docker images or want your builds to get elevated privileges.

Keep scrolling down - click on Continue to CodePipeline.

Click on Next

Select the options below:

  1. Amazon ECS
  2. awsbuilders-cluster
  3. awsbuilders-task-services

Click on Next.

Review and create the pipeline.