Skip to content

Instantly share code, notes, and snippets.

@afgane
Created July 7, 2019 16:21
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 afgane/bf6843b82a0e6fff5eb4b3b16199c914 to your computer and use it in GitHub Desktop.
Save afgane/bf6843b82a0e6fff5eb4b3b16199c914 to your computer and use it in GitHub Desktop.
Launch a Ubuntu instance using the CLI via https://launch.usegalaxy.org
cloudlaunch deployments create --config-app ubuntu_launch_data.json "instance-name" ubuntu aws 11 --application-version "16.04 (with Docker)"
{
"config_cloudlaunch": {
"instance_user_data": "#!/bin/bash\n whoami",
"vmType": "t3.small",
"firewall": [
{
"securityGroup": "cloudlaunch-vm",
"rules": [
{
"protocol": "tcp",
"from": "22",
"to": "22",
"cidr": "0.0.0.0/0"
}
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment