Setting up your AWS Environment


Module 4: Setting Up Your Cloud9 IDE Environment

In this module, you will configure your AWS Cloud9 Environment


If you already have an IDE, this module is optional.

AWS Cloud9 is a free cloud-based integrated development environment (IDE) that lets you write, run, and debug your code with just a browser. It includes a code editor, debugger, and terminal. Cloud9 comes prepackaged with essential tools for popular programming languages, including JavaScript, Python, PHP, and more, so you don’t need to install files or configure your development machine to start new projects. Since Cloud9 IDE is cloud-based, you can work on your projects from your office, home, or anywhere using an internet-connected machine.

What You Will Learn

  • Setting up an AWS Cloud9 environment using the AWS CLI
  • Using the built-in tools

 Time to Complete

5 minutes

 Module Requirements

  • An Internet Browser


Set up AWS Cloud9

To set up your environment, you can use the following AWS CLI command:

aws cloud9 create-environment-ec2 --name getting-started --description "Getting started with AWS Cloud9." --instance-type t3.micro --automatic-stop-time-minutes 60

This will use a t3.micro instance, which is covered by the AWS Free Tier for the first 12 months. The --automatic-stop-time-minutes will automatically shut down the instance after the period of minutes has elapsed which will help keep you within the 750h / month free tier. The above command will return the environment ID of your Cloud9 environment in the following format:

  "environmentId": "8a34f51ce1e04a08882f1e811bd706EX"

To access your Clou9 environment, use the environment ID and go to the below URL in your browser.<environment ID>?region=us-west-2

For the example above, that would be:

It will ask you to log into your AWS account if you aren't logged in already. Please make sure to login with your non-root user account you created in module two.

Pro Tip: If you see an error page, make sure you are signed into the right user account and check that the correct default region is selected. You can change the region in the top right of the main navigation header.

Deleting the resources created

If you don't plan to use the Cloud9 development environment we created in this module, you can delete it by running the following command:

aws cloud9 delete-environment --environment-id <environmentID>


Congratulations, you have learned how to setup the AWS Cloud9 IDE. If you want to learn more, please visit the Cloud9 documentation for additional information and tutorials.

This is the end of the Setup Your Environment guide. We recommend you look at Get Started with AWS CDK to create infrastructure-as-code using programming languages such as C#, Java, TypeScript, JavaScript, or Python.

Let us know how we did.

Thank you for your feedback
We're glad this page helped you. Would you like to share additional details to help us continue to improve?
Thank you for your feedback
We're sorry this page didn't help you. Would you like to share additional details to help us continue to improve?