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:
Download or Clone: https://github.com/aws-samples/secure-pipelines-in-aws-workshop
- Log in with an Adminstrator level account
- Create an s3 bucket in the US-West-2 Oregon region.
- Upload the two zip files to that bucket.
- Go to Cloudformation and run “pipeline.yml”
- Change the bucket location to the one you created earlier. This bucket location is to reference the zip files.
- Deploy the stack.
- Continue on to the next build phase.
Build Phase
- Browse to the CodePipeline console. You will find a new Pipeline called DevSecOps.
- Disable the transition between "StaticCodeAnalysis" and "TestDeployment".
- Download the code for the workshop here: https://github.com/aws-samples/secure-pipelines-in-aws-workshop/tree/master/code
- Once in the AWS Console, go to S3 buckets. Look for a bucket: “{CloudformationStackName}-artifactstorebucket-{randomstring}
- 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.
After you have successfully setup your environment, you can proceed to the next module.