DEV Community

criscarba
criscarba

Posted on

Create an AWS Cloud9 Environment

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

Cloud9

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

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

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

Collaboration

Creating a Cloud9 Environment

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

  • Over the Services box, search for "Cloud9"
    C9

  • Click in "Create environment"
    C92

  • 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

  • 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

  • Finally you will get a Summary for the Cloud9's configuration. To create it click in "Create"

C95

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

C96

C97

As you can see, it already has Docker & Git

D&G

Hope this information is useful for you!!

Cheers,
Cristian.

Top comments (0)