AWS Cloud9 のアイコン

AWS Cloud9 Deprecated2017年〜

A cloud IDE service that lets you write, run, and debug code entirely from your browser

What It Does

AWS Cloud9 is a cloud-based integrated development environment (IDE) accessible from your browser. Without installing any software on your local machine, you can write, run, and debug code simply by opening a browser. The development environment runs on an EC2 instance and comes pre-installed with the AWS CLI, SAM CLI, and runtimes for various programming languages. A pair programming feature allows multiple developers to edit the same code in real time.

Use Cases

Cloud9 is used for local testing and deployment of Lambda functions, pair programming and code reviews in team development, setting up environments for programming education and hands-on workshops, developing and running scripts for AWS resource operations, and as a learning environment for new programming languages and frameworks.

Everyday Analogy

Think of it like a shared workspace. Setting up a home office (local development environment) requires buying a desk and tools (software). At a shared workspace (Cloud9), everything you need is already set up when you walk in, and you can even work at the same desk with your colleagues.

What Is Cloud9?

AWS Cloud9 is a browser-based IDE that runs in the cloud. AWS acquired Cloud9 IDE in 2017 and integrated it as an AWS service. The development environment runs on an EC2 instance, with a code editor, terminal, and debugger all operating within the browser. As long as you have an internet connection, you can access the same development environment from any device, greatly reducing setup effort.

Integration with AWS Services

Cloud9 offers deep integration with AWS services. The AWS CLI, SAM CLI, and CDK come pre-installed, allowing you to test and deploy Lambda functions directly from the IDE. Temporary IAM credentials are automatically configured, so no additional authentication setup is needed to access AWS resources. It also integrates with CodeCommit and GitHub for seamless version control. For design patterns and operational practices for AWS service integration, you can also find detailed explanations in specialized books (Amazon).

Collaboration and Cost Management

Cloud9's pair programming feature allows multiple developers to access the same environment simultaneously and co-edit code in real time. Cursor positions and file changes are shared instantly, making it ideal for remote code reviews and mentoring. On the cost side, EC2 instances automatically stop after a period of inactivity, reducing charges for idle time. There is no additional charge for Cloud9 itself - you only pay for the EC2 instance usage.

Things to Watch Out For

  • Cloud9's development environment runs on an EC2 instance, so the instance type you choose directly affects performance and cost.
  • AWS is gradually restricting new Cloud9 environment creation for new accounts. Migration to CodeCatalyst Dev Environments is recommended going forward.
共有するXB!