> ## Documentation Index
> Fetch the complete documentation index at: https://notes.kodekloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview and setup Cloud9

> Introduces AWS Cloud9, a browser-hosted IDE on AWS, its features, hosting model, use cases, and comparison with local IDEs.

Welcome — in this lesson we introduce AWS Cloud9, a browser-based integrated development environment (IDE) hosted on AWS. Docker and container labs are covered separately; here we’ll focus on what Cloud9 is, why it’s useful, and how it fits into development workflows that interact with AWS services.

## What is AWS Cloud9?

AWS Cloud9 is a cloud-hosted IDE that delivers a full-featured code editor and built-in terminal accessible from your browser. It provides an experience similar to popular local editors (VS Code, Atom) but runs on a managed environment in AWS, so you can write, run, debug, and test applications without relying on a high-powered local machine.

Key advantages:

* Familiar, full-featured editor available in the browser.
* Preinstalled tools and runtimes for popular languages.
* Built-in terminal with direct access to AWS CLI and SDKs.
* Quick setup and reproducible development environments.
* Tight integration with AWS services like Secrets Manager, S3, RDS, and Lambda.

<Frame>
  <img src="https://mintcdn.com/kodekloud-c4ac6d9a/1ccKtG7aZllQmXlF/images/Hands-On-AWS-Project-Deploy-Your-First-Crypto-App/Setting-up-cloud9-and-docker/Overview-and-setup-Cloud9/cloud9-aws-overview-features-diagram.jpg?fit=max&auto=format&n=1ccKtG7aZllQmXlF&q=85&s=e8e4cdca9feaf68933b9f3bf717f0f83" alt="The image provides an overview of Cloud9 in AWS, highlighting features like cloud-based integrated development, direct terminal access to AWS, and serverless application development. It shows a flow diagram with writing, running, and debugging code in a browser, and using prepackaged tools for popular programming languages." width="1920" height="1080" data-path="images/Hands-On-AWS-Project-Deploy-Your-First-Crypto-App/Setting-up-cloud9-and-docker/Overview-and-setup-Cloud9/cloud9-aws-overview-features-diagram.jpg" />
</Frame>

When to choose Cloud9

* Rapid prototyping or demos where you need an environment that’s consistent across team members.
* Development that needs direct, authenticated access to AWS resources (CLI, SDKs, or interactive debugging against managed services).
* Lightweight workstations or remote contributors who don’t want to install dependencies locally.

Use cases and examples:

* Retrieve secrets from AWS Secrets Manager during development.
* Upload/download assets to Amazon S3.
* Connect to RDS or other databases for integration testing.
* Execute load tests and automation scripts from the built-in terminal.

<Frame>
  <img src="https://mintcdn.com/kodekloud-c4ac6d9a/1ccKtG7aZllQmXlF/images/Hands-On-AWS-Project-Deploy-Your-First-Crypto-App/Setting-up-cloud9-and-docker/Overview-and-setup-Cloud9/aws-cloud9-diagram-features-overview.jpg?fit=max&auto=format&n=1ccKtG7aZllQmXlF&q=85&s=9cef986bfad8b57b95a8ea931d32d378" alt="The image is an overview diagram of AWS Cloud9, highlighting its features such as a rich code-editing experience, cloud-based IDE, direct terminal access to AWS, and support for serverless application development. It includes a visual flow from the IDE to serverless applications, preconfigured environments, testing, and debugging." width="1920" height="1080" data-path="images/Hands-On-AWS-Project-Deploy-Your-First-Crypto-App/Setting-up-cloud9-and-docker/Overview-and-setup-Cloud9/aws-cloud9-diagram-features-overview.jpg" />
</Frame>

How Cloud9 is hosted (and why it feels “serverless”)

Under the hood, Cloud9 provisions an EC2 instance that runs your development environment. AWS manages the instance lifecycle for you — environments can automatically stop when idle and restart when you return. Authentication and permissions are handled through IAM, so access to AWS resources aligns with your AWS credentials without manual instance configuration.

<Callout icon="lightbulb" color="#1CB2FE">
  Although Cloud9 runs on EC2, its managed lifecycle (auto-start/stop, preconfigured tools, and IAM integration) gives you a serverless-like experience from a developer perspective.
</Callout>

<Frame>
  <img src="https://mintcdn.com/kodekloud-c4ac6d9a/1ccKtG7aZllQmXlF/images/Hands-On-AWS-Project-Deploy-Your-First-Crypto-App/Setting-up-cloud9-and-docker/Overview-and-setup-Cloud9/aws-cloud9-overview-diagram-integration.jpg?fit=max&auto=format&n=1ccKtG7aZllQmXlF&q=85&s=f8f0ca863a6b82c359adfeaf0a77751d" alt="The image is an overview diagram of AWS Cloud9, illustrating its integration with AWS services, featuring icons for Cloud9, a managed EC2 instance, AWS CLI, and command execution. It also highlights features such as a rich code-editing experience, cloud-based IDE, direct terminal access, and serverless application development." width="1920" height="1080" data-path="images/Hands-On-AWS-Project-Deploy-Your-First-Crypto-App/Setting-up-cloud9-and-docker/Overview-and-setup-Cloud9/aws-cloud9-overview-diagram-integration.jpg" />
</Frame>

Quick comparison: Cloud9 vs Local IDE

| Aspect                  | Cloud9                                           | Local IDE                                    |
| ----------------------- | ------------------------------------------------ | -------------------------------------------- |
| Setup & provisioning    | Managed by AWS, ready with preinstalled runtimes | Manual installation of runtimes and tools    |
| Access to AWS resources | Native via built-in terminal and IAM             | Requires local AWS CLI configuration         |
| Portability             | Accessible from any browser                      | Tied to the local machine                    |
| Cost model              | Pay for EC2 time the environment runs            | Local compute costs only                     |
| Collaboration           | Shareable environment configuration              | Requires additional tools (Live Share, etc.) |

Resources and further reading

* AWS Cloud9 documentation: [https://docs.aws.amazon.com/cloud9](https://docs.aws.amazon.com/cloud9)
* Getting started with AWS Cloud9: [https://aws.amazon.com/cloud9](https://aws.amazon.com/cloud9)

<Callout icon="lightbulb" color="#1CB2FE">
  Practical note for this course: the lab environment may provide a VS Code–based editor that behaves similarly to Cloud9. We reference Cloud9 throughout the course to illustrate workflows and integrations with AWS services, even if your lab uses a different browser-based editor.
</Callout>

That’s it for this lesson. See you in the next lesson.

<CardGroup>
  <Card title="Watch Video" icon="video" cta="Learn more" href="https://learn.kodekloud.com/user/courses/building-scalable-microservices-on-aws-deploy-a-crypto-app/module/f2cfee46-980a-49cb-b81a-dd46bfce3824/lesson/5ca8e7aa-0b7e-41fb-9e6f-992797c246be" />
</CardGroup>
