---
title: "Simplify Development with AWS Cloud9: Your Cloud-Based IDE"
description: "Simplify your development workflow, boost productivity, and unlock the power of collaboration with a cloud-based IDE. This AWS Cloud9 tutorial shows you how."
canonical: "https://adamtheautomator.com/aws-cloud9/"
---

# Simplify Development with AWS Cloud9: Your Cloud-Based IDE

> Simplify your development workflow, boost productivity, and unlock the power of collaboration with a cloud-based IDE. This AWS Cloud9 tutorial shows you how.

Source: https://adamtheautomator.com/aws-cloud9/

---

ATA Learning

Tap to hide

[

ATA Learning

](/)

*   [Home](/)
*   [Tutorials](/tutorials/)
*   [Instructors](/author/)
*   [Advertising](/advertising/)
*   [Recommended Resources](/resources/)
*   [About Adam](/about-adam/)

Search for:  

*   [](https://twitter.com/adbertram)
*   [](https://github.com/Adam-the-Automator)
*   [](https://www.linkedin.com/company/adam-the-automator-llc)
*   [](/feed/)

![Simplify Development with AWS Cloud9: Your Cloud-Based IDE](https://adamtheautomator.com/wp-content/uploads/2022/07/Move-Development-to-the-Cloud-with-the-AWS-Cloud9-IDE.jpg)

# Simplify Development with AWS Cloud9: Your Cloud-Based IDE

[![](https://secure.gravatar.com/avatar/a3e6f24b6b657f0acd2615f1802513a18663dea2e04d24e1df9c1530290e9b48?s=192&d=mm&r=g)Uzma Younas](https://adamtheautomator.com/author/uzma-younas/)19 March 20245 min. read

Categories: [DevOps](/category/devops/)

Tags:[AWS](/tag/aws/)[AWSCloud9](/tag/awscloud9/)

Table of Contents

*   [Prerequisites](#prerequisites)
*   [Creating the IAM Group with AWS Cloud9 Permission](#creating-the-iam-group-with-aws-cloud9-permission)
*   [Creating a New AWS Cloud9 Environment](#creating-a-new-aws-cloud9-environment)
*   [Inviting Members to the AWS Cloud9 Environment](#inviting-members-to-the-aws-cloud9-environment)
*   [Collaborating in the AWS Cloud9 Environment](#collaborating-in-the-aws-cloud9-environment)
*   [Conclusion](#conclusion)

[AWS Cloud9](https://aws.amazon.com/cloud9/) is a cloud-based Integrated Development Environment (IDE) service that offers plenty of tools to code, test, and release software within a browser in a serverless environment. You can configure the IDE to your preferences for different programming languages, such as [Python](https://www.python.org/), [JavaScript](https://www.theserverside.com/definition/JavaScript), etc.

AWS Cloud9 is similar to a desktop IDE because it provides all the configuration options for code formatting, binding shortcut keys, and more. The service lets you store your project’s files locally on remote servers, easily switch between different computers, and quickly onboard other developers.

If you want to collaborate on projects hosted on several third-party repositories, including GitHub or [AWS Code commit](https://docs.aws.amazon.com/cloud9/latest/user-guide/sample-codecommit.html), Cloud9 is a definite winner! This tutorial teaches you to launch a Cloud9 environment and explore various, including shared environments and source-control with GitHub.

## Prerequisites

To follow this hands-on tutorial, ensure you have the following requirements.

*   An AWS account. A [free tier](https://aws.amazon.com/free/) account should suffice.
    
*   You must know your [AWS account ID](https://docs.aws.amazon.com/IAM/latest/UserGuide/console_account-alias.html#FindingYourAWSId).
    
*   There must be at least two [AWS Identity and Access Management (IAM)](https://docs.aws.amazon.com/IAM/latest/UserGuide/introduction.html) users in your AWS account. This tutorial has the following IAM users.
    

<table><tbody><tr><td>Username</td><td>Policy</td><td>Role</td></tr><tr><td>ata_admin</td><td><a href="https://us-east-1.console.aws.amazon.com/iam/home?region=us-east-1#/policies/arn%3Aaws%3Aiam%3A%3Aaws%3Apolicy%2FAdministratorAccess" target="_blank" rel="noreferrer noopener">Administrative Access</a></td><td>The administrative user with full access to the AWS account.</td></tr><tr><td>ata_user1</td><td>None</td><td>A normal IAM user without any assigned permission or policy.</td></tr></tbody></table>

> _If you haven’t created any IAM users yet, refer to the official documentation – [Creating an IAM user in your AWS account](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_create.html#id_users_create_console)._

Related:[Learning Identity and Access Management (IAM) AWS Through Examples](https://adamtheautomator.com/iam-aws/)

## Creating the IAM Group with AWS Cloud9 Permission

Creating a group is an excellent way to control access to your AWS resources. Instead of assigning permissions to individual users, you can attach an existing policy to the group. The group members will inherit the permissions that the group has.

To create a new group in AWS, follow these steps.

1\. Open your preferred web browser and navigate to the [IAM console](https://console.aws.amazon.com/iam).

2\. If you haven’t logged in yet, log in using your IAM admin user account.

3\. In the IAM console’s navigation pane, click User Groups → Create group.

![Clicking the Create Group button](https://adamtheautomator.com/wp-content/uploads/2022/07/image-320.png)

Clicking the Create Group button

4\. On the Create user group page, enter a name for the new group. The group name in this example is Cloud9\_users.

![Provide a unique name for the AWS Cloud9 group](https://adamtheautomator.com/wp-content/uploads/2022/07/image-321.png)

Provide a unique name for the AWS Cloud9 group

5\. Scroll down to the Add users to the group – _Optional_ section. Check the box next to the user name that should become members of this group.

![](https://s3.us-west-2.amazonaws.com/secure.notion-static.com/4d198bb6-d0bf-429d-8e07-55def9f220ac/Untitled.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIAT73L2G45EIPT3X45%2F20220721%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20220721T211718Z&X-Amz-Expires=86400&X-Amz-Signature=67c2ab6dbbd6692511c474685637f5f23ada1bc19a509aa7e812153e681fd153&X-Amz-SignedHeaders=host&response-content-disposition=filename%20%3D%22Untitled.png%22&x-id=GetObject)

6\. Scroll down to the Attach permissions policies – _Optional_ section. Type _AWSCloud9User_ in the search box and press Enter.

> _The [AWSCloud9User](http://console.aws.amazon.com/iam/home#/policies/arn:aws:iam::aws:policy/AWSCloud9User) policy provides permission to create AWS Cloud9 development environments and to manage owned environments._

![Filtering the IAM policy list](https://adamtheautomator.com/wp-content/uploads/2022/07/image-322.png)

Filtering the IAM policy list

7\. Check the AWSCloud9User under the Policy name list and click Create group.

![Selecting the AWS Cloud9 policy](https://adamtheautomator.com/wp-content/uploads/2022/07/image-323.png)

Selecting the AWS Cloud9 policy

Wait for the group creation process to finish, and you should see a banner at the top, similar to the screenshot below. You have successfully created the Cloud9\_users group.

![The new Cloud9\_users group](https://adamtheautomator.com/wp-content/uploads/2022/07/image-324.png)

The new Cloud9\_users group

> _When new users need access to AWS Cloud9, you can add those users as members of the Cloud9\_users group, and they will inherit that permission._
> 
> _Refer to_ [_Adding and removing users in an IAM user grou_p](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_groups_manage_add-remove-users.html) _to know how to add new users to the group._

## Creating a New AWS Cloud9 Environment

In AWS Cloud9, an environment is where you store your development projects and run the tools to develop applications. Developers can collaborate on different projects in real-time in the same environment. But first, the user must create an AWS Cloud9 environment.

1\. On the AWS Console, click Services → Developer Tools → Cloud9.

![Opening AWS Cloud9](https://adamtheautomator.com/wp-content/uploads/2022/07/image-325.png)

Opening AWS Cloud9

2\. At this point, you do not have any environments yet. To create one, click Create environment.

![Clicking the Create environment button](https://adamtheautomator.com/wp-content/uploads/2022/07/image-326.png)

Clicking the Create environment button

3\. Under the Environment name and description, enter the Name of the project and the Description. The environment name in this example is project1_._ Once you’ve entered the name and description, click Next step.

![Specifying the AWS Cloud9 environment name and description](https://adamtheautomator.com/wp-content/uploads/2022/07/image-327.png)

Specifying the AWS Cloud9 environment name and description

4\. Under the Environment settings, do the following, select the Environment type. Your choices are to create the environment in a new [Amazon Elastic Compute Cloud](https://aws.amazon.com/ec2/) (EC2) instance (direct SSH access or via [Systems Manager](https://docs.aws.amazon.com/systems-manager/latest/userguide/what-is-systems-manager.html)) or in an existing server (direct SSH access).

For this tutorial, choose the Create a new EC2 instance for environment (direct access) option.

![Selecting the AWS Cloud9 environment type](https://adamtheautomator.com/wp-content/uploads/2022/07/image-328.png)

Selecting the AWS Cloud9 environment type

5\. Scroll down to the Instance type section and select the server size for your environment. For this example, choose the t2.micro option, which is free-tier eligible.

![Selecting the AWS Cloud9 environment instance type](https://adamtheautomator.com/wp-content/uploads/2022/07/image-329.png)

Selecting the AWS Cloud9 environment instance type

6\. Next, scroll down to the Platform section and select your environment’s platform. Leave the default recommended option, Amazon Linux 2. Also, leave the default Cost-saving setting value and click the Next step button.

![Selecting the AWS Cloud9 environment platform](https://adamtheautomator.com/wp-content/uploads/2022/07/image-330.png)

Selecting the AWS Cloud9 environment platform

7\. Review your environment configuration summary on the next page and click Create environment.

![Creating the AWS Cloud9 environment](https://adamtheautomator.com/wp-content/uploads/2022/07/image-331.png)

Creating the AWS Cloud9 environment

You will see the below image while you wait for the environment creation to finish.

![Waiting for the AWS Cloud9 environment creation](https://adamtheautomator.com/wp-content/uploads/2022/07/image-332.png)

Waiting for the AWS Cloud9 environment creation

Your AWS Cloud9 environment is now ready. As you can see below, Cloud9 automatically opens the IDE’s environment folder (project1).

![The AWS Cloud9 IDE](https://adamtheautomator.com/wp-content/uploads/2022/07/image-333.png)

The AWS Cloud9 IDE

## Inviting Members to the AWS Cloud9 Environment

An excellent feature of the AWS Cloud9 IDE is the native ability for real-time collaboration. By default, an environment only has one member, which is the environment creator.

If you have a team that needs to collaborate on the same project, AWS Cloud9 lets you share the environment and assign read or read and write permissions.

1\. Click the Share button on the top-right of the AWS Cloud9 IDE.

![Clicking the Share button](https://adamtheautomator.com/wp-content/uploads/2022/07/image-334.png)

Clicking the Share button

2\. Next, type the user name you wish to invite into the environment under the Invite Members section. Choose the access level; R = read, RW =read-write. Click the Invite button.

![Inviting a member into the AWS Cloud9 environment](https://adamtheautomator.com/wp-content/uploads/2022/07/image-335.png)

Inviting a member into the AWS Cloud9 environment

3\. If you give RW access to the user, you will get the security warning message below. To confirm that the action, click OK.

![Confirming the RW access assignment](https://adamtheautomator.com/wp-content/uploads/2022/07/image-336.png)

Confirming the RW access assignment

4\. You’ll receive the confirmation message below that the member addition was successful. Click OK to close the message.

![Closing the confirmation message](https://adamtheautomator.com/wp-content/uploads/2022/07/image-337.png)

Closing the confirmation message

5\. As you can see below, the Who has access list shows the new user you added to the environment. Click Done to exit this form.

![Exiting the sharing form](https://adamtheautomator.com/wp-content/uploads/2022/07/image-338.png)

Exiting the sharing form

## Collaborating in the AWS Cloud9 Environment

You’ve added a new member to your environment, and it’s time to test their access. You and the other member can now collaborate on the project, send messages directly within the IDE, and more.

1\. Open a new browser window or an Incognito or InPrivate tab.

2\. Log in to the [AWS Cloud9 console](https://console.aws.amazon.com/cloud9) using the ata\_user1 account.

![Logging in as the IAM user](https://adamtheautomator.com/wp-content/uploads/2022/07/image-339.png)

Logging in as the IAM user

3\. Next, click the Shared with you link on the left-hand side. This link opens the list of environments other users shared with you. As you can see below, the project1 environment is available to the user with read-write permissions.

Click the Open IDE link to open the AWS Cloud9 IDE in a new tab.

![Opening a shared environment](https://adamtheautomator.com/wp-content/uploads/2022/07/image-340.png)

Opening a shared environment

4\. Once the environment is open, double-click the README.md file to open it in the editor.

Repeat the same step in the IDE of _ata\_admin_. As you can see below, both users can see which are accessing the same file simultaneously and their current location in the file.

![Opening the same file on both IDEs](https://adamtheautomator.com/wp-content/uploads/2022/07/image-341.png)

Opening the same file on both IDEs

5\. Move the cursor to the end of the file and start typing anything. You’ll see that the changes appear on both users’ IDEs in real-time.

![Co-editing a file in AWS Cloud9 IDE](https://adamtheautomator.com/wp-content/uploads/2022/07/image-12.gif)

Co-editing a file in AWS Cloud9 IDE

6\. Click the Chat icon on the right-hand side to chat with the group members. Type the message in the box and press Enter to send.

![Group chat within the AWS Cloud9 IDE](https://adamtheautomator.com/wp-content/uploads/2022/07/image-342.png)

Group chat within the AWS Cloud9 IDE

## Conclusion

With AWS Cloud9, you can create, run, and debug code in a serverless environment and support multi-languages and the AWS Cloud Development Kit (CDK).

AWS Cloud9’s native support for real-time collaboration, group chat, and source control makes this IDE an excellent development environment for teams of all sizes.

Related:[Deploy these AWS CDK Examples and Dig Deep Into Cloud Infra](https://adamtheautomator.com/aws-cdk-examples/)

Share this article

[Share on X](https://twitter.com/intent/tweet?url=https%3A%2F%2Fadamtheautomator.com%2Faws-cloud9%2F&text=Simplify%20Development%20with%20AWS%20Cloud9%3A%20Your%20Cloud-Based%20IDE)[Share on Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fadamtheautomator.com%2Faws-cloud9%2F)[Share on LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fadamtheautomator.com%2Faws-cloud9%2F)

## Related Posts

![](https://adamtheautomator.com/wp-content/uploads/2022/06/Effective-Job-Management-with-AWS-Batch.jpg)

### [AWS Batch: Your Answer to Efficient Job Scheduling & Execution](/aws-batch/)

Seeking a scalable, streamlined solution for batch computing? Explore how AWS Batch automates job management, saves you time, and reduces operational complexity.

![](https://adamtheautomator.com/wp-content/uploads/2023/11/automating-tasks.jpg)

### [Automating Tasks Using Bash Scripts and Cron Jobs with AWS](/automating-tasks/)

Discover how to combine bash scripts with cron jobs and leverage the power of AWS for automating tasks in this ATA Learning tutorial!

![](https://adamtheautomator.com/wp-content/uploads/2023/10/aws-amplify.jpg)

### [AWS Amplify: Your Launchpad for Full Stack Apps](/aws-amplify/)

Learn how to create and deploy web applications with AWS Amplify and take your development to the next level in this ATA Learning tutorial!

## Categories

*   [IT Ops](/category/it-ops/)
*   [Cloud](/category/cloud/)
*   [DevOps](/category/devops/)
*   [Home Ops](/category/home-ops/)
*   [Information Security](/category/infosec/)
*   [Software Development](/category/software-development/)

## Site

*   [Home](/)
*   [Tutorials](/tutorials/)
*   [Instructors](/author/)
*   [Advertising](/advertising/)
*   [Recommended Resources](/resources/)
*   [About Adam](/about-adam/)

Copyright 2026© ATA Learning | [Privacy Policy](/privacy/)
