Pre-Requisites

Please consider preparing following points before starting the workshop:

(a) Access to Linux Shell Terminal:

This example uses AWS Command Line Interface to be run in Terminal / Shell application on your local machine.

We recommend using AWS Cloud 9 service to setup your environment that comes pre-installed with AWS CLI packages, git and many other useful utilities along with inbuilt IDE functionalities. Once logged in, you can use this Browser based IDE for coding, bash shell to run the Linux commands.

Details

After logging into one of your desired environments, it will give access to the IDE:

Details

(b) AWS CLI Installed:

AWS CLI is installed by default if using Cloud9 service.
If you would like to use your own local shell, please follow these instructions if you haven’t installed AWS CLI. Your CLI configuration needs PowerUserAccess and IAMFullAccess IAM policies associated with your credentials

Please test your cli access by running the below command:

aws --version

Output from above must yield AWS CLI version >= 1.11.37

(c ) Personal Github account

We will need to use Github account for our App building and testing.

(d) Github Access Token Generation:

In order for CodePipeline to receive callbacks from GitHub, we need to generate a personal access token.

Once created, an access token should be stored in a safe place, as it may not be available to be seen the next time and may need to regenerate a new one again.

Let us walk through the details of Github Access Token Generation:

Open up the New personal access page in GitHub.

You may be prompted to enter your GitHub password

As shown below, enter a value for Token description, check the repo permission scope and scroll down and click the Generate token button

Generate New

Copy the personal access token and save it in a secure place for the next step

Generate New