How to Create Cloud9 Environment on Amazon Web Service(AWS).
AWS Cloud9 is a cloud-based integrated development environment (IDE) that lets you write, run, and debug your code with just a browser. It includes a code editor, debugger, and terminal. Cloud9 comes prepackaged with essential tools for popular programming languages, including JavaScript, Python, PHP, and more, so you don’t need to install files or configure your development machine to start new projects.
AWS Cloud9 gives you the flexibility to run your development environment on a managed Amazon EC2 instance or any existing Linux server that supports SSH. This means that you can write, run, and debug applications with just a browser, without needing to install or maintain a local IDE.
- Login to aws portal.
- Click on Services.
- Under Developer Tools select Cloud9.
- Click on Create Environment.
- Provide environment name.
- Click on Next step.
- Select Environment type.
- Select Instance Type.
- Select Platform:Amazon linux 1 ,2 or ubuntu 18.04
- Create or select existing VPC.
- Create or select existing subnet.
- Click on Add tag.
- Provide key name & value for Cloud9 environment.
- Click on Next Step.
- Review all configurations.
- Click on Create environment.
- Environment created successfully.
- After sometime Cloud9 Environment is ready.
Create Cloud9 environment using Shell
- Setup aws-cli on your system so click on link https://www.hackerxone.com/blog/how-install-configure-aws-cli-ubuntu-1804
- Run the following command:
To create an AWS Cloud9 EC2 development environment
aws cloud9 create-environment-ec2 –name example-env –description “environment.” –instance-type t2.micro –subnet-id subnet-id –automatic-stop-time-minutes 60 –owner-arn arn:aws:iam::123:user/User