top of page
  • Writer's pictureParag

AWS Cloud9 IDE

Updated: Jul 29, 2021

Learn AWS Cloud9 and test an application


  1. Learn AWS Cloud9 console to create and then open an AWS Cloud9 development environment.

  2. Learn to use the AWS Cloud9 IDE to create and test an application.

Step 1: Cloud9 operates in some specific regions for now. So we have to switch to one of those operative Regions.

In AWS Console, top blue bar, from Region drop down, select US East (Ohio) us-east-2.

Step 2: Go to Cloud9 Service. Click on Create Environment.

Provide the following configuration:

  • Environment Name: MyCloud9

  • Description: Cloud9 IDE for CloudPlusPlus Tutorial

Go to Next Step. Confirm the following list of default selected choices:

  • Environment type: Create a new EC2 instance for environment (direct access)

  • Instance type: t2.micro (1 GiB RAM + 1 vCPU)

  • Platform: Amazon Linux 2 (recommended)

Proceed to Next Step. Review and click on Create environment.

Step 3: You will have the Cloud9 IDE ready in some time. A window as below is visible.

In the bottom part of the screen, a Terminal Window is visible. If not go to the Window option in Menu Bar of Cloud9 IDE and click on New Terminal.

Type the following command to check if Python is installed.

python --version

It will give the python installed version.

Now go to File -> New File.

Type in the following code:

import sys

print('Hello World! CloudPlusPlus Welcomes You')

sum = int(sys.argv[1]) + int(sys.argv[2])

print('The total sum of {0} and {1} is {2}.'.format(sys.argv[1], sys.argv[2], sum))

Save this file (Ctrl+S) b name of

Step 4: In Menu Bar click on

Run -> Run Configuration -> New Run Configuration.

In the [New] – Stopped window provide the following command: 10 12

Where 10 and 12 are parameters to arguments mentioned in the code.

The output will be visible in the window.

Thus we have successfully created a basic Cloud9 IDE and used it to run a python code.

Step 5: If you no longer need the IDE, you may delete it.

In the top side of screen, click on the Cloud9 logo.

Further Click on Go To Your Dashboard.

In the Cloud9 Dashboard, select your IDE and click on Delete. Type “Delete” in the next screen to confirm deletion.

Note: Switch back to your usual operating Region.

Was this document helpful? How can we make this document better. Please provide your insights. You can download PDF version for reference.

Cloud9 with Python Code
Download PDF • 464KB

518 views33 comments


useful blog


Easy to understand.


very helpful


very helpful


Thank you for this!

bottom of page