Skip to content

awslabs/aws-cicd-workshop-cpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

AWS Engineering Learning Series - CI / CD

A series of AWS Labs for CI/CD related services

Labs

Gameday

Launching your Lab Environment

1. Launch a Cloud9 Environment

This will be where you'll be performing the labs throughout the sessions.

Click the button to begin creating a CloudFormation stack for the region you are assigned.

Preferably right click and open it in a new tab.

Region CloudFormation
eu-west-1 (Ireland) Launch Stack

Just before clicking "Create stack" button, please tick "I acknowledge that AWS CloudFormation might create IAM resources."

If you get stuck, the CloudFormation template is available in this repo.

2. Attach the IAM Role to the Cloud9 instance

This will allow your cloud9 environment access to perform the actions needed for the sessions.

This can be done in the EC2 console, navigate to your EC2 instances, or click the link below:

Preferably right click and open it in a new tab.

Region EC2
eu-west-1 (Ireland) Console link
  • Select the Cloud9 instance
  • Click Actions > Security > Modify IAM role
  • Filter the roles, searching for "cicd"
  • Click Apply once the role is selected

3. Access your Cloud9 environment

This can be done in the Cloud9 console, navigate to Cloud9 or click the link below:

Preferably right click and open it in a new tab.

Region EC2
eu-west-1 (Ireland) Console link
  • Click Open IDE

4. Setup the Cloud9 environment

The environment will be our workstation for the sessions, there are a few steps needed to get it setup

  • From within the Cloud9 environment perform the below steps:

    • Click on AWS Cloud9 (top left) > Preferences
    • Click on AWS SETTINGS > Credentials
    • Turn off 'AWS managed temporary credentials'
  • Change to a dark theme if you prefer:

    • View > Themes > UI Themes > Classic Dark

Run the below commands in the Cloud9 terminal

Clone the repository

$ git clone https://github.com/awslabs/aws-cicd-workshop-cpt.git workshop

Navigate to the project directory and run the bootstrap script

The script installs and configures the necessary pre-requisites

$ cd workshop/
$ cd scripts/
$ chmod +x bootstrap.sh
$ ./bootstrap.sh

Confirm the IAM role is as expected

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages