Skip to content

Instantly share code, notes, and snippets.

@samvarankashyap
Forked from pcdinh/trystack.markdown
Created November 10, 2015 23:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samvarankashyap/ccc07bb6c2ced8e80434 to your computer and use it in GitHub Desktop.
Save samvarankashyap/ccc07bb6c2ced8e80434 to your computer and use it in GitHub Desktop.
TryStack in 8 Simple Steps

TryStack in 8 Simple Steps

  1. Head over to trystack.org then join the facebook group to get your invite.
  2. When you get the (Somebody) approved your request to join the group TryStack notification, go login to trystack (click login using facebook and approve with facebook).
  3. Click the Security Groups tab, click Edit Rules, and add a couple rules:
    1. imcp, from port: -1, to port: -1, cidr: 0.0.0.0/0
    2. tcp, from port: 22, to port: 22, cidr: your.ip.address.here/32
  4. Click the Keypairs tab, then click Add New Keypair, name it trystack. A file will download to your computer.
  5. Click the Images tab, then click Launch next to one of the images. Fill out the form and make sure to select trystack as your Key Name and include default in the Security Groups. Click launch instance. Note the IP address you are assigned.

On your computer

  1. Open your terminal and move trystack.pem to ~/.ssh/trystack.pem.
  2. Run chmod 600 ~/.ssh/trystack.pem.
  3. Run ssh -i ~/.ssh/trystack.pem ubuntu@instance.ip.address.here.

Notes

  1. CIDR means classless inter-domain routing. Basically 0.0.0.0/0 allows all IP addresses. 1.2.3.4/32 allows only 1.2.3.4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment