-
Notifications
You must be signed in to change notification settings - Fork 92
WIP: New Pouta instance launcher #2634
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
Open
trispera
wants to merge
4
commits into
master
Choose a base branch
from
new-pouta-vmlauncher
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 |
---|---|---|
|
@@ -228,50 +228,63 @@ Once the SSH keys and security groups are set, you can launch a new virtual mach | |
1. In the main page of the Pouta web interface, open the **Compute > Instances** view. | ||
1. Click in **Launch Instance** on the top right. This opens a _launch instance_ screen where you define the properties of the new virtual machine. | ||
|
||
 | ||
 | ||
|
||
**Figure** Launch the instance view | ||
|
||
1. On the **Details** tab of the _launch instance_ view, first write the **Instance Name**. | ||
1. On the **Details** tab of the _launch instance_ view, first write the **Instance Name** and select the number of instances you want to create ( _-x_ will be automatically added to the end of the name of the instance if you decide to set the **Count** > 1). | ||
|
||
1. Select the **Flavour**, which is the "size" of the Virtual Machine that you will create. See [Virtual machine flavors and billing unit rates](vm-flavors-and-billing.md) for a complete list and descriptions. | ||
1. Click **Next** and select your **Instance Boot Source**. Select "Image" in the drop down menu and click on the up arrow next to the available images. | ||
|
||
1. In **Instance Count** you can specify the number of Virtual Machines to create. If in doubt, leave it to `1`. | ||
 | ||
|
||
1. **Instance Boot Source**. Select "Boot from image" in the drop down menu. | ||
**Figure** Select the instance source | ||
|
||
!!! Info "Cloud-native" | ||
|
||
In case you want to be more cloud-native, you can select the "Boot from image (creates a new volume)" option. This option creates a new persistent volume for your instance. In the event you accidentally delete your instance or it enters an unrecoverable state, the file system of your instance will be saved in this volume. You can later use this volume to boot up a new instance with the same filesystem state as the previous instance. | ||
In case you want to be more cloud-native, you can select the "Image" and set "Create a New Volume" to "Yes". This option creates a new persistent volume for your instance. In the event you accidentally delete your instance or it enters an unrecoverable state, the file system of your instance will be saved in this volume. You can later use this volume to boot up a new instance with the same filesystem state as the previous instance. | ||
|
||
!!! Warning "Please note" | ||
|
||
The "Boot from image (creates a new volume)" approach creates an additional volume which is billed normally as mentioned on our [pricing](https://research.csc.fi/billing-units) page. | ||
The option "Create New Volume" set to "Yes" creates an additional volume which is billed normally as mentioned on our [pricing](https://research.csc.fi/billing-units) page. | ||
|
||
If the flavour type has an ephemeral disk (for example, [I/O flavours](./vm-flavors-and-billing.md#io-flavors)), a new volume is only created for the root disk. [Ephemeral disks](./ephemeral-storage.md) are removed when the VM is deleted. | ||
|
||
1. **Image Name**, this decides which Linux distribution to use. You can select the image that fits more your use case. The images provided by Pouta by default are regularly maintained up to date. | ||
|
||
1. Under the **Access & Security** tab, you need to configure two options. First you need to choose the name of the *Key Pair* you have created in the [**Preparatory Steps**](#setting-up-ssh-keys). Secondly you need to select under the [**Security Groups**](#firewalls-and-security-groups) the security group previously created. | ||
1. Select the **Flavour**, which is the "size" of the Virtual Machine that you will create, from the available flavours and by clicking the up arrow. See [Virtual machine flavors and billing unit rates](vm-flavors-and-billing.md) for a complete list and descriptions. You can also expand the flavour to check the impact on your quota. | ||
|
||
!!! Warning "Key pairs cannot be added after creation" | ||
A public key is only added to the VM if it has been specified in this step. After clicking on **Launch**, the VM will be created, and the configured key pairs cannot be changed. If no key pair is configured, the recommended solution is to delete the VM and start from scratch. | ||
 | ||
|
||
**Figure** Select the instance flavour | ||
|
||
|
||
!!! Info "Warning quota usage" | ||
|
||
Pay attention that you can have a warning sign indicating if your quota is sufficient to run a specific flavour. If your quota is not enough, you can send a request to our [Service Desk](mailto:[email protected]) by specifying the amount you want. | ||
|
||
 | ||
 | ||
|
||
!!! Warning | ||
If you click the "+" button, the window will close unexpectedly and a small pop-up will appear: | ||
1. The **Networks** section, make sure that your own network (your project name) is selected. | ||
|
||
 | ||
 | ||
|
||
This is a known bug. Please refer to the [previous section](#setting-up-ssh-keys) on how to create your SSH keys. | ||
1. In the next section [**Security Groups**](#firewalls-and-security-groups), you can assign the security group previously created. You can expand the security group to check the rules you set. | ||
|
||
1. The **Networking** tab, make sure that your own network (your project name) is selected. | ||
 | ||
|
||
1. In [**Key Pair**](#setting-up-ssh-keys), you select the name of the _Key Pair_ you have created in the [**Preparatory Steps**](#preparatory-steps). | ||
|
||
 | ||
|
||
!!! Warning "Key pairs cannot be added after creation" | ||
A public key is only added to the VM if it has been specified in this step. | ||
After clicking on **Launch Instance**, the VM will be created, and the configured key pairs cannot be changed. If no key pair is configured, the recommended solution is to delete the VM and start from scratch. | ||
|
||
 | ||
1. **Configuration** section allows you to add a custom script to customize your instance after it has been launched. | ||
|
||
1. Finally, **Advanced Options** tab allows you to select a [**Server Group**](#server-groups) | ||
1. **Server Groups** tab allows you to select a [**Server Group**](#server-groups) | ||
|
||
You can click **Launch** to start the Virtual Machine creation. | ||
You can click **Launch Instance** to start the Virtual Machine creation. | ||
|
||
## Post creation step | ||
|
||
|
Binary file not shown.
Binary file not shown.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In either this section or the previous one, we could mention something like (please rephrase it as you see fit)
If the flavor type has an epehemeral disk, a new volume is only created for the root disk. The ephemeral disk is not saved when the instance is deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Edited