AWS Cloud9 is no longer available to new customers. Existing customers of
AWS Cloud9 can continue to use the service as normal.
Learn more
Working with AWS CodeStar projects in the AWS Cloud9 IDE
You can use the AWS Cloud9 Integrated Development Environment (IDE) to work with code in AWS CodeStar projects.
AWS CodeStar is a cloud-based service for creating, managing, and working with software development projects on AWS. You can quickly develop, build, and deploy applications on AWS with an AWS CodeStar project. An AWS CodeStar project creates and integrates AWS services for your project development toolchain. Depending on your choice of AWS CodeStar project template, that toolchain might include source control, build, deployment, virtual servers or serverless resources, and more. For more information, see the AWS CodeStar User Guide.
Note
Completing these procedures might result in charges to your AWS account. These include
possible charges for services such as Amazon EC2, AWS CodeStar, and AWS services that are
supported by AWS CodeStar. For more information, see Amazon EC2 Pricing
To use the AWS Cloud9 IDE to work with a newly launched Amazon EC2 instance preconfigured with a popular app or framework such as WordPress, MySQL, PHP, Node.js, NGINX, Drupal, or Joomla, or a Linux distribution such as Ubuntu, Debian, FreeBSD, or openSUSE, you can use Amazon Lightsail along with AWS Cloud9. To do this, skip the rest of this topic, and see Working with Amazon Lightsail Instances instead.
To use the AWS Cloud9 IDE to work with a newly launched Amazon EC2 instance running Amazon Linux that contains no sample code, skip the rest of this topic, and see Getting started: basic tutorials instead.
Step 1: Prepare to work with AWS CodeStar projects
In this step, you create an AWS CodeStar service role and an Amazon EC2 key pair, so that you can begin creating and working with AWS CodeStar projects.
If you have used AWS CodeStar before, skip ahead to Step 2: Create a Project in AWS CodeStar.
For this step, follow the instructions in Setting Up AWS CodeStar in the AWS CodeStar User Guide. Do not create a new AWS account, IAM user, or IAM group as part of those instructions. Use the ones you created or identified in Team Setup for AWS Cloud9. When you finish following those instructions, return to this topic.
Step 2: Create a project in AWS CodeStar
In this step, you create a project in AWS CodeStar.
If you already have a project in AWS CodeStar you want to use, skip ahead to Step 3: Create an AWS Cloud9 Development Environment and Connect It to the Project.
For this step, follow the instructions in Create a Project in AWS CodeStar in the AWS CodeStar User Guide. In the AWS CodeStar create project wizard, when you get to the Set up tools page or Connect to your source repository page, choose Skip, and then return to this topic.
Step 3: Create an AWS Cloud9 Development Environment and connect it to the project
In this step, you create an AWS Cloud9 development environment in the AWS CodeStar or AWS Cloud9 consoles. You then connect the new environment to an AWS CodeStar project.
For this step, follow one of the following sets of instructions. Depending on the AWS Cloud9 development environment type, you want to use and the type of repository where the AWS CodeStar project stores its code.
Environment type | Repository type | Instructions |
---|---|---|
EC2 environment |
CodeCommit |
Create an AWS Cloud9 Environment for a Project in the AWS CodeStar User Guide |
SSH environment |
CodeCommit |
|
EC2 or SSH environment |
GitHub |
Use GitHub with AWS Cloud9 in the AWS CodeStar User Guide |