Use Github to setup a DevOps piepline

Connect CodeDeploy to Github. Push to Master branch with git and the full solution will be automatically deployed to AWS.

πŸ“š πŸš€ Amazon tutorials:

πŸ™ 🐈 Github

You must have a Github account! Create a new Github repository:

Image for post
Image for post
$ mkdir deploy-to-gitub
$ cd deploy-to-gitub
$ curl -O http://s3.amazonaws.com/aws-codedeploy-us-east-1/samples/latest/SampleApp_Linux.zip
$ unzip SampleApp_Linux.zip
$ rm SampleApp_Linux.zip
$ ls
LICENSE.txt appspec.yml index.html scripts
$ git init
$ git add -A
$ git commit -m 'omg first commit'
$ git remote add origin https://github.com/connor11528/deploy-to-github.git
$ git push origin master
$ git status

πŸ’» πŸ“‘ AWS CodeDeploy

Image for post
Image for post
From the docs
Image for post
Image for post
AWSCodeDeployFullAccess or AdministratorAccess is permission levels we need for the IAM user.
Image for post
Image for post

Engineer, writer and community organizer. I built Employbl to help candidates get jobs in the Bay Area: https://employbl.com/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store