Skip to content

Module 1: Environment build

If you are doing this workshop at an event, you will be provided with either an AWS account or a hash key for event engine. Please raise your hand and flag down a workshop facilitator for assistance on any issues during the lab.

Are you using your own AWS account or given one at a sponsored event?

If you are at an AWS Sponsored event, skip down to the Build Phase.

If you are using your own AWS account follow these steps:

  1. Log in with an Adminstrator level account
  2. Create an s3 bucket in the US-West-2 Oregon region.
  3. Upload the two zip files to that bucket.
  4. Go to Cloudformation and run “pipeline.yml”
  5. Change the bucket location to the one you created earlier. This bucket location is to reference the zip files.
  6. Deploy the stack.
  7. Continue on to the next build phase.

Build Phase

  1. Browse to the CodePipeline console. You will find a new Pipeline called DevSecOps.
  2. Disable the transition between "StaticCodeAnalysis" and "TestDeployment".
  3. Download the code for the workshop here: https://github.com/aws-samples/secure-pipelines-in-aws-workshop/tree/master/code
  4. Once in the AWS Console, go to S3 buckets. Look for a bucket: “{CloudformationStackName}-artifactstorebucket-{randomstring}
  5. Copy the two zip files into the S3 bucket (remember to copy the zip files, not the unzipped directories)

Your environment is now built with a basic pipeline using s3 as the source repository.

Pipeline

After you have successfully setup your environment, you can proceed to the next module.