Skip to content

Instantly share code, notes, and snippets.

@bixu
Last active October 6, 2017 09:42
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 bixu/28059772f42f9dcb92227ccd0a62299f to your computer and use it in GitHub Desktop.
Save bixu/28059772f42f9dcb92227ccd0a62299f to your computer and use it in GitHub Desktop.
get shell in triton in about 30 seconds
#!/bin/bash
set -ex
# This assumes you have a Triton account
# (see http://lpage.joyent.com/Triton-Free-Trial.html)
# and that you have installed the Triton cli tools:
# `npm install -g triton`
triton instance create 7b5981c4 g4-highcpu-1G \
--name test-container \
--wait
triton ssh test-container
triton delete test-container
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment