Create an AWS Cloud9 Environment
Published: 2022-08-03 14:02:09

In this post i will explain you how to create in simple steps a Clou9 Environment for delopment within your AWS Account. 

![Cloud9](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y7i4vu3z1qorobgz4myc.png)
 


**First things first. What is Cloud9?.**
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. 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 your Cloud9 IDE is cloud-based, you can work on your projects from your office, home, or anywhere using an internet-connected machine. Cloud9 also provides a seamless experience for developing serverless applications enabling you to easily define resources, debug, and switch between local and remote execution of serverless applications. With Cloud9, you can quickly share your development environment with your team, enabling you to pair program and track each other's inputs in real time.

**Advantages**

- Enables you to develop using your web browser. The IDE is really similar than VSCODE.

- Docker & GIT are installed by default. You can develop and Test your Dockerfiles using the terminal. In addition, you can clone your own repositories and take advantage of them in the cloud9 env. 

![Docker&Git](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/345y4whiiyeyg77t8o0e.png)
 

- Linux Base OS, enables you to download packages into your environment. 

- By using Cloud9 you can leverage the collaboration with other teammates. 

![Collaboration](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/smb80p7j9wv1laorvswa.png)
 
 

**Creating a Cloud9 Environment**

- You need to have an AWS Account. https://signin.aws.amazon.com/

- Over the Services box, search for "Cloud9"
![C9](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xhefr7dz2zwmlyiycg8b.png)
   

- Click in "Create environment"
![C92](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tkc3lx0r3bxkfksvs6uj.png)
  
 

- By Default it is highly recommended to keep "**Environment Type**" as "**EC2 instance**" and "**Instance type**" as "**t2.micro**" since the "**t2.micro**" is part of the free tier. It might be enought for running testing, however based on your use case you probably will need to scale out the instance.
 
![C93](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dm4czdn68ysyb31ozfcq.png)
  
 

- Select within which VPC you want to provision your environment. If you want to use the Default VPC, you don't need to change anything, just click in **NEXT**. 
 
![C94](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5klp671u00k4qznmkrn8.png)
   
 

- Finally you will get a Summary for the Cloud9's configuration. To create it click in "**Create**"
 
![C95](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8g2e0p671a2ta6dafhur.png)
 
 

Once it is created you can login into your env by click on "**Open in Cloud9**"

![C96](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pmcvtaoadss48kdzz3cb.png)
 

![C97](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vugmsc2629jzs8lpvgk9.png)
 

As you can see, it already has Docker & Git

![D&G](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d9woak83pwxm7w4usfa3.png)
 

Hope this information is useful for you!!

Cheers,
Cristian.