Cloud9 is an integrated development environment that runs on a virtual machine. It includes a text editor, file manager, and Linux terminal that you can access directly from the browser.
To access the development environment you will need an account on Amazon Web Services (AWS). You can create the account here.
The free tier has all the resources needed for the activities proposed in the labs. Before using a resource make sure is included in the package so it won't generate extra costs. Details are availabel here.
The detailed documentation is available at the following address https://docs.aws.amazon.com/cloud9/latest/user-guide/welcome.html
Follow this instructuions to create a new environment
Navigate in the Cloud9 console
Press "Create environment"
Step 1 - Provide a name
Step 2 - Configure the desired settings
Important! Choose a t1.micro instance type to stay in the free tier. Choose Ubuntu Server 18.04.
Step 3 - Confirm the settings and press "Create environment"
You will get redirected to a new page. In a few minutes the setup will be finished.
A complete tour is available at the following address https://docs.aws.amazon.com/cloud9/latest/user-guide/tour-ide.html
The most used functions are:
The file manager
The bash terminal
The text editor
The file manager is located on the left side. Here you will find all the files and directories form
The bash terminal is located on the right side bottom.
Test it with some linux commands
List the contents of the current directory:
Show the path to the current directory:
Editorul de text este localizat în partea dreaptă sus.
Next we need to configure firewall settings so that we can allow access to the ports that will be used frequently.
Navigate in the AWS console - https://console.aws.amazon.com/ec2/
List EC2 instances
Find the Security Groups column and click on it
Navigate in the Inbound tab and press eddit Edit
8080, 3000, 3001