Configure Cloud9 workstation

Open the Cloud Formation console and click on the stack with the description Amazon DocumentDB Labs Stackset

AWS Cloud Formation Template 2

Within stack proceed to Outputs tab and look for Cloud9URL Key and click on the https address in “Value” column.

AWS Cloud Formation Template 2

In the AWS Cloud9 IDE, use AWS Cloud9’s Window menu and select New Terminal.

AWS Cloud Formation Template 3

Then, in the new terminal, paste and run the below commands to install Mongo client, boto3, pip, pymongo and awscli:

wget https://s3.amazonaws.com/ee-assets-prod-us-east-1/modules/c55fc8f9e8cf4231b0c09a7a493fdf78/v1/nested/init.sh
sh init.sh
source ~/.bashrc