AWS Cloud 9

Setting Up Cloud 9 Server using Amazon Linux
When creating your instance if you see this error:
The following resource(s) failed to create: [Instance]
It’s because you have a legacy account. Setting up a new server now requires you to explicitly pick a subnet in the advanced settings.

Setting up SSH Keys

$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
$ eval "$(ssh-agent -s)"
$ ssh-add ~/.ssh/id_rsa
$ cat ~/.ssh/
Copy output to Github or Bitbucket where you're pushing and pulling your code from.

Setting up Docker Compose

Instructions for installing docker compose​
$ sudo curl -L "$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
$ sudo chmod +x /usr/local/bin/docker-compose

Resize Cloud9 instance

Check space usage:
$ df -h