Make sure it runs locally, and deploy it to Github.
It's okay to initialize with sample code for now. We will be overwriting it with the Pipeline later.
Go to the AWS console and click the "Create Pipeline" button.
Pick something that makes sense. You will be living with it.
This will determine the permissions and access for your Pipeline.
Pick a role that makes sense for your project.
For our purposes, we created a new role which automatically grants default privileges.
Your Github repo.
You can log in with your Github credentials and select your repo. You can also customize which branch you want Pipeline to deploy.
We recommend using your master branch.
Go with Github webhooks.
Create build using AWS Code Build
We are going to choose Elastic Beanstalk and the EB app we made in step 2.
Click the Create Pipeline button. You're done!
Need proof? Here's a link to our deployed "app."
For most issues, you can find out where it went wrong by checking the checkmarks on the right. If the error is on the source, the first checkmark will be red. If it's on the deployment, the second checkmark will be red.
In those situations, you can either click the "Details" link in that pane for more info on the error, or you can go to the original logs at the respective service.
Jhia Turner Roger Huba David Marchante Kent Ketter