question

KennetzDennis-3412 avatar image
0 Votes"
KennetzDennis-3412 asked jerrance answered

Deploy a CycleCloud VM from the command line

Hi,

I have gone through the process of setting up a CycleCloud VM via the marketplace and the GUI to input all the relevant information. From there I have started clusters, and used CycleCloud to manage clusters. I have also downloaded the "template for automation".

My question is, can I do this process entirely from the command line? I want to be able to setup the creation of a brand new CycleCloud VM from the command line, but I haven't been able to find any documentation that doesn't point me to the azure portal.

Thanks,
Dennis

azure-cyclecloud
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

jerrance avatar image
0 Votes"
jerrance answered

Hi Dennis,

There are ways to deploy/configure CC with Terraform and an ARM template (via azure cli).

terraform: https://github.com/bwatrous/cyclecloud-terraform

arm: https://github.com/CycleCloudCommunity/cyclecloud_arm

hth,
Jerry

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TravisCragg-MSFT avatar image
0 Votes"
TravisCragg-MSFT answered KennetzDennis-3412 commented

Outside of the portal, CycleCloud can be deployed using cluster templates, RESTful API, and the CycleCloud CLI.

You can use the CycleCloud CLI to both create a cluster and add nodes to a cluster.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Travis,

The links you posted assume that the Cycle VM is already spun up. You first have to start a Cycle VM before you can import clusters and start them.

The CycleCloud VM is distinct from the head node of a cyclecloud managed cluster. I am already familiar with starting CycleCloud clusters as I mentioned in the question. I want to start the CycleCloud VM that manages all clusters in a CycleCloud app deployment, via the command-line. Is this more clear?

First, I go to the marketplace, I search and click cyclecloud, I go through all of the necessary options and deploy it and it gives me a public IP address for which I can access my CycleCloud VM. Then, from within that, I can import and manage clusters.

I want to do the first part on the command-line, bypassing the marketplace and doing it via the command-line so I can set this up in an automated fashion.
Thanks,
Dennis

0 Votes 0 ·