research-software-reactor / cyclecloud

Getting Cycle Cloud working for people in personal or organisational Azure Subscriptions
GNU General Public License v3.0
1 stars 4 forks source link

Update docs to reflect that a public key needs to provided when a CycleCloud admin is created #22

Open tomaslaz opened 5 years ago

tomaslaz commented 5 years ago

This needs to be a mandatory field as it is later copied to the master node

stylesm commented 5 years ago

Alternatively, the username+password for Cycle Cloud should work?

tomaslaz commented 5 years ago

It created the cluster but we were not able to login to the master.

stylesm commented 5 years ago

So you can go to the Azure Portal, find the new VM, and use 'Reset Password' to change the password, where the username is the same as your Cycle Cloud login username. Not that we would want to document this...

leestott commented 5 years ago

Issue with using a username password is that all cycle cloud VMs resources are created with SSH as default to log into the invidiual nodes use the cycle cloud admin username and ssh key.

If you use a username and password you need to reset the account setting for each node created from SSH to password - if you cycle cloud deploy to multiple VM you will need to change the shh to password on every node.

To do this you can use the portal

Passwordreset

or Script this

Here’s a description of the parameters to pass into the “az sql server update” command:

command format

az vm user update -n {vm name} -g {resource group name} -u {username} -p {password}

usage example

az vm user update -n CycleCloudDSVM -g CycleCloudResource -u cycle admin -p ((0ejkdjkejkej

-n / –name The name of the Azure Virtual Machine.

-g / –resource-group The name of the Azure Resource Group that contains the Azure Virtual Machine.

-u The username for the user you want to reset the password for.

-p The new password that you want to set.

Perfect commands if want to automate the changing of the password in a large automation process.