AWS Cloud 9 IDE

The AWS Cloud9 IDE service allows you to develop code in all common languages online with no installation. The Cloud 9 service is useful when developing on systems which do not lend themselves to code development (i.e iPad, Chromebook). The IDE can be set up on an EC2 Cloud Compute instance or implemented over SSH. The IDE also allows for collaboration whilst coding. I find this particularly useful for programming on my iPad.

The former method is particularly useful when implemented with Bath Universities computing systems. To setup Cloud 9 with the universities systems, follow these steps.

Create a free AWS account, and choose a region. Open up the Cloud 9 console. Create a new environment with the following details:

Name: <Users Choice>
Description: <Users Choice>

Environment Type: SSH
Users: <University Username>
Port: 22
Environment Path: /dos

Before pressing next, copy the public key to the clipboard, and access the linux.bath server through SSH, and run the following commands from the home directory:

mkdir .ssh
cd .ssh
nano authorised_keys

Then paste in the contents of your clipboard and exit nano. The automatic AWS installation of Cloud 9 didn’t work for me, however the installation through the Cloud 9 installation script ran without hitch. Therefore, whilst logged in, I would also recommend running the following command.

curl -L | bash

You can then return to your browser and finish the installation and launch the C9 instance. From here you can view all your files, create new files in any language you like and run them, either using the run button or through the terminal.

If the .ssh directory is already configured on your server skip the earlier step for copying your public RSA ID and just add it to your authorized_keys.

The run files used by Cloud 9 are highly configurable, however I did run into problems with them when using files or directories with blank spaces.

Leave a comment

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