logo

NJP

How to access CMP provisioned Nodes

Import · Sep 14, 2019 · article

CMP Provisioned VM access approach based on the cloud provider.

Cloud Provider: AWS

Linux in AWS:

  1. Key-based authentication will be used.
  2. Create basic auth type credential and Set only the username and leave the password blank.
  3. In Cloud Admin Portal -->Manage --> Resource Profiles -->OS profile --> Os Template details set above created credentials.
  4. The user private key will be used for accessing the provisioned VM.

Note: Go through the image details find out ssh username for the image.

Windows in AWS:

  1. Password-based authentication will be used.
  2. Create basic auth type credential and Set username and password blank. ex: UserName: Administrator
  3. In OS template details set above created credentials.
  4. An auto-generated password will be retrieved and displayed in stack details.
  5. Use the auto-generated password to access VM.
  6. Do not set the password in OS template details for AWS images.

Cloud Provider: AZURE

Linux:

  1. For azure VM's we support both key and password-based authentication.
  2. Create basic auth type credential and Set username and password blank. ex: UserName: azureuser/SNOW@1232$%
  3. In Cloud Admin Portal -->Manage --> Resource Profiles -->OS profile --> OS Template details set above created credentials.
  4. Use the user private key to access provisioned VM.
  5. You can also use an os template credentials[configure in step2] to access VM[username and password]

Windows:

  1. We support only password-based authentication.
  2. Create basic auth type credential and Set username and password blank. ex: UserName: azureuser/SNOW@1232$%
  3. In Cloud Admin Portal -->Manage --> Resource Profiles -->OS profile --> Os Template details set above created credentials.
  4. Use the os template credentials to access VM[username and password].

Note: Create a password is as per the azure VM password guidelines.

Cloud Provider: VMware

Linux:

  1. We support both key and password-based authentication.
  2. Create basic auth type credential and Set username and password blank. ex: UserName: azureuser/SNOW@1232$%
  3. In Cloud Admin Portal -->Manage --> Resource Profiles -->OS profile --> Os Template details set above created credentials.
  4. Use the user private key to access provisioned VM and you can also use the os template credentials[username and password] to access VM.

Windows:

  1. We support only password-based authentication.
  2. Create basic auth type credential and Set username and password blank. ex: UserName: azureuser/SNOW@1232$%
  3. In Cloud Admin Portal -->Manage --> Resource Profiles -->OS profile --> Os Template details set above created credentials.
  4. Use the os template credentials to access VM[username and password].

Note:

Download user private key from Cloud User Portal --> Activities -->Keys and run the following

> chmod 400 downloadedkeyname.pem

SSH using the key:

ssh -i privatekey imageusername@VMIPaddress

SSH using the password:

ssh imageusername@VMIPaddress

View original source

https://www.servicenow.com/community/itom-articles/how-to-access-cmp-provisioned-nodes/ta-p/2325211