Getting Started with AWS

Deploy a .NET Web Application on Amazon ECS powered by Graviton2

Module 2: Set up Cloud9 Workspace

In this module, you will set up a Cloud9 workspace and download the sample application’s source code into your environment


Now, that you have configured an AWS Cloud9 environment into your account, you will set up your Cloud9 workspace and download the sample application’s source code into your environment.

What You Will Learn

  • How to open an AWS Cloud9 IDE and set up your workspace
  • Download sample code into your environment by cloning a code repository using Git.

Key Concepts

  • AWS Cloud9 is a 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.
  • Git is an open-source version control tool for managing changes to source code.
  • Cloning a code repository is downloading a copy of an existing code repository into your working environment.

 Time to Complete

10 minutes

 Services Used


  • Open your Cloud9 IDE

    1. You can launch and navigate to your Cloud9 workspace by clicking on Cloud9 IDE URL shown in your CloudFormation stack outputs as shown below:

    CloudFormation output Cloud9 IDE link

    Then you should see an IDE window as shown below:

    Cloud9 welcome page

    2. In Cloud9 open a new Terminal window using Top Navigation Window Menu, select New Terminal, it should open a new Terminal window.

    Cloud9 new terminal

    Keep your AWS Cloud9 IDE opened in a tab, as you’ll be using it for most activities.

  • Expand Cloud9 storage

    Sample application has package dependencies that need more space than what is initially allocated with Cloud9. So the CloudFormation template has instructions to expand the storage, as per the guidance here. You only need to increase the partition size, using following two commands:

    sudo growpart /dev/xvda 1
    sudo resize2fs /dev/xvda1
  • Download sample application’s code

    Download the sample application's source code to your Cloud9 IDE environment by running the following command in the Cloud9 terminal window:

    git clone


In this module, you learned how to connect to set up your Cloud9 workspace, and download the sample application's source code into your environment. In the next step you start containerising the sample application.

Was this module helpful?

Thank you
Please let us know what you liked.
Sorry to disappoint you
Is something out-of-date, confusing or inaccurate? Please help us improve this tutorial by providing feedback.

Build Docker Image