Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tomaslaz opened this issue May 21, 2019 · 4 comments

Comments

@tomaslaz
Copy link

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

@stylesm
Copy link
Collaborator

stylesm commented May 22, 2019

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

@tomaslaz
Copy link
Author

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

@stylesm
Copy link
Collaborator

stylesm commented May 22, 2019

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants