cloud-sandbox(1)
π cloud-sandbox β the manual, but make it cute π
okay bestie, so this is cloud-sandbox(1) from the bikeshed manual, and I am so excited to tell you about it because it's literally the "spin up a box and just be in it" tool. β¨
πΈ NAME πΈ
cloud-sandbox β spin up a cloud instance and ssh straight into it, treating it like a lil 'sandbox' system π§
π SYNOPSIS π
cloud-sandbox [instance-type [ubuntu-release]] [ec2-run-instance-options]
β¨ DESCRIPTION β¨
cloud-sandbox is a program that launches a cloud instance (EC2 by default), automatically generates ssh host keys, ssh's you into the launched system, and then prompts you about instance termination on exit. It's giving "one command, whole vibe." π
Here's the whole lil routine cloud-sandbox runs through:
- conveniently supports simple parameters for instance-type and ubuntu-release, by passing those to
ubuntu-ec2-run(1)β so you don't gotta hand-write the gnarly stuff, you just say what you want π«Ά - generates
ssh-host keys locally usingssh-keygen(1), and passes them to the instance π - automatically adds host key fingerprints to a local host keys file,
$HOME/.ssh/known_hosts.cloud, which removes the interactive fingerprint prompt β no "are you sure???" jumpscare, we love that for us π - uses
ssh-import-id(1)in the instance to import the user's public SSH key, if the environment variable$LAUNCHPAD_IDexists π - uses
bootmail(1)to send the user email noting that the instance has booted, if the environment variable$BOOTMAILexists and is a valid email address π§ - waits in a loop for
sshd(8)to start on the cloud instance β patient queen behavior, lowkey β³ - execs an
ssh(1)session to the instance π - upon exit, interactively prompts the user if they want to immediately terminate the instance and remote the ssh known host key π§Ή
π« EXAMPLE π«
cloud-sandbox
cloud-sandbox m1.large
cloud-sandbox t1.micro trusty
π¦ SEE ALSO π¦
ubuntu-ec2-run(1), ssh-import-id(1), bootmail(1), ssh-keygen(1)
π AUTHOR π
This manpage and the utility was written by Dustin Kirkland <kirkland@ubuntu.com> for Ubuntu systems (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL, or on the web at http://www.gnu.org/licenses/gpl.txt.
and that's the whole page, bestie π this one came from the bikeshed manual, dated 10 Oct 2011, and it ate, no cap. periodt. π
β¨
π¦ where this page comes from
- ubuntu jammy: bikeshed 1.78-0ubuntu1
- ubuntu noble: bikeshed 1.78-0ubuntu1
- ubuntu resolute: bikeshed 1.78-0ubuntu2
- ubuntu stonking: bikeshed 1.78-0ubuntu2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms