Step | Screenshot |
---|---|
1. Launch the HCP account cockpit and go to the organization overview page. https://<<landscape_host>>/cockpit#/organization/<<org_name>>/overview | |
2. Choose Quota management from the left navigation area. https://<<landscape_host>>/cockpit#/organization/<<org_name>>/quotaYou can distribute the the quota across different HCP accounts within the organization. | |
3. You will find the Virtual Machines tab in the Navigation area of the account to which the VM was assigned. https://<<landscape_host>>/cockpit#/acc/<<account_id>>/ accountdashboard |
Step | Screenshot |
---|---|
1. Launch the Windows command prompt and navigate to the SDK\tools folder. Execute cd C:\Work\SDK\tools. Note: Before you begin, please keep in mind that if you are behind a proxy, you would need to use the HCP neo commands for setting the HTTPS proxy host and port. | |
2. Create an HCP VM by executing the command: neo create-vm --size x-small --name testvm --account <<account_id>> --host <<landscape_host>> --user <<user_id>>Note: user_id is user ID or Email ID by which you have registered with HCP. | |
3 Enter your password when prompted. | |
4. Press ‘y’ for saving the generated key pair. In this step, the key pair is generated which will be used to log in to the virtual machine. When generating the key pair, the file name is auto-generated and the file is saved in the directory where the command is executed. | |
5. Enter a passphrase by which you want to encrypt the key. Enter passphrase again to confirm. For security reasons, the private key in the generated key pair can be encrypted with a passphrase. Remember this passphrase as you will need it when you connect to the virtual machine using an SSH client. At this point the VM is created. | |
6. Run this command to see the created VM. neo list-vms --account <<account_id>>--host <<landscape_host>> --user <<user_id>> Once the VM has started, you can see the status of the VM as started. | |
7. Click on Virtual Machines (Beta) tab in the HCP cockpit. | |
8. Click on the newly created testvm. You will see more details about the VM that you have created such as the VM ID and the IP address. |
Step | Screenshot |
---|---|
1. Execute:neo open-ssh-tunnel --vm-id <<VM_ID>> --account <<account_id>> --host <<landscape_host>> --user <<user_id>> Note: a) You can provide a port number on which you will connect to the virtual machine once the tunnel is opened. If you do not provide a port, you will receive one automatically. b) If the session gets closed or terminated, you have to again perform this step and in doing so you will have a new port. | |
2. To check if the tunnel was opened successfully, we will execute the neo command to list the currently opened SSH tunnels. neo list-ssh-tunnelsWe see the newly opened SSH tunnel is listed here. |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
36 | |
25 | |
16 | |
13 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 |