Please consider preparing following points before starting the workshop:
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.
After logging into one of your desired environments, it will give access to the IDE:
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:
Output from above must yield AWS CLI version >= 1.11.37
We will need to use Github account for our App building and testing.
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
Copy the personal access token and save it in a secure place for the next step