Activity - Create A CD Pipeline
Activity - Create A CD Pipeline
u On the next screen, select “EC2” under ”Use case” and click “Next”
Create IAM Role 9
u In the search box, enter “AWSElasticBeanstalk” and hit Enter
u A subset of permissions is returned
u Select the top 3 permissions (see below)
u Click “Next”
Create IAM Role 10
u Give your role a name and click “Create role”
Create IAM Role 11
u Verify your role is created and go back the the tab where you were
configuring your Beanstalk app
Create an app in Elastic Beanstalk 12
u Your app is now being created and will take about 3-5 minutes
u Note the steps in “Events” are from a CloudFormation script that’s
creating the application
u Feel free to check CloudFormation as it will show several more steps
CloudFormation
steps
Create an app in Elastic Beanstalk 14
u The source for the sample app (nodejs.zip) can be found under
Assignments > Activity #14 - Create a DevOps Pipeline
u Download this file to your PC and unzip
u Create a new repo in Github u Follow the instructions to import the sample app to your
and click “Create repository” repo
See example
on next slide
Create a Repo (example) 18
u Here is an example of pushing the files to Github u When complete, verify your repo has the
following the steps from the previous slide files below
Create your Pipeline 19
u Either push your change (from your PC) or click “Commit changes” (below)
Redeploy your code 32
u When you push your change, the ”Source” will indicate “In Progress” followed
by ”Deploy” stage