Question

Rancher / docker machine digitalocean-size new droplet plan

Hi, would have created a support case for this but the SSO gives me an error message ! If I want to use a droplet from the new plans (e.g. 1GB/25GBSSD) what do I specify in my docker-machine/rancher command in terms of --digitalocean-size parameter ? Thanks Philipp

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

To use the 1GB/25GB SSD Standard Droplet, the value for the --digitalocean-size parameter is s-1vcpu-1gb. To quote myself from our API changelog:

Size slugs are human-readable strings used to specify the type of Droplet in certain API requests. In the past, size slugs were typically based on the amount of RAM provided with the plan (e.g. 1gb). Moving forward, we are standardizing on a format comprised of the identifier for the Droplet’s class, the vCPU count, and the amount of RAM in order to provide more flexibility in the plans we are able to offer you. For example, our new $5 per month Standard Droplet comes with 1 vCPU and 1 GB of RAM. So its size slug is: s-1vcpu-1gb

Using the doctl command line tool, you can list all the available size slugs and the accompanying plan information with:

  1. doctl compute size ls

Thanks @asb this worked nicely ! The URL you are referring to is internal though (to you guys) so I cannot open it unfortunately. Are there somewhere more docs e.g. explaining digitalocean-ssh-key-path so I can set the right key when creating the droplet through docker-machine/rancher ?