HarrisKirk / blue-green-dreams

2 stars 1 forks source link

Launch a linode using linode-cli via python code. #12

Closed HarrisKirk closed 1 year ago

HarrisKirk commented 1 year ago

https://www.linode.com/community/questions/23341/how-to-launch-a-marketplace-app-using-linode-cli

HarrisKirk commented 1 year ago

The above are instructions for locating linodes from the marketplace (such as docker). It seems that the linode instances are launched via the provides scripts.

Next step is to see if the linode-cli tool can be used to launch an instance from a script. The community answer above refers to the API not the CLI

HarrisKirk commented 1 year ago

linode-cli linodes create --stackscript_id 607433 --type g6-standard-1 --region us-east --root_pass xxxxxx

HarrisKirk commented 1 year ago

image

The instance immediately goes offline.
NEXT: Diagnose why the instance goes offline

HarrisKirk commented 1 year ago

https://www.linode.com/docs/products/tools/marketplace/guides/docker/

The above may help to deploy a linode that has the docker engine on it.

NEXT: From the Cloud Manager, launch a linode from the marketplace (that has docker on it)

HarrisKirk commented 1 year ago

Next - how to launch it using the linode-cli

HarrisKirk commented 1 year ago

I submitted a issue ticket at the linode website 2 days ago. No reply yet.