-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from lbrick/KAHU-Update_Compute_pages_from_fee…
…dback fix links, re-order for better readablity
- Loading branch information
Showing
14 changed files
with
134 additions
and
20 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
86 changes: 86 additions & 0 deletions
86
...des/create-and-manage-keypairs/create-and-manage-keypairs-with-the-dashboard.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
--- | ||
hidden: false | ||
label_names: | ||
- keypairs | ||
- create | ||
- manage | ||
- dashboard | ||
position: 1 | ||
title: Create and manage keypairs via the dashboard | ||
--- | ||
|
||
## Create a Keypair | ||
|
||
Log into the [NeSI FlexiHPC Dashboard](https://dashboard.cloud.nesi.org.nz/) | ||
|
||
Select the project you would like to deploy the new instance too (Use the project selector on the top left-hand side): | ||
|
||
<figure markdown> | ||
![Alt text](../../assets/images/flexi/project-selector.png) | ||
</figure> | ||
|
||
Open the `Project` tab, open the `Compute` tab and select the `Key Pairs` category | ||
|
||
Click `Create Key Pair`. | ||
|
||
<figure markdown> | ||
![Alt text](../../assets/images/flexi/new-key-pair.png) | ||
</figure> | ||
|
||
In the `Create Key Pair` dialog box, enter a name for your `key pair,` and select a `Key Type` | ||
|
||
`Key Type` | ||
: Select one of the following options | ||
|
||
- `SSH Key` | ||
: This will be the common picked `Key Type` as we will use this to SSH to most compute instances. | ||
|
||
- `X509 Certificate` | ||
: This will be used to generate an Certificate based key. | ||
|
||
<figure markdown> | ||
![Alt text](../../assets/images/flexi/new-key-pair-filled.png) | ||
</figure> | ||
|
||
Once all fields are supplied click `Create Key Pair` | ||
|
||
The private key will be downloaded automatically | ||
|
||
<figure markdown> | ||
![Alt text](../../assets/images/flexi/new-key-pair-download.png) | ||
</figure> | ||
|
||
To change its permissions so that only you can read and write to the file, run the following command: | ||
|
||
``` | ||
chmod 0600 yourPrivateKey.pem | ||
``` | ||
|
||
!!! note | ||
If you are using the Dashboard from a Windows computer, use PuTTYgen to load the `*.pem` file and convert and save it as `*.ppk`. For more information see the [WinSCP web page for PuTTYgen](https://winscp.net/eng/docs/ui_puttygen). | ||
|
||
To make the key pair known to SSH, run the ssh-add command. | ||
|
||
``` | ||
ssh-add yourPrivateKey.pem | ||
``` | ||
|
||
## Import a Key Pair | ||
|
||
Log into the [NeSI FlexiHPC Dashboard](https://dashboard.cloud.nesi.org.nz/) | ||
|
||
Select the project you would like to deploy the new instance too (Use the project selector on the top left-hand side): | ||
|
||
<figure markdown> | ||
![Alt text](../../assets/images/flexi/project-selector.png) | ||
</figure> | ||
|
||
Open the `Project` tab, open the `Compute` tab and select the `Key Pairs` category | ||
|
||
Click `Import Key Pair`. | ||
|
||
In the `Import Key Pair` dialog box, enter the name of your key pair, copy the public key into the `Public Key` box, and then click `Import Key Pair`. | ||
|
||
The Compute database registers the public key of the key pair. | ||
|
||
The Dashboard lists the key pair on the `Key Pairs` tab. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
hidden: false | ||
label_names: | ||
- identity | ||
- create | ||
- manage | ||
position: 1 | ||
title: Create and Manage Keypairs | ||
vote_count: 1 | ||
vote_sum: 1 | ||
--- | ||
|
||
Key pairs are SSH credentials that are injected into a FlexiHPC instance when it is launched. These are used to access and manage your instances. | ||
|
||
You are able to create a new SSH Key pair on the RDC or import one of your own. | ||
|
||
|
||
Key pairs can be managed a few ways | ||
|
||
- [Create and manage key pairs via the dashboard](create-and-manage-keypairs-with-the-dashboard.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
* [Keypairs: Create and Manage](index.md) | ||
* With the Dashboard | ||
* [Create and Manage](create-and-manage-keypairs-with-the-dashboard.md) | ||
* * |
16 changes: 16 additions & 0 deletions
16
docs/user-guides/launch-and-mange-instances/connect-to-instance-ssh.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Connect to your instance by using SSH | ||
|
||
To use SSH to connect to your instance, use the downloaded keypair file. | ||
|
||
!!! note | ||
The user name is `ubuntu` for the Ubuntu cloud images on FlexiHPC. | ||
|
||
Insure your instance has a `floating ip` associated with it. If you need to assign one then check the following Assign Floating IP to an Instance via the Dashboard | ||
|
||
Copy the `floating ip` address for your instance. | ||
|
||
Use the **ssh** command to make a secure connection to the instance. For example: | ||
``` | ||
ssh -i MyKey.pem [email protected] | ||
``` | ||
At the prompt, type `yes`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,22 +23,6 @@ This is a more advance way of interacting with the FlexiHPC platform. It require | |
|
||
After reading one of the above you should be able to connect to the instance using ssh. | ||
|
||
## Connect to your instance by using SSH | ||
To use SSH to connect to your instance, use the downloaded keypair file. | ||
|
||
!!! note | ||
The user name is `ubuntu` for the Ubuntu cloud images on FlexiHPC. | ||
|
||
Insure your instance has a `floating ip` associated with it. If you need to assign one then check the following Assign Floating IP to an Instance via the Dashboard | ||
|
||
Copy the `floating ip` address for your instance. | ||
|
||
Use the **ssh** command to make a secure connection to the instance. For example: | ||
``` | ||
ssh -i MyKey.pem [email protected] | ||
``` | ||
At the prompt, type `yes`. | ||
|
||
## Resizing an Instance | ||
|
||
Resizing an instance allows you to scale the instance either up, if your workload requires a bit more grunt, or down, should you no longer need to consume a large amount of resources. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters