Droplets, Tugboat, Default User & Password
I just started messing around with tugboat. A couple quick questions:
It appears to only use the v1 API. Is there an alternative command-line client that uses the v2 API? I looked into poseidon, but it doesn’t appear to have a command-line client. Is tugboat the recommended tool?
In my tugboat config I specified an alternative
ssh_port, however when I use ‘tugboat create test’ and use the global Ubuntu 14.04 x64 image, the droplet seems to still be created with the root account and the default port. I don’t see anything in the API about creating droplets with an alternative root user or port, so I’m guessing these settings don’t actually apply when creating the droplet.
There also doesn’t seem to be a way for tugboat to specify or retrieve the root password, so it looks like when working this way, I need to build it, then grab the password from my email before I can run any root commands on the box. Is this correct?
I haven’t used snapshots before, but it looks like for what I want, I need to create a droplet, configure some basic settings (setting up new admin user, adding ssh key, disabling root account, changing ssh port, etc), then take a snapshot. Then I can spin up new instances from that snapshot.
Am I correct on this? If so, then the original droplet isn’t really something I’d leave running - I’d build it, take a snapshot, turn it off and leave it there to clone from. Is there a charge for keeping this non-running droplet with a 'base snapshot’ laying around, unused?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×