📑
Chris Johnson's KB
  • Chris Johnson's KB
  • Meta
    • Pages to Add
  • Cheat Sheets
    • Apache
    • Docker
    • Gatsby
    • Git
    • GraphQL
    • iOS
    • MySQL
    • Nginx
    • NextJS
    • NodeJS
    • Rails
    • React
    • Security Tools
    • Shell (Linux)
    • SwiftUI
    • Ubuntu Server
    • Vim
  • Computing
    • Mac
    • iOS
    • ChromeOS
    • Windows
    • Browser Plugins
    • RSI Prevention
    • Voice Control
    • AWS Cloud 9
    • Visual Studio Code
    • Linux
  • Workflows
    • Podcasting
    • Setting up a new Mac
    • Site Deploys
  • Hardware
    • Dell U2720Q Monitor
    • Moonlander Keyboard
    • Apple Silicon Macs
  • Productivity
    • Structure
    • Nuggets of Wisdom
  • Coffee
    • Coffee Notes & Equipment
    • Coffee Beans
    • AeroPress Recipes
    • V60 Recipes
    • Moka Pot Recipes
    • French Press Recipes
  • Gaming
    • Rocket League
  • Food
    • Cocktails
    • Favorite Recipes
    • Whisky Reviews
    • Infinity Bottle
    • Favorite Wines
  • Inspiration
    • Quotes
  • Philosophy
    • Life
    • Programming
  • Fitness
    • Diets
    • Exercise Notes
    • Personal Training Notes
Powered by GitBook
On this page
  • Setting up SSH Keys
  • Setting up Docker Compose
  • Resize Cloud9 instance

Was this helpful?

  1. Computing

AWS Cloud 9

Setting Up Cloud 9 Server using Amazon Linux

PreviousVoice ControlNextVisual Studio Code

Last updated 2 years ago

Was this helpful?

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 "your@email.com"
$ eval "$(ssh-agent -s)"
$ ssh-add ~/.ssh/id_rsa
$ cat ~/.ssh/id_rsa.pub

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 "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(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

Follow these instructions:

https://docs.docker.com/compose/install/#install-compose
https://docs.aws.amazon.com/cloud9/latest/user-guide/move-environment.html#move-environment-resize