In the Cloud9 workspace, run the following commands:
aws iam get-role --role-name "AWSServiceRoleForECS" || aws iam create-service-linked-role --aws-service-name "ecs.amazonaws.com"
Clone the service repos:
cd ~/environment git clone https://github.com/aws-containers/ecsdemo-platform git clone https://github.com/adamjkeller/ecsdemo-capacityproviders
First, we need to build the environment for our frontend service to run. For more information on what we’re building, you can review the code here: Platform.
cd ~/environment/ecsdemo-platform/cdk cdk context --clear && cdk deploy --require-approval never
Once you’ve deployed the platform, please move on to the next page.