What Is AWS Cloud9?


What Is AWS Cloud9?

The AWS Cloud9 IDE offers a rich code-editing experience with support for several programming languages and runtime debuggers, as well as a built-in terminal. It contains a collection of tools that you use to code, build, run, test, and debug software, and helps you release software to the cloud.

You access the AWS Cloud9 IDE through a web browser. You can configure the IDE to your preferences. You can switch color themes, bind shortcut keys, enable programming language-specific syntax coloring and code formatting, and more. Take your career to new heights of success with an AWS Online Training.

How Does AWS Cloud9 Work?

The following diagram shows a high-level overview of how AWS Cloud9 works.

From the diagram (starting at the bottom), you use the AWS Cloud9 IDE, running in a web browser on your local computer, to interact with your AWS Cloud9 environment. A computing resource (for example an Amazon EC2 instance or your own server) connects to that environment. Finally, your work is stored in an AWS CodeCommit repository or another type of remote repository.

AWS Cloud9 Environments

An AWS Cloud9 environment is a place where you store your project’s files and where you run the tools to develop your applications. Using the AWS Cloud9 IDE, you can:

  • Store your project’s files locally on the instance or server.
  • Clone a remote code repository — such as a repo in AWS CodeCommit — into your environment.
  • Work with a combination of local and cloned files in the environment.

You can create and switch between multiple environments, with each environment set up for a specific development project. By storing the environment in the cloud, your projects no longer need to be tied to a single computer or server setup. This enables you to do things such as easily switch between computers and more quickly onboard developers to your team.

Environments and Computing Resources

Behind the scenes, there are a couple of ways your environments can be connected to computing resources.

  • You can instruct AWS Cloud9 to create an Amazon EC2 instance through Amazon EC2 and then connect the environment to that newly-created EC2 instance. This type of setup is called an EC2 environment.
  • You can instruct AWS Cloud9 to connect an environment to an existing cloud compute instance or to your own server. This type of setup is called an SSH environment

There are some similarities and also some differences between EC2 environments and SSH environments. For new users, we recommend that you use an EC2 environment because AWS Cloud9 takes care of much of the configuration for you. As you learn more about AWS Cloud9, you might need to understand these similarities and differences better.

What Can I Do with AWS Cloud9? (A Summary)

With AWS Cloud9, you can code, build, run, test, debug, and release software in many exciting scenarios and variations. These include (but are not limited to):

Work with code in several programming languages and the AWS Cloud Development Kit (AWS CDK)

  • Work with code in a running Docker container
  • Utilize online code repositories
  • Collaborate with others in real-time
  • Interact with various database and website technologies
  • Target AWS Lambda, Amazon API Gateway, and AWS Serverless Applications
  • Take advantage of other AWS products such as Amazon Lightsail, AWS CodeStar, and AWS CodePipeline

Setting Up AWS Cloud9

To start using AWS Cloud9, follow one of these sets of procedures, depending on how you plan to use AWS Cloud9.

Individual User Setup for AWS Cloud9

This topic explains how to set up to use AWS Cloud9 as the only individual in your AWS account, and you are not a student. To set up to use AWS Cloud9 for any other usage pattern, see Setting Up AWS Cloud9 for the correct instructions. To learn about who qualifies as a student, see Who can join AWS Educate on the AWS Educate Frequently Asked Questions website.

To use AWS Cloud9 as the only individual in your AWS account, create an AWS account if you don’t already have one, and then sign in to the AWS Cloud9 console

Step 1: Create an AWS Account

If you already have an AWS account, skip ahead to Step 2: Sign in to the AWS Cloud9 Console with the AWS Account Root User. To watch a 4-minute video related to the following procedure, see Creating an Amazon Web Services Account on the YouTube website.

To create an AWS account

  1. Go to https://aws.amazon.com.
  2. Choose Sign In to the Console.
  3. Choose to Create a new AWS account.
  4. Complete the process by following the on-screen directions. This includes giving AWS your email address and credit card information. You must also use your phone to enter a code that AWS gives you.

After you finish creating the account, AWS will send you a confirmation email. Do not go to the next step until you get this confirmation.

Step 2: Sign In to the AWS Cloud9 Console with the AWS Account Root User

After you complete the previous step, you’re ready to sign in to the AWS Cloud9 console with an AWS account root user and start using AWS Cloud9.

  1. Open the AWS Cloud9 console,
  2. Enter the email address for your AWS account, and then choose Next.
  3. Note: If an email address is already displayed and it’s the wrong one, choose Sign in to a different account. Enter the correct email address, and then choose Next.
  4. Enter the password for your AWS account, and then choose Sign In.

The AWS Cloud9 console is displayed, and you can now start using AWS Cloud9.

Important:- Although you can sign in to the AWS Cloud9 console with the email address and password that you used when you created your AWS account (we call this an AWS account root user), this isn’t an AWS security best practice. In the future, we recommend that you sign in as an administrator user in AWS Identity and Access Management (IAM) in your AWS account instead.

Leave a Reply

Your email address will not be published. Required fields are marked *