Attention: Cloud 9 has been deprecated and may not be supported for new accounts. We recommend moving to our suggested alternative solutions.
The first step is to create an IDE with the provided CloudFormation templates. You have the choice between using AWS Cloud9 or a browser-accessible instance of VSCode that will run on an EC2 instance in your AWS account.
These instructions have been tested in the following AWS regions and are not guaranteed to work in others without modification:
Region | Cloud9 Link | VSCode Link (Preview) |
---|---|---|
us-west2 | Launch | Launch |
eu-west-1 | Launch | Launch |
ap-southeast-1 | Launch | Launch |
Alternatively, you can open CloudShell in the mentioned region and run the following command:
$ wget -q https://raw.githubusercontent.com/aws-samples/eks-workshop-v2/stable/lab/cfn/eks-workshop-ide-cfn.yaml -O eks-workshop-ide-cfn.yaml
$ aws cloudformation deploy --stack-name eks-workshop-ide \
--template-file ./eks-workshop-ide-cfn.yaml \
--parameter-overrides RepositoryRef=stable \
--capabilities CAPABILITY_NAMED_IAM
Waiting for changeset to be created...
Waiting for stack create/update to complete
Successfully created/updated stack - eks-workshop-ide
The stack may take a few minutes to complete. When the stack creation is done, you can run the followin command in CloudShell to get the IDE’s URL:
aws cloudformation describe-stacks --stack-name eks-workshop-ide \
--query 'Stacks[0].Outputs[?OutputKey==`Cloud9Url`].OutputValue' --output text
https://us-west-2.console.aws.amazon.com/cloud9/ide/7b05513358534d11afeb7119845c5461?region=us-west-2
Open the URL in your browser to use Cloud9.
You can now close CloudShell, as all the following commands will be done in the Cloud9 Terminal. The AWS CLI is also install and will retrieve authentication information attached to the IDE. You can run the following command to check it:
$ aws sts get-caller-identity
The next step is to create an EKS cluster for the workshop. This will be in part 2.2.