- Published on
Automate your deployment with AWS CodePipeline - Part 3
- Authors
- Name
- Devin Reeks
Lets configure our CodePipeline and Connect to our Github
Title: Connect Github to AWS CodePipeline
Author: Devin Reeks
Language: English
The services with the green dots are covered in the previous part and the services with ticks are what we will cover in this part. Navigate to CodePipeline and select "Create Pipeline"
Ensure your code is versioned in a repository, I chose to use GitHub. I find it kind of interesting that GitLab does not have an integration, but BitBucket does?? ok.
Follow the steps and connect your repository.
In the add build stage, click create project. A window will open:
Do not restrict the number of concurrent builds. I found that my build step would fail. It seems there is a bit of overlap between pulling the code from the source repository and running the build, and I would have to manually run the build step, which is antithetical to the purpose of this article:- to automate the pipeline.
In the same build window we need to point to the buildspec file we created in part 1. I named mine: "buildspec_release.yml - most of the config is default, however customise to your use case as you see fit.
In the next part we will configure the DocumentDB, secrets manager, application load balancer and target group.