This lab works in regions where CodeGuru is available.
If you are sitting in an AWS organized event, your instructor might have given you access to an AWS account exclusively provisioned for this workshop through Event Engine. Go here for instructions if that is the case.
If you already have an AWS account, you can immediately follow the this lab, but If you don’t have an account, you need to create an AWS account first.
Before starting this lab, the resources required for this lab are configured using AWS CloudFormation, and then CodeGuru and Codebuild Report are configured.
If you have created an AWS account but have not created an IAM user, you can create an IAM user using the IAM console. Follow the steps below to create an Administrator user. If you already have an admin user, skip the next IAM user creation task.
Administrator
.
https://<your_aws_account_id>.signin.aws.amazon.com/console/
<your_aws_account_id> is the unique ID of your AWS account. As a root user, an error may occur when performing this exercise.
To configure the basic environment required for the lab using the CloudFormaton template, you must provide an Amazon EC2 key pair. If you already have an EC2 key pair, skip the next task.
Create a CloudFormation stack using the CloudFormation-template provided to proactively create the AWS resources needed for the AWS AWS CodeQuality lab. Create EC2 and VPC for development and production environments, and CodePipeline, CodeBuild, CodeDeploy, and CodeCommit to live in each environment.
To launch the CloudFormation stack, click the Launch Stack button to go to the CloudFormation console.
This lab works in regions where CodeGuru is available.
(template URL : https://sykang-productionapp.s3-us-west-2.amazonaws.com/vpc.template)
In the stack creation step, enter a stack name and choose the EC2 key pair you created before. And in the final step, select Acknowledge checkbox and click Create stack so that CloudFormation can use a custom name when creating the IAM resource.
It takes about 5 minutes to complete the CloudFormation stack. Check the CloudFormation console and wait for the CREATE_COMPLETE status as shown below.
When the stack creation is complete, your AWS account has all the basic resources needed to run the lab. Outputs tab, the name of DevWebApp01 and the name of ProudWebApp01 are displayed.
Now let’s build the CI/CD pipeline in the created build environment.