brand changed

This commit is contained in:
govardhan
2025-07-04 09:34:25 +05:30
parent 1ee37aea8b
commit faadd4e38d
129 changed files with 1069 additions and 1068 deletions

View File

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 61 KiB

View File

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

Before

Width:  |  Height:  |  Size: 89 KiB

After

Width:  |  Height:  |  Size: 89 KiB

View File

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

View File

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

Before

Width:  |  Height:  |  Size: 90 KiB

After

Width:  |  Height:  |  Size: 90 KiB

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

Before

Width:  |  Height:  |  Size: 127 KiB

After

Width:  |  Height:  |  Size: 127 KiB

View File

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View File

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View File

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

@ -2,7 +2,7 @@
search: false search: false
--- ---
How to activate OpenStack CLI access to 3Engines Cloud cloud using one- or two-factor authentication[🔗](#how-to-activate-openstack-cli-access-to-brand-name-cloud-using-one-or-two-factor-authentication "Permalink to this headline") How to activate 3Engines CLI access to 3Engines Cloud cloud using one- or two-factor authentication[🔗](#how-to-activate-3Engines-cli-access-to-brand-name-cloud-using-one-or-two-factor-authentication "Permalink to this headline")
======================================================================================================================================================================================================================================== ========================================================================================================================================================================================================================================
One-factor and two-factor authentication for activating command line access to the cloud[🔗](#one-factor-and-two-factor-authentication-for-activating-command-line-access-to-the-cloud "Permalink to this headline") One-factor and two-factor authentication for activating command line access to the cloud[🔗](#one-factor-and-two-factor-authentication-for-activating-command-line-access-to-the-cloud "Permalink to this headline")
@ -13,7 +13,7 @@ To log into a site, you usually provide user name and email address during the c
> * to generate six-digit code using the appropriate software and then to > * to generate six-digit code using the appropriate software and then to
> * send it to the cloud as a means of additional certification. > * send it to the cloud as a means of additional certification.
Cloud parameters for authentication and, later, OpenStack CLI access, are found in a so-called *RC file*. This article will help you download and use it to first authenticate and then access the cloud using OpenStack CLI commands. Cloud parameters for authentication and, later, 3Engines CLI access, are found in a so-called *RC file*. This article will help you download and use it to first authenticate and then access the cloud using 3Engines CLI commands.
What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline") What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline")
--------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------
@ -41,18 +41,18 @@ If your account has 2FA enabled (which you will recognize from the respective pr
* Mobile device (Android, iOS): [Two-Factor Authentication to 3Engines Cloud site using mobile application](Two-Factor-Authentication-for-3Engines-Cloud-Site.html.md) * Mobile device (Android, iOS): [Two-Factor Authentication to 3Engines Cloud site using mobile application](Two-Factor-Authentication-for-3Engines-Cloud-Site.html.md)
* Computer [Two-Factor Authentication to 3Engines Cloud site using KeePassXC on desktop](Using-KeePassXC-for-Two-Factor-Authentication-on-3Engines-Cloud.html.md) * Computer [Two-Factor Authentication to 3Engines Cloud site using KeePassXC on desktop](Using-KeePassXC-for-Two-Factor-Authentication-on-3Engines-Cloud.html.md)
No. 3 **OpenStackClient installed and available** No. 3 **3EnginesClient installed and available**
Installing OpenStackClient on various platforms will also install the ability to run the **.sh** files. Since OpenStack is written in Python, it is recommended to use a dedicated virtual environment for the rest of this article. Installing 3EnginesClient on various platforms will also install the ability to run the **.sh** files. Since 3Engines is written in Python, it is recommended to use a dedicated virtual environment for the rest of this article.
Install GitBash on Windows Install GitBash on Windows
: Run **.sh** files and install OpenStackClient from a GitBash window under Windows. [How to install OpenStackClient GitBash for Windows on 3Engines Cloud](../openstackcli/How-to-install-OpenStackClient-GitBash-or-Cygwin-for-Windows-on-3Engines-Cloud.html.md). : Run **.sh** files and install 3EnginesClient from a GitBash window under Windows. [How to install 3EnginesClient GitBash for Windows on 3Engines Cloud](../3Enginescli/How-to-install-3EnginesClient-GitBash-or-Cygwin-for-Windows-on-3Engines-Cloud.html.md).
Install and run WSL (Linux under Windows) Install and run WSL (Linux under Windows)
: Run **.sh** files and install OpenStackClient from a Ubuntu window under Windows. [How to install OpenStackClient on Windows using Windows Subsystem for Linux on 3Engines Cloud OpenStack Hosting](../openstackcli/How-to-install-OpenStackClient-on-Windows-using-Windows-Subsystem-for-Linux-on-3Engines-Cloud-OpenStack-Hosting.html.md). : Run **.sh** files and install 3EnginesClient from a Ubuntu window under Windows. [How to install 3EnginesClient on Windows using Windows Subsystem for Linux on 3Engines Cloud 3Engines Hosting](../3Enginescli/How-to-install-3EnginesClient-on-Windows-using-Windows-Subsystem-for-Linux-on-3Engines-Cloud-3Engines-Hosting.html.md).
Install OpenStackClient on Linux Install 3EnginesClient on Linux
: [How to install OpenStackClient for Linux on 3Engines Cloud](../openstackcli/How-to-install-OpenStackClient-for-Linux-on-3Engines-Cloud.html.md). : [How to install 3EnginesClient for Linux on 3Engines Cloud](../3Enginescli/How-to-install-3EnginesClient-for-Linux-on-3Engines-Cloud.html.md).
How to download the RC file[🔗](#how-to-download-the-rc-file "Permalink to this headline") How to download the RC file[🔗](#how-to-download-the-rc-file "Permalink to this headline")
----------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------
@ -70,24 +70,24 @@ Top right corner of the Horizon screen contains the account name. Depending on t
**Click on API Access** **Click on API Access**
Navigate to **API Access** -> **Download OpenStack RC File**. Depending on the cloud you are using, you will see a menu like this: Navigate to **API Access** -> **Download 3Engines RC File**. Depending on the cloud you are using, you will see a menu like this:
| | | |
| --- | | --- |
| **WAW3-1, WAW3-2, FRA1-1** | | **WAW3-1, WAW3-2, FRA1-1** |
| ../_images/download_rc_file_2fa.png | | ../_images/download_rc_file_2fa.png |
Option **OpenStack clouds.yaml File** is out of scope of this article. Option **3Engines clouds.yaml File** is out of scope of this article.
### Which OpenStack RC file to download[🔗](#which-openstack-rc-file-to-download "Permalink to this headline") ### Which 3Engines RC file to download[🔗](#which-3Engines-rc-file-to-download "Permalink to this headline")
Choose the appropriate option, depending on the type of account: Choose the appropriate option, depending on the type of account:
2FA *not* active on the account 2FA *not* active on the account
: For clouds **WAW3-1, WAW3-2, FRA1-1**, select option **OpenStack RC File**. : For clouds **WAW3-1, WAW3-2, FRA1-1**, select option **3Engines RC File**.
2FA active on the account 2FA active on the account
: Download file **OpenStack RC File (2FA)**. : Download file **3Engines RC File (2FA)**.
You only need one copy of the RC file at any time. If you downloaded more than one copy of the file to the same folder without moving or renaming them, your operating system may differentiate amongst the downloaded files by adding additional characters at the end of the file name. You only need one copy of the RC file at any time. If you downloaded more than one copy of the file to the same folder without moving or renaming them, your operating system may differentiate amongst the downloaded files by adding additional characters at the end of the file name.
@ -99,7 +99,7 @@ By way of example, let the downloaded RC file name be **cloud\_00734\_1-openrc-2
The contents of the downloaded RC file[🔗](#the-contents-of-the-downloaded-rc-file "Permalink to this headline") The contents of the downloaded RC file[🔗](#the-contents-of-the-downloaded-rc-file "Permalink to this headline")
--------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------
RC file sets up *environment variables* which are used by the OpenStack CLI client to authenticate to the cloud. By convention, these variables are in upper case and start with **OS\_**: **OS\_TENANT\_ID**, **OS\_PROJECT\_NAME** etc. For example, in case of one-factor authentication, the RC file will ask for password and store it into a variable called **OS\_PASSWORD**. RC file sets up *environment variables* which are used by the 3Engines CLI client to authenticate to the cloud. By convention, these variables are in upper case and start with **OS\_**: **OS\_TENANT\_ID**, **OS\_PROJECT\_NAME** etc. For example, in case of one-factor authentication, the RC file will ask for password and store it into a variable called **OS\_PASSWORD**.
Below is an example content of an RC file which does not use 2FA: Below is an example content of an RC file which does not use 2FA:
@ -175,15 +175,15 @@ Duration of life for environment variables set by sourcing the RC file[🔗](#du
When you source the file, environment variables are set for your current shell. To prove it, open two terminal windows, source the RC file in one of them but not in the other and you wont be able to authenticate from that second terminal window. When you source the file, environment variables are set for your current shell. To prove it, open two terminal windows, source the RC file in one of them but not in the other and you wont be able to authenticate from that second terminal window.
That is why you will need to activate your RC file each time you start a new terminal session. Once authenticated and while that terminal window is open, you can use it to issue OpenStack CLI commands at will. That is why you will need to activate your RC file each time you start a new terminal session. Once authenticated and while that terminal window is open, you can use it to issue 3Engines CLI commands at will.
Testing the connection[🔗](#testing-the-connection "Permalink to this headline") Testing the connection[🔗](#testing-the-connection "Permalink to this headline")
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
If not already, install OpenStack client using one of the links in Prerequisite No 3. To verify access, execute the following command which lists flavors available in 3Engines Cloud cloud: If not already, install 3Engines client using one of the links in Prerequisite No 3. To verify access, execute the following command which lists flavors available in 3Engines Cloud cloud:
``` ```
openstack flavor list 3Engines flavor list
``` ```
@ -236,7 +236,7 @@ To resolve this issue, please connect to the Internet and try to activate the RC
### Non-2FA accounts: entering a wrong password[🔗](#non-2fa-accounts-entering-a-wrong-password "Permalink to this headline") ### Non-2FA accounts: entering a wrong password[🔗](#non-2fa-accounts-entering-a-wrong-password "Permalink to this headline")
If your account does not have two-factor authentication and you entered a wrong password, you will **not** get an error. However, if you try to execute a command like **openstack flavor list**, you will get the error similar to this: If your account does not have two-factor authentication and you entered a wrong password, you will **not** get an error. However, if you try to execute a command like **3Engines flavor list**, you will get the error similar to this:
``` ```
The request you have made requires authentication. (HTTP 401) (Request-ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) The request you have made requires authentication. (HTTP 401) (Request-ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
@ -249,7 +249,7 @@ To resolve, activate your file again and enter the correct password.
### Using the wrong file[🔗](#using-the-wrong-file "Permalink to this headline") ### Using the wrong file[🔗](#using-the-wrong-file "Permalink to this headline")
If you have a 2FA authentication enabled for your account but have tried to activate the non-2FA version of the RC file, executing, say, command **openstack flavor list**, will give you the following error: If you have a 2FA authentication enabled for your account but have tried to activate the non-2FA version of the RC file, executing, say, command **3Engines flavor list**, will give you the following error:
``` ```
Unrecognized schema in response body. (HTTP 401) Unrecognized schema in response body. (HTTP 401)
@ -268,12 +268,12 @@ With the appropriate version of RC file activated, you should be able to create
> * networks, > * networks,
> * Kubernetes clusters > * Kubernetes clusters
and, in general, use all OpenStack CLI commands. and, in general, use all 3Engines CLI commands.
For example, if you want to create a new virtual machine, you can follow this article: For example, if you want to create a new virtual machine, you can follow this article:
[How to create a VM using the OpenStack CLI client on 3Engines Cloud cloud](../cloud/How-to-create-a-VM-using-the-OpenStack-CLI-client-on-3Engines-Cloud-cloud.html.md) [How to create a VM using the 3Engines CLI client on 3Engines Cloud cloud](../cloud/How-to-create-a-VM-using-the-3Engines-CLI-client-on-3Engines-Cloud-cloud.html.md)
If you want your new virtual machine to be based on an image which is not available on 3Engines Cloud cloud, you will need to upload it. The following article contains instructions how to do it: If you want your new virtual machine to be based on an image which is not available on 3Engines Cloud cloud, you will need to upload it. The following article contains instructions how to do it:
[How to upload your custom image using OpenStack CLI on 3Engines Cloud](../cloud/How-to-upload-your-custom-image-using-OpenStack-CLI-on-3Engines-Cloud.html.md) [How to upload your custom image using 3Engines CLI on 3Engines Cloud](../cloud/How-to-upload-your-custom-image-using-3Engines-CLI-on-3Engines-Cloud.html.md)

View File

@ -36,7 +36,7 @@ Go to “Cloud projects” and activate the project in the cloud/region you are
![dashboard-services-5-3Engines-cloud.png](../_images/dashboard-services-5-3Engines-cloud.png) ![dashboard-services-5-3Engines-cloud.png](../_images/dashboard-services-5-3Engines-cloud.png)
At the moment of this writing, there were four different regions to choose from: WAW3-1, WAW3-2, WAW4-1, FRA1-2. These regions are actually clouds running under OpenStack and in each you can have your own virtual machines, access to EO data, create Kubernetes clusters and so on. Although all clouds are running under OpenStack, there are differences in available software, hardware, resources and so on, so it pays to learn which cloud is best for you. At the moment of this writing, there were four different regions to choose from: WAW3-1, WAW3-2, WAW4-1, FRA1-2. These regions are actually clouds running under 3Engines and in each you can have your own virtual machines, access to EO data, create Kubernetes clusters and so on. Although all clouds are running under 3Engines, there are differences in available software, hardware, resources and so on, so it pays to learn which cloud is best for you.
You may want to work with all these clouds at the same time, maybe with different groups of people working on different projects and so on. You may want to work with all these clouds at the same time, maybe with different groups of people working on different projects and so on.

View File

@ -5,19 +5,19 @@ search: false
Tenant manager users and roles on 3Engines Cloud[](#tenant-manager-users-and-roles-on-3Engines-cloud "Permalink to this headline")enant manager users and roles on 3Engines Cloud[🔗](#tenant-manager-users-and-roles-on-brand-name "Permalink to this headline") Tenant manager users and roles on 3Engines Cloud[](#tenant-manager-users-and-roles-on-3Engines-cloud "Permalink to this headline")enant manager users and roles on 3Engines Cloud[🔗](#tenant-manager-users-and-roles-on-brand-name "Permalink to this headline")
================================================================================================================================= =================================================================================================================================
Differences between OpenStack User Roles and Tenant Managers Roles[🔗](#differences-between-openstack-user-roles-and-tenant-manager-s-roles "Permalink to this headline") Differences between 3Engines User Roles and Tenant Managers Roles[🔗](#differences-between-3Engines-user-roles-and-tenant-manager-s-roles "Permalink to this headline")
------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
An OpenStack role is a personality that a user assumes to perform a specific set of operations. A role includes a set of rights and privileges. A user assuming that role inherits those rights and privileges. OpenStack roles are defined for each user and each project independently. An 3Engines role is a personality that a user assumes to perform a specific set of operations. A role includes a set of rights and privileges. A user assuming that role inherits those rights and privileges. 3Engines roles are defined for each user and each project independently.
A Tenant Manager role, on the other hand, defines whether a user should have the ability to manage an organization via the Tenant Manager or have access to OpenStack. A Tenant Manager role, on the other hand, defines whether a user should have the ability to manage an organization via the Tenant Manager or have access to 3Engines.
What Are We Going To Cover[🔗](#what-are-we-going-to-cover "Permalink to this headline") What Are We Going To Cover[🔗](#what-are-we-going-to-cover "Permalink to this headline")
--------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------
> * The difference between User Roles and Tenant Manager Role > * The difference between User Roles and Tenant Manager Role
> * List three basic roles an organization administrator you can assign > * List three basic roles an organization administrator you can assign
> * Show how to add a **member+** role, which can have access to OpenStack and be used for managing projects > * Show how to add a **member+** role, which can have access to 3Engines and be used for managing projects
Users and Roles in the Tenant Manager[🔗](#users-and-roles-in-the-tenant-manager "Permalink to this headline") Users and Roles in the Tenant Manager[🔗](#users-and-roles-in-the-tenant-manager "Permalink to this headline")
------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------
@ -33,14 +33,14 @@ Here you are able to:
As an *organization administrator* you can assign one of the following roles to a user: As an *organization administrator* you can assign one of the following roles to a user:
> * **admin** - user with highest privileges, can manage whole organizations and has access to OpenStack. > * **admin** - user with highest privileges, can manage whole organizations and has access to 3Engines.
> * **member** - default user with basic privileges. > * **member** - default user with basic privileges.
> * **member+** - the same as **member** but has OpenStack access and can manage projects. > * **member+** - the same as **member** but has 3Engines access and can manage projects.
Adding member+ user to your project in OpenStack using Horizon interface[🔗](#adding-member-user-to-your-project-in-openstack-using-horizon-interface "Permalink to this headline") Adding member+ user to your project in 3Engines using Horizon interface[🔗](#adding-member-user-to-your-project-in-3Engines-using-horizon-interface "Permalink to this headline")
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Users with the role of **member+** have access to OpenStack and can be enabled to manage your organization projects. They cannot however, manage the organization itself. Users with the role of **member+** have access to 3Engines and can be enabled to manage your organization projects. They cannot however, manage the organization itself.
To add a **member+** user to the project, follow these steps: To add a **member+** user to the project, follow these steps:
@ -64,7 +64,7 @@ To add a **member+** user to the project, follow these steps:
![Tenant_manager_05_3Engines.png](../_images/Tenant_manager_05_3Engines.png) ![Tenant_manager_05_3Engines.png](../_images/Tenant_manager_05_3Engines.png)
**7.** Next time the user will log into <https://horizon.3Engines.com> OpenStack Horizon, the suitable access to the project will be granted. **7.** Next time the user will log into <https://horizon.3Engines.com> 3Engines Horizon, the suitable access to the project will be granted.
What To Do Next[🔗](#what-to-do-next "Permalink to this headline") What To Do Next[🔗](#what-to-do-next "Permalink to this headline")
----------------------------------------------------------------- -----------------------------------------------------------------

View File

@ -208,6 +208,6 @@ If the FreeOTP app is in the foreground on the mobile device while you are submi
As mentioned in the beginning, you can use your computer for two-factor authentication see article [Two-Factor Authentication to 3Engines Cloud site using KeePassXC on desktop](Using-KeePassXC-for-Two-Factor-Authentication-on-3Engines-Cloud.html.md). As mentioned in the beginning, you can use your computer for two-factor authentication see article [Two-Factor Authentication to 3Engines Cloud site using KeePassXC on desktop](Using-KeePassXC-for-Two-Factor-Authentication-on-3Engines-Cloud.html.md).
Either using mobile device or computer to authenticate, you will be logged into Horizon. You will then need to activate access to 3Engines Cloud cloud API functions and be able to run **openstack** command. Please see article [How to activate OpenStack CLI access to 3Engines Cloud cloud using one- or two-factor authentication](How-to-activate-OpenStack-CLI-access-to-3Engines-Cloud-cloud-using-one-or-two-factor-authentication.html.md). Either using mobile device or computer to authenticate, you will be logged into Horizon. You will then need to activate access to 3Engines Cloud cloud API functions and be able to run **3Engines** command. Please see article [How to activate 3Engines CLI access to 3Engines Cloud cloud using one- or two-factor authentication](How-to-activate-3Engines-CLI-access-to-3Engines-Cloud-cloud-using-one-or-two-factor-authentication.html.md).
To learn how to manage your TOTP secret key, visit the following article: [How to manage TOTP authentication on 3Engines Cloud](How-to-manage-TOTP-authentication-on-3Engines-Cloud.html.md) - it can be useful if you, for instance, want to use a different method of authentication, are unable to extract your secret key from currently used piece of software such as FreeOTP and do not have your secret key backed up in a readable way. To learn how to manage your TOTP secret key, visit the following article: [How to manage TOTP authentication on 3Engines Cloud](How-to-manage-TOTP-authentication-on-3Engines-Cloud.html.md) - it can be useful if you, for instance, want to use a different method of authentication, are unable to extract your secret key from currently used piece of software such as FreeOTP and do not have your secret key backed up in a readable way.

View File

@ -9,7 +9,7 @@ ACCOUNT MANAGEMENT[](#account-management "Permalink to this headline")
* [How to start using dashboard services on 3Engines Cloud](How-to-start-using-dashboard-services-on-3Engines-Cloud.html.md) * [How to start using dashboard services on 3Engines Cloud](How-to-start-using-dashboard-services-on-3Engines-Cloud.html.md)
* [Two-Factor Authentication to 3Engines Cloud site using mobile application](Two-Factor-Authentication-for-3Engines-Cloud-Site.html.md) * [Two-Factor Authentication to 3Engines Cloud site using mobile application](Two-Factor-Authentication-for-3Engines-Cloud-Site.html.md)
* [Two-Factor Authentication to 3Engines Cloud site using KeePassXC on desktop](Using-KeePassXC-for-Two-Factor-Authentication-on-3Engines-Cloud.html.md) * [Two-Factor Authentication to 3Engines Cloud site using KeePassXC on desktop](Using-KeePassXC-for-Two-Factor-Authentication-on-3Engines-Cloud.html.md)
* [How to activate OpenStack CLI access to 3Engines Cloud cloud using one- or two-factor authentication](How-to-activate-OpenStack-CLI-access-to-3Engines-Cloud-cloud-using-one-or-two-factor-authentication.html.md) * [How to activate 3Engines CLI access to 3Engines Cloud cloud using one- or two-factor authentication](How-to-activate-3Engines-CLI-access-to-3Engines-Cloud-cloud-using-one-or-two-factor-authentication.html.md)
* [How to manage TOTP authentication on 3Engines Cloud](How-to-manage-TOTP-authentication-on-3Engines-Cloud.html.md) * [How to manage TOTP authentication on 3Engines Cloud](How-to-manage-TOTP-authentication-on-3Engines-Cloud.html.md)
* [Adding and editing Organization](Adding-Editing-Organizations.html.md) * [Adding and editing Organization](Adding-Editing-Organizations.html.md)
* [How to buy credits using Pay Per Use wallet on 3Engines Cloud](How-to-buy-credits-using-pay-per-use-wallet-on-3Engines-Cloud.html.md) * [How to buy credits using Pay Per Use wallet on 3Engines Cloud](How-to-buy-credits-using-pay-per-use-wallet-on-3Engines-Cloud.html.md)

View File

@ -1,9 +1,9 @@
OpenStack User Roles on 3Engines Cloud[🔗](#openstack-user-roles-on-brand-name "Permalink to this headline") 3Engines User Roles on 3Engines Cloud[🔗](#3Engines-user-roles-on-brand-name "Permalink to this headline")
============================================================================================================= =============================================================================================================
A **user role** in OpenStack cloud is a set of permissions that govern how members of specific groups interact with system resources, their access scope, and capabilities. A **user role** in 3Engines cloud is a set of permissions that govern how members of specific groups interact with system resources, their access scope, and capabilities.
This guide simplifies OpenStack roles for casual users of 3Engines Cloud VMs. It focuses on practical use cases and commonly required roles. This guide simplifies 3Engines roles for casual users of 3Engines Cloud VMs. It focuses on practical use cases and commonly required roles.
What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline") What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline")
--------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------
@ -32,24 +32,24 @@ You need a 3Engines Cloud hosting account with Horizon access: <https://horizon.
Also see: Also see:
[What is an OpenStack project on 3Engines Cloud](What-is-an-OpenStack-project-on-3Engines-Cloud.html.md) [What is an 3Engines project on 3Engines Cloud](What-is-an-3Engines-project-on-3Engines-Cloud.html.md)
[What is an OpenStack domain on 3Engines Cloud](What-is-an-OpenStack-domain-on-3Engines-Cloud.html.md) [What is an 3Engines domain on 3Engines Cloud](What-is-an-3Engines-domain-on-3Engines-Cloud.html.md)
[How to generate or use Application Credentials via CLI on 3Engines Cloud](How-to-generate-or-use-Application-Credentials-via-CLI-on-3Engines-Cloud.html.md) [How to generate or use Application Credentials via CLI on 3Engines Cloud](How-to-generate-or-use-Application-Credentials-via-CLI-on-3Engines-Cloud.html.md)
**2. Familiarity with OpenStack Commands** **2. Familiarity with 3Engines Commands**
Ensure you know the following OpenStack commands: Ensure you know the following 3Engines commands:
**openstack** **3Engines**
: The primary CLI for interacting with OpenStack services. : The primary CLI for interacting with 3Engines services.
[How to install OpenStackClient for Linux on 3Engines Cloud](../openstackcli/How-to-install-OpenStackClient-for-Linux-on-3Engines-Cloud.html.md) [How to install 3EnginesClient for Linux on 3Engines Cloud](../3Enginescli/How-to-install-3EnginesClient-for-Linux-on-3Engines-Cloud.html.md)
**kubectl** **kubectl**
: CLI for Kubernetes clusters. Example article: : CLI for Kubernetes clusters. Example article:
[How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](../kubernetes/How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md) [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](../kubernetes/How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md)
Frequently used user roles[🔗](#frequently-used-user-roles "Permalink to this headline") Frequently used user roles[🔗](#frequently-used-user-roles "Permalink to this headline")
--------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------
@ -61,22 +61,22 @@ Frequently used user roles[🔗](#frequently-used-user-roles "Permalink to this
Note Note
Older OpenStack versions may use **\_member\_**. If both **member** and **\_member\_** exist, choose **member**. Older 3Engines versions may use **\_member\_**. If both **member** and **\_member\_** exist, choose **member**.
* Horizon: **Project** -> **Overview** * Horizon: **Project** -> **Overview**
* CLI: **openstack server list**, **openstack project list** * CLI: **3Engines server list**, **3Engines project list**
**observer** **observer**
: Read-only access for monitoring and auditing resources. Suitable for third-party tools like Prometheus or Grafana. : Read-only access for monitoring and auditing resources. Suitable for third-party tools like Prometheus or Grafana.
* Horizon: **Project** -> **Overview** * Horizon: **Project** -> **Overview**
* CLI: **openstack server show**, **openstack project show** * CLI: **3Engines server show**, **3Engines project show**
**reader** **reader**
: Read-only access with slightly broader permissions than **observer**. Ideal for monitoring and analytics tools requiring detailed resource data. : Read-only access with slightly broader permissions than **observer**. Ideal for monitoring and analytics tools requiring detailed resource data.
* Horizon: **Project** -> **Overview** * Horizon: **Project** -> **Overview**
* CLI: **openstack server list**, **openstack project list** * CLI: **3Engines server list**, **3Engines project list**
### Roles for Kubernetes users[🔗](#roles-for-kubernetes-users "Permalink to this headline") ### Roles for Kubernetes users[🔗](#roles-for-kubernetes-users "Permalink to this headline")
@ -104,13 +104,13 @@ Frequently used user roles[🔗](#frequently-used-user-roles "Permalink to this
: Grants access to deploy applications behind load balancers. : Grants access to deploy applications behind load balancers.
* Horizon: **Network** -> **Load Balancers** * Horizon: **Network** -> **Load Balancers**
* CLI: **openstack loadbalancer member create**, **openstack loadbalancer member list** * CLI: **3Engines loadbalancer member create**, **3Engines loadbalancer member list**
**load-balancer\_observer** **load-balancer\_observer**
: Read-only access to monitor load balancer configurations. : Read-only access to monitor load balancer configurations.
* Horizon: **Network** -> **Load Balancers** * Horizon: **Network** -> **Load Balancers**
* CLI: **openstack loadbalancer show**, **openstack loadbalancer stats show** * CLI: **3Engines loadbalancer show**, **3Engines loadbalancer stats show**
How to View Roles in Horizon[🔗](#how-to-view-roles-in-horizon "Permalink to this headline") How to View Roles in Horizon[🔗](#how-to-view-roles-in-horizon "Permalink to this headline")
------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------
@ -123,7 +123,7 @@ You can view roles in Horizon by navigating to **Identity** -> **Roles**.
Assigning multiple roles is best done during project creation rather than user creation. Assigning multiple roles is best done during project creation rather than user creation.
![openstack-user-roles-create-4.png](../_images/openstack-user-roles-create-4.png) ![3Engines-user-roles-create-4.png](../_images/3Engines-user-roles-create-4.png)
Examples of using user roles[🔗](#examples-of-using-user-roles "Permalink to this headline") Examples of using user roles[🔗](#examples-of-using-user-roles "Permalink to this headline")
------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------
@ -132,7 +132,7 @@ The following articles, as one of many steps, describe how to assign a role to t
### Using user roles while creating application credential in Horizon[🔗](#using-user-roles-while-creating-application-credential-in-horizon "Permalink to this headline") ### Using user roles while creating application credential in Horizon[🔗](#using-user-roles-while-creating-application-credential-in-horizon "Permalink to this headline")
Normally, you access the cloud via user credentials, which may be one- or two-factor credentials. OpenStack provides a more direct procedure of gaining access to cloud with application credential and you can create a credential with several user roles. Normally, you access the cloud via user credentials, which may be one- or two-factor credentials. 3Engines provides a more direct procedure of gaining access to cloud with application credential and you can create a credential with several user roles.
That S3 article selects user roles when creating an application credential, through Horizon: That S3 article selects user roles when creating an application credential, through Horizon:
@ -152,7 +152,7 @@ Here is how to specify user roles through CLI parameters:
### Using user roles while creating a new project[🔗](#using-user-roles-while-creating-a-new-project "Permalink to this headline") ### Using user roles while creating a new project[🔗](#using-user-roles-while-creating-a-new-project "Permalink to this headline")
In article [How to Create and Configure New Openstack Project Through Horizon on 3Engines Cloud Cloud](../openstackcli/How-To-Create-and-Configure-New-Project-on-3Engines-Cloud-Cloud.html.md) we use command **Project Members** to define which users to include into the project: In article [How to Create and Configure New 3Engines Project Through Horizon on 3Engines Cloud Cloud](../3Enginescli/How-To-Create-and-Configure-New-Project-on-3Engines-Cloud-Cloud.html.md) we use command **Project Members** to define which users to include into the project:
![user-roles-list-create-4.png](../_images/user-roles-list-create-4.png) ![user-roles-list-create-4.png](../_images/user-roles-list-create-4.png)
@ -169,7 +169,7 @@ You would then continue by defining the roles for each user in the project:
### Using member role only while creating a new user[🔗](#using-member-role-only-while-creating-a-new-user "Permalink to this headline") ### Using member role only while creating a new user[🔗](#using-member-role-only-while-creating-a-new-user "Permalink to this headline")
In SLURM article, we first create a new OpenStack Keystone user, with the role of **member**. In SLURM article, we first create a new 3Engines Keystone user, with the role of **member**.
/cuttingedge/Sample-SLURM-Cluster-on-3Engines-Cloud-Cloud-with-ElastiCluster /cuttingedge/Sample-SLURM-Cluster-on-3Engines-Cloud-Cloud-with-ElastiCluster

View File

@ -16,9 +16,9 @@ DNS as a Service (DNSaaS) provides functionality of managing configuration of us
| SSHFP | SSH Public Key Fingerprint | | SSHFP | SSH Public Key Fingerprint |
| TXT | Text record | | TXT | Text record |
DNS configuration management is available via OpenStack web dashboard (Horizon), OpenStack command line interface as well as via the API. DNS configuration management is available via 3Engines web dashboard (Horizon), 3Engines command line interface as well as via the API.
DNS records management is performed on the level of an OpenStack project. DNS records management is performed on the level of an 3Engines project.
Since DNSaaS purpose is to deal with external domain names, the internal name resolution (name resolution for private IP addresses within users projects) is not covered by this documentation. Since DNSaaS purpose is to deal with external domain names, the internal name resolution (name resolution for private IP addresses within users projects) is not covered by this documentation.
@ -31,7 +31,7 @@ What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this
> * Adding new record for the domain > * Adding new record for the domain
> * Adding records for subdomains > * Adding records for subdomains
> * Managing records > * Managing records
> * Limitations in OpenStack DNSaaS > * Limitations in 3Engines DNSaaS
Prerequisites[🔗](#prerequisites "Permalink to this headline") Prerequisites[🔗](#prerequisites "Permalink to this headline")
------------------------------------------------------------- -------------------------------------------------------------
@ -40,7 +40,7 @@ No. 1 **Account**
You need a 3Engines Cloud hosting account with access to the Horizon interface: <https://horizon.3Engines.com>. You need a 3Engines Cloud hosting account with access to the Horizon interface: <https://horizon.3Engines.com>.
No. 2 **Must have access to a project in 3Engines Cloud OpenStack account** No. 2 **Must have access to a project in 3Engines Cloud 3Engines account**
If you are a tenant manager, you will be able to either use the existing basic project or create new projects for yourself or your users. If you are a tenant manager, you will be able to either use the existing basic project or create new projects for yourself or your users.
@ -53,7 +53,7 @@ We assume you already have a
> * basic knowledge of Domain Name Service principles as well as > * basic knowledge of Domain Name Service principles as well as
> * understanding of the purpose of DNS records. > * understanding of the purpose of DNS records.
If not, please see [DNS article on Wikipedia](https://en.wikipedia.org/wiki/Domain_Name_System) or [OpenStack DNSaaS command line reference](https://docs.openstack.org/python-designateclient/latest/user/shell-v2.html.md) If not, please see [DNS article on Wikipedia](https://en.wikipedia.org/wiki/Domain_Name_System) or [3Engines DNSaaS command line reference](https://docs.3Engines.org/python-designateclient/latest/user/shell-v2.html.md)
No. 4 **Must have domain purchased from a registrar** No. 4 **Must have domain purchased from a registrar**
@ -107,7 +107,7 @@ Step 2 Zone configuration[🔗](#step-2-zone-configuration "Permalink to this he
Zone configuration is defining parameters for the main domain name you have purchased. Zone configuration is defining parameters for the main domain name you have purchased.
To manage domain *exampledomain.com* in OpenStack, login to OpenStack dashboard, choose the right project if different than default, go to **Project****DNS****Zones**, click **Create Zone** and fill in the required fields: To manage domain *exampledomain.com* in 3Engines, login to 3Engines dashboard, choose the right project if different than default, go to **Project****DNS****Zones**, click **Create Zone** and fill in the required fields:
![dns1.png](../_images/dns1.png) ![dns1.png](../_images/dns1.png)
@ -117,9 +117,9 @@ Here is what the parameters mean:
> * **Description**: free text description > * **Description**: free text description
> * **Email Address**: an administrative e-mail address associated with the domain > * **Email Address**: an administrative e-mail address associated with the domain
> * **TTL**: *Time To Live* in seconds - a period of time between refreshing cache in DNS servers. Please note that the longer time, the faster will be name recognition for your domain by external DNS servers but also if you introduce changes, they will propagate slower. The default value of 3600 seconds is a reasonable compromise. > * **TTL**: *Time To Live* in seconds - a period of time between refreshing cache in DNS servers. Please note that the longer time, the faster will be name recognition for your domain by external DNS servers but also if you introduce changes, they will propagate slower. The default value of 3600 seconds is a reasonable compromise.
> * **Type**: You may choose if OpenStack name servers will be primary or secondary for your domain. Default: Primary. In case you want to setup secondary name servers, you just define IP addresses or master DNS servers for the domain. > * **Type**: You may choose if 3Engines name servers will be primary or secondary for your domain. Default: Primary. In case you want to setup secondary name servers, you just define IP addresses or master DNS servers for the domain.
After submitting, your domain should be served by OpenStack. After submitting, your domain should be served by 3Engines.
Step 3 Checking the presence of the domain on the Internet[🔗](#step-3-checking-the-presence-of-the-domain-on-the-internet "Permalink to this headline") Step 3 Checking the presence of the domain on the Internet[🔗](#step-3-checking-the-presence-of-the-domain-on-the-internet "Permalink to this headline")
------------------------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------------------------
@ -228,7 +228,7 @@ www.exampledomain.com. 3600 IN A 64.225.133.254
Step 6 Managing records[🔗](#step-6-managing-records "Permalink to this headline") Step 6 Managing records[🔗](#step-6-managing-records "Permalink to this headline")
--------------------------------------------------------------------------------- ---------------------------------------------------------------------------------
Anytime you want to review, edit or delete records in your domain, visit OpenStack dashboard, **Project****DNS****Zones**. After clicking the domain name of your interest, choose **Record Sets** tab and see the list of all records: Anytime you want to review, edit or delete records in your domain, visit 3Engines dashboard, **Project****DNS****Zones**. After clicking the domain name of your interest, choose **Record Sets** tab and see the list of all records:
![show_example_domain_record_sets.png](../_images/show_example_domain_record_sets.png) ![show_example_domain_record_sets.png](../_images/show_example_domain_record_sets.png)
@ -237,18 +237,18 @@ From this screen you can update or delete records.
Limitations[🔗](#limitations "Permalink to this headline") Limitations[🔗](#limitations "Permalink to this headline")
--------------------------------------------------------- ---------------------------------------------------------
There are the following limitations in OpenStack DNSaaS: There are the following limitations in 3Engines DNSaaS:
> * You cannot manage NS records for your domain. Therefore > * You cannot manage NS records for your domain. Therefore
> >
> > + you cannot add additional secondary name servers > > + you cannot add additional secondary name servers
> > + you are unable to delegate subdomains to external servers > > + you are unable to delegate subdomains to external servers
> * Even though you are able to configure reverse DNS for your domain, this configuration will have no effect since reverse DNS for 3Engines Cloud IP pools are managed on DNS servers other than OpenStack DNSaaS. > * Even though you are able to configure reverse DNS for your domain, this configuration will have no effect since reverse DNS for 3Engines Cloud IP pools are managed on DNS servers other than 3Engines DNSaaS.
What To Do Next[🔗](#what-to-do-next "Permalink to this headline") What To Do Next[🔗](#what-to-do-next "Permalink to this headline")
----------------------------------------------------------------- -----------------------------------------------------------------
Once an OpenStack object has floating IP address, you can use the DNS service to propagate a domain name and, thus, create a service or a site. There are several situations in which you can create a floating IP address: Once an 3Engines object has floating IP address, you can use the DNS service to propagate a domain name and, thus, create a service or a site. There are several situations in which you can create a floating IP address:
You already have an existing VM You already have an existing VM
: Follow the procedure in article [How to Add or Remove Floating IPs to your VM on 3Engines Cloud](../networking/How-to-Add-or-Remove-Floating-IPs-to-your-VM-on-3Engines-Cloud.html.md) to assign a new floating IP to it. : Follow the procedure in article [How to Add or Remove Floating IPs to your VM on 3Engines Cloud](../networking/How-to-Add-or-Remove-Floating-IPs-to-your-VM-on-3Engines-Cloud.html.md) to assign a new floating IP to it.

View File

@ -34,4 +34,4 @@ During the VM creation process, while choosing flavor, you may spot a yellow exc
You can expand the flavor summary by clicking the arrow on the left. The charts will show the current free resources as well as the resources that will remain after creating a new instance. You can expand the flavor summary by clicking the arrow on the left. The charts will show the current free resources as well as the resources that will remain after creating a new instance.
If the quota would be exceeded, OpenStack will non allow to choose this particular flavor. If the quota would be exceeded, 3Engines will non allow to choose this particular flavor.

View File

@ -1,4 +1,4 @@
How To Create a New Linux VM With NVIDIA Virtual GPU in the OpenStack Dashboard Horizon on 3Engines Cloud[🔗](#how-to-create-a-new-linux-vm-with-nvidia-virtual-gpu-in-the-openstack-dashboard-horizon-on-brand-name "Permalink to this headline") How To Create a New Linux VM With NVIDIA Virtual GPU in the 3Engines Dashboard Horizon on 3Engines Cloud[🔗](#how-to-create-a-new-linux-vm-with-nvidia-virtual-gpu-in-the-3Engines-dashboard-horizon-on-brand-name "Permalink to this headline")
=================================================================================================================================================================================================================================================== ===================================================================================================================================================================================================================================================
You can create Linux virtual machine with NVIDIA RTX A6000 as the additional graphics card. The card contains You can create Linux virtual machine with NVIDIA RTX A6000 as the additional graphics card. The card contains
@ -88,7 +88,7 @@ Open “Security Groups” After that, choose “allow\_ping\_ssh\_icmp\_rdp”
![createnew6.png](../_images/createnew6.png) ![createnew6.png](../_images/createnew6.png)
Choose or generate SSH keypair, as explained in article [How to create key pair in OpenStack Dashboard on 3Engines Cloud](How-to-create-key-pair-in-OpenStack-Dashboard-on-3Engines-Cloud.html.md) for your VM. Next, launch your instance by clicking on blue button. Choose or generate SSH keypair, as explained in article [How to create key pair in 3Engines Dashboard on 3Engines Cloud](How-to-create-key-pair-in-3Engines-Dashboard-on-3Engines-Cloud.html.md) for your VM. Next, launch your instance by clicking on blue button.
![createnew7.png](../_images/createnew7.png) ![createnew7.png](../_images/createnew7.png)
@ -109,7 +109,7 @@ Open the drop-down menu and choose “Console”.
You can connect to your virtual machine using SSH, see this article: [How to connect to your virtual machine via SSH in Linux on 3Engines Cloud](../networking/How-to-connect-to-your-virtual-machine-via-SSH-in-Linux-on-3Engines-Cloud.html.md) You can connect to your virtual machine using SSH, see this article: [How to connect to your virtual machine via SSH in Linux on 3Engines Cloud](../networking/How-to-connect-to-your-virtual-machine-via-SSH-in-Linux-on-3Engines-Cloud.html.md)
You can also use the SPICE console using the Openstack Dashboard. You can also use the SPICE console using the 3Engines Dashboard.
Click on the black terminal area (to activate access to the console). Type: Click on the black terminal area (to activate access to the console). Type:

View File

@ -1,7 +1,7 @@
How to access the VM from OpenStack console on 3Engines Cloud[🔗](#how-to-access-the-vm-from-openstack-console-on-brand-name "Permalink to this headline") How to access the VM from 3Engines console on 3Engines Cloud[🔗](#how-to-access-the-vm-from-3Engines-console-on-brand-name "Permalink to this headline")
=========================================================================================================================================================== ===========================================================================================================================================================
Once you have created a virtual machine in OpenStack, you will need to perform various administrative tasks such as: Once you have created a virtual machine in 3Engines, you will need to perform various administrative tasks such as:
> * installing and uninstalling software, > * installing and uninstalling software,
> * uploading and downloading files, > * uploading and downloading files,
@ -72,7 +72,7 @@ You will then use the console as a predefined user called **eouser**.
Attention Attention
Google Chrome seems to work slowly while using the OpenStack console. Firefox works well. Google Chrome seems to work slowly while using the 3Engines console. Firefox works well.
Using console to perform administrative tasks within Fedora VMs[🔗](#using-console-to-perform-administrative-tasks-within-fedora-vms "Permalink to this headline") Using console to perform administrative tasks within Fedora VMs[🔗](#using-console-to-perform-administrative-tasks-within-fedora-vms "Permalink to this headline")
----------------------------------------------------------------------------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------------------------------------------------------------------------
@ -96,11 +96,11 @@ where *vault* is the namespace within which the pod *vault-0* will be found and
Further explanations of **exec** command are out of scope of this article. The following article will show you how to activate the **kubectl** command after the cluster has been created: Further explanations of **exec** command are out of scope of this article. The following article will show you how to activate the **kubectl** command after the cluster has been created:
[How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](../kubernetes/How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md) [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](../kubernetes/How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md)
This article shows an example of an **exec** command to enter the VM and, later, save the data within it: This article shows an example of an **exec** command to enter the VM and, later, save the data within it:
[Volume-based vs Ephemeral-based Storage for Kubernetes Clusters on 3Engines Cloud OpenStack Magnum](../kubernetes/Volume-based-vs-Ephemeral-based-Storage-for-Kubernetes-Clusters-on-3Engines-Cloud-OpenStack-Magnum.html.md) [Volume-based vs Ephemeral-based Storage for Kubernetes Clusters on 3Engines Cloud 3Engines Magnum](../kubernetes/Volume-based-vs-Ephemeral-based-Storage-for-Kubernetes-Clusters-on-3Engines-Cloud-3Engines-Magnum.html.md)
### Performing administrative tasks within Windows based VMs[🔗](#performing-administrative-tasks-within-windows-based-vms "Permalink to this headline") ### Performing administrative tasks within Windows based VMs[🔗](#performing-administrative-tasks-within-windows-based-vms "Permalink to this headline")

View File

@ -1,7 +1,7 @@
How to clone existing and configured VMs on 3Engines Cloud[🔗](#how-to-clone-existing-and-configured-vms-on-brand-name "Permalink to this headline") How to clone existing and configured VMs on 3Engines Cloud[🔗](#how-to-clone-existing-and-configured-vms-on-brand-name "Permalink to this headline")
===================================================================================================================================================== =====================================================================================================================================================
The simplest way to create the snapshot of your machine is using “Horizon” - graphical interface of OpenStack dashboard. The simplest way to create the snapshot of your machine is using “Horizon” - graphical interface of 3Engines dashboard.
In summary, there will be 2 operations: In summary, there will be 2 operations:
@ -22,7 +22,7 @@ Once the snapshot is ready, you may see it on **“Images”** page of Horizon.
Now, you may click **“Launch”** in right upper corner of the window or just go back to **“Instances”** menu and launch new instance. Now, you may click **“Launch”** in right upper corner of the window or just go back to **“Instances”** menu and launch new instance.
Full manual is here: [How to create new Linux VM in OpenStack Dashboard Horizon on 3Engines Cloud](How-to-create-new-Linux-VM-in-OpenStack-Dashboard-Horizon-on-3Engines-Cloud.html.md) Full manual is here: [How to create new Linux VM in 3Engines Dashboard Horizon on 3Engines Cloud](How-to-create-new-Linux-VM-in-3Engines-Dashboard-Horizon-on-3Engines-Cloud.html.md)
But if this process is familiar to you, there is only one difference. Chose as the source **“boot from snapshot”** instead of **“boot from image”** and select your snapshot from the list below. In next steps select parameters (flavour, size), at least the same as the original one. (“Launch instance” button will be unavailable until all necessary settings were completed). But if this process is familiar to you, there is only one difference. Chose as the source **“boot from snapshot”** instead of **“boot from image”** and select your snapshot from the list below. In next steps select parameters (flavour, size), at least the same as the original one. (“Launch instance” button will be unavailable until all necessary settings were completed).

View File

@ -1,4 +1,4 @@
How to create Windows VM on OpenStack Horizon and access it via web console on 3Engines Cloud[🔗](#how-to-create-windows-vm-on-openstack-horizon-and-access-it-via-web-console-on-brand-name "Permalink to this headline") How to create Windows VM on 3Engines Horizon and access it via web console on 3Engines Cloud[🔗](#how-to-create-windows-vm-on-3Engines-horizon-and-access-it-via-web-console-on-brand-name "Permalink to this headline")
=========================================================================================================================================================================================================================== ===========================================================================================================================================================================================================================
This article provides a straightforward way of creating a functional Windows VM on 3Engines Cloud cloud, using the Horizon graphical interface. This article provides a straightforward way of creating a functional Windows VM on 3Engines Cloud cloud, using the Horizon graphical interface.

View File

@ -50,11 +50,11 @@ No. 4 **SSH client installed and configured on your local Linux computer**
The SSH client must be installed and configured on your local Linux computer. Please see [Generating an SSH keypair in Linux on 3Engines Cloud](../networking/Generating-a-SSH-keypair-in-Linux-on-3Engines-Cloud.html.md). The SSH client must be installed and configured on your local Linux computer. Please see [Generating an SSH keypair in Linux on 3Engines Cloud](../networking/Generating-a-SSH-keypair-in-Linux-on-3Engines-Cloud.html.md).
If you already have an SSH key pair and an SSH client configured, you should import your public key to the Horizon dashboard. The following article contains information how to do it: [How to import SSH public key to OpenStack Horizon on 3Engines Cloud](../networking/How-to-Import-SSH-Public-Key-to-OpenStack-Horizon-on-3Engines-Cloud.html.md). If you already have an SSH key pair and an SSH client configured, you should import your public key to the Horizon dashboard. The following article contains information how to do it: [How to import SSH public key to 3Engines Horizon on 3Engines Cloud](../networking/How-to-Import-SSH-Public-Key-to-3Engines-Horizon-on-3Engines-Cloud.html.md).
Alternatively, you can also create a key pair directly in the Horizon: Alternatively, you can also create a key pair directly in the Horizon:
[How to create key pair in OpenStack Dashboard on 3Engines Cloud](How-to-create-key-pair-in-OpenStack-Dashboard-on-3Engines-Cloud.html.md). [How to create key pair in 3Engines Dashboard on 3Engines Cloud](How-to-create-key-pair-in-3Engines-Dashboard-on-3Engines-Cloud.html.md).
Options for creation of a Virtual Machine (VM)[🔗](#options-for-creation-of-a-virtual-machine-vm "Permalink to this headline") Options for creation of a Virtual Machine (VM)[🔗](#options-for-creation-of-a-virtual-machine-vm "Permalink to this headline")
----------------------------------------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------------------------------------
@ -63,7 +63,7 @@ Creation of a virtual machine is divided into 11 sections, four of which are man
Note Note
In OpenStack terminology, a *virtual machine* is also an *instance*. *Instance* is a broader term as not all instances need be virtual machines, it is also possible to use real hardware as an instance. In 3Engines terminology, a *virtual machine* is also an *instance*. *Instance* is a broader term as not all instances need be virtual machines, it is also possible to use real hardware as an instance.
The window to create a virtual machine is called **Launch Instance**. You will enter all the data about an instance into that window and its options. The window to create a virtual machine is called **Launch Instance**. You will enter all the data about an instance into that window and its options.
@ -110,7 +110,7 @@ You should now see the following form:
![create-linux-linux-07_creodias.png](../_images/create-linux-linux-07_creodias.png) ![create-linux-linux-07_creodias.png](../_images/create-linux-linux-07_creodias.png)
The standard definition of OpenStack *flavor* is the amount of resources available to the instance - like VCPU, memory and storage capacity. The standard definition of 3Engines *flavor* is the amount of resources available to the instance - like VCPU, memory and storage capacity.
Choose the one which suits you best and click **↑** next to it. Choose the one which suits you best and click **↑** next to it.
@ -178,7 +178,7 @@ In the image above, the key is called **test-key**. There are three ways to ente
> * using option **Create Key Pair** create it on the spot, > * using option **Create Key Pair** create it on the spot,
> * using option **Import Key Pair** take the keys you already have and upload them to the cloud, > * using option **Import Key Pair** take the keys you already have and upload them to the cloud,
> * using one of the key pairs that were already existing within OpenStack cloud. > * using one of the key pairs that were already existing within 3Engines cloud.
If you havent created your key pair yet, please follow Prerequisite No. 4. If you havent created your key pair yet, please follow Prerequisite No. 4.
@ -242,11 +242,11 @@ What To Do Next[🔗](#what-to-do-next "Permalink to this headline")
To create a *cluster* of instances, see the series of articles on Kubernetes: To create a *cluster* of instances, see the series of articles on Kubernetes:
[How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](../kubernetes/How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md). [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](../kubernetes/How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md).
If you find yourself unable to connect to your virtual machine using SSH, you can use the web console for troubleshooting and other purposes. Heres how to do it: If you find yourself unable to connect to your virtual machine using SSH, you can use the web console for troubleshooting and other purposes. Heres how to do it:
[How to access the VM from OpenStack console on 3Engines Cloud](How-to-access-the-VM-from-OpenStack-console-on-3Engines-Cloud.html.md) [How to access the VM from 3Engines console on 3Engines Cloud](How-to-access-the-VM-from-3Engines-console-on-3Engines-Cloud.html.md)
If you dont want the storage of your instance to be deleted while the VM is removed, you can choose to use a volume during instance creation. Please see the following articles: If you dont want the storage of your instance to be deleted while the VM is removed, you can choose to use a volume during instance creation. Please see the following articles:

View File

@ -60,9 +60,9 @@ No. 5 **SSH key**
You need to have an SSH key pair. It consists of a public and private key. You can use your existing pair in this workflow or create a new one. If you do not have one, you have several options, such as: You need to have an SSH key pair. It consists of a public and private key. You can use your existing pair in this workflow or create a new one. If you do not have one, you have several options, such as:
* Generate them directly using the Horizon dashboard: [How to create key pair in OpenStack Dashboard on 3Engines Cloud](How-to-create-key-pair-in-OpenStack-Dashboard-on-3Engines-Cloud.html.md). * Generate them directly using the Horizon dashboard: [How to create key pair in 3Engines Dashboard on 3Engines Cloud](How-to-create-key-pair-in-3Engines-Dashboard-on-3Engines-Cloud.html.md).
* Generate your key pair using the Windows command line. Please check this article: [How to Create SSH Key Pair in Windows 10 On 3Engines Cloud](../windows/How-To-Create-SSH-Key-Pair-In-Windows-On-3Engines-Cloud.html.md). If you choose that option, make sure that you upload your public key to the Horizon dashboard: [How to import SSH public key to OpenStack Horizon on 3Engines Cloud](../networking/How-to-Import-SSH-Public-Key-to-OpenStack-Horizon-on-3Engines-Cloud.html.md). * Generate your key pair using the Windows command line. Please check this article: [How to Create SSH Key Pair in Windows 10 On 3Engines Cloud](../windows/How-To-Create-SSH-Key-Pair-In-Windows-On-3Engines-Cloud.html.md). If you choose that option, make sure that you upload your public key to the Horizon dashboard: [How to import SSH public key to 3Engines Horizon on 3Engines Cloud](../networking/How-to-Import-SSH-Public-Key-to-3Engines-Horizon-on-3Engines-Cloud.html.md).
This article contains information about configuring PuTTY using one such key pair. This article contains information about configuring PuTTY using one such key pair.
@ -73,7 +73,7 @@ Creation of a virtual machine is divided into 11 sections, four of which are man
Note Note
In OpenStack terminology, a *virtual machine* is also an *instance*. *Instance* is a broader term as not all instances need be virtual machines, it is also possible to use real hardware as an instance. In 3Engines terminology, a *virtual machine* is also an *instance*. *Instance* is a broader term as not all instances need be virtual machines, it is also possible to use real hardware as an instance.
The window to create a virtual machine is called **Launch Instance**. You will enter all the data about an instance into that window. The window to create a virtual machine is called **Launch Instance**. You will enter all the data about an instance into that window.
@ -120,7 +120,7 @@ You should now see the following form:
![create-linux-linux-07_creodias.png](../_images/create-linux-linux-07_creodias.png) ![create-linux-linux-07_creodias.png](../_images/create-linux-linux-07_creodias.png)
The standard definition of OpenStack *flavor* is the amount of resources available to the instance - like VCPU, memory and storage capacity. The standard definition of 3Engines *flavor* is the amount of resources available to the instance - like VCPU, memory and storage capacity.
Choose the one which suits you best and click **↑** next to it. Choose the one which suits you best and click **↑** next to it.
@ -193,7 +193,7 @@ In the image above, the key is called **test-key**. There are three ways to ente
> * using option **Create Key Pair** create it on the spot, > * using option **Create Key Pair** create it on the spot,
> * using option **Import Key Pair** take the keys you already have and upload them to the cloud, > * using option **Import Key Pair** take the keys you already have and upload them to the cloud,
> * using one of the key pairs that were already existing within OpenStack cloud. > * using one of the key pairs that were already existing within 3Engines cloud.
If you havent created your key pair yet, please follow Prerequisite No. 5. If you havent created your key pair yet, please follow Prerequisite No. 5.
@ -354,11 +354,11 @@ What To Do Next[🔗](#what-to-do-next "Permalink to this headline")
To create a *cluster* of instances, see the series of articles on Kubernetes: To create a *cluster* of instances, see the series of articles on Kubernetes:
[How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](../kubernetes/How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md). [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](../kubernetes/How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md).
If you find yourself unable to connect to your virtual machine using SSH, you can use the web console for troubleshooting and other purposes. Heres how to do it: If you find yourself unable to connect to your virtual machine using SSH, you can use the web console for troubleshooting and other purposes. Heres how to do it:
[How to access the VM from OpenStack console on 3Engines Cloud](How-to-access-the-VM-from-OpenStack-console-on-3Engines-Cloud.html.md) [How to access the VM from 3Engines console on 3Engines Cloud](How-to-access-the-VM-from-3Engines-console-on-3Engines-Cloud.html.md)
If you dont want the storage of your instance to be deleted while the VM is removed, you can choose to use a volume during instance creation. Please see the following articles: If you dont want the storage of your instance to be deleted while the VM is removed, you can choose to use a volume during instance creation. Please see the following articles:

View File

@ -1,12 +1,12 @@
How to create a VM using the OpenStack CLI client on 3Engines Cloud cloud[🔗](#how-to-create-a-vm-using-the-openstack-cli-client-on-brand-name-cloud "Permalink to this headline") How to create a VM using the 3Engines CLI client on 3Engines Cloud cloud[🔗](#how-to-create-a-vm-using-the-3Engines-cli-client-on-brand-name-cloud "Permalink to this headline")
=================================================================================================================================================================================== ===================================================================================================================================================================================
This article will cover creating a virtual machine on 3Engines Cloud cloud using the OpenStack CLI client exclusively. It contains basic information to get you started. This article will cover creating a virtual machine on 3Engines Cloud cloud using the 3Engines CLI client exclusively. It contains basic information to get you started.
What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline") What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline")
--------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------
> * The **openstack** command to create a VM > * The **3Engines** command to create a VM
> * Selecting parameters of the new virtual machine > * Selecting parameters of the new virtual machine
> >
> > * Image > > * Image
@ -26,18 +26,18 @@ No. 1 **Account**
You need a 3Engines Cloud hosting account with access to the Horizon interface: <https://horizon.3Engines.com>. You need a 3Engines Cloud hosting account with access to the Horizon interface: <https://horizon.3Engines.com>.
No. 2 **OpenStack CLI client configured** No. 2 **3Engines CLI client configured**
To have the OpenStack CLI client configured and operational, see article: [How to install OpenStackClient for Linux on 3Engines Cloud](../openstackcli/How-to-install-OpenStackClient-for-Linux-on-3Engines-Cloud.html.md). To have the 3Engines CLI client configured and operational, see article: [How to install 3EnginesClient for Linux on 3Engines Cloud](../3Enginescli/How-to-install-3EnginesClient-for-Linux-on-3Engines-Cloud.html.md).
If the command If the command
``` ```
openstack flavor list 3Engines flavor list
``` ```
shows a list of flavors, the **openstack** command is operational. shows a list of flavors, the **3Engines** command is operational.
No. 3 **Available image to create a new VM from** No. 3 **Available image to create a new VM from**
@ -54,14 +54,14 @@ Images that are automatically included on 3Engines Cloud cloud
: There is a set of images that come predefined with the cloud. Typically, that default list of images will contain Ubuntu, CentOS, and Windows 2019/22 images, with various flavors. Other default images could be available as well, say, for AlmaLinux, OPNSense, OSGeolive, Rocky Linux and so on. : There is a set of images that come predefined with the cloud. Typically, that default list of images will contain Ubuntu, CentOS, and Windows 2019/22 images, with various flavors. Other default images could be available as well, say, for AlmaLinux, OPNSense, OSGeolive, Rocky Linux and so on.
Images shared from other projects Images shared from other projects
: Under OpenStack, images can be shared between the projects. To have an alien image available in your project, you have to accept it first. : Under 3Engines, images can be shared between the projects. To have an alien image available in your project, you have to accept it first.
Images uploaded within your account Images uploaded within your account
: Finally, you can upload an image by yourself. Once uploaded, the image will be a first class citizen but it may not be automatically available on other accounts you might have. : Finally, you can upload an image by yourself. Once uploaded, the image will be a first class citizen but it may not be automatically available on other accounts you might have.
See this article See this article
[How to upload your custom image using OpenStack CLI on 3Engines Cloud](How-to-upload-your-custom-image-using-OpenStack-CLI-on-3Engines-Cloud.html.md) [How to upload your custom image using 3Engines CLI on 3Engines Cloud](How-to-upload-your-custom-image-using-3Engines-CLI-on-3Engines-Cloud.html.md)
for an example of uploading a new Debian image to the cloud. for an example of uploading a new Debian image to the cloud.

View File

@ -53,7 +53,7 @@ You need a 3Engines Cloud hosting account with access to the Horizon interface:
No. 2 **Ephemeral storage vs. persistent storage** No. 2 **Ephemeral storage vs. persistent storage**
Please see article [Ephemeral vs Persistent storage option Create New Volume on 3Engines Cloud](../datavolume/Ephemeral-vs-Persistent-storage-option-Create-New-Volume-on-3Engines-Cloud.html.md) to understand the basic difference between ephemeral and persistent types of storage in OpenStack. Please see article [Ephemeral vs Persistent storage option Create New Volume on 3Engines Cloud](../datavolume/Ephemeral-vs-Persistent-storage-option-Create-New-Volume-on-3Engines-Cloud.html.md) to understand the basic difference between ephemeral and persistent types of storage in 3Engines.
No. 3 **Instance with ephemeral storage** No. 3 **Instance with ephemeral storage**

View File

@ -1,4 +1,4 @@
How to create key pair in OpenStack Dashboard on 3Engines Cloud[🔗](#how-to-create-key-pair-in-openstack-dashboard-on-brand-name "Permalink to this headline") How to create key pair in 3Engines Dashboard on 3Engines Cloud[🔗](#how-to-create-key-pair-in-3Engines-dashboard-on-brand-name "Permalink to this headline")
=============================================================================================================================================================== ===============================================================================================================================================================
Open **Compute -> Key Pairs** Open **Compute -> Key Pairs**

View File

@ -1,4 +1,4 @@
How to create new Linux VM in OpenStack Dashboard Horizon on 3Engines Cloud[🔗](#how-to-create-new-linux-vm-in-openstack-dashboard-horizon-on-brand-name "Permalink to this headline") How to create new Linux VM in 3Engines Dashboard Horizon on 3Engines Cloud[🔗](#how-to-create-new-linux-vm-in-3Engines-dashboard-horizon-on-brand-name "Permalink to this headline")
======================================================================================================================================================================================= =======================================================================================================================================================================================
Go to **Project → Compute → Instances**. Go to **Project → Compute → Instances**.
@ -31,7 +31,7 @@ Open **“Security Groups”** After that, choose “default” and “allow\_pi
![newvm6.png](../_images/newvm6.png) ![newvm6.png](../_images/newvm6.png)
Choose or generate SSH keypair [How to create key pair in OpenStack Dashboard on 3Engines Cloud](How-to-create-key-pair-in-OpenStack-Dashboard-on-3Engines-Cloud.html.md) for your VM. Next, launch your instance by clicking on blue button. Choose or generate SSH keypair [How to create key pair in 3Engines Dashboard on 3Engines Cloud](How-to-create-key-pair-in-3Engines-Dashboard-on-3Engines-Cloud.html.md) for your VM. Next, launch your instance by clicking on blue button.
![newvm7.png](../_images/newvm7.png) ![newvm7.png](../_images/newvm7.png)

View File

@ -3,7 +3,7 @@ How to fix unresponsive console issue on 3Engines Cloud[🔗](#how-to-fix-unresp
When you create a new virtual machine, the first thing you might want to do is to have a look at the console panel and check whether the instance has booted correctly. When you create a new virtual machine, the first thing you might want to do is to have a look at the console panel and check whether the instance has booted correctly.
After opening up the console in OpenStack you might encounter this error: After opening up the console in 3Engines you might encounter this error:
* unresponsive grey screen * unresponsive grey screen
* document icon in the down-right corner which informs about the issue on client side * document icon in the down-right corner which informs about the issue on client side

View File

@ -17,8 +17,8 @@ No. 1 **Hosting**
You need a 3Engines Cloud hosting account with access to Horizon interface: <https://horizon.3Engines.com> You need a 3Engines Cloud hosting account with access to Horizon interface: <https://horizon.3Engines.com>
No. 2 **OpenStack CLI client installed and configured** No. 2 **3Engines CLI client installed and configured**
You need to have the OpenStack CLI operational. You need to have the 3Engines CLI operational.
First, it must be installed. You have several options, such as: First, it must be installed. You have several options, such as:

View File

@ -14,20 +14,20 @@ You need a 3Engines Cloud hosting account with Horizon interface <https://horizo
No. 2 **Authenticate** No. 2 **Authenticate**
Once you have installed this piece of software, you need to authenticate to start using it: [How to activate OpenStack CLI access to 3Engines Cloud cloud using one- or two-factor authentication](../accountmanagement/How-to-activate-OpenStack-CLI-access-to-3Engines-Cloud-cloud-using-one-or-two-factor-authentication.html.md) Once you have installed this piece of software, you need to authenticate to start using it: [How to activate 3Engines CLI access to 3Engines Cloud cloud using one- or two-factor authentication](../accountmanagement/How-to-activate-3Engines-CLI-access-to-3Engines-Cloud-cloud-using-one-or-two-factor-authentication.html.md)
No. 3 **OpenStackClient installed and available** No. 3 **3EnginesClient installed and available**
OpenStack is written in Python, it is recommended to use a dedicated virtual environment for the rest of this article. 3Engines is written in Python, it is recommended to use a dedicated virtual environment for the rest of this article.
Install GitBash on Windows Install GitBash on Windows
: [How to install OpenStackClient GitBash for Windows on 3Engines Cloud](../openstackcli/How-to-install-OpenStackClient-GitBash-or-Cygwin-for-Windows-on-3Engines-Cloud.html.md). : [How to install 3EnginesClient GitBash for Windows on 3Engines Cloud](../3Enginescli/How-to-install-3EnginesClient-GitBash-or-Cygwin-for-Windows-on-3Engines-Cloud.html.md).
Install and run WSL (Linux under Windows) Install and run WSL (Linux under Windows)
: [How to install OpenStackClient on Windows using Windows Subsystem for Linux on 3Engines Cloud OpenStack Hosting](../openstackcli/How-to-install-OpenStackClient-on-Windows-using-Windows-Subsystem-for-Linux-on-3Engines-Cloud-OpenStack-Hosting.html.md). : [How to install 3EnginesClient on Windows using Windows Subsystem for Linux on 3Engines Cloud 3Engines Hosting](../3Enginescli/How-to-install-3EnginesClient-on-Windows-using-Windows-Subsystem-for-Linux-on-3Engines-Cloud-3Engines-Hosting.html.md).
Install OpenStackClient on Linux Install 3EnginesClient on Linux
: [How to install OpenStackClient for Linux on 3Engines Cloud](../openstackcli/How-to-install-OpenStackClient-for-Linux-on-3Engines-Cloud.html.md). : [How to install 3EnginesClient for Linux on 3Engines Cloud](../3Enginescli/How-to-install-3EnginesClient-for-Linux-on-3Engines-Cloud.html.md).
No. 4 **jq installed and running** No. 4 **jq installed and running**
@ -46,7 +46,7 @@ Step 1 CLI Commands for Application Credentials[🔗](#step-1-cli-commands-for-a
Command Command
``` ```
openstack application credential 3Engines application credential
``` ```
@ -63,7 +63,7 @@ application credential show
To see the parameters for these commands, end them with **--help**, like this: To see the parameters for these commands, end them with **--help**, like this:
``` ```
openstack application credential create --help 3Engines application credential create --help
``` ```
@ -81,7 +81,7 @@ Step 2 The Simplest Way to Create a New Application Credential[🔗](#step-2-the
The simplest way to generate a new application credential is just to define the name the rest of the parameters will be defined automatically for you. The following command uses name **cred2**: The simplest way to generate a new application credential is just to define the name the rest of the parameters will be defined automatically for you. The following command uses name **cred2**:
``` ```
openstack application credential create cred2 3Engines application credential create cred2
``` ```
@ -109,7 +109,7 @@ _member_ magnum_user load-balancer_member heat_stack_owner creator k8s_admin
Note Note
Role **\_member\_** is the most basic role and should always be present. Beware however, as in some variations of OpenStack it can be called **member** instead of **\_member\_**. Role **\_member\_** is the most basic role and should always be present. Beware however, as in some variations of 3Engines it can be called **member** instead of **\_member\_**.
**--expiration** **--expiration**
@ -134,7 +134,7 @@ By default, for security reasons, application credentials are forbidden from bei
Here is a complete example, using all of the available parameters to create a new application credential: Here is a complete example, using all of the available parameters to create a new application credential:
``` ```
openstack application credential create foo-dev-member4 --role _member_ --expiration $(date +"%Y-11-%dT%H:%M:%S") --description "Test application credentials" --unrestricted -c id -c secret -f json | jq -r '"application_credential_id: \"" + .id + "\"", "application_credential_secret: \"" + .secret + "\""' 3Engines application credential create foo-dev-member4 --role _member_ --expiration $(date +"%Y-11-%dT%H:%M:%S") --description "Test application credentials" --unrestricted -c id -c secret -f json | jq -r '"application_credential_id: \"" + .id + "\"", "application_credential_secret: \"" + .secret + "\""'
``` ```
@ -147,7 +147,7 @@ The name of the new application credential will be **foo-dev-member4**, will be
Step 4 Enter id and secret into clouds.yml[🔗](#step-4-enter-id-and-secret-into-clouds-yml "Permalink to this headline") Step 4 Enter id and secret into clouds.yml[🔗](#step-4-enter-id-and-secret-into-clouds-yml "Permalink to this headline")
----------------------------------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------------------------------
You are now going to store the values of **id** and **secret** that the cloud has sent to you. Once stored, future **openstack** commands will use these value to authenticate to the cloud without using any kind of password. You are now going to store the values of **id** and **secret** that the cloud has sent to you. Once stored, future **3Engines** commands will use these value to authenticate to the cloud without using any kind of password.
The place to store *id* and *secret* is a file called *clouds.yml*. It may reside on your local computer in one of these three locations: The place to store *id* and *secret* is a file called *clouds.yml*. It may reside on your local computer in one of these three locations:
@ -159,14 +159,14 @@ Current directory
The current directory is searched first. The current directory is searched first.
User configuration directory User configuration directory
: **$HOME/.config/openstack/clouds.yml** : **$HOME/.config/3Engines/clouds.yml**
The most common default location for individual users. The most common default location for individual users.
Searched after the current directory. Searched after the current directory.
System-wide configuration directory System-wide configuration directory
: **/etc/openstack/clouds.yml** : **/etc/3Engines/clouds.yml**
Searches that location as the last resort. Searches that location as the last resort.
@ -181,7 +181,7 @@ The contents of the *clouds.yml* file will be in *yaml* format. It is customary
Let us create a new application credential called *trial-member\_creatornew*. Let us create a new application credential called *trial-member\_creatornew*.
``` ```
openstack application credential create trial-member_creatornew --unrestricted -c id -c secret -f json | jq -r '"application_credential_id: \"" + .id + "\"", "application_credential_secret: \"" + .secret + "\""' 3Engines application credential create trial-member_creatornew --unrestricted -c id -c secret -f json | jq -r '"application_credential_id: \"" + .id + "\"", "application_credential_secret: \"" + .secret + "\""'
``` ```
@ -192,7 +192,7 @@ This is the result:
Now create the *clouds.yml* file using your preferred editor of choice. Here it is *nano*: Now create the *clouds.yml* file using your preferred editor of choice. Here it is *nano*:
``` ```
nano $HOME/.config/openstack/clouds.yml nano $HOME/.config/3Engines/clouds.yml
``` ```
@ -217,7 +217,7 @@ Let us dissect that file line by line:
> * **trial-member\_creatornew** is the name of the application credential used in the previous *credential create* command. > * **trial-member\_creatornew** is the name of the application credential used in the previous *credential create* command.
> * **v3applicationcredential** is the type of auth connection (it is always the same) > * **v3applicationcredential** is the type of auth connection (it is always the same)
> * **auth** start of *auth* parameters > * **auth** start of *auth* parameters
> * **auth\_url** the address to call on the 3Engines Cloud OpenStack server (it always the same) > * **auth\_url** the address to call on the 3Engines Cloud 3Engines server (it always the same)
> * **application\_credential\_id** the value from the previous call of *credential create* command > * **application\_credential\_id** the value from the previous call of *credential create* command
> * **credential create** command the value from the previous call of *credential create* command > * **credential create** command the value from the previous call of *credential create* command
@ -254,7 +254,7 @@ It works.
You can also use that parameter in the command line, like this: You can also use that parameter in the command line, like this:
``` ```
openstack --os-cloud=trial-member_creatornew flavor list 3Engines --os-cloud=trial-member_creatornew flavor list
``` ```
@ -262,7 +262,7 @@ It works as well:
![cli_os_cloud.png](../_images/cli_os_cloud.png) ![cli_os_cloud.png](../_images/cli_os_cloud.png)
You have to set up **OS\_CLOUD** once per opening a new terminal window and then you can use **openstack** command without interpolating **--os-cloud** parameter all the time. You have to set up **OS\_CLOUD** once per opening a new terminal window and then you can use **3Engines** command without interpolating **--os-cloud** parameter all the time.
If you had two or more clouds defined in the *clouds.yml* file, then using **--os-cloud** in the command line would be more flexible. If you had two or more clouds defined in the *clouds.yml* file, then using **--os-cloud** in the command line would be more flexible.
@ -301,6 +301,6 @@ Here are some articles that use application credentials:
[How to install Rancher RKE2 Kubernetes on 3Engines Cloud](../kubernetes/How-to-install-Rancher-RKE2-Kubernetes-on-3Engines-Cloud-cloud.html.md) [How to install Rancher RKE2 Kubernetes on 3Engines Cloud](../kubernetes/How-to-install-Rancher-RKE2-Kubernetes-on-3Engines-Cloud-cloud.html.md)
[Configuring IP Whitelisting for OpenStack Load Balancer using Terraform on 3Engines Cloud](../kubernetes/Configuring-IP-Whitelisting-for-OpenStack-Load-Balancer-using-Terraform-on-3Engines-Cloud.html.md) [Configuring IP Whitelisting for 3Engines Load Balancer using Terraform on 3Engines Cloud](../kubernetes/Configuring-IP-Whitelisting-for-3Engines-Load-Balancer-using-Terraform-on-3Engines-Cloud.html.md)
[OpenStack User Roles on 3Engines Cloud](OpenStack-user-roles-on-3Engines-Cloud.html.md) [3Engines User Roles on 3Engines Cloud](3Engines-user-roles-on-3Engines-Cloud.html.md)

View File

@ -32,7 +32,7 @@ a) Volume Snapshot[🔗](#a-volume-snapshot "Permalink to this headline")
![snap7.png](../_images/snap7.png) ![snap7.png](../_images/snap7.png)
8. The rest of procedure is the same: [How to create new Linux VM in OpenStack Dashboard Horizon on 3Engines Cloud](How-to-create-new-Linux-VM-in-OpenStack-Dashboard-Horizon-on-3Engines-Cloud.html.md). 8. The rest of procedure is the same: [How to create new Linux VM in 3Engines Dashboard Horizon on 3Engines Cloud](How-to-create-new-Linux-VM-in-3Engines-Dashboard-Horizon-on-3Engines-Cloud.html.md).
9. Newly created machine is visible in the Instances list. 9. Newly created machine is visible in the Instances list.
@ -66,7 +66,7 @@ In the “Images” you may also find symbolic links to the volume snapshots.(i.
![snap5.png](../_images/snap5.png) ![snap5.png](../_images/snap5.png)
6. The rest of procedure is the same: [How to create new Linux VM in OpenStack Dashboard Horizon on 3Engines Cloud](How-to-create-new-Linux-VM-in-OpenStack-Dashboard-Horizon-on-3Engines-Cloud.html.md). 6. The rest of procedure is the same: [How to create new Linux VM in 3Engines Dashboard Horizon on 3Engines Cloud](How-to-create-new-Linux-VM-in-3Engines-Dashboard-Horizon-on-3Engines-Cloud.html.md).
7. Virtual machine has been created. 7. Virtual machine has been created.

View File

@ -12,7 +12,7 @@ You need a 3Engines Cloud hosting account with access to the Horizon interface:
No. 2 **Ephemeral storage vs. persistent storage** No. 2 **Ephemeral storage vs. persistent storage**
Please see article [Ephemeral vs Persistent storage option Create New Volume on 3Engines Cloud](../datavolume/Ephemeral-vs-Persistent-storage-option-Create-New-Volume-on-3Engines-Cloud.html.md) to understand the basic difference between ephemeral and persistent types of storage in OpenStack. Please see article [Ephemeral vs Persistent storage option Create New Volume on 3Engines Cloud](../datavolume/Ephemeral-vs-Persistent-storage-option-Create-New-Volume-on-3Engines-Cloud.html.md) to understand the basic difference between ephemeral and persistent types of storage in 3Engines.
No. 3 **Instance snapshot** No. 3 **Instance snapshot**

View File

@ -1,7 +1,7 @@
How to transfer volumes between domains and projects using Horizon dashboard on 3Engines Cloud[🔗](#how-to-transfer-volumes-between-domains-and-projects-using-horizon-dashboard-on-brand-name "Permalink to this headline") How to transfer volumes between domains and projects using Horizon dashboard on 3Engines Cloud[🔗](#how-to-transfer-volumes-between-domains-and-projects-using-horizon-dashboard-on-brand-name "Permalink to this headline")
============================================================================================================================================================================================================================= =============================================================================================================================================================================================================================
Volumes in OpenStack can be used to store data. They are visible to virtual machines like drives. Volumes in 3Engines can be used to store data. They are visible to virtual machines like drives.
Such a volume is usually available to just the project in which it was created. Transferring data stored on it between projects might take a long time, especially if such a volume contains lots of data, like, say, hundreds or thousands of gigabytes (or even more). Such a volume is usually available to just the project in which it was created. Transferring data stored on it between projects might take a long time, especially if such a volume contains lots of data, like, say, hundreds or thousands of gigabytes (or even more).
@ -33,7 +33,7 @@ You can check the status of your volume in the **Volumes -> Volumes** section of
![transfer-volume-between-projects-horizon-32_creodias.png](../_images/transfer-volume-between-projects-horizon-32_creodias.png) ![transfer-volume-between-projects-horizon-32_creodias.png](../_images/transfer-volume-between-projects-horizon-32_creodias.png)
The following article includes information how to disconnect a volume from a virtual machine: [How to move data volume between two VMs using OpenStack Horizon on 3Engines Cloud](../datavolume/How-to-move-data-volume-between-two-VMs-using-OpenStack-Horizon-on-3Engines-Cloud.html.md) The following article includes information how to disconnect a volume from a virtual machine: [How to move data volume between two VMs using 3Engines Horizon on 3Engines Cloud](../datavolume/How-to-move-data-volume-between-two-VMs-using-3Engines-Horizon-on-3Engines-Cloud.html.md)
No. 4 **Ability to perform operations on both the source project and the destination project** No. 4 **Ability to perform operations on both the source project and the destination project**
@ -141,6 +141,6 @@ After cancelling, your volume should now once again have status **Available**:
What To Do Next[🔗](#what-to-do-next "Permalink to this headline") What To Do Next[🔗](#what-to-do-next "Permalink to this headline")
----------------------------------------------------------------- -----------------------------------------------------------------
Now that the volume has been transferred, you might want to connect it to a virtual machine. This article includes information how to do that: [How to move data volume between two VMs using OpenStack Horizon on 3Engines Cloud](../datavolume/How-to-move-data-volume-between-two-VMs-using-OpenStack-Horizon-on-3Engines-Cloud.html.md) Now that the volume has been transferred, you might want to connect it to a virtual machine. This article includes information how to do that: [How to move data volume between two VMs using 3Engines Horizon on 3Engines Cloud](../datavolume/How-to-move-data-volume-between-two-VMs-using-3Engines-Horizon-on-3Engines-Cloud.html.md)
The workflow described in this article can also be done using the OpenStack CLI. Learn more here: [How to transfer volumes between domains and projects using OpenStack CLI client on 3Engines Cloud](../openstackcli/How-to-transfer-volumes-between-domains-and-projects-using-OpenStack-CLI-client-on-3Engines-Cloud.html.md) The workflow described in this article can also be done using the 3Engines CLI. Learn more here: [How to transfer volumes between domains and projects using 3Engines CLI client on 3Engines Cloud](../3Enginescli/How-to-transfer-volumes-between-domains-and-projects-using-3Engines-CLI-client-on-3Engines-Cloud.html.md)

View File

@ -1,4 +1,4 @@
How to upload custom image to 3Engines Cloud cloud using OpenStack Horizon dashboard[🔗](#how-to-upload-custom-image-to-brand-name-cloud-using-openstack-horizon-dashboard "Permalink to this headline") How to upload custom image to 3Engines Cloud cloud using 3Engines Horizon dashboard[🔗](#how-to-upload-custom-image-to-brand-name-cloud-using-3Engines-horizon-dashboard "Permalink to this headline")
========================================================================================================================================================================================================= =========================================================================================================================================================================================================
In this tutorial, you will upload custom image stored on your local computer to 3Engines Cloud cloud, using the Horizon Dashboard. The uploaded image will be available within your project alongside default images from 3Engines Cloud cloud and you will be able to create virtual machines using it. In this tutorial, you will upload custom image stored on your local computer to 3Engines Cloud cloud, using the Horizon Dashboard. The uploaded image will be available within your project alongside default images from 3Engines Cloud cloud and you will be able to create virtual machines using it.
@ -35,7 +35,7 @@ The following container formats are supported:
> | aki | ami | ari | bare | > | aki | ami | ari | bare |
> | docker | ova | ovf | | > | docker | ova | ovf | |
For the explanation of these formats, see article [What Image Formats are Available in OpenStack 3Engines Cloud cloud](What-Image-Formats-are-available-in-OpenStack-3Engines-Cloud-Cloud.html.md). For the explanation of these formats, see article [What Image Formats are Available in 3Engines 3Engines Cloud cloud](What-Image-Formats-are-available-in-3Engines-3Engines-Cloud-Cloud.html.md).
No. 3 **Uploaded public SSH key** No. 3 **Uploaded public SSH key**

View File

@ -1,12 +1,12 @@
How to upload your custom image using OpenStack CLI on 3Engines Cloud[🔗](#how-to-upload-your-custom-image-using-openstack-cli-on-brand-name "Permalink to this headline") How to upload your custom image using 3Engines CLI on 3Engines Cloud[🔗](#how-to-upload-your-custom-image-using-3Engines-cli-on-brand-name "Permalink to this headline")
=========================================================================================================================================================================== ===========================================================================================================================================================================
In this tutorial, you will upload custom image stored on your local computer to 3Engines Cloud cloud, using the OpenStack CLI client. The uploaded image will be available within your project alongside default images from 3Engines Cloud cloud and you will be able to create virtual machines using it. In this tutorial, you will upload custom image stored on your local computer to 3Engines Cloud cloud, using the 3Engines CLI client. The uploaded image will be available within your project alongside default images from 3Engines Cloud cloud and you will be able to create virtual machines using it.
What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline") What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline")
--------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------
> * How to check for the presence of the image in your OpenStack cloud > * How to check for the presence of the image in your 3Engines cloud
> * How different images might behave > * How different images might behave
> * How to upload the image using only CLI commands > * How to upload the image using only CLI commands
> * Example: how to upload image for Debian 11 > * Example: how to upload image for Debian 11
@ -19,9 +19,9 @@ No. 1 **Account**
You need a 3Engines Cloud hosting account with access to the Horizon interface: <https://horizon.3Engines.com>. You need a 3Engines Cloud hosting account with access to the Horizon interface: <https://horizon.3Engines.com>.
No. 2 **OpenStack CLI configured** No. 2 **3Engines CLI configured**
You need to have the OpenStack CLI client configured and operational. See [How to install OpenStackClient for Linux on 3Engines Cloud](../openstackcli/How-to-install-OpenStackClient-for-Linux-on-3Engines-Cloud.html.md). You can test whether your OpenStack CLI is properly activated by executing the **openstack server list** command mentioned in the end of that article - it should return the list of your virtual machines. You need to have the 3Engines CLI client configured and operational. See [How to install 3EnginesClient for Linux on 3Engines Cloud](../3Enginescli/How-to-install-3EnginesClient-for-Linux-on-3Engines-Cloud.html.md). You can test whether your 3Engines CLI is properly activated by executing the **3Engines server list** command mentioned in the end of that article - it should return the list of your virtual machines.
No. 3 **Custom image you wish to upload** No. 3 **Custom image you wish to upload**
@ -39,7 +39,7 @@ The following container formats are supported:
> | aki | ami | ari | bare | > | aki | ami | ari | bare |
> | docker | ova | ovf | | > | docker | ova | ovf | |
For the explanation of these formats, see article [What Image Formats are Available in OpenStack 3Engines Cloud cloud](What-Image-Formats-are-available-in-OpenStack-3Engines-Cloud-Cloud.html.md). For the explanation of these formats, see article [What Image Formats are Available in 3Engines 3Engines Cloud cloud](What-Image-Formats-are-available-in-3Engines-3Engines-Cloud-Cloud.html.md).
No. 4 **Uploaded public SSH key** No. 4 **Uploaded public SSH key**

View File

@ -1,7 +1,7 @@
How to use Security Groups in Horizon on 3Engines Cloud[🔗](#how-to-use-security-groups-in-horizon-on-brand-name "Permalink to this headline") How to use Security Groups in Horizon on 3Engines Cloud[🔗](#how-to-use-security-groups-in-horizon-on-brand-name "Permalink to this headline")
=============================================================================================================================================== ===============================================================================================================================================
Security groups in **OpenStack** are used to filter the Internet traffic coming **to** and **from** your virtual machines. They consist of security rules and can be attached to your virtual machines during and after the creation of the machines. Security groups in **3Engines** are used to filter the Internet traffic coming **to** and **from** your virtual machines. They consist of security rules and can be attached to your virtual machines during and after the creation of the machines.
By default, each instance has a rule which blocks all incoming Internet traffic and allows all outgoing traffic. To modify those settings, you can apply other security groups to it. By default, each instance has a rule which blocks all incoming Internet traffic and allows all outgoing traffic. To modify those settings, you can apply other security groups to it.

View File

@ -1,10 +1,10 @@
Resizing a virtual machine using OpenStack Horizon on 3Engines Cloud[🔗](#resizing-a-virtual-machine-using-openstack-horizon-on-brand-name "Permalink to this headline") Resizing a virtual machine using 3Engines Horizon on 3Engines Cloud[🔗](#resizing-a-virtual-machine-using-3Engines-horizon-on-brand-name "Permalink to this headline")
========================================================================================================================================================================= =========================================================================================================================================================================
Introduction[🔗](#introduction "Permalink to this headline") Introduction[🔗](#introduction "Permalink to this headline")
----------------------------------------------------------- -----------------------------------------------------------
When creating a new virtual machine under OpenStack, one of the options you choose is the *flavor*. A flavor is a predefined combination of CPU, memory and disk size and there usually is a number of such flavors for you to choose from. When creating a new virtual machine under 3Engines, one of the options you choose is the *flavor*. A flavor is a predefined combination of CPU, memory and disk size and there usually is a number of such flavors for you to choose from.
After the instance is spawned, it is possible to change one flavor for another, and that process is called *resizing*. You might want to resize an already existing VM in order to: After the instance is spawned, it is possible to change one flavor for another, and that process is called *resizing*. You might want to resize an already existing VM in order to:
@ -14,7 +14,7 @@ After the instance is spawned, it is possible to change one flavor for another,
> * seamlessly transition from testing to production environment, > * seamlessly transition from testing to production environment,
> * change application workload byt scaling the VM up or down. > * change application workload byt scaling the VM up or down.
In this article, we are going to resize VMs using commands in OpenStack Horizon. In this article, we are going to resize VMs using commands in 3Engines Horizon.
Prerequisites[🔗](#prerequisites "Permalink to this headline") Prerequisites[🔗](#prerequisites "Permalink to this headline")
------------------------------------------------------------- -------------------------------------------------------------
@ -39,7 +39,7 @@ Also:
> * The VM you want to resize is in an active or shut down state. > * The VM you want to resize is in an active or shut down state.
> * A flavor with the desired resource configuration exists. > * A flavor with the desired resource configuration exists.
> * Adequate resources are available in your OpenStack environment to accommodate the resize. > * Adequate resources are available in your 3Engines environment to accommodate the resize.
Creating a new VM[🔗](#creating-a-new-vm "Permalink to this headline") Creating a new VM[🔗](#creating-a-new-vm "Permalink to this headline")
--------------------------------------------------------------------- ---------------------------------------------------------------------
@ -131,4 +131,4 @@ In this case, the sizes of the disk before and after the resizing do not match.
What To Do Next[🔗](#what-to-do-next "Permalink to this headline") What To Do Next[🔗](#what-to-do-next "Permalink to this headline")
----------------------------------------------------------------- -----------------------------------------------------------------
You can also resize the virtual machine using only OpenStack CLI. More details here: [Resizing a virtual machine using OpenStack CLI on 3Engines Cloud](../openstackcli/Resizing-a-virtual-machine-using-OpenStack-CLI-on-3Engines-Cloud.html.md) You can also resize the virtual machine using only 3Engines CLI. More details here: [Resizing a virtual machine using 3Engines CLI on 3Engines Cloud](../3Enginescli/Resizing-a-virtual-machine-using-3Engines-CLI-on-3Engines-Cloud.html.md)

View File

@ -27,6 +27,6 @@ No. 3 **Using quotas and flavors**
For quotas, see this article: [Dashboard Overview Project Quotas And Flavors Limits on 3Engines Cloud](Dashboard-Overview-Project-Quotas-And-Flavors-Limits-on-3Engines-Cloud.html.md) For quotas, see this article: [Dashboard Overview Project Quotas And Flavors Limits on 3Engines Cloud](Dashboard-Overview-Project-Quotas-And-Flavors-Limits-on-3Engines-Cloud.html.md)
No. 3 **OpenStack CLI client** No. 3 **3Engines CLI client**
If you want to interact with 3Engines Cloud cloud using OpenStack CLI client, you need to have it installed. Check one of these articles: If you want to interact with 3Engines Cloud cloud using 3Engines CLI client, you need to have it installed. Check one of these articles:

View File

@ -1,7 +1,7 @@
Status Power State and dependencies in billing of instance VMs on 3Engines Cloud[🔗](#status-power-state-and-dependencies-in-billing-of-instance-vms-on-brand-name "Permalink to this headline") Status Power State and dependencies in billing of instance VMs on 3Engines Cloud[🔗](#status-power-state-and-dependencies-in-billing-of-instance-vms-on-brand-name "Permalink to this headline")
================================================================================================================================================================================================= =================================================================================================================================================================================================
In OpenStack, instances have their own Status and Power State: In 3Engines, instances have their own Status and Power State:
> * **Status** informs about the present condition of the VM, while > * **Status** informs about the present condition of the VM, while
> * **Power** states tell us only whether virtual machines are running or not. > * **Power** states tell us only whether virtual machines are running or not.

View File

@ -1,15 +1,15 @@
What Image Formats are Available in OpenStack 3Engines Cloud cloud[🔗](#what-image-formats-are-available-in-openstack-brand-name-cloud "Permalink to this headline") What Image Formats are Available in 3Engines 3Engines Cloud cloud[🔗](#what-image-formats-are-available-in-3Engines-brand-name-cloud "Permalink to this headline")
===================================================================================================================================================================== =====================================================================================================================================================================
In 3Engines Cloud OpenStack ten image format extensions are available: In 3Engines Cloud 3Engines ten image format extensions are available:
**QCOW2** - Formatted Virtual Machine Storage is a storage format for virtual machine disk images. QCOW stands for “QEMU copy on write”. It is used with the KVM hypervisor. The images are typically smaller than RAW images, so it is often faster to convert a raw image to qcow2 for uploading instead of uploading the raw file directly. Because raw images do not support snapshots, OpenStack Compute will automatically convert raw image files to qcow2 as needed. **QCOW2** - Formatted Virtual Machine Storage is a storage format for virtual machine disk images. QCOW stands for “QEMU copy on write”. It is used with the KVM hypervisor. The images are typically smaller than RAW images, so it is often faster to convert a raw image to qcow2 for uploading instead of uploading the raw file directly. Because raw images do not support snapshots, 3Engines Compute will automatically convert raw image files to qcow2 as needed.
**RAW** - The RAW storage is the simplest one, and is natively supported by both KVM and Xen hypervisors. RAW image could be considered as the bit-equivalent of a block device file. It has a performance advantage over QCOW2 in that no formatting is applied to virtual machine disk images stored in the RAW format. No additional work from hosts is required in Virtual machine data operations on disk images stored in this format. **RAW** - The RAW storage is the simplest one, and is natively supported by both KVM and Xen hypervisors. RAW image could be considered as the bit-equivalent of a block device file. It has a performance advantage over QCOW2 in that no formatting is applied to virtual machine disk images stored in the RAW format. No additional work from hosts is required in Virtual machine data operations on disk images stored in this format.
**ISO** - The ISO format is a disk image formatted with the read-only ISO 9660 filesystem which is used for CDs and DVDs. While ISO is not frequently considered as a virtual machine image format, because of ISOs contain bootable filesystems with an installed operating system, it can be treated like other virtual machine image files. **ISO** - The ISO format is a disk image formatted with the read-only ISO 9660 filesystem which is used for CDs and DVDs. While ISO is not frequently considered as a virtual machine image format, because of ISOs contain bootable filesystems with an installed operating system, it can be treated like other virtual machine image files.
**VDI** - Virtual Disk Image format used by VirtualBox for image files. None of the OpenStack Compute hypervisors supports VDI directly, so it will be needed to convert these files to a different format to use them. **VDI** - Virtual Disk Image format used by VirtualBox for image files. None of the 3Engines Compute hypervisors supports VDI directly, so it will be needed to convert these files to a different format to use them.
**VHD** - Virtual Hard Disk format for images, widely used by Microsoft (e.g. Hyper-V, Microsoft Virtual PC). **VHD** - Virtual Hard Disk format for images, widely used by Microsoft (e.g. Hyper-V, Microsoft Virtual PC).

View File

@ -1,9 +1,9 @@
What is an OpenStack domain on 3Engines Cloud[🔗](#what-is-an-openstack-domain-on-brand-name "Permalink to this headline") What is an 3Engines domain on 3Engines Cloud[🔗](#what-is-an-3Engines-domain-on-brand-name "Permalink to this headline")
=========================================================================================================================== ===========================================================================================================================
**Domain** **Domain**
Intention of providing a domain in cloud environment is to define boundaries for management. OpenStack domain is a type of a container for projects, users and groups. Intention of providing a domain in cloud environment is to define boundaries for management. 3Engines domain is a type of a container for projects, users and groups.
One crucial benefit is separating overlapping resource names for different domains. One crucial benefit is separating overlapping resource names for different domains.
Furthermore, permissions in the project and domain are two not related things, hereby customization for administrator is made up much easier. Furthermore, permissions in the project and domain are two not related things, hereby customization for administrator is made up much easier.
@ -17,10 +17,10 @@ You cannot create a new domain.
**Service relation** **Service relation**
3Engines Cloud account is linked to your main account in particular domain, hence it allows you to login to the OpenStack dashboard without any need to deliver keystone credentials. 3Engines Cloud account is linked to your main account in particular domain, hence it allows you to login to the 3Engines dashboard without any need to deliver keystone credentials.
This type of facility is due to a proper implementation of KeyCloak and KeyStone relation. This type of facility is due to a proper implementation of KeyCloak and KeyStone relation.
**Docs** **Docs**
Click here if you want to see official [OpenStack documentation for domains](https://docs.openstack.org/security-guide/identity/domains.html.md). Click here if you want to see official [3Engines documentation for domains](https://docs.3Engines.org/security-guide/identity/domains.html.md).

View File

@ -1,22 +1,22 @@
What is an OpenStack project on 3Engines Cloud[🔗](#what-is-an-openstack-project-on-brand-name "Permalink to this headline") What is an 3Engines project on 3Engines Cloud[🔗](#what-is-an-3Engines-project-on-brand-name "Permalink to this headline")
============================================================================================================================= =============================================================================================================================
A **project** is a isolated group of zero or more users who share common access with specific privileges to the software instance in OpenStack. A project is created for each set of instances and networks that are configured as a discrete entity for the project. In Compute, a project owns virtual machines (in Compute) or containers (in Object Storage). A **project** is a isolated group of zero or more users who share common access with specific privileges to the software instance in 3Engines. A project is created for each set of instances and networks that are configured as a discrete entity for the project. In Compute, a project owns virtual machines (in Compute) or containers (in Object Storage).
You can imagine that the whole OpenStack cloud is a big cake of resources (vCPU, disks, instances, etc…) and projects are the pieces of this cake served to the customers. You can imagine that the whole 3Engines cloud is a big cake of resources (vCPU, disks, instances, etc…) and projects are the pieces of this cake served to the customers.
Current project name is **visible** in the Horizon panel. Current project name is **visible** in the Horizon panel.
![project1.png](../_images/project1.png) ![project1.png](../_images/project1.png)
Projects are created, managed, and edited at the OpenStack **Projects** screen. Projects are created, managed, and edited at the 3Engines **Projects** screen.
![project2.png](../_images/project2.png) ![project2.png](../_images/project2.png)
Users can be associated with more than one project, but once signed, they can only see and access the resources available in that project. Users can be associated with more than one project, but once signed, they can only see and access the resources available in that project.
Each project and user pairing can have a role associated with it. Each project and user pairing can have a role associated with it.
OpenStack users can create projects, and create new accounts using the OpenStack Dashboard. They can also associate other users with roles, projects, or both. 3Engines users can create projects, and create new accounts using the 3Engines Dashboard. They can also associate other users with roles, projects, or both.
To remove project its mandatory to manually remove all of its resources first. To remove project its mandatory to manually remove all of its resources first.

View File

@ -3,36 +3,36 @@
## Available Documentation ## Available Documentation
* [Dashboard Overview Project Quotas And Flavors Limits on 3Engines Cloud](Dashboard-Overview-Project-Quotas-And-Flavors-Limits-on-3Engines-Cloud.html.md) * [Dashboard Overview Project Quotas And Flavors Limits on 3Engines Cloud](Dashboard-Overview-Project-Quotas-And-Flavors-Limits-on-3Engines-Cloud.html.md)
* [How to access the VM from OpenStack console on 3Engines Cloud](How-to-access-the-VM-from-OpenStack-console-on-3Engines-Cloud.html.md) * [How to access the VM from 3Engines console on 3Engines Cloud](How-to-access-the-VM-from-3Engines-console-on-3Engines-Cloud.html.md)
* [How to clone existing and configured VMs on 3Engines Cloud](How-to-clone-existing-and-configured-VMs-on-3Engines-Cloud.html.md) * [How to clone existing and configured VMs on 3Engines Cloud](How-to-clone-existing-and-configured-VMs-on-3Engines-Cloud.html.md)
* [How to fix unresponsive console issue on 3Engines Cloud](How-to-fix-unresponsive-console-issue-on-3Engines-Cloud.html.md) * [How to fix unresponsive console issue on 3Engines Cloud](How-to-fix-unresponsive-console-issue-on-3Engines-Cloud.html.md)
* [How to generate and manage EC2 credentials on 3Engines Cloud](How-to-generate-ec2-credentials-on-3Engines-Cloud.html.md) * [How to generate and manage EC2 credentials on 3Engines Cloud](How-to-generate-ec2-credentials-on-3Engines-Cloud.html.md)
* [How to generate or use Application Credentials via CLI on 3Engines Cloud](How-to-generate-or-use-Application-Credentials-via-CLI-on-3Engines-Cloud.html.md) * [How to generate or use Application Credentials via CLI on 3Engines Cloud](How-to-generate-or-use-Application-Credentials-via-CLI-on-3Engines-Cloud.html.md)
* [How to Use GUI in Linux VM on 3Engines Cloud and access it From Local Linux Computer](How-to-use-GUI-in-Linux-VM-on-3Engines-Cloud-and-access-it-from-local-Linux-computer.html.md) * [How to Use GUI in Linux VM on 3Engines Cloud and access it From Local Linux Computer](How-to-use-GUI-in-Linux-VM-on-3Engines-Cloud-and-access-it-from-local-Linux-computer.html.md)
* [How To Create a New Linux VM With NVIDIA Virtual GPU in the OpenStack Dashboard Horizon on 3Engines Cloud](How-To-Create-a-New-Linux-VM-With-NVIDIA-Virtual-GPU-in-the-OpenStack-Dashboard-Horizon-on-3Engines-Cloud.html.md) * [How To Create a New Linux VM With NVIDIA Virtual GPU in the 3Engines Dashboard Horizon on 3Engines Cloud](How-To-Create-a-New-Linux-VM-With-NVIDIA-Virtual-GPU-in-the-3Engines-Dashboard-Horizon-on-3Engines-Cloud.html.md)
* [How to install and use Docker on Ubuntu 24.04](How-to-use-Docker-on-3Engines-Cloud.html.md) * [How to install and use Docker on Ubuntu 24.04](How-to-use-Docker-on-3Engines-Cloud.html.md)
* [How to use Security Groups in Horizon on 3Engines Cloud](How-to-use-Security-Groups-in-Horizon-on-3Engines-Cloud.html.md) * [How to use Security Groups in Horizon on 3Engines Cloud](How-to-use-Security-Groups-in-Horizon-on-3Engines-Cloud.html.md)
* [How to create key pair in OpenStack Dashboard on 3Engines Cloud](How-to-create-key-pair-in-OpenStack-Dashboard-on-3Engines-Cloud.html.md) * [How to create key pair in 3Engines Dashboard on 3Engines Cloud](How-to-create-key-pair-in-3Engines-Dashboard-on-3Engines-Cloud.html.md)
* [How to create new Linux VM in OpenStack Dashboard Horizon on 3Engines Cloud](How-to-create-new-Linux-VM-in-OpenStack-Dashboard-Horizon-on-3Engines-Cloud.html.md) * [How to create new Linux VM in 3Engines Dashboard Horizon on 3Engines Cloud](How-to-create-new-Linux-VM-in-3Engines-Dashboard-Horizon-on-3Engines-Cloud.html.md)
* [How to install Python virtualenv or virtualenvwrapper on 3Engines Cloud](How-to-install-Python-virtualenv-or-virtualenvwrapper-on-3Engines-Cloud.html.md) * [How to install Python virtualenv or virtualenvwrapper on 3Engines Cloud](How-to-install-Python-virtualenv-or-virtualenvwrapper-on-3Engines-Cloud.html.md)
* [How to start a VM from a snapshot on 3Engines Cloud](How-to-start-a-VM-from-a-snapshot-on-3Engines-Cloud.html.md) * [How to start a VM from a snapshot on 3Engines Cloud](How-to-start-a-VM-from-a-snapshot-on-3Engines-Cloud.html.md)
* [Status Power State and dependencies in billing of instance VMs on 3Engines Cloud](Status-Power-State-and-dependences-in-billing-of-instances-VMs-on-3Engines-Cloud.html.md) * [Status Power State and dependencies in billing of instance VMs on 3Engines Cloud](Status-Power-State-and-dependences-in-billing-of-instances-VMs-on-3Engines-Cloud.html.md)
* [How to upload your custom image using OpenStack CLI on 3Engines Cloud](How-to-upload-your-custom-image-using-OpenStack-CLI-on-3Engines-Cloud.html.md) * [How to upload your custom image using 3Engines CLI on 3Engines Cloud](How-to-upload-your-custom-image-using-3Engines-CLI-on-3Engines-Cloud.html.md)
* [VM created with option Create New Volume No on 3Engines Cloud](VM-created-with-option-Create-New-Volume-No-on-3Engines-Cloud.html.md) * [VM created with option Create New Volume No on 3Engines Cloud](VM-created-with-option-Create-New-Volume-No-on-3Engines-Cloud.html.md)
* [VM created with option Create New Volume Yes on 3Engines Cloud](VM-created-with-option-Create-New-Volume-Yes-on-3Engines-Cloud.html.md) * [VM created with option Create New Volume Yes on 3Engines Cloud](VM-created-with-option-Create-New-Volume-Yes-on-3Engines-Cloud.html.md)
* [What is an OpenStack domain on 3Engines Cloud](What-is-an-OpenStack-domain-on-3Engines-Cloud.html.md) * [What is an 3Engines domain on 3Engines Cloud](What-is-an-3Engines-domain-on-3Engines-Cloud.html.md)
* [What is an OpenStack project on 3Engines Cloud](What-is-an-OpenStack-project-on-3Engines-Cloud.html.md) * [What is an 3Engines project on 3Engines Cloud](What-is-an-3Engines-project-on-3Engines-Cloud.html.md)
* [How to create a Linux VM and access it from Windows desktop on 3Engines Cloud](How-to-create-a-Linux-VM-and-access-it-from-Windows-desktop-on-3Engines-Cloud.html.md) * [How to create a Linux VM and access it from Windows desktop on 3Engines Cloud](How-to-create-a-Linux-VM-and-access-it-from-Windows-desktop-on-3Engines-Cloud.html.md)
* [How to create a Linux VM and access it from Linux command line on 3Engines Cloud](How-to-create-a-Linux-VM-and-access-it-from-Linux-command-line-on-3Engines-Cloud.html.md) * [How to create a Linux VM and access it from Linux command line on 3Engines Cloud](How-to-create-a-Linux-VM-and-access-it-from-Linux-command-line-on-3Engines-Cloud.html.md)
* [DNS as a Service on 3Engines Cloud Hosting](DNS-as-a-Service-on-3Engines-Cloud-Hosting.html.md) * [DNS as a Service on 3Engines Cloud Hosting](DNS-as-a-Service-on-3Engines-Cloud-Hosting.html.md)
* [What Image Formats are Available in OpenStack 3Engines Cloud cloud](What-Image-Formats-are-available-in-OpenStack-3Engines-Cloud-Cloud.html.md) * [What Image Formats are Available in 3Engines 3Engines Cloud cloud](What-Image-Formats-are-available-in-3Engines-3Engines-Cloud-Cloud.html.md)
* [How to upload custom image to 3Engines Cloud cloud using OpenStack Horizon dashboard](How-to-upload-custom-image-to-3Engines-Cloud-cloud-using-OpenStack-Horizon-dashboard.html.md) * [How to upload custom image to 3Engines Cloud cloud using 3Engines Horizon dashboard](How-to-upload-custom-image-to-3Engines-Cloud-cloud-using-3Engines-Horizon-dashboard.html.md)
* [How to create Windows VM on OpenStack Horizon and access it via web console on 3Engines Cloud](How-to-create-Windows-VM-on-OpenStack-Horizon-and-access-it-via-web-console-on-3Engines-Cloud.html.md) * [How to create Windows VM on 3Engines Horizon and access it via web console on 3Engines Cloud](How-to-create-Windows-VM-on-3Engines-Horizon-and-access-it-via-web-console-on-3Engines-Cloud.html.md)
* [How to transfer volumes between domains and projects using Horizon dashboard on 3Engines Cloud](How-to-transfer-volumes-between-domains-and-projects-using-Horizon-dashboard-on-3Engines-Cloud.html.md) * [How to transfer volumes between domains and projects using Horizon dashboard on 3Engines Cloud](How-to-transfer-volumes-between-domains-and-projects-using-Horizon-dashboard-on-3Engines-Cloud.html.md)
* [Spot instances on 3Engines Cloud](Spot-instances-on-3Engines-Cloud.html.md) * [Spot instances on 3Engines Cloud](Spot-instances-on-3Engines-Cloud.html.md)
* [How to create instance snapshot using Horizon on 3Engines Cloud](How-to-create-instance-snapshot-using-Horizon-on-3Engines-Cloud.html.md) * [How to create instance snapshot using Horizon on 3Engines Cloud](How-to-create-instance-snapshot-using-Horizon-on-3Engines-Cloud.html.md)
* [How to start a VM from instance snapshot using Horizon dashboard on 3Engines Cloud](How-to-start-a-VM-from-instance-snapshot-using-Horizon-dashboard-on-3Engines-Cloud.html.md) * [How to start a VM from instance snapshot using Horizon dashboard on 3Engines Cloud](How-to-start-a-VM-from-instance-snapshot-using-Horizon-dashboard-on-3Engines-Cloud.html.md)
* [How to create a VM using the OpenStack CLI client on 3Engines Cloud cloud](How-to-create-a-VM-using-the-OpenStack-CLI-client-on-3Engines-Cloud-cloud.html.md) * [How to create a VM using the 3Engines CLI client on 3Engines Cloud cloud](How-to-create-a-VM-using-the-3Engines-CLI-client-on-3Engines-Cloud-cloud.html.md)
* [OpenStack User Roles on 3Engines Cloud](OpenStack-user-roles-on-3Engines-Cloud.html.md) * [3Engines User Roles on 3Engines Cloud](3Engines-user-roles-on-3Engines-Cloud.html.md)
* [Resizing a virtual machine using OpenStack Horizon on 3Engines Cloud](Resizing-a-virtual-machine-using-OpenStack-Horizon-on-3Engines-Cloud.html.md) * [Resizing a virtual machine using 3Engines Horizon on 3Engines Cloud](Resizing-a-virtual-machine-using-3Engines-Horizon-on-3Engines-Cloud.html.md)
* [Block storage and object storage performance limits on 3Engines Cloud](Block-storage-and-object-storage-performance-limits-on-3Engines-Cloud.html.md) * [Block storage and object storage performance limits on 3Engines Cloud](Block-storage-and-object-storage-performance-limits-on-3Engines-Cloud.html.md)

View File

@ -6,7 +6,7 @@ Each volume has an indicator called **bootable** which shows whether an operatin
In this article we will In this article we will
> * explain practical differences between **bootable** and **non-bootable** volumes and > * explain practical differences between **bootable** and **non-bootable** volumes and
> * provide procedures in Horizon and OpenStack CLI to check whether the volume **bootable** or not. > * provide procedures in Horizon and 3Engines CLI to check whether the volume **bootable** or not.
Bootable vs. non-bootable volumes[🔗](#bootable-vs-non-bootable-volumes "Permalink to this headline") Bootable vs. non-bootable volumes[🔗](#bootable-vs-non-bootable-volumes "Permalink to this headline")
---------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------
@ -30,7 +30,7 @@ What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this
--------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------
> * Which volumes appear when creating a virtual machine using Horizon dashboard? > * Which volumes appear when creating a virtual machine using Horizon dashboard?
> * Attempting to create a virtual machine from non-bootable volume using OpenStack CLI > * Attempting to create a virtual machine from non-bootable volume using 3Engines CLI
> * Checking whether a volume is bootable > * Checking whether a volume is bootable
> * Checking whether a volume snapshot was created from a bootable volume > * Checking whether a volume snapshot was created from a bootable volume
> * Modifying bootable status of a volume > * Modifying bootable status of a volume
@ -43,6 +43,6 @@ No. 1 **Account**
You need a 3Engines Cloud hosting account with access to the Horizon interface: <https://horizon.3Engines.com>. You need a 3Engines Cloud hosting account with access to the Horizon interface: <https://horizon.3Engines.com>.
No. 2 **OpenStack CLI client operational** No. 2 **3Engines CLI client operational**
We assume you are familiar with OpenStack CLI client. If not, here are some articles to get you started: We assume you are familiar with 3Engines CLI client. If not, here are some articles to get you started:

View File

@ -7,4 +7,4 @@ If you follow the instructions in this article: [VM created with option Create N
If you do not need persistent storage, use *ephemeral* storage. It cannot be reattached to a different machine and will be removed if the machine is removed. See the article [VM created with option Create New Volume No on 3Engines Cloud](../cloud/VM-created-with-option-Create-New-Volume-No-on-3Engines-Cloud.html.md) on how to create a virtual machine with this type of storage. If you do not need persistent storage, use *ephemeral* storage. It cannot be reattached to a different machine and will be removed if the machine is removed. See the article [VM created with option Create New Volume No on 3Engines Cloud](../cloud/VM-created-with-option-Create-New-Volume-No-on-3Engines-Cloud.html.md) on how to create a virtual machine with this type of storage.
You may find more information regarding this topic in [the official OpenStack documentation on design storage concepts](https://docs.openstack.org/arch-design/design-storage/design-storage-concepts.html.md). You may find more information regarding this topic in [the official 3Engines documentation on design storage concepts](https://docs.3Engines.org/arch-design/design-storage/design-storage-concepts.html.md).

View File

@ -19,7 +19,7 @@ You need a 3Engines Cloud hosting account with Horizon interface <https://horizo
No. 2 **Windows VM** No. 2 **Windows VM**
You must operate a Microsoft Windows virtual machine running on 3Engines Cloud cloud. You can access it using the webconsole ([How to access the VM from OpenStack console on 3Engines Cloud](../cloud/How-to-access-the-VM-from-OpenStack-console-on-3Engines-Cloud.html.md)) or through RDP. If you are using RDP, we strongly recommend using a bastion host for your security: [Connecting to a Windows VM via RDP through a Linux bastion host port forwarding on 3Engines Cloud](../windows/Connecting-to-a-Windows-VM-via-RDP-through-a-Linux-bastion-host-port-forwarding-on-3Engines-Cloud.html.md). You must operate a Microsoft Windows virtual machine running on 3Engines Cloud cloud. You can access it using the webconsole ([How to access the VM from 3Engines console on 3Engines Cloud](../cloud/How-to-access-the-VM-from-3Engines-console-on-3Engines-Cloud.html.md)) or through RDP. If you are using RDP, we strongly recommend using a bastion host for your security: [Connecting to a Windows VM via RDP through a Linux bastion host port forwarding on 3Engines Cloud](../windows/Connecting-to-a-Windows-VM-via-RDP-through-a-Linux-bastion-host-port-forwarding-on-3Engines-Cloud.html.md).
Step 1: Create a New Volume[🔗](#step-1-create-a-new-volume "Permalink to this headline") Step 1: Create a New Volume[🔗](#step-1-create-a-new-volume "Permalink to this headline")
---------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------

View File

@ -22,7 +22,7 @@ You need a 3Engines Cloud hosting account with access to the Horizon interface:
No. 2 **Windows VM** No. 2 **Windows VM**
You must operate a Microsoft Windows virtual machine running on 3Engines Cloud cloud. You can access it using the webconsole ([How to access the VM from OpenStack console on 3Engines Cloud](../cloud/How-to-access-the-VM-from-OpenStack-console-on-3Engines-Cloud.html.md)) or through RDP. If you are using RDP, we strongly recommend using a bastion host for your security: [Connecting to a Windows VM via RDP through a Linux bastion host port forwarding on 3Engines Cloud](../windows/Connecting-to-a-Windows-VM-via-RDP-through-a-Linux-bastion-host-port-forwarding-on-3Engines-Cloud.html.md). You must operate a Microsoft Windows virtual machine running on 3Engines Cloud cloud. You can access it using the webconsole ([How to access the VM from 3Engines console on 3Engines Cloud](../cloud/How-to-access-the-VM-from-3Engines-console-on-3Engines-Cloud.html.md)) or through RDP. If you are using RDP, we strongly recommend using a bastion host for your security: [Connecting to a Windows VM via RDP through a Linux bastion host port forwarding on 3Engines Cloud](../windows/Connecting-to-a-Windows-VM-via-RDP-through-a-Linux-bastion-host-port-forwarding-on-3Engines-Cloud.html.md).
No. 3 **Volume** No. 3 **Volume**

View File

@ -1,7 +1,7 @@
How to create or delete volume snapshot on 3Engines Cloud[🔗](#how-to-create-or-delete-volume-snapshot-on-brand-name "Permalink to this headline") How to create or delete volume snapshot on 3Engines Cloud[🔗](#how-to-create-or-delete-volume-snapshot-on-brand-name "Permalink to this headline")
=================================================================================================================================================== ===================================================================================================================================================
Volume snapshot allows you to save the state of volume at a specific point in time. Here is how to create or delete volume snapshot using Horizon dashboard or OpenStack CLI client. Volume snapshot allows you to save the state of volume at a specific point in time. Here is how to create or delete volume snapshot using Horizon dashboard or 3Engines CLI client.
Prerequisites[🔗](#prerequisites "Permalink to this headline") Prerequisites[🔗](#prerequisites "Permalink to this headline")
------------------------------------------------------------- -------------------------------------------------------------

View File

@ -18,7 +18,7 @@ The Access Key and Secret Key for access to an s3 account are also called the
[How to generate and manage EC2 credentials on 3Engines Cloud](../cloud/How-to-generate-ec2-credentials-on-3Engines-Cloud.html.md) [How to generate and manage EC2 credentials on 3Engines Cloud](../cloud/How-to-generate-ec2-credentials-on-3Engines-Cloud.html.md)
At this point, you should have access to the cloud environment, using the OpenStack CLI client. It means that the command **openstack** is operational. At this point, you should have access to the cloud environment, using the 3Engines CLI client. It means that the command **3Engines** is operational.
Check your credentials and save them in a file[🔗](#check-your-credentials-and-save-them-in-a-file "Permalink to this headline") Check your credentials and save them in a file[🔗](#check-your-credentials-and-save-them-in-a-file "Permalink to this headline")
------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------
@ -26,7 +26,7 @@ Check your credentials and save them in a file[🔗](#check-your-credentials-and
Check your credentials with the following command: Check your credentials with the following command:
``` ```
openstack ec2 credentials list 3Engines ec2 credentials list
``` ```

View File

@ -1,4 +1,4 @@
How to move data volume between two VMs using OpenStack Horizon on 3Engines Cloud[🔗](#how-to-move-data-volume-between-two-vms-using-openstack-horizon-on-brand-name "Permalink to this headline") How to move data volume between two VMs using 3Engines Horizon on 3Engines Cloud[🔗](#how-to-move-data-volume-between-two-vms-using-3Engines-horizon-on-brand-name "Permalink to this headline")
=================================================================================================================================================================================================== ===================================================================================================================================================================================================
Volumes are used to store data and those data can be accessed from a virtual machine to which the volume is attached. To access data stored on a volume from another virtual machine, you need to disconnect that volume from virtual machine to which it is currently connected, and connect it to another instance. Volumes are used to store data and those data can be accessed from a virtual machine to which the volume is attached. To access data stored on a volume from another virtual machine, you need to disconnect that volume from virtual machine to which it is currently connected, and connect it to another instance.

View File

@ -1,7 +1,7 @@
How to restore volume from snapshot on 3Engines Cloud[🔗](#how-to-restore-volume-from-snapshot-on-brand-name "Permalink to this headline") How to restore volume from snapshot on 3Engines Cloud[🔗](#how-to-restore-volume-from-snapshot-on-brand-name "Permalink to this headline")
=========================================================================================================================================== ===========================================================================================================================================
In this article, you will learn how to restore volume from volume snapshot using Horizon dashboard or OpenStack CLI client. In this article, you will learn how to restore volume from volume snapshot using Horizon dashboard or 3Engines CLI client.
This can be achieved by creating a new volume from existing snapshot. You can then delete the previous snapshot and, optionally, previous volume. This can be achieved by creating a new volume from existing snapshot. You can then delete the previous snapshot and, optionally, previous volume.
@ -16,6 +16,6 @@ No. 2 **A volume snapshot**
You need to have a volume snapshot which you want to restore. You need to have a volume snapshot which you want to restore.
No. 3 **OpenStack CLI client** No. 3 **3Engines CLI client**
If you want to interact with 3Engines Cloud cloud using the OpenStack CLI client, you need to have it installed. Check one of these articles: If you want to interact with 3Engines Cloud cloud using the 3Engines CLI client, you need to have it installed. Check one of these articles:

View File

@ -13,7 +13,7 @@ Next we create an “SA” snapshot from the “VA” volume.
![volsnap2.png](../_images/volsnap2.png) ![volsnap2.png](../_images/volsnap2.png)
From the OpenStack dashboard we can create new volumes “Volume B” and “Volume C” based on the previously created snapshot “Snapshot A”. From the 3Engines dashboard we can create new volumes “Volume B” and “Volume C” based on the previously created snapshot “Snapshot A”.
![volsnap3.png](../_images/volsnap3.png) ![volsnap3.png](../_images/volsnap3.png)
@ -33,4 +33,4 @@ To delete a volume from which snapshots volumes were created, we must also delet
In conclusion, when creating new volumes from a snapshot, remember about inheritance. Snapshot “Snapshot A” is a parent for the volumes (children) “Volume B” and “Volume C” and if we want to delete the volume “Volume A”, we have to do it from the youngest generation (Volume B and Volume C). In conclusion, when creating new volumes from a snapshot, remember about inheritance. Snapshot “Snapshot A” is a parent for the volumes (children) “Volume B” and “Volume C” and if we want to delete the volume “Volume A”, we have to do it from the youngest generation (Volume B and Volume C).
Backups are another solution and they do not create such bonds as snapshots and may exist even after the volume from which the backup was created has been deleted. Please see [How to Backup an Instance and Download it to the Desktop on 3Engines Cloud OpenStack Hosting](../openstackcli/How-to-backup-an-instance-and-download-it-to-the-desktop-on-3Engines-Cloud.html.md). Backups are another solution and they do not create such bonds as snapshots and may exist even after the volume from which the backup was created has been deleted. Please see [How to Backup an Instance and Download it to the Desktop on 3Engines Cloud 3Engines Hosting](../3Enginescli/How-to-backup-an-instance-and-download-it-to-the-desktop-on-3Engines-Cloud.html.md).

View File

@ -9,7 +9,7 @@
* [How to export a volume over NFS outside of a project on 3Engines Cloud](How-to-export-a-volume-over-NFS-outside-of-a-project-on-3Engines-Cloud.html.md) * [How to export a volume over NFS outside of a project on 3Engines Cloud](How-to-export-a-volume-over-NFS-outside-of-a-project-on-3Engines-Cloud.html.md)
* [How to extend the volume in Linux on 3Engines Cloud](How-to-extend-the-volume-in-Linux-on-3Engines-Cloud.html.md) * [How to extend the volume in Linux on 3Engines Cloud](How-to-extend-the-volume-in-Linux-on-3Engines-Cloud.html.md)
* [How to mount object storage in Linux on 3Engines Cloud](How-to-mount-object-storage-in-Linux-on-3Engines-Cloud.html.md) * [How to mount object storage in Linux on 3Engines Cloud](How-to-mount-object-storage-in-Linux-on-3Engines-Cloud.html.md)
* [How to move data volume between two VMs using OpenStack Horizon on 3Engines Cloud](How-to-move-data-volume-between-two-VMs-using-OpenStack-Horizon-on-3Engines-Cloud.html.md) * [How to move data volume between two VMs using 3Engines Horizon on 3Engines Cloud](How-to-move-data-volume-between-two-VMs-using-3Engines-Horizon-on-3Engines-Cloud.html.md)
* [How many objects can I put into Object Storage container bucket on 3Engines Cloud](How-many-objects-can-I-put-into-Object-Storage-container-bucket-on-3Engines-Cloud.html.md) * [How many objects can I put into Object Storage container bucket on 3Engines Cloud](How-many-objects-can-I-put-into-Object-Storage-container-bucket-on-3Engines-Cloud.html.md)
* [How to create volume Snapshot and attach as Volume on Linux or Windows on 3Engines Cloud](How-to-create-volume-Snapshot-and-attach-as-Volume-on-Linux-or-Windows-on-3Engines-Cloud.html.md) * [How to create volume Snapshot and attach as Volume on Linux or Windows on 3Engines Cloud](How-to-create-volume-Snapshot-and-attach-as-Volume-on-Linux-or-Windows-on-3Engines-Cloud.html.md)
* [Volume snapshot inheritance and its consequences on 3Engines Cloud](Volume-snapshot-inheritance-and-its-consequences-on-3Engines-Cloud.html.md) * [Volume snapshot inheritance and its consequences on 3Engines Cloud](Volume-snapshot-inheritance-and-its-consequences-on-3Engines-Cloud.html.md)

View File

@ -58,7 +58,7 @@ Were committed to ensuring your success on 3Engines Cloud! 🌟
- [How to start using dashboard services on 3Engines Cloud](accountmanagement/How-to-start-using-dashboard-services-on-3Engines-Cloud.html.md) - [How to start using dashboard services on 3Engines Cloud](accountmanagement/How-to-start-using-dashboard-services-on-3Engines-Cloud.html.md)
- [Two-Factor Authentication to 3Engines Cloud site using mobile application](accountmanagement/Two-Factor-Authentication-for-3Engines-Cloud-Site.html.md) - [Two-Factor Authentication to 3Engines Cloud site using mobile application](accountmanagement/Two-Factor-Authentication-for-3Engines-Cloud-Site.html.md)
- [Two-Factor Authentication to 3Engines Cloud site using KeePassXC on desktop](accountmanagement/Using-KeePassXC-for-Two-Factor-Authentication-on-3Engines-Cloud.html.md) - [Two-Factor Authentication to 3Engines Cloud site using KeePassXC on desktop](accountmanagement/Using-KeePassXC-for-Two-Factor-Authentication-on-3Engines-Cloud.html.md)
- [How to activate OpenStack CLI access to 3Engines Cloud cloud using one- or two-factor authentication](accountmanagement/How-to-activate-OpenStack-CLI-access-to-3Engines-Cloud-cloud-using-one-or-two-factor-authentication.html.md) - [How to activate 3Engines CLI access to 3Engines Cloud cloud using one- or two-factor authentication](accountmanagement/How-to-activate-3Engines-CLI-access-to-3Engines-Cloud-cloud-using-one-or-two-factor-authentication.html.md)
- [How to manage TOTP authentication on 3Engines Cloud](accountmanagement/How-to-manage-TOTP-authentication-on-3Engines-Cloud.html.md) - [How to manage TOTP authentication on 3Engines Cloud](accountmanagement/How-to-manage-TOTP-authentication-on-3Engines-Cloud.html.md)
- [Adding and editing Organization](accountmanagement/Adding-Editing-Organizations.html.md) - [Adding and editing Organization](accountmanagement/Adding-Editing-Organizations.html.md)
- [How to buy credits using Pay Per Use wallet on 3Engines Cloud](accountmanagement/How-to-buy-credits-using-pay-per-use-wallet-on-3Engines-Cloud.html.md) - [How to buy credits using Pay Per Use wallet on 3Engines Cloud](accountmanagement/How-to-buy-credits-using-pay-per-use-wallet-on-3Engines-Cloud.html.md)
@ -76,38 +76,38 @@ Were committed to ensuring your success on 3Engines Cloud! 🌟
## CLOUD ☁️ ## CLOUD ☁️
- [Dashboard Overview Project Quotas And Flavors Limits on 3Engines Cloud](cloud/Dashboard-Overview-Project-Quotas-And-Flavors-Limits-on-3Engines-Cloud.html.md) - [Dashboard Overview Project Quotas And Flavors Limits on 3Engines Cloud](cloud/Dashboard-Overview-Project-Quotas-And-Flavors-Limits-on-3Engines-Cloud.html.md)
- [How to access the VM from OpenStack console on 3Engines Cloud](cloud/How-to-access-the-VM-from-OpenStack-console-on-3Engines-Cloud.html.md) - [How to access the VM from 3Engines console on 3Engines Cloud](cloud/How-to-access-the-VM-from-3Engines-console-on-3Engines-Cloud.html.md)
- [How to clone existing and configured VMs on 3Engines Cloud](cloud/How-to-clone-existing-and-configured-VMs-on-3Engines-Cloud.html.md) - [How to clone existing and configured VMs on 3Engines Cloud](cloud/How-to-clone-existing-and-configured-VMs-on-3Engines-Cloud.html.md)
- [How to fix unresponsive console issue on 3Engines Cloud](cloud/How-to-fix-unresponsive-console-issue-on-3Engines-Cloud.html.md) - [How to fix unresponsive console issue on 3Engines Cloud](cloud/How-to-fix-unresponsive-console-issue-on-3Engines-Cloud.html.md)
- [How to generate and manage EC2 credentials on 3Engines Cloud](cloud/How-to-generate-ec2-credentials-on-3Engines-Cloud.html.md) - [How to generate and manage EC2 credentials on 3Engines Cloud](cloud/How-to-generate-ec2-credentials-on-3Engines-Cloud.html.md)
- [How to generate or use Application Credentials via CLI on 3Engines Cloud](cloud/How-to-generate-or-use-Application-Credentials-via-CLI-on-3Engines-Cloud.html.md) - [How to generate or use Application Credentials via CLI on 3Engines Cloud](cloud/How-to-generate-or-use-Application-Credentials-via-CLI-on-3Engines-Cloud.html.md)
- [How to Use GUI in Linux VM on 3Engines Cloud and access it From Local Linux Computer](cloud/How-to-use-GUI-in-Linux-VM-on-3Engines-Cloud-and-access-it-from-local-Linux-computer.html.md) - [How to Use GUI in Linux VM on 3Engines Cloud and access it From Local Linux Computer](cloud/How-to-use-GUI-in-Linux-VM-on-3Engines-Cloud-and-access-it-from-local-Linux-computer.html.md)
- [How To Create a New Linux VM With NVIDIA Virtual GPU in the OpenStack Dashboard Horizon on 3Engines Cloud](cloud/How-To-Create-a-New-Linux-VM-With-NVIDIA-Virtual-GPU-in-the-OpenStack-Dashboard-Horizon-on-3Engines-Cloud.html.md) - [How To Create a New Linux VM With NVIDIA Virtual GPU in the 3Engines Dashboard Horizon on 3Engines Cloud](cloud/How-To-Create-a-New-Linux-VM-With-NVIDIA-Virtual-GPU-in-the-3Engines-Dashboard-Horizon-on-3Engines-Cloud.html.md)
- [How to install and use Docker on Ubuntu 24.04](cloud/How-to-use-Docker-on-3Engines-Cloud.html.md) - [How to install and use Docker on Ubuntu 24.04](cloud/How-to-use-Docker-on-3Engines-Cloud.html.md)
- [How to use Security Groups in Horizon on 3Engines Cloud](cloud/How-to-use-Security-Groups-in-Horizon-on-3Engines-Cloud.html.md) - [How to use Security Groups in Horizon on 3Engines Cloud](cloud/How-to-use-Security-Groups-in-Horizon-on-3Engines-Cloud.html.md)
- [How to create key pair in OpenStack Dashboard on 3Engines Cloud](cloud/How-to-create-key-pair-in-OpenStack-Dashboard-on-3Engines-Cloud.html.md) - [How to create key pair in 3Engines Dashboard on 3Engines Cloud](cloud/How-to-create-key-pair-in-3Engines-Dashboard-on-3Engines-Cloud.html.md)
- [How to create new Linux VM in OpenStack Dashboard Horizon on 3Engines Cloud](cloud/How-to-create-new-Linux-VM-in-OpenStack-Dashboard-Horizon-on-3Engines-Cloud.html.md) - [How to create new Linux VM in 3Engines Dashboard Horizon on 3Engines Cloud](cloud/How-to-create-new-Linux-VM-in-3Engines-Dashboard-Horizon-on-3Engines-Cloud.html.md)
- [How to install Python virtualenv or virtualenvwrapper on 3Engines Cloud](cloud/How-to-install-Python-virtualenv-or-virtualenvwrapper-on-3Engines-Cloud.html.md) - [How to install Python virtualenv or virtualenvwrapper on 3Engines Cloud](cloud/How-to-install-Python-virtualenv-or-virtualenvwrapper-on-3Engines-Cloud.html.md)
- [How to start a VM from a snapshot on 3Engines Cloud](cloud/How-to-start-a-VM-from-a-snapshot-on-3Engines-Cloud.html.md) - [How to start a VM from a snapshot on 3Engines Cloud](cloud/How-to-start-a-VM-from-a-snapshot-on-3Engines-Cloud.html.md)
- [Status Power State and dependencies in billing of instance VMs on 3Engines Cloud](cloud/Status-Power-State-and-dependences-in-billing-of-instances-VMs-on-3Engines-Cloud.html.md) - [Status Power State and dependencies in billing of instance VMs on 3Engines Cloud](cloud/Status-Power-State-and-dependences-in-billing-of-instances-VMs-on-3Engines-Cloud.html.md)
- [How to upload your custom image using OpenStack CLI on 3Engines Cloud](cloud/How-to-upload-your-custom-image-using-OpenStack-CLI-on-3Engines-Cloud.html.md) - [How to upload your custom image using 3Engines CLI on 3Engines Cloud](cloud/How-to-upload-your-custom-image-using-3Engines-CLI-on-3Engines-Cloud.html.md)
- [VM created with option Create New Volume No on 3Engines Cloud](cloud/VM-created-with-option-Create-New-Volume-No-on-3Engines-Cloud.html.md) - [VM created with option Create New Volume No on 3Engines Cloud](cloud/VM-created-with-option-Create-New-Volume-No-on-3Engines-Cloud.html.md)
- [VM created with option Create New Volume Yes on 3Engines Cloud](cloud/VM-created-with-option-Create-New-Volume-Yes-on-3Engines-Cloud.html.md) - [VM created with option Create New Volume Yes on 3Engines Cloud](cloud/VM-created-with-option-Create-New-Volume-Yes-on-3Engines-Cloud.html.md)
- [What is an OpenStack domain on 3Engines Cloud](cloud/What-is-an-OpenStack-domain-on-3Engines-Cloud.html.md) - [What is an 3Engines domain on 3Engines Cloud](cloud/What-is-an-3Engines-domain-on-3Engines-Cloud.html.md)
- [What is an OpenStack project on 3Engines Cloud](cloud/What-is-an-OpenStack-project-on-3Engines-Cloud.html.md) - [What is an 3Engines project on 3Engines Cloud](cloud/What-is-an-3Engines-project-on-3Engines-Cloud.html.md)
- [How to create a Linux VM and access it from Windows desktop on 3Engines Cloud](cloud/How-to-create-a-Linux-VM-and-access-it-from-Windows-desktop-on-3Engines-Cloud.html.md) - [How to create a Linux VM and access it from Windows desktop on 3Engines Cloud](cloud/How-to-create-a-Linux-VM-and-access-it-from-Windows-desktop-on-3Engines-Cloud.html.md)
- [How to create a Linux VM and access it from Linux command line on 3Engines Cloud](cloud/How-to-create-a-Linux-VM-and-access-it-from-Linux-command-line-on-3Engines-Cloud.html.md) - [How to create a Linux VM and access it from Linux command line on 3Engines Cloud](cloud/How-to-create-a-Linux-VM-and-access-it-from-Linux-command-line-on-3Engines-Cloud.html.md)
- [DNS as a Service on 3Engines Cloud Hosting](cloud/DNS-as-a-Service-on-3Engines-Cloud-Hosting.html.md) - [DNS as a Service on 3Engines Cloud Hosting](cloud/DNS-as-a-Service-on-3Engines-Cloud-Hosting.html.md)
- [What Image Formats are Available in OpenStack 3Engines Cloud cloud](cloud/What-Image-Formats-are-available-in-OpenStack-3Engines-Cloud-Cloud.html.md) - [What Image Formats are Available in 3Engines 3Engines Cloud cloud](cloud/What-Image-Formats-are-available-in-3Engines-3Engines-Cloud-Cloud.html.md)
- [How to upload custom image to 3Engines Cloud cloud using OpenStack Horizon dashboard](cloud/How-to-upload-custom-image-to-3Engines-Cloud-cloud-using-OpenStack-Horizon-dashboard.html.md) - [How to upload custom image to 3Engines Cloud cloud using 3Engines Horizon dashboard](cloud/How-to-upload-custom-image-to-3Engines-Cloud-cloud-using-3Engines-Horizon-dashboard.html.md)
- [How to create Windows VM on OpenStack Horizon and access it via web console on 3Engines Cloud](cloud/How-to-create-Windows-VM-on-OpenStack-Horizon-and-access-it-via-web-console-on-3Engines-Cloud.html.md) - [How to create Windows VM on 3Engines Horizon and access it via web console on 3Engines Cloud](cloud/How-to-create-Windows-VM-on-3Engines-Horizon-and-access-it-via-web-console-on-3Engines-Cloud.html.md)
- [How to transfer volumes between domains and projects using Horizon dashboard on 3Engines Cloud](cloud/How-to-transfer-volumes-between-domains-and-projects-using-Horizon-dashboard-on-3Engines-Cloud.html.md) - [How to transfer volumes between domains and projects using Horizon dashboard on 3Engines Cloud](cloud/How-to-transfer-volumes-between-domains-and-projects-using-Horizon-dashboard-on-3Engines-Cloud.html.md)
- [Spot instances on 3Engines Cloud](cloud/Spot-instances-on-3Engines-Cloud.html.md) - [Spot instances on 3Engines Cloud](cloud/Spot-instances-on-3Engines-Cloud.html.md)
- [How to create instance snapshot using Horizon on 3Engines Cloud](cloud/How-to-create-instance-snapshot-using-Horizon-on-3Engines-Cloud.html.md) - [How to create instance snapshot using Horizon on 3Engines Cloud](cloud/How-to-create-instance-snapshot-using-Horizon-on-3Engines-Cloud.html.md)
- [How to start a VM from instance snapshot using Horizon dashboard on 3Engines Cloud](cloud/How-to-start-a-VM-from-instance-snapshot-using-Horizon-dashboard-on-3Engines-Cloud.html.md) - [How to start a VM from instance snapshot using Horizon dashboard on 3Engines Cloud](cloud/How-to-start-a-VM-from-instance-snapshot-using-Horizon-dashboard-on-3Engines-Cloud.html.md)
- [How to create a VM using the OpenStack CLI client on 3Engines Cloud cloud](cloud/How-to-create-a-VM-using-the-OpenStack-CLI-client-on-3Engines-Cloud-cloud.html.md) - [How to create a VM using the 3Engines CLI client on 3Engines Cloud cloud](cloud/How-to-create-a-VM-using-the-3Engines-CLI-client-on-3Engines-Cloud-cloud.html.md)
- [OpenStack User Roles on 3Engines Cloud](cloud/OpenStack-user-roles-on-3Engines-Cloud.html.md) - [3Engines User Roles on 3Engines Cloud](cloud/3Engines-user-roles-on-3Engines-Cloud.html.md)
- [Resizing a virtual machine using OpenStack Horizon on 3Engines Cloud](cloud/Resizing-a-virtual-machine-using-OpenStack-Horizon-on-3Engines-Cloud.html.md) - [Resizing a virtual machine using 3Engines Horizon on 3Engines Cloud](cloud/Resizing-a-virtual-machine-using-3Engines-Horizon-on-3Engines-Cloud.html.md)
- [Block storage and object storage performance limits on 3Engines Cloud](cloud/Block-storage-and-object-storage-performance-limits-on-3Engines-Cloud.html.md) - [Block storage and object storage performance limits on 3Engines Cloud](cloud/Block-storage-and-object-storage-performance-limits-on-3Engines-Cloud.html.md)
## DATA VOLUME 💾 ## DATA VOLUME 💾
@ -118,7 +118,7 @@ Were committed to ensuring your success on 3Engines Cloud! 🌟
- [How to export a volume over NFS outside of a project on 3Engines Cloud](datavolume/How-to-export-a-volume-over-NFS-outside-of-a-project-on-3Engines-Cloud.html.md) - [How to export a volume over NFS outside of a project on 3Engines Cloud](datavolume/How-to-export-a-volume-over-NFS-outside-of-a-project-on-3Engines-Cloud.html.md)
- [How to extend the volume in Linux on 3Engines Cloud](datavolume/How-to-extend-the-volume-in-Linux-on-3Engines-Cloud.html.md) - [How to extend the volume in Linux on 3Engines Cloud](datavolume/How-to-extend-the-volume-in-Linux-on-3Engines-Cloud.html.md)
- [How to mount object storage in Linux on 3Engines Cloud](datavolume/How-to-mount-object-storage-in-Linux-on-3Engines-Cloud.html.md) - [How to mount object storage in Linux on 3Engines Cloud](datavolume/How-to-mount-object-storage-in-Linux-on-3Engines-Cloud.html.md)
- [How to move data volume between two VMs using OpenStack Horizon on 3Engines Cloud](datavolume/How-to-move-data-volume-between-two-VMs-using-OpenStack-Horizon-on-3Engines-Cloud.html.md) - [How to move data volume between two VMs using 3Engines Horizon on 3Engines Cloud](datavolume/How-to-move-data-volume-between-two-VMs-using-3Engines-Horizon-on-3Engines-Cloud.html.md)
- [How many objects can I put into Object Storage container bucket on 3Engines Cloud](datavolume/How-many-objects-can-I-put-into-Object-Storage-container-bucket-on-3Engines-Cloud.html.md) - [How many objects can I put into Object Storage container bucket on 3Engines Cloud](datavolume/How-many-objects-can-I-put-into-Object-Storage-container-bucket-on-3Engines-Cloud.html.md)
- [How to create volume Snapshot and attach as Volume on Linux or Windows on 3Engines Cloud](datavolume/How-to-create-volume-Snapshot-and-attach-as-Volume-on-Linux-or-Windows-on-3Engines-Cloud.html.md) - [How to create volume Snapshot and attach as Volume on Linux or Windows on 3Engines Cloud](datavolume/How-to-create-volume-Snapshot-and-attach-as-Volume-on-Linux-or-Windows-on-3Engines-Cloud.html.md)
- [Volume snapshot inheritance and its consequences on 3Engines Cloud](datavolume/Volume-snapshot-inheritance-and-its-consequences-on-3Engines-Cloud.html.md) - [Volume snapshot inheritance and its consequences on 3Engines Cloud](datavolume/Volume-snapshot-inheritance-and-its-consequences-on-3Engines-Cloud.html.md)
@ -140,23 +140,23 @@ Were committed to ensuring your success on 3Engines Cloud! 🌟
- [How to add SSH key from Horizon web console on 3Engines Cloud](networking/How-to-add-SSH-key-from-Horizon-web-console-on-3Engines-Cloud.html.md) - [How to add SSH key from Horizon web console on 3Engines Cloud](networking/How-to-add-SSH-key-from-Horizon-web-console-on-3Engines-Cloud.html.md)
- [How is my VM visible in the internet with no Floating IP attached on 3Engines Cloud](networking/How-is-my-VM-visible-in-the-internet-with-no-Floating-IP-attached-on-3Engines-Cloud.html.md) - [How is my VM visible in the internet with no Floating IP attached on 3Engines Cloud](networking/How-is-my-VM-visible-in-the-internet-with-no-Floating-IP-attached-on-3Engines-Cloud.html.md)
- [How to run and configure Firewall as a service and VPN as a service on 3Engines Cloud](networking/How-to-run-and-configure-Firewall-as-a-service-and-VPN-as-a-service-on-3Engines-Cloud.html.md) - [How to run and configure Firewall as a service and VPN as a service on 3Engines Cloud](networking/How-to-run-and-configure-Firewall-as-a-service-and-VPN-as-a-service-on-3Engines-Cloud.html.md)
- [How to import SSH public key to OpenStack Horizon on 3Engines Cloud](networking/How-to-Import-SSH-Public-Key-to-OpenStack-Horizon-on-3Engines-Cloud.html.md) - [How to import SSH public key to 3Engines Horizon on 3Engines Cloud](networking/How-to-Import-SSH-Public-Key-to-3Engines-Horizon-on-3Engines-Cloud.html.md)
<!-- KUBERNETES section disabled --> <!-- KUBERNETES section disabled -->
<!-- <!--
## KUBERNETES ## KUBERNETES
- [How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](kubernetes/How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md) - [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](kubernetes/How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md)
- [Default Kubernetes cluster templates in 3Engines Cloud Cloud](kubernetes/Default-Kubernetes-cluster-templates-in-3Engines-Cloud-Cloud.html.md) - [Default Kubernetes cluster templates in 3Engines Cloud Cloud](kubernetes/Default-Kubernetes-cluster-templates-in-3Engines-Cloud-Cloud.html.md)
- [How To Install OpenStack and Magnum Clients for Command Line Interface to 3Engines Cloud Horizon](kubernetes/How-To-Install-OpenStack-and-Magnum-Clients-for-Command-Line-Interface-to-3Engines-Cloud-Horizon.html.md) - [How To Install 3Engines and Magnum Clients for Command Line Interface to 3Engines Cloud Horizon](kubernetes/How-To-Install-3Engines-and-Magnum-Clients-for-Command-Line-Interface-to-3Engines-Cloud-Horizon.html.md)
- [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud OpenStack Magnum](kubernetes/How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-OpenStack-Magnum.html.md) - [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud 3Engines Magnum](kubernetes/How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-3Engines-Magnum.html.md)
- [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](kubernetes/How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md) - [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](kubernetes/How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md)
- [Using Dashboard To Access Kubernetes Cluster Post Deployment On 3Engines Cloud OpenStack Magnum](kubernetes/Using-Dashboard-To-Access-Kubernetes-Cluster-Post-Deployment-On-3Engines-Cloud-OpenStack-Magnum.html.md) - [Using Dashboard To Access Kubernetes Cluster Post Deployment On 3Engines Cloud 3Engines Magnum](kubernetes/Using-Dashboard-To-Access-Kubernetes-Cluster-Post-Deployment-On-3Engines-Cloud-3Engines-Magnum.html.md)
- [How To Create API Server LoadBalancer for Kubernetes Cluster on 3Engines Cloud OpenStack Magnum](kubernetes/How-To-Create-API-Server-LoadBalancer-for-Kubernetes-Cluster-On-3Engines-Cloud-OpenStack-Magnum.html.md) - [How To Create API Server LoadBalancer for Kubernetes Cluster on 3Engines Cloud 3Engines Magnum](kubernetes/How-To-Create-API-Server-LoadBalancer-for-Kubernetes-Cluster-On-3Engines-Cloud-3Engines-Magnum.html.md)
- [Creating Additional Nodegroups in Kubernetes Cluster on 3Engines Cloud OpenStack Magnum](kubernetes/Creating-Additional-Nodegroups-in-Kubernetes-Cluster-on-3Engines-Cloud-OpenStack-Magnum.html.md) - [Creating Additional Nodegroups in Kubernetes Cluster on 3Engines Cloud 3Engines Magnum](kubernetes/Creating-Additional-Nodegroups-in-Kubernetes-Cluster-on-3Engines-Cloud-3Engines-Magnum.html.md)
- [Autoscaling Kubernetes Cluster Resources on 3Engines Cloud OpenStack Magnum](kubernetes/Autoscaling-Kubernetes-Cluster-Resources-on-3Engines-Cloud-OpenStack-Magnum.html.md) - [Autoscaling Kubernetes Cluster Resources on 3Engines Cloud 3Engines Magnum](kubernetes/Autoscaling-Kubernetes-Cluster-Resources-on-3Engines-Cloud-3Engines-Magnum.html.md)
- [Volume-based vs Ephemeral-based Storage for Kubernetes Clusters on 3Engines Cloud OpenStack Magnum](kubernetes/Volume-based-vs-Ephemeral-based-Storage-for-Kubernetes-Clusters-on-3Engines-Cloud-OpenStack-Magnum.html.md) - [Volume-based vs Ephemeral-based Storage for Kubernetes Clusters on 3Engines Cloud 3Engines Magnum](kubernetes/Volume-based-vs-Ephemeral-based-Storage-for-Kubernetes-Clusters-on-3Engines-Cloud-3Engines-Magnum.html.md)
- [Backup of Kubernetes Cluster using Velero](kubernetes/Backup-of-Kubernetes-Cluster-using-Velero.html.md) - [Backup of Kubernetes Cluster using Velero](kubernetes/Backup-of-Kubernetes-Cluster-using-Velero.html.md)
- [Using Kubernetes Ingress on 3Engines Cloud OpenStack Magnum](kubernetes/Using-Kubernetes-Ingress-on-3Engines-Cloud-OpenStack-Magnum.html.md) - [Using Kubernetes Ingress on 3Engines Cloud 3Engines Magnum](kubernetes/Using-Kubernetes-Ingress-on-3Engines-Cloud-3Engines-Magnum.html.md)
- [Deploying Helm Charts on Magnum Kubernetes Clusters on 3Engines Cloud Cloud](kubernetes/Deploying-Helm-Charts-on-Magnum-Kubernetes-Clusters-on-3Engines-Cloud-Cloud.html.md) - [Deploying Helm Charts on Magnum Kubernetes Clusters on 3Engines Cloud Cloud](kubernetes/Deploying-Helm-Charts-on-Magnum-Kubernetes-Clusters-on-3Engines-Cloud-Cloud.html.md)
- [Deploying HTTPS Services on Magnum Kubernetes in 3Engines Cloud Cloud](kubernetes/Deploying-HTTPS-Services-on-Magnum-Kubernetes-in-3Engines-Cloud-Cloud.html.md) - [Deploying HTTPS Services on Magnum Kubernetes in 3Engines Cloud Cloud](kubernetes/Deploying-HTTPS-Services-on-Magnum-Kubernetes-in-3Engines-Cloud-Cloud.html.md)
- [Installing JupyterHub on Magnum Kubernetes Cluster in 3Engines Cloud Cloud](kubernetes/Installing-JupyterHub-on-Magnum-Kubernetes-cluster-in-3Engines-Cloud-cloud.html.md) - [Installing JupyterHub on Magnum Kubernetes Cluster in 3Engines Cloud Cloud](kubernetes/Installing-JupyterHub-on-Magnum-Kubernetes-cluster-in-3Engines-Cloud-cloud.html.md)
@ -176,32 +176,32 @@ Were committed to ensuring your success on 3Engines Cloud! 🌟
- [CI/CD pipelines with GitLab on 3Engines Cloud Kubernetes - building a Docker image](kubernetes/CICD-pipelines-with-GitLab-on-3Engines-Cloud-Kubernetes-building-a-Docker-image.html.md) - [CI/CD pipelines with GitLab on 3Engines Cloud Kubernetes - building a Docker image](kubernetes/CICD-pipelines-with-GitLab-on-3Engines-Cloud-Kubernetes-building-a-Docker-image.html.md)
- [How to create Kubernetes cluster using Terraform on 3Engines Cloud](kubernetes/How-to-create-Kubernetes-cluster-using-Terraform-on-3Engines-Cloud.html.md) - [How to create Kubernetes cluster using Terraform on 3Engines Cloud](kubernetes/How-to-create-Kubernetes-cluster-using-Terraform-on-3Engines-Cloud.html.md)
- [GitOps with Argo CD on 3Engines Cloud Kubernetes](kubernetes/GitOps-with-Argo-CD-on-3Engines-Cloud-Kubernetes.html.md) - [GitOps with Argo CD on 3Engines Cloud Kubernetes](kubernetes/GitOps-with-Argo-CD-on-3Engines-Cloud-Kubernetes.html.md)
- [Configuring IP Whitelisting for OpenStack Load Balancer using Horizon and CLI on 3Engines Cloud](kubernetes/Configuring-IP-Whitelisting-for-OpenStack-Load-Balancer-using-Horizon-and-CLI-on-3Engines-Cloud.html.md) - [Configuring IP Whitelisting for 3Engines Load Balancer using Horizon and CLI on 3Engines Cloud](kubernetes/Configuring-IP-Whitelisting-for-3Engines-Load-Balancer-using-Horizon-and-CLI-on-3Engines-Cloud.html.md)
- [Configuring IP Whitelisting for OpenStack Load Balancer using Terraform on 3Engines Cloud](kubernetes/Configuring-IP-Whitelisting-for-OpenStack-Load-Balancer-using-Terraform-on-3Engines-Cloud.html.md) - [Configuring IP Whitelisting for 3Engines Load Balancer using Terraform on 3Engines Cloud](kubernetes/Configuring-IP-Whitelisting-for-3Engines-Load-Balancer-using-Terraform-on-3Engines-Cloud.html.md)
- [Implementing IP Whitelisting for Load Balancers with Security Groups on 3Engines Cloud](kubernetes/Implementing-IP-Whitelisting-for-Load-Balancers-with-Security-Groups-on-3Engines-Cloud.html.md) - [Implementing IP Whitelisting for Load Balancers with Security Groups on 3Engines Cloud](kubernetes/Implementing-IP-Whitelisting-for-Load-Balancers-with-Security-Groups-on-3Engines-Cloud.html.md)
- [How to install Rancher RKE2 Kubernetes on 3Engines Cloud](kubernetes/How-to-install-Rancher-RKE2-Kubernetes-on-3Engines-Cloud-cloud.html.md) - [How to install Rancher RKE2 Kubernetes on 3Engines Cloud](kubernetes/How-to-install-Rancher-RKE2-Kubernetes-on-3Engines-Cloud-cloud.html.md)
- [Automatic Kubernetes cluster upgrade on 3Engines Cloud OpenStack Magnum](kubernetes/Automatic-Kubernetes-cluster-upgrade-on-3Engines-Cloud-OpenStack-Magnum.html.md) - [Automatic Kubernetes cluster upgrade on 3Engines Cloud 3Engines Magnum](kubernetes/Automatic-Kubernetes-cluster-upgrade-on-3Engines-Cloud-3Engines-Magnum.html.md)
--> -->
<!-- OPENSTACK CLI section disabled --> <!-- 3Engines CLI section disabled -->
<!-- <!--
## OPENSTACK CLI ## 3Engines CLI
- [How to Backup an Instance and Download it to the Desktop on 3Engines Cloud OpenStack Hosting](openstackcli/How-to-backup-an-instance-and-download-it-to-the-desktop-on-3Engines-Cloud.html.md) - [How to Backup an Instance and Download it to the Desktop on 3Engines Cloud 3Engines Hosting](3Enginescli/How-to-backup-an-instance-and-download-it-to-the-desktop-on-3Engines-Cloud.html.md)
- [How to create a set of VMs using OpenStack Heat Orchestration on 3Engines Cloud](openstackcli/How-to-create-a-set-of-VMs-using-OpenStack-Heat-Orchestration-on-3Engines-Cloud.html.md) - [How to create a set of VMs using 3Engines Heat Orchestration on 3Engines Cloud](3Enginescli/How-to-create-a-set-of-VMs-using-3Engines-Heat-Orchestration-on-3Engines-Cloud.html.md)
- [How to Create and Configure New Openstack Project Through Horizon on 3Engines Cloud Cloud](openstackcli/How-To-Create-and-Configure-New-Project-on-3Engines-Cloud-Cloud.html.md) - [How to Create and Configure New 3Engines Project Through Horizon on 3Engines Cloud Cloud](3Enginescli/How-To-Create-and-Configure-New-Project-on-3Engines-Cloud-Cloud.html.md)
- [How to install OpenStackClient for Linux on 3Engines Cloud](openstackcli/How-to-install-OpenStackClient-for-Linux-on-3Engines-Cloud.html.md) - [How to install 3EnginesClient for Linux on 3Engines Cloud](3Enginescli/How-to-install-3EnginesClient-for-Linux-on-3Engines-Cloud.html.md)
- [How to install OpenStackClient GitBash for Windows on 3Engines Cloud](openstackcli/How-to-install-OpenStackClient-GitBash-or-Cygwin-for-Windows-on-3Engines-Cloud.html.md) - [How to install 3EnginesClient GitBash for Windows on 3Engines Cloud](3Enginescli/How-to-install-3EnginesClient-GitBash-or-Cygwin-for-Windows-on-3Engines-Cloud.html.md)
- [How to share private container from object storage to another user on 3Engines Cloud](openstackcli/How-to-share-private-container-from-object-storage-to-another-user-on-3Engines-Cloud.html.md) - [How to share private container from object storage to another user on 3Engines Cloud](3Enginescli/How-to-share-private-container-from-object-storage-to-another-user-on-3Engines-Cloud.html.md)
- [How to install OpenStackClient on Windows using Windows Subsystem for Linux on 3Engines Cloud OpenStack Hosting](openstackcli/How-to-install-OpenStackClient-on-Windows-using-Windows-Subsystem-for-Linux-on-3Engines-Cloud-OpenStack-Hosting.html.md) - [How to install 3EnginesClient on Windows using Windows Subsystem for Linux on 3Engines Cloud 3Engines Hosting](3Enginescli/How-to-install-3EnginesClient-on-Windows-using-Windows-Subsystem-for-Linux-on-3Engines-Cloud-3Engines-Hosting.html.md)
- [How to move data volume between VMs using OpenStack CLI on 3Engines Cloud](openstackcli/How-to-move-data-volume-between-two-VMs-using-OpenStack-CLI-on-3Engines-Cloud.html.md) - [How to move data volume between VMs using 3Engines CLI on 3Engines Cloud](3Enginescli/How-to-move-data-volume-between-two-VMs-using-3Engines-CLI-on-3Engines-Cloud.html.md)
- [How to access object storage using OpenStack CLI on 3Engines Cloud](openstackcli/How-to-access-object-storage-using-OpenStack-CLI-on-3Engines-Cloud.html.md) - [How to access object storage using 3Engines CLI on 3Engines Cloud](3Enginescli/How-to-access-object-storage-using-3Engines-CLI-on-3Engines-Cloud.html.md)
- [How to transfer volumes between domains and projects using OpenStack CLI client on 3Engines Cloud](openstackcli/How-to-transfer-volumes-between-domains-and-projects-using-OpenStack-CLI-client-on-3Engines-Cloud.html.md) - [How to transfer volumes between domains and projects using 3Engines CLI client on 3Engines Cloud](3Enginescli/How-to-transfer-volumes-between-domains-and-projects-using-3Engines-CLI-client-on-3Engines-Cloud.html.md)
- [How to start a VM from instance snapshot using OpenStack CLI on 3Engines Cloud](openstackcli/How-to-start-a-VM-from-instance-snapshot-using-OpenStack-CLI-on-3Engines-Cloud.html.md) - [How to start a VM from instance snapshot using 3Engines CLI on 3Engines Cloud](3Enginescli/How-to-start-a-VM-from-instance-snapshot-using-3Engines-CLI-on-3Engines-Cloud.html.md)
- [How to create instance snapshot using OpenStack CLI on 3Engines Cloud](openstackcli/How-to-create-instance-snapshot-using-OpenStack-CLI-on-3Engines-Cloud.html.md) - [How to create instance snapshot using 3Engines CLI on 3Engines Cloud](3Enginescli/How-to-create-instance-snapshot-using-3Engines-CLI-on-3Engines-Cloud.html.md)
--> -->
<!-- OPENSTACK DEVELOPMENT section disabled --> <!-- 3Engines DEVELOPMENT section disabled -->
<!-- <!--
## OPENSTACK DEVELOPMENT ## 3Engines DEVELOPMENT
- [OpenStack Development](openstackdev/openstackdev.html.md) - [3Engines Development](3Enginesdev/3Enginesdev.html.md)
--> -->

View File

@ -1,11 +1,11 @@
Automatic Kubernetes cluster upgrade on 3Engines Cloud OpenStack Magnum[🔗](#automatic-kubernetes-cluster-upgrade-on-brand-name-openstack-magnum "Permalink to this headline") Automatic Kubernetes cluster upgrade on 3Engines Cloud 3Engines Magnum[🔗](#automatic-kubernetes-cluster-upgrade-on-brand-name-3Engines-magnum "Permalink to this headline")
=============================================================================================================================================================================== ===============================================================================================================================================================================
Warning Warning
Upgradeable cluster templates are available on 3Engines Cloud WAW4-1 region only at the moment of this writing. Upgradeable cluster templates are available on 3Engines Cloud WAW4-1 region only at the moment of this writing.
OpenStack Magnum clusters created in 3Engines Cloud can be **automatically** upgraded to the next minor Kubernetes version. This feature is available for clusters starting with version 1.29 of Kubernetes. 3Engines Magnum clusters created in 3Engines Cloud can be **automatically** upgraded to the next minor Kubernetes version. This feature is available for clusters starting with version 1.29 of Kubernetes.
In this article we demonstrate an upgrade of a Magnum Kubernetes cluster from version 1.29 to version 1.30. In this article we demonstrate an upgrade of a Magnum Kubernetes cluster from version 1.29 to version 1.30.

View File

@ -1,4 +1,4 @@
Autoscaling Kubernetes Cluster Resources on 3Engines Cloud OpenStack Magnum[🔗](#autoscaling-kubernetes-cluster-resources-on-brand-name-openstack-magnum "Permalink to this headline") Autoscaling Kubernetes Cluster Resources on 3Engines Cloud 3Engines Magnum[🔗](#autoscaling-kubernetes-cluster-resources-on-brand-name-3Engines-magnum "Permalink to this headline")
======================================================================================================================================================================================= =======================================================================================================================================================================================
When **autoscaling of Kubernetes clusters** is turned on, the system can When **autoscaling of Kubernetes clusters** is turned on, the system can
@ -7,7 +7,7 @@ When **autoscaling of Kubernetes clusters** is turned on, the system can
> * Remove unneeded resources when the demand is low and thus keep the costs down. > * Remove unneeded resources when the demand is low and thus keep the costs down.
> * The whole process can be automatic, helping the administrator concentrate on more important tasks at hand. > * The whole process can be automatic, helping the administrator concentrate on more important tasks at hand.
This article explains various commands to resize or scale the cluster and will lead to a command to automatically create an autoscalable Kubernetes cluster for OpenStack Magnum. This article explains various commands to resize or scale the cluster and will lead to a command to automatically create an autoscalable Kubernetes cluster for 3Engines Magnum.
What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline") What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline")
--------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------
@ -27,19 +27,19 @@ You need a 3Engines Cloud hosting account with Horizon interface <https://horizo
No. 2 **Creating clusters with CLI** No. 2 **Creating clusters with CLI**
The article [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud OpenStack Magnum](How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-OpenStack-Magnum.html.md) will introduce you to creation of clusters using a command line interface. The article [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud 3Engines Magnum](How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-3Engines-Magnum.html.md) will introduce you to creation of clusters using a command line interface.
No. 3 **Connect openstack client to the cloud** No. 3 **Connect 3Engines client to the cloud**
Prepare **openstack** and **magnum** clients by executing *Step 2 Connect OpenStack and Magnum Clients to Horizon Cloud* from article [How To Install OpenStack and Magnum Clients for Command Line Interface to 3Engines Cloud Horizon](How-To-Install-OpenStack-and-Magnum-Clients-for-Command-Line-Interface-to-3Engines-Cloud-Horizon.html.md) Prepare **3Engines** and **magnum** clients by executing *Step 2 Connect 3Engines and Magnum Clients to Horizon Cloud* from article [How To Install 3Engines and Magnum Clients for Command Line Interface to 3Engines Cloud Horizon](How-To-Install-3Engines-and-Magnum-Clients-for-Command-Line-Interface-to-3Engines-Cloud-Horizon.html.md)
No. 4. **Resizing Nodegroups** No. 4. **Resizing Nodegroups**
Step 7 of article [Creating Additional Nodegroups in Kubernetes Cluster on 3Engines Cloud OpenStack Magnum](Creating-Additional-Nodegroups-in-Kubernetes-Cluster-on-3Engines-Cloud-OpenStack-Magnum.html.md) shows example of resizing the nodegroups for autoscaling. Step 7 of article [Creating Additional Nodegroups in Kubernetes Cluster on 3Engines Cloud 3Engines Magnum](Creating-Additional-Nodegroups-in-Kubernetes-Cluster-on-3Engines-Cloud-3Engines-Magnum.html.md) shows example of resizing the nodegroups for autoscaling.
No. 5 **Creating Clusters** No. 5 **Creating Clusters**
Step 2 of article [How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md) shows how to define master and worker nodes for autoscaling. Step 2 of article [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md) shows how to define master and worker nodes for autoscaling.
There are three different autoscaling features that a Kubernetes cloud can offer: There are three different autoscaling features that a Kubernetes cloud can offer:
@ -85,7 +85,7 @@ Autoscaling Node Groups at Run Time[🔗](#autoscaling-node-groups-at-run-time "
The autoscaler in Magnum uses Node Groups. Node groups can be used to create workers with different flavors. The default-worker node group is automatically created when cluster is provisioned. Node groups have lower and upper limits of node count. This is the command to print them out for a given cluster: The autoscaler in Magnum uses Node Groups. Node groups can be used to create workers with different flavors. The default-worker node group is automatically created when cluster is provisioned. Node groups have lower and upper limits of node count. This is the command to print them out for a given cluster:
``` ```
openstack coe nodegroup show NoLoadBalancer default-worker -f json -c max_node_count -c node_count -c min_node_count 3Engines coe nodegroup show NoLoadBalancer default-worker -f json -c max_node_count -c node_count -c min_node_count
``` ```
@ -103,7 +103,7 @@ The result would be:
This works fine until you try to resize cluster beyond the limit set in node group. If you try to resize the above cluster to 12 nodes, like this: This works fine until you try to resize cluster beyond the limit set in node group. If you try to resize the above cluster to 12 nodes, like this:
``` ```
openstack coe cluster resize NoLoadBalancer --nodegroup default-worker 12 3Engines coe cluster resize NoLoadBalancer --nodegroup default-worker 12
``` ```
@ -117,18 +117,18 @@ Resizing default-worker outside the allowed range: min_node_count = 1, max_node_
To resolve this error, change *node\_group max\_node\_count* manually: To resolve this error, change *node\_group max\_node\_count* manually:
``` ```
openstack coe nodegroup update NoLoadBalancer default-worker replace max_node_count=15 3Engines coe nodegroup update NoLoadBalancer default-worker replace max_node_count=15
``` ```
and then resize cluster to the desired value which was less that 15 in this example: and then resize cluster to the desired value which was less that 15 in this example:
openstack coe cluster resize NoLoadBalancer nodegroup default-worker 12 3Engines coe cluster resize NoLoadBalancer nodegroup default-worker 12
If you repeat the first statement: If you repeat the first statement:
``` ```
openstack coe nodegroup show NoLoadBalancer default-worker -f json -c max_node_count -c node_count -c min_node_count 3Engines coe nodegroup show NoLoadBalancer default-worker -f json -c max_node_count -c node_count -c min_node_count
``` ```
@ -149,7 +149,7 @@ How Autoscaling Detects Upper Limit[🔗](#how-autoscaling-detects-upper-limit "
The first version of Autoscaling would take the current upper limit of autoscaling in variable *node\_count* and add 1 to it. If the command to create a cluster were The first version of Autoscaling would take the current upper limit of autoscaling in variable *node\_count* and add 1 to it. If the command to create a cluster were
``` ```
openstack coe cluster create mycluster --cluster-template mytemplate --node-count 8 --master-count 3 3Engines coe cluster create mycluster --cluster-template mytemplate --node-count 8 --master-count 3
``` ```
@ -158,7 +158,7 @@ that version of Autoscaler would take the value of **9** (counting as **8 + 1**)
The current Autoscaler can support multiple node groups by detecting the role of the node group: The current Autoscaler can support multiple node groups by detecting the role of the node group:
``` ```
openstack coe nodegroup show NoLoadBalancer default-worker -f json -c role 3Engines coe nodegroup show NoLoadBalancer default-worker -f json -c role
``` ```
@ -177,7 +177,7 @@ Attention
Any additional node group must include concrete *max\_node\_count* attribute. Any additional node group must include concrete *max\_node\_count* attribute.
See Prerequisites No. 4 for detailed examples of using the **openstack coe nodegroup** family of commands. See Prerequisites No. 4 for detailed examples of using the **3Engines coe nodegroup** family of commands.
Autoscaling Labels for Clusters[🔗](#autoscaling-labels-for-clusters "Permalink to this headline") Autoscaling Labels for Clusters[🔗](#autoscaling-labels-for-clusters "Permalink to this headline")
------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------
@ -206,7 +206,7 @@ The command to create a cluster with CLI must encompass all of the usual paramet
This is what one such command could look like: This is what one such command could look like:
``` ```
openstack coe cluster create mycluster 3Engines coe cluster create mycluster
--cluster-template k8s-stable-1.23.5 --cluster-template k8s-stable-1.23.5
--keypair sshkey --keypair sshkey
--master-count 1 --master-count 1
@ -223,7 +223,7 @@ The line containing labels will be only partially visible on the screen, but onc
The command is: The command is:
> **openstack coe cluster create mycluster cluster-template k8s-stable-1.23.5 keypair sshkey master-count 1 node-count 3 labels auto\_scaling\_enabled=true,autoscaler\_tag=v1.22.0,calico\_ipv4pool\_ipip=Always,cinder\_csi\_plugin\_tag=v1.21.0/,cloud\_provider\_enabled=true,cloud\_provider\_tag=v1.21.0,container\_infra\_prefix=registry-public.3Engines.com/magnum/,eodata\_access\_enabled=false,etcd\_volume\_size=8,etcd\_volume\_type=ssd,hyperkube\_prefix=registry-public.3Engines.com/magnum/,k8s\_keystone\_auth\_tag=v1.21.0,kube\_tag=v1.21.5-rancher1,master\_lb\_floating\_ip\_enabled=true,min\_node\_count=2,max\_node\_count=4** > **3Engines coe cluster create mycluster cluster-template k8s-stable-1.23.5 keypair sshkey master-count 1 node-count 3 labels auto\_scaling\_enabled=true,autoscaler\_tag=v1.22.0,calico\_ipv4pool\_ipip=Always,cinder\_csi\_plugin\_tag=v1.21.0/,cloud\_provider\_enabled=true,cloud\_provider\_tag=v1.21.0,container\_infra\_prefix=registry-public.3Engines.com/magnum/,eodata\_access\_enabled=false,etcd\_volume\_size=8,etcd\_volume\_type=ssd,hyperkube\_prefix=registry-public.3Engines.com/magnum/,k8s\_keystone\_auth\_tag=v1.21.0,kube\_tag=v1.21.5-rancher1,master\_lb\_floating\_ip\_enabled=true,min\_node\_count=2,max\_node\_count=4**
The name will be *mycluster*, one master node and three worker nodes in the beginning. The name will be *mycluster*, one master node and three worker nodes in the beginning.
@ -248,7 +248,7 @@ The “worker” role is assigned by default if not specified. The maximum numbe
First see which nodegroups are present for cluster *k8s-cluster*. The command is First see which nodegroups are present for cluster *k8s-cluster*. The command is
``` ```
openstack coe nodegroup list k8s-cluster -c name -c node_count -c status -c role 3Engines coe nodegroup list k8s-cluster -c name -c node_count -c status -c role
``` ```
@ -259,9 +259,9 @@ Switch **-c** denotes which column to show, disregarding all other columns that
Now add and print a nodegroup without role: Now add and print a nodegroup without role:
``` ```
openstack coe nodegroup create k8s-cluster nodegroup-without-role --node-count 1 --min-nodes 1 --max-nodes 5 3Engines coe nodegroup create k8s-cluster nodegroup-without-role --node-count 1 --min-nodes 1 --max-nodes 5
openstack coe nodegroup list k8s-cluster -c name -c node_count -c status -c role 3Engines coe nodegroup list k8s-cluster -c name -c node_count -c status -c role
``` ```
@ -272,9 +272,9 @@ Since the role was not specified, a default value of “worker” was assigned t
Now add a node group called *nodegroup-with-role* and the name of the role will be *custom*: Now add a node group called *nodegroup-with-role* and the name of the role will be *custom*:
``` ```
openstack coe nodegroup create k8s-cluster nodegroup-with-role --node-count 1 --min-nodes 1 --max-nodes 5 --role custom 3Engines coe nodegroup create k8s-cluster nodegroup-with-role --node-count 1 --min-nodes 1 --max-nodes 5 --role custom
openstack coe nodegroup list k8s-cluster -c name -c node_count -c status -c role 3Engines coe nodegroup list k8s-cluster -c name -c node_count -c status -c role
``` ```
@ -285,9 +285,9 @@ That will add a nodegroup but will not autoscale it on its own, as there is no *
Finally, add a nodegroup called *nodegroup-with-role-2* which will have two roles defined in one statement, that is, both *custom* and *worker*. Since at least one of the roles is *worker*, it will autoscale automatically. Finally, add a nodegroup called *nodegroup-with-role-2* which will have two roles defined in one statement, that is, both *custom* and *worker*. Since at least one of the roles is *worker*, it will autoscale automatically.
``` ```
openstack coe nodegroup create k8s-cluster nodegroup-with-role-2 --node-count 1 --min-nodes 1 --max-nodes 5 --role custom,worker 3Engines coe nodegroup create k8s-cluster nodegroup-with-role-2 --node-count 1 --min-nodes 1 --max-nodes 5 --role custom,worker
openstack coe nodegroup list k8s-cluster -c name -c node_count -c status -c role 3Engines coe nodegroup list k8s-cluster -c name -c node_count -c status -c role
``` ```
@ -300,18 +300,18 @@ Cluster **k8s-cluster** now has **8** nodes:
You can delete these three clusters with the following set of commands: You can delete these three clusters with the following set of commands:
``` ```
openstack coe nodegroup delete k8s-cluster nodegroup-with-role 3Engines coe nodegroup delete k8s-cluster nodegroup-with-role
openstack coe nodegroup delete k8s-cluster nodegroup-with-role-2 3Engines coe nodegroup delete k8s-cluster nodegroup-with-role-2
openstack coe nodegroup delete k8s-cluster nodegroup-without-role 3Engines coe nodegroup delete k8s-cluster nodegroup-without-role
``` ```
Once again, see the result: Once again, see the result:
``` ```
openstack coe nodegroup list k8s-cluster -c name -c node_count -c status -c role 3Engines coe nodegroup list k8s-cluster -c name -c node_count -c status -c role
``` ```
@ -332,7 +332,7 @@ How To Obtain All Labels From the CLI[🔗](#how-to-obtain-all-labels-from-the-c
There is a special command which will produce labels from a cluster: There is a special command which will produce labels from a cluster:
``` ```
openstack coe cluster template show k8s-stable-1.23.5 -c labels -f yaml 3Engines coe cluster template show k8s-stable-1.23.5 -c labels -f yaml
``` ```

View File

@ -6,7 +6,7 @@ What is Velero[🔗](#what-is-velero "Permalink to this headline")
[Velero](https://velero.io) is the official open source project from VMware. It can back up all Kubernetes API objects and persistent volumes from the cluster on which it is installed. Backed up objects can be restored on the same cluster, or on a new one. Using a package like Velero is essential for any serious development in the Kubernetes cluster. [Velero](https://velero.io) is the official open source project from VMware. It can back up all Kubernetes API objects and persistent volumes from the cluster on which it is installed. Backed up objects can be restored on the same cluster, or on a new one. Using a package like Velero is essential for any serious development in the Kubernetes cluster.
In essence, you create object store under OpenStack, either using Horizon or Swift module of **openstack** command and then save cluster state into it. Restoring is the same in reverse read from that object store and save it to a Kubernetes cluster. In essence, you create object store under 3Engines, either using Horizon or Swift module of **3Engines** command and then save cluster state into it. Restoring is the same in reverse read from that object store and save it to a Kubernetes cluster.
Velero has its own CLI command system so it is possible to automate creation of backups using cron jobs. Velero has its own CLI command system so it is possible to automate creation of backups using cron jobs.
@ -34,7 +34,7 @@ No. 2 **How to Access Kubernetes cluster post-deployment**
We shall also assume that you have one or more Kubernetes clusters ready and accessible via a **kubectl** command: We shall also assume that you have one or more Kubernetes clusters ready and accessible via a **kubectl** command:
[How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md) [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md)
The result of that article will be setting up of system variable **KUBECONFIG**, which points to the configuration file for access to the Kubernetes cloud. A typical command will be: The result of that article will be setting up of system variable **KUBECONFIG**, which points to the configuration file for access to the Kubernetes cloud. A typical command will be:
@ -67,11 +67,11 @@ CLI
: You can also use command such as : You can also use command such as
``` ```
openstack container 3Engines container
``` ```
to work with object storage. For more information see [How to access object storage using OpenStack CLI on 3Engines Cloud](../openstackcli/How-to-access-object-storage-using-OpenStack-CLI-on-3Engines-Cloud.html.md) to work with object storage. For more information see [How to access object storage using 3Engines CLI on 3Engines Cloud](../3Enginescli/How-to-access-object-storage-using-3Engines-CLI-on-3Engines-Cloud.html.md)
Either way, we shall assume that there is a container called “bucketnew”: Either way, we shall assume that there is a container called “bucketnew”:
@ -95,11 +95,11 @@ It will be necessary to have access to a Kubernetes cluster, v1.16 or later, wit
### Installation step 1 Getting EC2 client credentials[🔗](#installation-step-1-getting-ec2-client-credentials "Permalink to this headline") ### Installation step 1 Getting EC2 client credentials[🔗](#installation-step-1-getting-ec2-client-credentials "Permalink to this headline")
First fetch EC2 credentials from OpenStack. They are necessary to access private bucket (container). Generate them on your own by executing the following commands: First fetch EC2 credentials from 3Engines. They are necessary to access private bucket (container). Generate them on your own by executing the following commands:
``` ```
openstack ec2 credentials create 3Engines ec2 credentials create
openstack ec2 credentials list 3Engines ec2 credentials list
``` ```
@ -134,7 +134,7 @@ WAW4-1WAW3-1WAW3-2FRA1-2
> backupStorageLocation: > backupStorageLocation:
> provider: aws > provider: aws
> name: ## enter name of backup storage location (could be anything) > name: ## enter name of backup storage location (could be anything)
> bucket: ## enter name of bucket created in openstack > bucket: ## enter name of bucket created in 3Engines
> default: true > default: true
> config: > config:
> region: default > region: default
@ -176,7 +176,7 @@ configuration:
backupStorageLocation: backupStorageLocation:
provider: aws provider: aws
name: ## enter name of backup storage location (could be anything) name: ## enter name of backup storage location (could be anything)
bucket: ## enter name of bucket created in openstack bucket: ## enter name of bucket created in 3Engines
default: true default: true
config: config:
region: waw3-1 region: waw3-1
@ -218,7 +218,7 @@ configuration:
backupStorageLocation: backupStorageLocation:
provider: aws provider: aws
name: ## enter name of backup storage location (could be anything) name: ## enter name of backup storage location (could be anything)
bucket: ## enter name of bucket created in openstack bucket: ## enter name of bucket created in 3Engines
default: true default: true
config: config:
region: default region: default
@ -260,7 +260,7 @@ configuration:
backupStorageLocation: backupStorageLocation:
provider: aws provider: aws
name: ## enter name of backup storage location (could be anything) name: ## enter name of backup storage location (could be anything)
bucket: ## enter name of bucket created in openstack bucket: ## enter name of bucket created in 3Engines
default: true default: true
config: config:
region: default region: default

View File

@ -21,7 +21,7 @@ You need a 3Engines Cloud hosting account with access to the Horizon interface:
No. 2 **Kubernetes cluster** No. 2 **Kubernetes cluster**
[How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md) [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md)
No. 3 **Local version of GitLab available** No. 3 **Local version of GitLab available**
@ -46,9 +46,9 @@ is a tool to build container images based on a provided Dockerfile. For more ela
No. 7 **Private and public keys available** No. 7 **Private and public keys available**
To connect to our GitLab instance we need a combination of a private and a public key. You can use any key pair, one option is to use OpenStack Horizon to create one. For reference see: To connect to our GitLab instance we need a combination of a private and a public key. You can use any key pair, one option is to use 3Engines Horizon to create one. For reference see:
See [How to create key pair in OpenStack Dashboard on 3Engines Cloud](../cloud/How-to-create-key-pair-in-OpenStack-Dashboard-on-3Engines-Cloud.html.md) See [How to create key pair in 3Engines Dashboard on 3Engines Cloud](../cloud/How-to-create-key-pair-in-3Engines-Dashboard-on-3Engines-Cloud.html.md)
Here, we use the key pair to connect to GitLab instance that we previously installed in Prerequisite No. 3. Here, we use the key pair to connect to GitLab instance that we previously installed in Prerequisite No. 3.

View File

@ -1,7 +1,7 @@
Configuring IP Whitelisting for OpenStack Load Balancer using Horizon and CLI on 3Engines Cloud[🔗](#configuring-ip-whitelisting-for-openstack-load-balancer-using-horizon-and-cli-on-brand-name "Permalink to this headline") Configuring IP Whitelisting for 3Engines Load Balancer using Horizon and CLI on 3Engines Cloud[🔗](#configuring-ip-whitelisting-for-3Engines-load-balancer-using-horizon-and-cli-on-brand-name "Permalink to this headline")
=============================================================================================================================================================================================================================== ===============================================================================================================================================================================================================================
This guide explains how to configure IP whitelisting (**allowed\_cidrs**) on an existing OpenStack Load Balancer using Horizon and CLI commands. The configuration will limit access to your cluster through load balancer. This guide explains how to configure IP whitelisting (**allowed\_cidrs**) on an existing 3Engines Load Balancer using Horizon and CLI commands. The configuration will limit access to your cluster through load balancer.
What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline") What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline")
--------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------
@ -27,7 +27,7 @@ In this article, we will use the following two addresses to whitelist:
No. 3 **Python Octavia Client** No. 3 **Python Octavia Client**
To operate Load Balancers with CLI, the Python Octavia Client (python-octaviaclient) is required. It is a command-line client for the OpenStack Load Balancing service. Install the load-balancer (Octavia) plugin with the following command from the Terminal window, on Ubuntu 22.04: To operate Load Balancers with CLI, the Python Octavia Client (python-octaviaclient) is required. It is a command-line client for the 3Engines Load Balancing service. Install the load-balancer (Octavia) plugin with the following command from the Terminal window, on Ubuntu 22.04:
``` ```
pip install python-octaviaclient pip install python-octaviaclient
@ -74,7 +74,7 @@ At the bottom of the window, find the Stack ID:
Now execute the commands: Now execute the commands:
``` ```
openstack coe cluster show <your_cluster_id> \ 3Engines coe cluster show <your_cluster_id> \
-f value -c stack_id \ -f value -c stack_id \
<stack_id for example 12345678-1234-1234-1234-123456789011> <stack_id for example 12345678-1234-1234-1234-123456789011>
@ -83,7 +83,7 @@ openstack coe cluster show <your_cluster_id> \
To find **LB\_ID** To find **LB\_ID**
``` ```
openstack stack resource list <your_stack_id> \ 3Engines stack resource list <your_stack_id> \
-n 5 -c resource_name -c physical_resource_id \ -n 5 -c resource_name -c physical_resource_id \
| grep loadbalancer_with_flavor \ | grep loadbalancer_with_flavor \
| loadbalancer_with_flavor \ | loadbalancer_with_flavor \
@ -94,7 +94,7 @@ openstack stack resource list <your_stack_id> \
With that information, now we can check our **listener\_id**; it is to this component that we will attach the whitelist: With that information, now we can check our **listener\_id**; it is to this component that we will attach the whitelist:
``` ```
openstack loadbalancer \ 3Engines loadbalancer \
show 2d6b335f-fb05-4496-8593-887f7e2c49cf \ show 2d6b335f-fb05-4496-8593-887f7e2c49cf \
-c listeners \ -c listeners \
-f value \ -f value \
@ -107,7 +107,7 @@ show 2d6b335f-fb05-4496-8593-887f7e2c49cf \
We now have the listener and the IP addresses which will be whitelisted. This is the command that will set up the whitelisting: We now have the listener and the IP addresses which will be whitelisted. This is the command that will set up the whitelisting:
``` ```
openstack loadbalancer listener set \ 3Engines loadbalancer listener set \
--allowed-cidr 10.0.0.0/8 \ --allowed-cidr 10.0.0.0/8 \
--allowed-cidr 10.95.255.0/24 \ --allowed-cidr 10.95.255.0/24 \
<listener_id for example 12345678-1234-1234-1234-123456789011> <listener_id for example 12345678-1234-1234-1234-123456789011>
@ -230,6 +230,6 @@ curl http://<LOAD_BALANCER_IP>
What To Do Next[🔗](#what-to-do-next "Permalink to this headline") What To Do Next[🔗](#what-to-do-next "Permalink to this headline")
----------------------------------------------------------------- -----------------------------------------------------------------
You can wrap up this procedure with Terraform and apply to a larger number of load balancers. See [Configuring IP Whitelisting for OpenStack Load Balancer using Terraform on 3Engines Cloud](Configuring-IP-Whitelisting-for-OpenStack-Load-Balancer-using-Terraform-on-3Engines-Cloud.html.md) You can wrap up this procedure with Terraform and apply to a larger number of load balancers. See [Configuring IP Whitelisting for 3Engines Load Balancer using Terraform on 3Engines Cloud](Configuring-IP-Whitelisting-for-3Engines-Load-Balancer-using-Terraform-on-3Engines-Cloud.html.md)
Also, compare with [Implementing IP Whitelisting for Load Balancers with Security Groups on 3Engines Cloud](Implementing-IP-Whitelisting-for-Load-Balancers-with-Security-Groups-on-3Engines-Cloud.html.md) Also, compare with [Implementing IP Whitelisting for Load Balancers with Security Groups on 3Engines Cloud](Implementing-IP-Whitelisting-for-Load-Balancers-with-Security-Groups-on-3Engines-Cloud.html.md)

View File

@ -1,7 +1,7 @@
Configuring IP Whitelisting for OpenStack Load Balancer using Terraform on 3Engines Cloud[🔗](#configuring-ip-whitelisting-for-openstack-load-balancer-using-terraform-on-brand-name "Permalink to this headline") Configuring IP Whitelisting for 3Engines Load Balancer using Terraform on 3Engines Cloud[🔗](#configuring-ip-whitelisting-for-3Engines-load-balancer-using-terraform-on-brand-name "Permalink to this headline")
=================================================================================================================================================================================================================== ===================================================================================================================================================================================================================
This guide explains how to configure IP whitelisting (**allowed\_cidrs**) on an existing OpenStack Load Balancer using Terraform. The configuration will limit access to your cluster through load balancer. This guide explains how to configure IP whitelisting (**allowed\_cidrs**) on an existing 3Engines Load Balancer using Terraform. The configuration will limit access to your cluster through load balancer.
What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline") What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline")
--------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------
@ -21,22 +21,22 @@ You need a 3Engines Cloud hosting account with access to the Horizon interface:
No. 2 **Basic parameters already defined for whitelisting** No. 2 **Basic parameters already defined for whitelisting**
See article [Configuring IP Whitelisting for OpenStack Load Balancer using Horizon and CLI on 3Engines Cloud](Configuring-IP-Whitelisting-for-OpenStack-Load-Balancer-using-Horizon-and-CLI-on-3Engines-Cloud.html.md) for definition of basic notions and parameters. See article [Configuring IP Whitelisting for 3Engines Load Balancer using Horizon and CLI on 3Engines Cloud](Configuring-IP-Whitelisting-for-3Engines-Load-Balancer-using-Horizon-and-CLI-on-3Engines-Cloud.html.md) for definition of basic notions and parameters.
No. 3 **Terraform installed** No. 3 **Terraform installed**
You will need version 1.50 or higher to be operational. You will need version 1.50 or higher to be operational.
For complete introduction and installation of Terrafom on OpenStack see article [Generating and authorizing Terraform using Keycloak user on 3Engines Cloud](../openstackdev/Generating-and-authorizing-Terraform-using-Keycloak-user-on-3Engines-Cloud.html.md) For complete introduction and installation of Terrafom on 3Engines see article [Generating and authorizing Terraform using Keycloak user on 3Engines Cloud](../3Enginesdev/Generating-and-authorizing-Terraform-using-Keycloak-user-on-3Engines-Cloud.html.md)
No. 4 **Unrestricted application credentials** No. 4 **Unrestricted application credentials**
You need to have OpenStack application credentials with unrestricted checkbox. Check article [How to generate or use Application Credentials via CLI on 3Engines Cloud](../cloud/How-to-generate-or-use-Application-Credentials-via-CLI-on-3Engines-Cloud.html.md) You need to have 3Engines application credentials with unrestricted checkbox. Check article [How to generate or use Application Credentials via CLI on 3Engines Cloud](../cloud/How-to-generate-or-use-Application-Credentials-via-CLI-on-3Engines-Cloud.html.md)
The first part of that article describes how to have installed OpenStack client and connect it to the cloud. With that provision, the quickest way to create an unrestricted application credential is to apply the command like this: The first part of that article describes how to have installed 3Engines client and connect it to the cloud. With that provision, the quickest way to create an unrestricted application credential is to apply the command like this:
``` ```
openstack application credential create cred_unrestricted --unrestricted 3Engines application credential create cred_unrestricted --unrestricted
``` ```
@ -60,10 +60,10 @@ Configure Terraform for whitelisting[🔗](#configure-terraform-for-whitelisting
Instead of performing the whitelisting procedure manually, we can use Terraform and store the procedure in the remote repo. Instead of performing the whitelisting procedure manually, we can use Terraform and store the procedure in the remote repo.
Create file **openstack\_auth.sh** Create file **3Engines\_auth.sh**
``` ```
export OS_AUTH_URL="https://your-openstack-url:5000/v3" export OS_AUTH_URL="https://your-3Engines-url:5000/v3"
export OS_PROJECT_NAME="your-project" export OS_PROJECT_NAME="your-project"
export OS_USERNAME="your-username" export OS_USERNAME="your-username"
export OS_PASSWORD="your-password" export OS_PASSWORD="your-password"
@ -84,14 +84,14 @@ Create Terraform file:
``` ```
terraform { terraform {
required_providers { required_providers {
openstack = { 3Engines = {
source = "terraform-provider-openstack/openstack" source = "terraform-provider-3Engines/3Engines"
version = "1.47.0" version = "1.47.0"
} }
} }
} }
provider "openstack" { provider "3Engines" {
use_octavia = true # Required for Load Balancer v2 API use_octavia = true # Required for Load Balancer v2 API
} }
@ -102,7 +102,7 @@ provider "openstack" {
``` ```
variable "ID_OF_LOADBALANCER" { variable "ID_OF_LOADBALANCER" {
type = string type = string
description = "ID of the existing OpenStack Load Balancer" description = "ID of the existing 3Engines Load Balancer"
} }
variable "allowed_cidrs" { variable "allowed_cidrs" {
@ -127,7 +127,7 @@ allowed_cidrs = [
**lb.tf** **lb.tf**
``` ```
resource "openstack_lb_listener_v2" "k8s_api_listener" { resource "3Engines_lb_listener_v2" "k8s_api_listener" {
loadbalancer_id = var.ID_OF_LOADBALANCER loadbalancer_id = var.ID_OF_LOADBALANCER
allowed_cidrs = var.allowed_cidrs allowed_cidrs = var.allowed_cidrs
protocol_port = "6443" protocol_port = "6443"
@ -145,7 +145,7 @@ Since Terraform 1.5 can import your resource in declarative way.
``` ```
import { import {
to = openstack_lb_listener_v2.k8s_api_listener to = 3Engines_lb_listener_v2.k8s_api_listener
id = "your-listener-id" id = "your-listener-id"
} }
@ -154,7 +154,7 @@ import {
Or you can do it in an imperative way: Or you can do it in an imperative way:
``` ```
terraform import openstack_lb_listener_v2.k8s_api_listener "<your-listener-id>" terraform import 3Engines_lb_listener_v2.k8s_api_listener "<your-listener-id>"
``` ```
@ -176,8 +176,8 @@ terraform apply generated_listener.tf
``` ```
Terraform apply generated_listener.tf Terraform apply generated_listener.tf
openstack_lb_listener_v2.k8s_api_listener: Preparing import... [id=bbf39f1c-6936-4344-9957-7517d4a979b6] 3Engines_lb_listener_v2.k8s_api_listener: Preparing import... [id=bbf39f1c-6936-4344-9957-7517d4a979b6]
openstack_lb_listener_v2.k8s_api_listener: Refreshing state... [id=bbf39f1c-6936-4344-9957-7517d4a979b6] 3Engines_lb_listener_v2.k8s_api_listener: Refreshing state... [id=bbf39f1c-6936-4344-9957-7517d4a979b6]
Terraform used the selected providers to generate the following execution Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols: plan. Resource actions are indicated with the following symbols:
@ -185,9 +185,9 @@ plan. Resource actions are indicated with the following symbols:
Terraform will perform the following actions: Terraform will perform the following actions:
# openstack_lb_listener_v2.k8s_api_listener will be updated in-place # 3Engines_lb_listener_v2.k8s_api_listener will be updated in-place
# (imported from "bbf39f1c-6936-4344-9957-7517d4a979b6") # (imported from "bbf39f1c-6936-4344-9957-7517d4a979b6")
~ resource "openstack_lb_listener_v2" "k8s_api_listener" { ~ resource "3Engines_lb_listener_v2" "k8s_api_listener" {
admin_state_up = true admin_state_up = true
~ allowed_cidrs = [ ~ allowed_cidrs = [
+ "10.0.0.1/32", + "10.0.0.1/32",

View File

@ -27,7 +27,7 @@ No. 2 **Familiarity with Linux and cloud management**
We assume you know the basics of Linux and 3Engines Cloud cloud management: We assume you know the basics of Linux and 3Engines Cloud cloud management:
* Creating, accessing and using virtual machines * Creating, accessing and using virtual machines
[How to create new Linux VM in OpenStack Dashboard Horizon on 3Engines Cloud](../cloud/How-to-create-new-Linux-VM-in-OpenStack-Dashboard-Horizon-on-3Engines-Cloud.html.md) [How to create new Linux VM in 3Engines Dashboard Horizon on 3Engines Cloud](../cloud/How-to-create-new-Linux-VM-in-3Engines-Dashboard-Horizon-on-3Engines-Cloud.html.md)
* Creating security groups [How to use Security Groups in Horizon on 3Engines Cloud](../cloud/How-to-use-Security-Groups-in-Horizon-on-3Engines-Cloud.html.md) * Creating security groups [How to use Security Groups in Horizon on 3Engines Cloud](../cloud/How-to-use-Security-Groups-in-Horizon-on-3Engines-Cloud.html.md)
@ -35,11 +35,11 @@ We assume you know the basics of Linux and 3Engines Cloud cloud management:
No. 3 **A running Kubernetes cluster** No. 3 **A running Kubernetes cluster**
You will also need a Kubernetes cluster to try out the commands. To create one from scratch, see [How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md) You will also need a Kubernetes cluster to try out the commands. To create one from scratch, see [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md)
No. 4 **kubectl access to the Kubernetes cloud** No. 4 **kubectl access to the Kubernetes cloud**
As usual when working with Kubernetes clusters, you will need to use the **kubectl** command: [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md) As usual when working with Kubernetes clusters, you will need to use the **kubectl** command: [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md)
1. Set up NFS server on a VM[🔗](#set-up-nfs-server-on-a-vm "Permalink to this headline") 1. Set up NFS server on a VM[🔗](#set-up-nfs-server-on-a-vm "Permalink to this headline")
---------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------

View File

@ -1,4 +1,4 @@
Creating Additional Nodegroups in Kubernetes Cluster on 3Engines Cloud OpenStack Magnum[🔗](#creating-additional-nodegroups-in-kubernetes-cluster-on-brand-name-openstack-magnum "Permalink to this headline") Creating Additional Nodegroups in Kubernetes Cluster on 3Engines Cloud 3Engines Magnum[🔗](#creating-additional-nodegroups-in-kubernetes-cluster-on-brand-name-3Engines-magnum "Permalink to this headline")
=============================================================================================================================================================================================================== ===============================================================================================================================================================================================================
The Benefits of Using Nodegroups[🔗](#the-benefits-of-using-nodegroups "Permalink to this headline") The Benefits of Using Nodegroups[🔗](#the-benefits-of-using-nodegroups "Permalink to this headline")
@ -21,7 +21,7 @@ Other uses of nodegroup roles also include:
What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline") What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline")
--------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------
> * The structure of command **openstack coe nodelist** > * The structure of command **3Engines coe nodelist**
> * How to produce manageable output from **nodelist** set of commands > * How to produce manageable output from **nodelist** set of commands
> * How to **list** what nodegroups are available in a cluster > * How to **list** what nodegroups are available in a cluster
> * How to **show** the contents of one particular *nodegroup* in a cluster > * How to **show** the contents of one particular *nodegroup* in a cluster
@ -40,11 +40,11 @@ You need a 3Engines Cloud hosting account with Horizon interface <https://horizo
No. 2 **Creating clusters with CLI** No. 2 **Creating clusters with CLI**
The article [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud OpenStack Magnum](How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-OpenStack-Magnum.html.md) will introduce you to creation of clusters using a command line interface. The article [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud 3Engines Magnum](How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-3Engines-Magnum.html.md) will introduce you to creation of clusters using a command line interface.
No. 3 **Connect openstack client to the cloud** No. 3 **Connect 3Engines client to the cloud**
Prepare **openstack** and **magnum** clients by executing *Step 2 Connect OpenStack and Magnum Clients to Horizon Cloud* from article [How To Install OpenStack and Magnum Clients for Command Line Interface to 3Engines Cloud Horizon](How-To-Install-OpenStack-and-Magnum-Clients-for-Command-Line-Interface-to-3Engines-Cloud-Horizon.html.md) Prepare **3Engines** and **magnum** clients by executing *Step 2 Connect 3Engines and Magnum Clients to Horizon Cloud* from article [How To Install 3Engines and Magnum Clients for Command Line Interface to 3Engines Cloud Horizon](How-To-Install-3Engines-and-Magnum-Clients-for-Command-Line-Interface-to-3Engines-Cloud-Horizon.html.md)
No. 4 **Check available quotas** No. 4 **Check available quotas**
@ -53,18 +53,18 @@ Before creating additional node groups check the state of the resources with Hor
Nodegroup Subcommands[🔗](#nodegroup-subcommands "Permalink to this headline") Nodegroup Subcommands[🔗](#nodegroup-subcommands "Permalink to this headline")
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Once you create a Kubernetes cluster on OpenStack Magnum, there are five *nodegroup* commands at your disposal: Once you create a Kubernetes cluster on 3Engines Magnum, there are five *nodegroup* commands at your disposal:
``` ```
openstack coe nodegroup create 3Engines coe nodegroup create
openstack coe nodegroup delete 3Engines coe nodegroup delete
openstack coe nodegroup list 3Engines coe nodegroup list
openstack coe nodegroup show 3Engines coe nodegroup show
openstack coe nodegroup update 3Engines coe nodegroup update
``` ```
@ -76,18 +76,18 @@ Step 1 Access the Current State of Clusters and Their Nodegroups[🔗](#step-1-a
Here is which clusters are available in the system: Here is which clusters are available in the system:
``` ```
openstack coe cluster list --max-width 120 3Engines coe cluster list --max-width 120
``` ```
![present_clusters.png](../_images/present_clusters.png) ![present_clusters.png](../_images/present_clusters.png)
The default process of creating Kubernetes clusters on OpenStack Magnum produces two nodegroups, **default-master** and **default-worker**. Use commands The default process of creating Kubernetes clusters on 3Engines Magnum produces two nodegroups, **default-master** and **default-worker**. Use commands
``` ```
openstack coe nodegroup list kubelbtrue 3Engines coe nodegroup list kubelbtrue
openstack coe nodegroup list k8s-cluster 3Engines coe nodegroup list k8s-cluster
``` ```
@ -103,7 +103,7 @@ Step 2 How to Create a New Nodegroup[🔗](#step-2-how-to-create-a-new-nodegroup
In this step you learn about the parameters available for the **nodegroup create** command. This is the general structure: In this step you learn about the parameters available for the **nodegroup create** command. This is the general structure:
``` ```
openstack coe nodegroup create [-h] 3Engines coe nodegroup create [-h]
[--docker-volume-size <docker-volume-size>] [--docker-volume-size <docker-volume-size>]
[--labels <KEY1=VALUE1,KEY2=VALUE2;KEY3=VALUE3...>] [--labels <KEY1=VALUE1,KEY2=VALUE2;KEY3=VALUE3...>]
[--node-count <node-count>] [--node-count <node-count>]
@ -120,7 +120,7 @@ openstack coe nodegroup create [-h]
You will now create a nodegroup of two members, it will be called *testing*, the role will be called *test*, and add it to the cluster *k8s-cluster*: You will now create a nodegroup of two members, it will be called *testing*, the role will be called *test*, and add it to the cluster *k8s-cluster*:
``` ```
openstack coe nodegroup create \ 3Engines coe nodegroup create \
--node-count 2 \ --node-count 2 \
--role test \ --role test \
k8s-cluster testing k8s-cluster testing
@ -130,7 +130,7 @@ k8s-cluster testing
Then use the command Then use the command
``` ```
openstack coe nodegroup list k8s-cluster 3Engines coe nodegroup list k8s-cluster
``` ```
@ -152,7 +152,7 @@ Step 3 Using **role** to Filter Nodegroups in the Cluster[🔗](#step-3-using-ro
It is possible to filter node groups according to the role. Here is the command to show only the *test* nodegroup: It is possible to filter node groups according to the role. Here is the command to show only the *test* nodegroup:
``` ```
openstack coe nodegroup list k8s-cluster --role test 3Engines coe nodegroup list k8s-cluster --role test
``` ```
@ -168,7 +168,7 @@ Step 4 Show Details of the Nodegroup Created[🔗](#step-4-show-details-of-the-n
Command **show** presents the details of a nodegroup in various formats *json*, *table*, *shell*, *value* or *yaml*. The default is *table* but use parameter **max-width** to limit the number of columns in it: Command **show** presents the details of a nodegroup in various formats *json*, *table*, *shell*, *value* or *yaml*. The default is *table* but use parameter **max-width** to limit the number of columns in it:
``` ```
openstack coe nodegroup show --max-width 80 k8s-cluster testing 3Engines coe nodegroup show --max-width 80 k8s-cluster testing
``` ```
@ -180,7 +180,7 @@ Step 5 Delete the Existing Nodegroup[🔗](#step-5-delete-the-existing-nodegroup
In this step you shall try to create a nodegroup with small footprint: In this step you shall try to create a nodegroup with small footprint:
``` ```
openstack coe nodegroup create \ 3Engines coe nodegroup create \
--node-count 2 \ --node-count 2 \
--role test \ --role test \
--image cirros-0.4.0-x86_64-2 \ --image cirros-0.4.0-x86_64-2 \
@ -194,7 +194,7 @@ After one hour, the command was cancelled and the creation has failed. The resou
One way is to use the CLI **delete** subcommand, like this: One way is to use the CLI **delete** subcommand, like this:
``` ```
openstack coe nodegroup delete k8s-cluster cirros 3Engines coe nodegroup delete k8s-cluster cirros
``` ```
@ -218,7 +218,7 @@ Step 6 Update the Existing Nodegroup[🔗](#step-6-update-the-existing-nodegroup
In this step you will directly update the existing nodegroup, rather than adding and deleting them in a row. The example command is: In this step you will directly update the existing nodegroup, rather than adding and deleting them in a row. The example command is:
``` ```
openstack coe nodegroup update k8s-cluster testing replace min_node_count=1 3Engines coe nodegroup update k8s-cluster testing replace min_node_count=1
``` ```
@ -232,14 +232,14 @@ Step 7 Resize the Nodegroup[🔗](#step-7-resize-the-nodegroup "Permalink to thi
Resizing the *nodegroup* is similar to resizing the cluster, with the addition of parameter **nodegroup**. Currently, the number of nodes in group *testing* is 2. Make it **1**: Resizing the *nodegroup* is similar to resizing the cluster, with the addition of parameter **nodegroup**. Currently, the number of nodes in group *testing* is 2. Make it **1**:
``` ```
openstack coe cluster resize k8s-cluster --nodegroup testing 1 3Engines coe cluster resize k8s-cluster --nodegroup testing 1
``` ```
To see the result, apply the command To see the result, apply the command
``` ```
openstack coe nodegroup list --max-width 120 k8s-cluster 3Engines coe nodegroup list --max-width 120 k8s-cluster
``` ```

View File

@ -21,7 +21,7 @@ You need a 3Engines Cloud hosting account with access to the Horizon interface:
No. 2 **Private and public keys** No. 2 **Private and public keys**
To create a cluster, you will need an available SSH key pair. If you do not have one already, follow this article to create it in the OpenStack dashboard: [How to create key pair in OpenStack Dashboard on 3Engines Cloud](../cloud/How-to-create-key-pair-in-OpenStack-Dashboard-on-3Engines-Cloud.html.md). To create a cluster, you will need an available SSH key pair. If you do not have one already, follow this article to create it in the 3Engines dashboard: [How to create key pair in 3Engines Dashboard on 3Engines Cloud](../cloud/How-to-create-key-pair-in-3Engines-Dashboard-on-3Engines-Cloud.html.md).
No. 3 **Documentation for standard templates** No. 3 **Documentation for standard templates**
@ -37,7 +37,7 @@ Documentation for *localstorage* templates:
No. 4 **How to create Kubernetes clusters** No. 4 **How to create Kubernetes clusters**
The general procedure is explained in [How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md). The general procedure is explained in [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md).
No. 5 **Using vGPU in Kubernetes clusters** No. 5 **Using vGPU in Kubernetes clusters**
@ -77,7 +77,7 @@ How to choose a proper template[🔗](#how-to-choose-a-proper-template "Permalin
**Standard templates** **Standard templates**
Standard templates are general in nature and you can use them for any type of Kubernetes cluster. Each will produce a working Kubernetes cluster on 3Engines Cloud OpenStack Magnum hosting. The default network driver is *calico*. Template that does not specify calico, k8s-1.23.16-v1.0.3, and is identical to the template that does specify *calico* in its name. Both are placed in the left column in the following table: Standard templates are general in nature and you can use them for any type of Kubernetes cluster. Each will produce a working Kubernetes cluster on 3Engines Cloud 3Engines Magnum hosting. The default network driver is *calico*. Template that does not specify calico, k8s-1.23.16-v1.0.3, and is identical to the template that does specify *calico* in its name. Both are placed in the left column in the following table:
| calico | cilium | | calico | cilium |
| --- | --- | | --- | --- |
@ -139,7 +139,7 @@ Applications such as day trading, personal finances, AI and the similar, may hav
In WAW3-1 cloud, virtual machine flavors with NVMe have the prefix of HMD and they are resource-intensive: In WAW3-1 cloud, virtual machine flavors with NVMe have the prefix of HMD and they are resource-intensive:
``` ```
openstack flavor list 3Engines flavor list
+--------------+--------+------+-----------+-------+ +--------------+--------+------+-----------+-------+
| Name | RAM | Disk | Ephemeral | VCPUs | | Name | RAM | Disk | Ephemeral | VCPUs |
+--------------+--------+------+-----------+-------+ +--------------+--------+------+-----------+-------+

View File

@ -21,7 +21,7 @@ You need a 3Engines Cloud hosting account with Horizon interface <https://horizo
No. 2 **A running Kubernetes cluster and kubectl activated** No. 2 **A running Kubernetes cluster and kubectl activated**
A Kubernetes cluster, to create one refer to: [How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md). To activate **kubectl**, see [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md). A Kubernetes cluster, to create one refer to: [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md). To activate **kubectl**, see [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md).
No. 3 **Basic knowledge of Python and pip package management** No. 3 **Basic knowledge of Python and pip package management**

View File

@ -24,15 +24,15 @@ You need a 3Engines Cloud hosting account with access to the Horizon interface:
No. 2 **Kubernetes cluster deployed on** **cloud, with NGINX Ingress enabled** No. 2 **Kubernetes cluster deployed on** **cloud, with NGINX Ingress enabled**
See this article [How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md) See this article [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md)
No. 3 **Familiarity with kubectl** No. 3 **Familiarity with kubectl**
For further instructions refer to [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md) For further instructions refer to [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md)
No. 4 **Familiarity with Kubernetes Ingress feature** No. 4 **Familiarity with Kubernetes Ingress feature**
It is explained in article [Using Kubernetes Ingress on 3Engines Cloud OpenStack Magnum](Using-Kubernetes-Ingress-on-3Engines-Cloud-OpenStack-Magnum.html.md) It is explained in article [Using Kubernetes Ingress on 3Engines Cloud 3Engines Magnum](Using-Kubernetes-Ingress-on-3Engines-Cloud-3Engines-Magnum.html.md)
No. 5 **Familiarity with deploying Helm charts** No. 5 **Familiarity with deploying Helm charts**
@ -299,6 +299,6 @@ If all works well, the effort is complete and after a couple of minutes we shoul
What To Do Next[🔗](#what-to-do-next "Permalink to this headline") What To Do Next[🔗](#what-to-do-next "Permalink to this headline")
----------------------------------------------------------------- -----------------------------------------------------------------
The article [Using Kubernetes Ingress on 3Engines Cloud OpenStack Magnum](Using-Kubernetes-Ingress-on-3Engines-Cloud-OpenStack-Magnum.html.md) shows how to create an HTTP based service or a site. The article [Using Kubernetes Ingress on 3Engines Cloud 3Engines Magnum](Using-Kubernetes-Ingress-on-3Engines-Cloud-3Engines-Magnum.html.md) shows how to create an HTTP based service or a site.
If you need additional information on Helm charts: [Deploying Helm Charts on Magnum Kubernetes Clusters on 3Engines Cloud Cloud](Deploying-Helm-Charts-on-Magnum-Kubernetes-Clusters-on-3Engines-Cloud-Cloud.html.md). If you need additional information on Helm charts: [Deploying Helm Charts on Magnum Kubernetes Clusters on 3Engines Cloud Cloud](Deploying-Helm-Charts-on-Magnum-Kubernetes-Clusters-on-3Engines-Cloud-Cloud.html.md).

View File

@ -26,11 +26,11 @@ We assume you have basic understanding of Kubernetes, its notions and ways of wo
No. 3 **A cluster created on** **cloud** No. 3 **A cluster created on** **cloud**
For trying out Helm installation and deployment in an actual environment, create a cluster on cloud using OpenStack Magnum [How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md). For trying out Helm installation and deployment in an actual environment, create a cluster on cloud using 3Engines Magnum [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md).
No. 4 **Active connection to the cloud** No. 4 **Active connection to the cloud**
For Kubernetes, that means a **kubectl** command line tool installed and **kubeconfig** pointing to a cluster. Instructions are provided in this article [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud OpenStack Magnum](How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-OpenStack-Magnum.html.md). For Kubernetes, that means a **kubectl** command line tool installed and **kubeconfig** pointing to a cluster. Instructions are provided in this article [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud 3Engines Magnum](How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-3Engines-Magnum.html.md).
No. 5 **Access to Ubuntu to run code on** No. 5 **Access to Ubuntu to run code on**

View File

@ -26,9 +26,9 @@ You need a 3Engines Cloud hosting account with Horizon interface <https://horizo
No. 2 **Knowledge of RC files and CLI commands for Magnum** No. 2 **Knowledge of RC files and CLI commands for Magnum**
You should be familiar with utilizing OpenStack CLI and Magnum CLI. Your RC file should be sourced and pointing to your project in OpenStack. See article You should be familiar with utilizing 3Engines CLI and Magnum CLI. Your RC file should be sourced and pointing to your project in 3Engines. See article
[How To Install OpenStack and Magnum Clients for Command Line Interface to 3Engines Cloud Horizon](How-To-Install-OpenStack-and-Magnum-Clients-for-Command-Line-Interface-to-3Engines-Cloud-Horizon.html.md). [How To Install 3Engines and Magnum Clients for Command Line Interface to 3Engines Cloud Horizon](How-To-Install-3Engines-and-Magnum-Clients-for-Command-Line-Interface-to-3Engines-Cloud-Horizon.html.md).
Note Note
@ -38,11 +38,11 @@ If you are using CLI when creating vGPU nodegroups and are being authenticated w
No. 3 **Cluster and kubectl should be operational** No. 3 **Cluster and kubectl should be operational**
To connect to the cluster via **kubectl** tool, see this article [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md). To connect to the cluster via **kubectl** tool, see this article [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md).
No. 4 **Familiarity with the notion of nodegroups** No. 4 **Familiarity with the notion of nodegroups**
[Creating Additional Nodegroups in Kubernetes Cluster on 3Engines Cloud OpenStack Magnum](Creating-Additional-Nodegroups-in-Kubernetes-Cluster-on-3Engines-Cloud-OpenStack-Magnum.html.md). [Creating Additional Nodegroups in Kubernetes Cluster on 3Engines Cloud 3Engines Magnum](Creating-Additional-Nodegroups-in-Kubernetes-Cluster-on-3Engines-Cloud-3Engines-Magnum.html.md).
vGPU flavors per cloud[🔗](#vgpu-flavors-per-cloud "Permalink to this headline") vGPU flavors per cloud[🔗](#vgpu-flavors-per-cloud "Permalink to this headline")
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
@ -50,7 +50,7 @@ vGPU flavors per cloud[🔗](#vgpu-flavors-per-cloud "Permalink to this headline
Below is the list of GPU flavors in each cloud, applicable for using with Magnum Kubernetes service. Below is the list of GPU flavors in each cloud, applicable for using with Magnum Kubernetes service.
WAW3-1 WAW3-1
: WAW3-1 supports both four GPU flavors and the Kubernetes, through OpenStack Magnum. : WAW3-1 supports both four GPU flavors and the Kubernetes, through 3Engines Magnum.
> | | | | | > | | | | |
> | --- | --- | --- | --- | > | --- | --- | --- | --- |
@ -61,7 +61,7 @@ WAW3-1
> | **vm.a6000.4** | 114688 | 320 | 16 | > | **vm.a6000.4** | 114688 | 320 | 16 |
WAW3-2 WAW3-2
: These are the vGPU flavors for WAW3-2 and Kubernetes, through OpenStack Magnum: : These are the vGPU flavors for WAW3-2 and Kubernetes, through 3Engines Magnum:
> | | | | | | > | | | | | |
> | --- | --- | --- | --- | --- | > | --- | --- | --- | --- | --- |
@ -72,7 +72,7 @@ WAW3-2
> | **gpu.l40sx8** | 254 | 953.75 GB | 1000 GB | Yes | > | **gpu.l40sx8** | 254 | 953.75 GB | 1000 GB | Yes |
FRA1-2 FRA1-2
: FRA1-2 Supports L40S and the Kubernetes, through OpenStack Magnum. : FRA1-2 Supports L40S and the Kubernetes, through 3Engines Magnum.
> | | | | | | > | | | | | |
> | --- | --- | --- | --- | --- | > | --- | --- | --- | --- | --- |
@ -109,7 +109,7 @@ Scenario 1 - Add vGPU nodes as a nodegroup on a non-GPU Kubernetes clusters crea
In order to create a new nodegroup, called **gpu**, with one node vGPU flavor, say, **vm.a6000.2**, we can use the following Magnum CLI command: In order to create a new nodegroup, called **gpu**, with one node vGPU flavor, say, **vm.a6000.2**, we can use the following Magnum CLI command:
``` ```
openstack coe nodegroup create $CLUSTER_ID gpu \ 3Engines coe nodegroup create $CLUSTER_ID gpu \
--labels "worker_type=gpu" \ --labels "worker_type=gpu" \
--merge-labels \ --merge-labels \
--role worker \ --role worker \
@ -129,7 +129,7 @@ Your request will be accepted:
Now list the available nodegroups: Now list the available nodegroups:
``` ```
openstack coe nodegroup list $CLUSTER_ID_RECENT \ 3Engines coe nodegroup list $CLUSTER_ID_RECENT \
--max-width 120 --max-width 120
``` ```
@ -156,7 +156,7 @@ where **$MASTER\_0\_SERVER\_ID** is the ID of the **master0** VM from your clust
> * or using a CLI command to isolate the *uuid* for the master node: > * or using a CLI command to isolate the *uuid* for the master node:
``` ```
openstack coe nodegroup list $CLUSTER_ID_OLDER \ 3Engines coe nodegroup list $CLUSTER_ID_OLDER \
-c uuid \ -c uuid \
-c name \ -c name \
-c status \ -c status \
@ -176,7 +176,7 @@ export MASTER_0_SERVER_ID="413c7486-caa9-4e12-be3b-3d9410f2d32f"
and execute the following command to create an additional nodegroup in this scenario: and execute the following command to create an additional nodegroup in this scenario:
``` ```
openstack coe nodegroup create $CLUSTER_ID_OLDER gpu \ 3Engines coe nodegroup create $CLUSTER_ID_OLDER gpu \
--labels "worker_type=gpu,existing_helm_handler_master_id=$MASTER_0_SERVER_ID" \ --labels "worker_type=gpu,existing_helm_handler_master_id=$MASTER_0_SERVER_ID" \
--merge-labels \ --merge-labels \
--role worker \ --role worker \
@ -190,7 +190,7 @@ There may not be any space between the labels.
The request will be accepted and after a while, a new nodegroup will be available and based on GPU flavor. List the nodegroups with the command: The request will be accepted and after a while, a new nodegroup will be available and based on GPU flavor. List the nodegroups with the command:
``` ```
openstack coe nodegroup list $CLUSTER_ID_OLDER --max-width 120 3Engines coe nodegroup list $CLUSTER_ID_OLDER --max-width 120
``` ```
@ -218,7 +218,7 @@ kubectl get namespaces
The final command to create the required cluster is: The final command to create the required cluster is:
``` ```
openstack coe cluster create k8s-gpu-with_template \ 3Engines coe cluster create k8s-gpu-with_template \
--cluster-template "k8s-1.23.16-vgpu-v1.0.0" \ --cluster-template "k8s-1.23.16-vgpu-v1.0.0" \
--keypair=$KEYPAIR \ --keypair=$KEYPAIR \
--master-count 1 \ --master-count 1 \
@ -353,7 +353,7 @@ In such clusters, to add an additional, non-GPU nodegroup, you will need to:
In order to retrieve the image ID, you need to know with which template you want to use to create the new nodegroup. Out of the existing non-GPU templates, we select **k8s-1.23.16-v1.0.2** for this example. Run the following command to extract the template ID, as that will be needed for nodegroup creation: In order to retrieve the image ID, you need to know with which template you want to use to create the new nodegroup. Out of the existing non-GPU templates, we select **k8s-1.23.16-v1.0.2** for this example. Run the following command to extract the template ID, as that will be needed for nodegroup creation:
``` ```
openstack coe cluster \ 3Engines coe cluster \
template show k8s-1.23.16-v1.0.2 | grep image_id template show k8s-1.23.16-v1.0.2 | grep image_id
``` ```
@ -367,7 +367,7 @@ We can then add the non-GPU nodegroup with the following command, in which you c
``` ```
export CLUSTER_ID="k8s-gpu-with_template" export CLUSTER_ID="k8s-gpu-with_template"
export IMAGE_ID="42696e90-57af-4124-8e20-d017a44d6e24" export IMAGE_ID="42696e90-57af-4124-8e20-d017a44d6e24"
openstack coe nodegroup create $CLUSTER_ID default \ 3Engines coe nodegroup create $CLUSTER_ID default \
--labels "worker_type=default" \ --labels "worker_type=default" \
--merge-labels \ --merge-labels \
--role worker \ --role worker \
@ -380,7 +380,7 @@ openstack coe nodegroup create $CLUSTER_ID default \
Then list the nodegroup contents to see whether the creation succeeded: Then list the nodegroup contents to see whether the creation succeeded:
``` ```
openstack coe nodegroup list $CLUSTER_ID \ 3Engines coe nodegroup list $CLUSTER_ID \
--max-width 120 --max-width 120
``` ```

View File

@ -23,11 +23,11 @@ The resources that you require and use will reflect on the state of your account
No. 2 **Create Kubernetes cluster from Horizon GUI** No. 2 **Create Kubernetes cluster from Horizon GUI**
Know how to create a Kubernetes cluster from Horizon GUI, as described in article [How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md) Know how to create a Kubernetes cluster from Horizon GUI, as described in article [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md)
No. 3 **How to Access Kubernetes cluster post-deployment** No. 3 **How to Access Kubernetes cluster post-deployment**
Access to Linux command line and ability to access cluster, as described in article [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md) Access to Linux command line and ability to access cluster, as described in article [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md)
No. 4 **Handling Helm** No. 4 **Handling Helm**

View File

@ -23,11 +23,11 @@ You need a 3Engines Cloud hosting account with access to the Horizon interface:
No. 2 **Kubernetes cluster** No. 2 **Kubernetes cluster**
[How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md) [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md)
No. 3 **Access to cluster with kubectl** No. 3 **Access to cluster with kubectl**
[How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md) [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md)
No. 4 **Familiarity with Helm** No. 4 **Familiarity with Helm**

View File

@ -37,7 +37,7 @@ No. 3 **kubectl pointed to the Kubernetes cluster**
The following article gives options for creating a new cluster and activating the **kubectl** command: The following article gives options for creating a new cluster and activating the **kubectl** command:
[How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md). [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md).
As mentioned, create the cluster **without** installing the NGINX ingress option. As mentioned, create the cluster **without** installing the NGINX ingress option.

View File

@ -1,12 +1,12 @@
How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum[🔗](#how-to-access-kubernetes-cluster-post-deployment-using-kubectl-on-brand-name-openstack-magnum "Permalink to this headline") How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum[🔗](#how-to-access-kubernetes-cluster-post-deployment-using-kubectl-on-brand-name-3Engines-magnum "Permalink to this headline")
=================================================================================================================================================================================================================================== ===================================================================================================================================================================================================================================
In this tutorial, you start with a freshly installed Kubernetes cluster on 3Engines OpenStack server and connect the main Kubernetes tool, **kubectl** to the cloud. In this tutorial, you start with a freshly installed Kubernetes cluster on 3Engines 3Engines server and connect the main Kubernetes tool, **kubectl** to the cloud.
What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline") What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline")
--------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------
> * How to connect **kubectl** to the OpenStack Magnum server > * How to connect **kubectl** to the 3Engines Magnum server
> * How to access clusters with **kubectl** > * How to access clusters with **kubectl**
Prerequisites[🔗](#prerequisites "Permalink to this headline") Prerequisites[🔗](#prerequisites "Permalink to this headline")
@ -24,13 +24,13 @@ No. 3 **A cluster already installed on Magnum site**
You may already have a cluster installed if you have followed one of these articles: You may already have a cluster installed if you have followed one of these articles:
> * With Horizon interface: [How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md). > * With Horizon interface: [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md).
> * With command line interface: [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud OpenStack Magnum](How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-OpenStack-Magnum.html.md). > * With command line interface: [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud 3Engines Magnum](How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-3Engines-Magnum.html.md).
* Or, you may want to create a new cluster called *k8s-cluster*, just for this occasion by using the following CLI command: * Or, you may want to create a new cluster called *k8s-cluster*, just for this occasion by using the following CLI command:
``` ```
openstack coe cluster create \ 3Engines coe cluster create \
--cluster-template k8s-stable-1.23.5 \ --cluster-template k8s-stable-1.23.5 \
--labels eodata_access_enabled=false,floating-ip-enabled=true,master-lb-enabled=true \ --labels eodata_access_enabled=false,floating-ip-enabled=true,master-lb-enabled=true \
--merge-labels \ --merge-labels \
@ -49,16 +49,16 @@ It takes some 10-20 minutes for the new cluster to form.
In the rest of this text we shall use cluster name *k8s-cluster* be sure to use the name of the existing cluster instead. In the rest of this text we shall use cluster name *k8s-cluster* be sure to use the name of the existing cluster instead.
No. 4 **Connect openstack client to the cloud** No. 4 **Connect 3Engines client to the cloud**
Prepare **openstack** and **magnum** clients by executing *Step 2 Connect OpenStack and Magnum Clients to Horizon Cloud* from article [How To Install OpenStack and Magnum Clients for Command Line Interface to 3Engines Cloud Horizon](How-To-Install-OpenStack-and-Magnum-Clients-for-Command-Line-Interface-to-3Engines-Cloud-Horizon.html.md). Prepare **3Engines** and **magnum** clients by executing *Step 2 Connect 3Engines and Magnum Clients to Horizon Cloud* from article [How To Install 3Engines and Magnum Clients for Command Line Interface to 3Engines Cloud Horizon](How-To-Install-3Engines-and-Magnum-Clients-for-Command-Line-Interface-to-3Engines-Cloud-Horizon.html.md).
The Plan[🔗](#the-plan "Permalink to this headline") The Plan[🔗](#the-plan "Permalink to this headline")
--------------------------------------------------- ---------------------------------------------------
> * Follow up the steps listed in Prerequisite No. 2 and install **kubectl** on the platform of your choice. > * Follow up the steps listed in Prerequisite No. 2 and install **kubectl** on the platform of your choice.
> * Use the existing Kubernetes cluster on 3Engines or install a new one using the methods outlined in Prerequisites Nos. 3. > * Use the existing Kubernetes cluster on 3Engines or install a new one using the methods outlined in Prerequisites Nos. 3.
> * Use Step 2 in Prerequisite No. 4 to enable connection of **openstack** and **magnum** clients to the cloud. > * Use Step 2 in Prerequisite No. 4 to enable connection of **3Engines** and **magnum** clients to the cloud.
You are then going to connect **kubectl** to the Cloud. You are then going to connect **kubectl** to the Cloud.
@ -96,15 +96,15 @@ Step 2A Download Certificates From the Server using the CLI commands[🔗](#step
You will use command You will use command
``` ```
openstack coe cluster config 3Engines coe cluster config
``` ```
to download the files that **kubectl** needs for authentication with the server. See its input parameters using the **help** parameter: to download the files that **kubectl** needs for authentication with the server. See its input parameters using the **help** parameter:
``` ```
openstack coe cluster config --help 3Engines coe cluster config --help
usage: openstack coe cluster config [-h] usage: 3Engines coe cluster config [-h]
[--dir <dir>] [--force] [--output-certs] [--dir <dir>] [--force] [--output-certs]
[--use-certificate] [--use-keystone] [--use-certificate] [--use-keystone]
<cluster> <cluster>
@ -127,7 +127,7 @@ optional arguments:
Download the certificates into the *k8sdir* folder: Download the certificates into the *k8sdir* folder:
``` ```
openstack coe cluster config \ 3Engines coe cluster config \
--dir k8sdir \ --dir k8sdir \
--force \ --force \
--output-certs \ --output-certs \
@ -232,4 +232,4 @@ With **kubectl** operational, you can
> * list container images in the cluster > * list container images in the cluster
> * use Services, Deployments and all other resources in a Kubernetes cluster. > * use Services, Deployments and all other resources in a Kubernetes cluster.
Kubernetes dashboard is a visual alternative to **kubectl**. To install it, see [Using Dashboard To Access Kubernetes Cluster Post Deployment On 3Engines Cloud OpenStack Magnum](Using-Dashboard-To-Access-Kubernetes-Cluster-Post-Deployment-On-3Engines-Cloud-OpenStack-Magnum.html.md). Kubernetes dashboard is a visual alternative to **kubectl**. To install it, see [Using Dashboard To Access Kubernetes Cluster Post Deployment On 3Engines Cloud 3Engines Magnum](Using-Dashboard-To-Access-Kubernetes-Cluster-Post-Deployment-On-3Engines-Cloud-3Engines-Magnum.html.md).

View File

@ -1,4 +1,4 @@
How To Create API Server LoadBalancer for Kubernetes Cluster on 3Engines Cloud OpenStack Magnum[🔗](#how-to-create-api-server-loadbalancer-for-kubernetes-cluster-on-brand-name-openstack-magnum "Permalink to this headline") How To Create API Server LoadBalancer for Kubernetes Cluster on 3Engines Cloud 3Engines Magnum[🔗](#how-to-create-api-server-loadbalancer-for-kubernetes-cluster-on-brand-name-3Engines-magnum "Permalink to this headline")
=============================================================================================================================================================================================================================== ===============================================================================================================================================================================================================================
Load balancer can be understood both as Load balancer can be understood both as
@ -25,22 +25,22 @@ No. 1 **Hosting**
You need a 3Engines Cloud hosting account with Horizon interface <https://horizon.3Engines.com>. You need a 3Engines Cloud hosting account with Horizon interface <https://horizon.3Engines.com>.
No. 2 **Installation of the openstack command** No. 2 **Installation of the 3Engines command**
To activate **kubectl** command, the openstack command from CLI OpenStack Interface must be operational. The first part of article [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud OpenStack Magnum](How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-OpenStack-Magnum.html.md) shows how to install it. To activate **kubectl** command, the 3Engines command from CLI 3Engines Interface must be operational. The first part of article [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud 3Engines Magnum](How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-3Engines-Magnum.html.md) shows how to install it.
No. 3 **How to create Kubernetes cluster using Horizon commands** No. 3 **How to create Kubernetes cluster using Horizon commands**
The article [How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md) shows creation of clusters with Horizon visual interface. (In this article, you shall use it to create an exemplar cluster called *NoLoadBalancer*.) The article [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md) shows creation of clusters with Horizon visual interface. (In this article, you shall use it to create an exemplar cluster called *NoLoadBalancer*.)
No. 4 **Connect to the Kubernetes Cluster in Order to Use kubectl** No. 4 **Connect to the Kubernetes Cluster in Order to Use kubectl**
Article [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md) will show you how to connect your local machine to the existing Kubernetes cluster. Article [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md) will show you how to connect your local machine to the existing Kubernetes cluster.
How To Enable or Disable Load Balancer for Master Nodes[🔗](#how-to-enable-or-disable-load-balancer-for-master-nodes "Permalink to this headline") How To Enable or Disable Load Balancer for Master Nodes[🔗](#how-to-enable-or-disable-load-balancer-for-master-nodes "Permalink to this headline")
------------------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------------------
A default state for the Kubernetes cluster in 3Engines Cloud OpenStack Magnum hosting is to have no load balancer set up in advance. You can decide to have a load balancer created together with the basic Kubernetes cluster by checking on option **Enable Load Balancer for Master Nodes** in window **Network** when creating a cluster through Horizon interface. (See **Prerequisite No. 3** for the complete procedure.) A default state for the Kubernetes cluster in 3Engines Cloud 3Engines Magnum hosting is to have no load balancer set up in advance. You can decide to have a load balancer created together with the basic Kubernetes cluster by checking on option **Enable Load Balancer for Master Nodes** in window **Network** when creating a cluster through Horizon interface. (See **Prerequisite No. 3** for the complete procedure.)
The check box to enable load balancer for master nodes has two completely different meanings when checked and not checked. The check box to enable load balancer for master nodes has two completely different meanings when checked and not checked.
@ -63,8 +63,8 @@ One Master Node, No Load Balancer and the Problem It All Creates[🔗](#one-mast
To show exactly what the problem is, use To show exactly what the problem is, use
> * Prerequisite No. 2 to install openstack client for the local machine, so that you can use the **openstack** command. > * Prerequisite No. 2 to install 3Engines client for the local machine, so that you can use the **3Engines** command.
> * Then use Prerequisite No. 4 to connect to the OpenStack cloud and start using **openstack** command from the local terminal. > * Then use Prerequisite No. 4 to connect to the 3Engines cloud and start using **3Engines** command from the local terminal.
Then you can try a very usual command such as Then you can try a very usual command such as
@ -132,7 +132,7 @@ Step 3 **Create config File for Kubernetes Cluster**[🔗](#step-3-create-config
You are now going to connect to *NoLoadBalancer* cluster in spite of it not having a load balancer from the very start. To that end, create a config file to connect to the cluster, with the following command: You are now going to connect to *NoLoadBalancer* cluster in spite of it not having a load balancer from the very start. To that end, create a config file to connect to the cluster, with the following command:
``` ```
openstack coe cluster config NoLoadBalancer --force 3Engines coe cluster config NoLoadBalancer --force
``` ```

View File

@ -0,0 +1,196 @@
How To Install 3Engines and Magnum Clients for Command Line Interface to 3Engines Cloud Horizon[🔗](#how-to-install-3Engines-and-magnum-clients-for-command-line-interface-to-brand-name-horizon "Permalink to this headline")
=================================================================================================================================================================================================================================
How To Issue Commands to the 3Engines and Magnum Servers[🔗](#how-to-issue-commands-to-the-3Engines-and-magnum-servers "Permalink to this headline")
-----------------------------------------------------------------------------------------------------------------------------------------------------
There are three ways of working with Kubernetes clusters within 3Engines Magnum and Horizon modules:
**Horizon Commands**
You issue Horizon commands using mouse and keyboard, through predefined screen wizards. It is the easiest way to start but not the most productive in the long run.
**Command Line Interface (CLI)**
CLI commands are issued from desktop computer or server in the cloud. This approach allows you to save commands as text and repeat them afterwards. This is the preferred way for professionals.
**HTTPS Requests to the Magnum Server**
Both the Horizon and the CLI use HTTPS requests internally and in an interactive manner. You can, however, write your own software to automate and/or change the state of the server, in real time.
What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline")
---------------------------------------------------------------------------------------
> * How to install the CLI 3Engines and Magnum clients
> * How to connect the CLI to the Horizon server
> * Basic examples of using 3Engines and Magnum clients
Notes On Python Versions and Environments for Installation[🔗](#notes-on-python-versions-and-environments-for-installation "Permalink to this headline")
-------------------------------------------------------------------------------------------------------------------------------------------------------
3Engines is written in Python so you need to first install a Python working environment and then install the 3Engines clients. Officially, 3Engines runs only on Python 2.7 but you will most likely only be able to install a version 3.x of Python. During the installation, adjust accordingly the numbers of Python versions mentioned in the documentation.
You will be able to install Python on any of the popular platforms, such as Windows, MacOS, Linux on a desktop computer. Or, supposing you are logged into Horizon interface, you can use commands **Compute** => **Instances** to create an instance of a virtual machine. Then install the Python there. Ubuntu 18.04 or 20.04 would serve best in this regard.
Warning
Once you install Kubernetes cluster you will have also have installed instances with Fedora 33 or 35, say, for the master node of the control plane. You can install the Python and 3Engines clients there as well but Ubuntu is much easier to use and is the preferred solution in this case.
You can install the Python and the clients on several environments at once, say, on a desktop computer and on a virtual machine on the server, at the same time. Following the instructions in this tutorial, they will all be connected to one and the same Kubernetes cluster anyway.
Note
If you decide to install Python and the 3Engines clients on a virtual machine, you will need SSH keys in order to be able to enter the working environment. See [How to create key pair in 3Engines Dashboard on 3Engines Cloud](../cloud/How-to-create-key-pair-in-3Engines-Dashboard-on-3Engines-Cloud.html.md).
Prerequisites[🔗](#prerequisites "Permalink to this headline")
-------------------------------------------------------------
No. 1 **Hosting**
You need a 3Engines Cloud hosting account with Horizon interface <https://horizon.3Engines.com>.
No. 2 **Installation of 3Engines CLI on Ubuntu 20.04 Server**
The article [How to install 3EnginesClient for Linux on 3Engines Cloud](../3Enginescli/How-to-install-3EnginesClient-for-Linux-on-3Engines-Cloud.html.md) shows how to install 3Engines client on Ubuntu server. That Ubuntu may be the desktop operating system, a virtual machine on some other operating system, or an Ubuntu server in the cloud.
Installation on Mac OS will be similar to the installation on Ubuntu.
No. 3 **Installation of 3Engines CLI on Windows**
The article [How to install 3EnginesClient GitBash for Windows on 3Engines Cloud](../3Enginescli/How-to-install-3EnginesClient-GitBash-or-Cygwin-for-Windows-on-3Engines-Cloud.html.md) shows installation on Windows.
No. 4 **General Instructions for Installation of 3Engines Clients**
There are various ways of installing Python and the required clients. For instance, on MacOS, you can install the clients using Python PIP or install them natively, using *homebrew*.
The article [Install the 3Engines command-line clients](https://docs.3Engines.org/newton/user-guide/common/cli-install-3Engines-command-line-clients.html.md) will give a systematic introduction to installation of 3Engines family of clients on various operating systems.
Once installed, the CLI commands will be identical across various platforms and operating systems.
No. 5 **Connect 3Engines command to the cloud**
After the successful installation of **3Engines** command, it should be connected to the cloud. Follow this article for technical details: [How to activate 3Engines CLI access to 3Engines Cloud cloud using one- or two-factor authentication](../accountmanagement/How-to-activate-3Engines-CLI-access-to-3Engines-Cloud-cloud-using-one-or-two-factor-authentication.html.md).
Step 1 Install the CLI for Kubernetes on 3Engines Magnum[🔗](#step-1-install-the-cli-for-kubernetes-on-3Engines-magnum "Permalink to this headline")
-----------------------------------------------------------------------------------------------------------------------------------------------------
In this step, you are going to install clients for commands **3Engines** and **coe**, from modules 3Engines and Magnum, respectively.
Follow the Prerequisites Nos. 2, 3 or 4 to install the main client for 3Engines. Its name is *python-3Enginesclient* and the installation described in those will typically contain a command such as
```
pip install python-3Enginesclient
```
If you have installed 3EnginesClient using those prerequisite resources, we shall assume that the **3Engines** is available and connected to the cloud.
At the end of installation from either of the prerequisite articles, install Magnum client by issuing this command:
```
pip install python-magnumclient
```
Step 2 How to Use the 3Engines Client[🔗](#step-2-how-to-use-the-3Engines-client "Permalink to this headline")
---------------------------------------------------------------------------------------------------------------
In this step, you are going to start using the 3Engines client you have installed and connected to the cloud.
There are two ways of using the 3EnginesClient. If you enter the word **3Engines** at the command prompt of the terminal, you will enter the special command line interface, like this:
![3Engines_cli.png](../_images/3Engines_cli.png)
The benefit would be that you do not have to type **3Engines** keyword for every command.
Type **quit** to leave the **3Engines** internal command line prompt.
The preferred way, however, is typing the keyword **3Engines**, followed by parameters and running from terminal command line.
3Engines commands may have dozens of parameters so it is better to compose the command in an independent text editor and then copy and paste it into the terminal.
The Help Command[🔗](#the-help-command "Permalink to this headline")
-------------------------------------------------------------------
To learn about the available commands and their parameters, type **help** after the command. If applied to the keyword **3Engines** itself, it will write out a very long list of commands, which may come useful as an orientation. It may start out like this:
![3Engines_help.png](../_images/3Engines_help.png)
This is how it ends:
![3Engines_vim.png](../_images/3Engines_vim.png)
The colon in the last line means that the output is in **vi** (or **vim**) editor. To leave it, type letter **q** and press Enter on the keyboard.
Prerequisites No. 3 and 4 lead to official 3Engines user documentation.
Here is what happens when you enter a wrong parameter, say, *networks* instead of *network*:
```
3Engines networks list
```
![networks_list.png](../_images/networks_list.png)
You get a list of commands similar to what you just typed.
To list networks available in the system, use a singular version of the command:
```
3Engines network list
```
![network_list.png](../_images/network_list.png)
Step 4 How to Use the Magnum Client[🔗](#step-4-how-to-use-the-magnum-client "Permalink to this headline")
---------------------------------------------------------------------------------------------------------
OpensStack command for the server is **3Engines** but for Magnum, the command is not **magnum** as one would expect, but **coe**, for *container orchestration engine*. Therefore, the commands for clusters will always start with **3Engines coe**.
See cluster commands by entering
```
3Engines coe
```
into the command line:
![3Engines_coe.png](../_images/3Engines_coe.png)
You can see the existing clusters using the following command:
```
3Engines coe cluster list
```
![3Engines_coe_cluster_list.png](../_images/3Engines_coe_cluster_list.png)
This is more or less the same information that you can get from the Horizon interface:
![cluster_list_horizon.png](../_images/cluster_list_horizon.png)
after clicking on **Container Infra** => **Clusters**.
Prerequisite No. 5 offers more technical info about the Magnum client.
What To Do Next[🔗](#what-to-do-next "Permalink to this headline")
-----------------------------------------------------------------
In this tutorial you have
> * installed the *3Engines* and *Magnum* clients
> * connected them to the server, then used
> * **3Engines** command to access the server in general and
> * **coe** to access the clusters in particular.
> The article [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud 3Engines Magnum](How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-3Engines-Magnum.html.md) explains
* the advantages of using the CLI instead of Horizon interface, showing
* how to create a cluster template as well as
* how to create a new cluster
all via the CLI.

View File

@ -1,196 +0,0 @@
How To Install OpenStack and Magnum Clients for Command Line Interface to 3Engines Cloud Horizon[🔗](#how-to-install-openstack-and-magnum-clients-for-command-line-interface-to-brand-name-horizon "Permalink to this headline")
=================================================================================================================================================================================================================================
How To Issue Commands to the OpenStack and Magnum Servers[🔗](#how-to-issue-commands-to-the-openstack-and-magnum-servers "Permalink to this headline")
-----------------------------------------------------------------------------------------------------------------------------------------------------
There are three ways of working with Kubernetes clusters within Openstack Magnum and Horizon modules:
**Horizon Commands**
You issue Horizon commands using mouse and keyboard, through predefined screen wizards. It is the easiest way to start but not the most productive in the long run.
**Command Line Interface (CLI)**
CLI commands are issued from desktop computer or server in the cloud. This approach allows you to save commands as text and repeat them afterwards. This is the preferred way for professionals.
**HTTPS Requests to the Magnum Server**
Both the Horizon and the CLI use HTTPS requests internally and in an interactive manner. You can, however, write your own software to automate and/or change the state of the server, in real time.
What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline")
---------------------------------------------------------------------------------------
> * How to install the CLI OpenStack and Magnum clients
> * How to connect the CLI to the Horizon server
> * Basic examples of using OpenStack and Magnum clients
Notes On Python Versions and Environments for Installation[🔗](#notes-on-python-versions-and-environments-for-installation "Permalink to this headline")
-------------------------------------------------------------------------------------------------------------------------------------------------------
OpenStack is written in Python so you need to first install a Python working environment and then install the OpenStack clients. Officially, OpenStack runs only on Python 2.7 but you will most likely only be able to install a version 3.x of Python. During the installation, adjust accordingly the numbers of Python versions mentioned in the documentation.
You will be able to install Python on any of the popular platforms, such as Windows, MacOS, Linux on a desktop computer. Or, supposing you are logged into Horizon interface, you can use commands **Compute** => **Instances** to create an instance of a virtual machine. Then install the Python there. Ubuntu 18.04 or 20.04 would serve best in this regard.
Warning
Once you install Kubernetes cluster you will have also have installed instances with Fedora 33 or 35, say, for the master node of the control plane. You can install the Python and OpenStack clients there as well but Ubuntu is much easier to use and is the preferred solution in this case.
You can install the Python and the clients on several environments at once, say, on a desktop computer and on a virtual machine on the server, at the same time. Following the instructions in this tutorial, they will all be connected to one and the same Kubernetes cluster anyway.
Note
If you decide to install Python and the OpenStack clients on a virtual machine, you will need SSH keys in order to be able to enter the working environment. See [How to create key pair in OpenStack Dashboard on 3Engines Cloud](../cloud/How-to-create-key-pair-in-OpenStack-Dashboard-on-3Engines-Cloud.html.md).
Prerequisites[🔗](#prerequisites "Permalink to this headline")
-------------------------------------------------------------
No. 1 **Hosting**
You need a 3Engines Cloud hosting account with Horizon interface <https://horizon.3Engines.com>.
No. 2 **Installation of OpenStack CLI on Ubuntu 20.04 Server**
The article [How to install OpenStackClient for Linux on 3Engines Cloud](../openstackcli/How-to-install-OpenStackClient-for-Linux-on-3Engines-Cloud.html.md) shows how to install OpenStack client on Ubuntu server. That Ubuntu may be the desktop operating system, a virtual machine on some other operating system, or an Ubuntu server in the cloud.
Installation on Mac OS will be similar to the installation on Ubuntu.
No. 3 **Installation of OpenStack CLI on Windows**
The article [How to install OpenStackClient GitBash for Windows on 3Engines Cloud](../openstackcli/How-to-install-OpenStackClient-GitBash-or-Cygwin-for-Windows-on-3Engines-Cloud.html.md) shows installation on Windows.
No. 4 **General Instructions for Installation of OpenStack Clients**
There are various ways of installing Python and the required clients. For instance, on MacOS, you can install the clients using Python PIP or install them natively, using *homebrew*.
The article [Install the OpenStack command-line clients](https://docs.openstack.org/newton/user-guide/common/cli-install-openstack-command-line-clients.html.md) will give a systematic introduction to installation of OpenStack family of clients on various operating systems.
Once installed, the CLI commands will be identical across various platforms and operating systems.
No. 5 **Connect openstack command to the cloud**
After the successful installation of **openstack** command, it should be connected to the cloud. Follow this article for technical details: [How to activate OpenStack CLI access to 3Engines Cloud cloud using one- or two-factor authentication](../accountmanagement/How-to-activate-OpenStack-CLI-access-to-3Engines-Cloud-cloud-using-one-or-two-factor-authentication.html.md).
Step 1 Install the CLI for Kubernetes on OpenStack Magnum[🔗](#step-1-install-the-cli-for-kubernetes-on-openstack-magnum "Permalink to this headline")
-----------------------------------------------------------------------------------------------------------------------------------------------------
In this step, you are going to install clients for commands **openstack** and **coe**, from modules OpenStack and Magnum, respectively.
Follow the Prerequisites Nos. 2, 3 or 4 to install the main client for OpenStack. Its name is *python-openstackclient* and the installation described in those will typically contain a command such as
```
pip install python-openstackclient
```
If you have installed OpenStackClient using those prerequisite resources, we shall assume that the **openstack** is available and connected to the cloud.
At the end of installation from either of the prerequisite articles, install Magnum client by issuing this command:
```
pip install python-magnumclient
```
Step 2 How to Use the OpenStack Client[🔗](#step-2-how-to-use-the-openstack-client "Permalink to this headline")
---------------------------------------------------------------------------------------------------------------
In this step, you are going to start using the OpenStack client you have installed and connected to the cloud.
There are two ways of using the OpenStackClient. If you enter the word **openstack** at the command prompt of the terminal, you will enter the special command line interface, like this:
![openstack_cli.png](../_images/openstack_cli.png)
The benefit would be that you do not have to type **openstack** keyword for every command.
Type **quit** to leave the **openstack** internal command line prompt.
The preferred way, however, is typing the keyword **openstack**, followed by parameters and running from terminal command line.
Openstack commands may have dozens of parameters so it is better to compose the command in an independent text editor and then copy and paste it into the terminal.
The Help Command[🔗](#the-help-command "Permalink to this headline")
-------------------------------------------------------------------
To learn about the available commands and their parameters, type **help** after the command. If applied to the keyword **openstack** itself, it will write out a very long list of commands, which may come useful as an orientation. It may start out like this:
![openstack_help.png](../_images/openstack_help.png)
This is how it ends:
![openstack_vim.png](../_images/openstack_vim.png)
The colon in the last line means that the output is in **vi** (or **vim**) editor. To leave it, type letter **q** and press Enter on the keyboard.
Prerequisites No. 3 and 4 lead to official OpenStack user documentation.
Here is what happens when you enter a wrong parameter, say, *networks* instead of *network*:
```
openstack networks list
```
![networks_list.png](../_images/networks_list.png)
You get a list of commands similar to what you just typed.
To list networks available in the system, use a singular version of the command:
```
openstack network list
```
![network_list.png](../_images/network_list.png)
Step 4 How to Use the Magnum Client[🔗](#step-4-how-to-use-the-magnum-client "Permalink to this headline")
---------------------------------------------------------------------------------------------------------
OpensStack command for the server is **openstack** but for Magnum, the command is not **magnum** as one would expect, but **coe**, for *container orchestration engine*. Therefore, the commands for clusters will always start with **openstack coe**.
See cluster commands by entering
```
openstack coe
```
into the command line:
![openstack_coe.png](../_images/openstack_coe.png)
You can see the existing clusters using the following command:
```
openstack coe cluster list
```
![openstack_coe_cluster_list.png](../_images/openstack_coe_cluster_list.png)
This is more or less the same information that you can get from the Horizon interface:
![cluster_list_horizon.png](../_images/cluster_list_horizon.png)
after clicking on **Container Infra** => **Clusters**.
Prerequisite No. 5 offers more technical info about the Magnum client.
What To Do Next[🔗](#what-to-do-next "Permalink to this headline")
-----------------------------------------------------------------
In this tutorial you have
> * installed the *OpenStack* and *Magnum* clients
> * connected them to the server, then used
> * **openstack** command to access the server in general and
> * **coe** to access the clusters in particular.
> The article [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud OpenStack Magnum](How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-OpenStack-Magnum.html.md) explains
* the advantages of using the CLI instead of Horizon interface, showing
* how to create a cluster template as well as
* how to create a new cluster
all via the CLI.

View File

@ -1,13 +1,13 @@
How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud OpenStack Magnum[🔗](#how-to-use-command-line-interface-for-kubernetes-clusters-on-brand-name-openstack-magnum "Permalink to this headline") How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud 3Engines Magnum[🔗](#how-to-use-command-line-interface-for-kubernetes-clusters-on-brand-name-3Engines-magnum "Permalink to this headline")
========================================================================================================================================================================================================================= =========================================================================================================================================================================================================================
In this article you shall use Command Line Interface (CLI) to speed up testing and creation of Kubernetes clusters on OpenStack Magnum servers. In this article you shall use Command Line Interface (CLI) to speed up testing and creation of Kubernetes clusters on 3Engines Magnum servers.
What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline") What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline")
--------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------
> * The advantages of using CLI over the Horizon graphical interface > * The advantages of using CLI over the Horizon graphical interface
> * Debugging OpenStack and Magnum commands > * Debugging 3Engines and Magnum commands
> * How to create a new Kubernetes cluster template using CLI > * How to create a new Kubernetes cluster template using CLI
> * How to create a new Kubernetes cluster using CLI > * How to create a new Kubernetes cluster using CLI
> * Reasons why the cluster may fail to create > * Reasons why the cluster may fail to create
@ -22,29 +22,29 @@ You need a 3Engines Cloud hosting account with Horizon interface <https://horizo
No. 2 **Private and public keys** No. 2 **Private and public keys**
An SSH key-pair created in OpenStack dashboard. To create it, follow this article [How to create key pair in OpenStack Dashboard on 3Engines Cloud](../cloud/How-to-create-key-pair-in-OpenStack-Dashboard-on-3Engines-Cloud.html.md). You will have created keypair called *sshkey* and you will be able to use it for this tutorial as well. An SSH key-pair created in 3Engines dashboard. To create it, follow this article [How to create key pair in 3Engines Dashboard on 3Engines Cloud](../cloud/How-to-create-key-pair-in-3Engines-Dashboard-on-3Engines-Cloud.html.md). You will have created keypair called *sshkey* and you will be able to use it for this tutorial as well.
No. 3 **Command Structure of OpenStack Client Commands** No. 3 **Command Structure of 3Engines Client Commands**
Here is the manual for OpenStackClient commands: [Command Structure Xena version](https://docs.openstack.org/python-openstackclient/xena/cli/commands.html.md). Here is the manual for 3EnginesClient commands: [Command Structure Xena version](https://docs.3Engines.org/python-3Enginesclient/xena/cli/commands.html.md).
No. 4 **Command List of OpenStack Client Commands** No. 4 **Command List of 3Engines Client Commands**
These are all the commands supported by Xena release of OpenStackClient: [Xena Command List](https://docs.openstack.org/python-openstackclient/xena/cli/command-list.html.md). These are all the commands supported by Xena release of 3EnginesClient: [Xena Command List](https://docs.3Engines.org/python-3Enginesclient/xena/cli/command-list.html.md).
No. 5 **Documentation for Magnum client** No. 5 **Documentation for Magnum client**
These are all the commands supported by Xena release of MagnumClient: [Magnum User Guide](https://docs.openstack.org/magnum/latest/user/). These are all the commands supported by Xena release of MagnumClient: [Magnum User Guide](https://docs.3Engines.org/magnum/latest/user/).
No. 6 **How to install OpenStack and Magnum Clients** No. 6 **How to install 3Engines and Magnum Clients**
The step that directly precedes this article is: [How To Install OpenStack and Magnum Clients for Command Line Interface to 3Engines Cloud Horizon](How-To-Install-OpenStack-and-Magnum-Clients-for-Command-Line-Interface-to-3Engines-Cloud-Horizon.html.md). The step that directly precedes this article is: [How To Install 3Engines and Magnum Clients for Command Line Interface to 3Engines Cloud Horizon](How-To-Install-3Engines-and-Magnum-Clients-for-Command-Line-Interface-to-3Engines-Cloud-Horizon.html.md).
In that guide, you have installed the CLI and in this tutorial, you are going to use it to work with Kubernetes on OpenStack Magnum. In that guide, you have installed the CLI and in this tutorial, you are going to use it to work with Kubernetes on 3Engines Magnum.
No. 7 **Autohealing of Kubernetes Clusters** No. 7 **Autohealing of Kubernetes Clusters**
To learn more about autohealing of Kubernetes clusters, follow this official article [What is Magnum Autohealer?](https://github.com/kubernetes/cloud-provider-openstack/blob/master/docs/magnum-auto-healer/using-magnum-auto-healer.md). To learn more about autohealing of Kubernetes clusters, follow this official article [What is Magnum Autohealer?](https://github.com/kubernetes/cloud-provider-3Engines/blob/master/docs/magnum-auto-healer/using-magnum-auto-healer.md).
The Advantages of Using the CLI[🔗](#the-advantages-of-using-the-cli "Permalink to this headline") The Advantages of Using the CLI[🔗](#the-advantages-of-using-the-cli "Permalink to this headline")
------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------
@ -56,7 +56,7 @@ You can use the CLI and Horizon interface interchangeably, but there are at leas
Here is a command to list flavors in the system Here is a command to list flavors in the system
``` ```
openstack flavor list 3Engines flavor list
``` ```
@ -81,7 +81,7 @@ You can use available automation. The result of the following Ubuntu pipeline is
There are two commands pipelined into one: There are two commands pipelined into one:
``` ```
KUBERNETES_URL=$(openstack coe cluster show k8s-cluster KUBERNETES_URL=$(3Engines coe cluster show k8s-cluster
| awk '/ api_address /{print $4}') | awk '/ api_address /{print $4}')
``` ```
@ -89,7 +89,7 @@ KUBERNETES_URL=$(openstack coe cluster show k8s-cluster
The result of the first command The result of the first command
``` ```
openstack coe cluster show k8s-cluster 3Engines coe cluster show k8s-cluster
``` ```
@ -106,37 +106,37 @@ awk '/ api_address /{print $4}')
is searching for the line starting with *api\_address* and extracting its value *https://64.225.132.135:6443*. The final result is exported to the system variable KUBERNETES\_URL, thus automatically setting it up for use by Kubernetes cluster command **kubectl** when accessing the cloud. is searching for the line starting with *api\_address* and extracting its value *https://64.225.132.135:6443*. The final result is exported to the system variable KUBERNETES\_URL, thus automatically setting it up for use by Kubernetes cluster command **kubectl** when accessing the cloud.
### CLI Yields Access to All of the Existing OpenStack and Magnum Parameters[🔗](#cli-yields-access-to-all-of-the-existing-openstack-and-magnum-parameters "Permalink to this headline") ### CLI Yields Access to All of the Existing 3Engines and Magnum Parameters[🔗](#cli-yields-access-to-all-of-the-existing-3Engines-and-magnum-parameters "Permalink to this headline")
CLI commands offer access to a larger set of parameters than is available through Horizon. For instance, in Horizon, the default length of time allowed for creation of a cluster is 60 minutes while in CLI, you can set it to other values of choice. CLI commands offer access to a larger set of parameters than is available through Horizon. For instance, in Horizon, the default length of time allowed for creation of a cluster is 60 minutes while in CLI, you can set it to other values of choice.
### Debugging OpenStack and Magnum Commands[🔗](#debugging-openstack-and-magnum-commands "Permalink to this headline") ### Debugging 3Engines and Magnum Commands[🔗](#debugging-3Engines-and-magnum-commands "Permalink to this headline")
To see what is actually happening behind the scenes, when executing client commands, add parameter **debug**: To see what is actually happening behind the scenes, when executing client commands, add parameter **debug**:
``` ```
openstack coe cluster list --debug 3Engines coe cluster list --debug
``` ```
The output will be several screens long, consisting of GET and POST web calls, with dozens of parameters shown on screen. (The output is too voluminous to reproduce here.) The output will be several screens long, consisting of GET and POST web calls, with dozens of parameters shown on screen. (The output is too voluminous to reproduce here.)
How to Enter OpenStack Commands[🔗](#how-to-enter-openstack-commands "Permalink to this headline") How to Enter 3Engines Commands[🔗](#how-to-enter-3Engines-commands "Permalink to this headline")
------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------
Note Note
In the forthcoming example, a version **fedora-coreos-34.20210904.3.0** of fedora images is used. As the system is updated in time, the actual values may become different, for instance, any of values **fedora-coreos-35** or **fedora-coreos-33.20210426.3.0**. Use Horizon command Compute -> Images to see what images of fedora are currently available, then edit and replace as needed. In the forthcoming example, a version **fedora-coreos-34.20210904.3.0** of fedora images is used. As the system is updated in time, the actual values may become different, for instance, any of values **fedora-coreos-35** or **fedora-coreos-33.20210426.3.0**. Use Horizon command Compute -> Images to see what images of fedora are currently available, then edit and replace as needed.
There are several ways to write down and enter Openstack commands into the terminal command line interface. There are several ways to write down and enter 3Engines commands into the terminal command line interface.
One way is to enter command **openstack** and press *Enter* on the keyboard. You enter the line mode of the **openstack** command and can enter rows of various openstack parameters line after line. This is stricly for manual data entry and is difficult to automate. One way is to enter command **3Engines** and press *Enter* on the keyboard. You enter the line mode of the **3Engines** command and can enter rows of various 3Engines parameters line after line. This is stricly for manual data entry and is difficult to automate.
![ku_openstack_line_entry.png](../_images/ku_openstack_line_entry.png) ![ku_3Engines_line_entry.png](../_images/ku_3Engines_line_entry.png)
Type **quit** and press *Enter* on keyboard to leave that mode. Type **quit** and press *Enter* on keyboard to leave that mode.
The usual way of entering **openstack** parameters is in one long line. Leave spaces between parameters but enter label values *without* any spaces inbetween. An example may be: The usual way of entering **3Engines** parameters is in one long line. Leave spaces between parameters but enter label values *without* any spaces inbetween. An example may be:
![ku_long_line.png](../_images/ku_long_line.png) ![ku_long_line.png](../_images/ku_long_line.png)
@ -145,7 +145,7 @@ The line breaks and blanks have to be eradicated manually in this case.
A more elegant way is to use backslash character, **\**, in line text. The character after backslash will not be taken into account so if you enter it at the very end of the line, the EOL character will be avoided and the first and the second line will be treated as one continuous line. That is exactly what you want, so here is what an entry line could look like with this approach: A more elegant way is to use backslash character, **\**, in line text. The character after backslash will not be taken into account so if you enter it at the very end of the line, the EOL character will be avoided and the first and the second line will be treated as one continuous line. That is exactly what you want, so here is what an entry line could look like with this approach:
``` ```
openstack coe cluster template create kubecluster \ 3Engines coe cluster template create kubecluster \
--image "fedora-coreos-34.20210904.3.0" \ --image "fedora-coreos-34.20210904.3.0" \
--external-network external \ --external-network external \
--master-flavor eo1.large \ --master-flavor eo1.large \
@ -183,7 +183,7 @@ Warning
If you are new to Kubernetes please, at first, create clusters only directly using the default cluster template. If you are new to Kubernetes please, at first, create clusters only directly using the default cluster template.
Once you get more experience, you can start creating your own cluster templates and here is how to do it using CLI. Once you get more experience, you can start creating your own cluster templates and here is how to do it using CLI.
OpenStack Command for Creation of Cluster[🔗](#openstack-command-for-creation-of-cluster "Permalink to this headline") 3Engines Command for Creation of Cluster[🔗](#3Engines-command-for-creation-of-cluster "Permalink to this headline")
--------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------
In this step you can create a new cluster using either the default cluster template or any of the templates that you have already created. In this step you can create a new cluster using either the default cluster template or any of the templates that you have already created.
@ -191,14 +191,14 @@ In this step you can create a new cluster using either the default cluster templ
Enter Enter
``` ```
openstack coe cluster create -h 3Engines coe cluster create -h
``` ```
to see the parameters. Provide all or almost all of the required parameters. to see the parameters. Provide all or almost all of the required parameters.
``` ```
usage: openstack coe cluster create usage: 3Engines coe cluster create
[-h] [-h]
--cluster-template <cluster-template> --cluster-template <cluster-template>
[--discovery-url <discovery-url>] [--discovery-url <discovery-url>]
@ -217,7 +217,7 @@ usage: openstack coe cluster create
Here is what one such command might actually look like: Here is what one such command might actually look like:
``` ```
openstack coe cluster create 3Engines coe cluster create
--cluster-template k8s-stable-1.23.5 --cluster-template k8s-stable-1.23.5
--docker-volume-size 50 --docker-volume-size 50
--labels eodata_access_enabled=false,floating-ip-enabled=true, --labels eodata_access_enabled=false,floating-ip-enabled=true,
@ -242,7 +242,7 @@ Here are some special labels the functionality of which is only available throug
Note Note
**Prerequisite No. 6** will show you how to enable command line interface with your cloud server. **Prerequisite No. 7** will give you a formal introduction to the notion of Kubernetes autohealing, as implemented in OpenStack Magnum. **Prerequisite No. 6** will show you how to enable command line interface with your cloud server. **Prerequisite No. 7** will give you a formal introduction to the notion of Kubernetes autohealing, as implemented in 3Engines Magnum.
The only way to have auto healing turned on and guarantee at the same time that the cluster will be formed normally, is to set up the following label: The only way to have auto healing turned on and guarantee at the same time that the cluster will be formed normally, is to set up the following label:
@ -257,11 +257,11 @@ Do not include the above label if you want to create a cluster that does not use
Here is a variation of the CLI command to generate a cluster. It will use medium values instead of large for flavors, will have only one master and one worker node, will have auto healing turned on etc. Here is a variation of the CLI command to generate a cluster. It will use medium values instead of large for flavors, will have only one master and one worker node, will have auto healing turned on etc.
**openstack coe cluster create cluster-template k8s-stable-1.23.5 labels floating-ip-enabled=true,master-lb-enabled=true,auto\_healing\_enabled=true merge-labels keypair sshkey master-count 1 node-count 1 master-flavor eo1.medium flavor eo1.medium newcluster** **3Engines coe cluster create cluster-template k8s-stable-1.23.5 labels floating-ip-enabled=true,master-lb-enabled=true,auto\_healing\_enabled=true merge-labels keypair sshkey master-count 1 node-count 1 master-flavor eo1.medium flavor eo1.medium newcluster**
**Execute the command for creation of a cluster** **Execute the command for creation of a cluster**
Copy and paste the above command into the terminal where OpenStack and Magnum clients are active: Copy and paste the above command into the terminal where 3Engines and Magnum clients are active:
![cli_newcluster.png](../_images/cli_newcluster.png) ![cli_newcluster.png](../_images/cli_newcluster.png)
@ -271,7 +271,7 @@ How To Check Upon the Status of the Cluster[🔗](#how-to-check-upon-the-status-
The command to show the status of clusters is The command to show the status of clusters is
``` ```
openstack coe cluster list 3Engines coe cluster list
``` ```
@ -288,7 +288,7 @@ Resource CREATE failed: OverQuotaClient: resources.secgroup_kube_master: Quota e
The quota for the security group rules was exceeded. To verify, execute this command: The quota for the security group rules was exceeded. To verify, execute this command:
``` ```
openstack quota show --default 3Engines quota show --default
``` ```
@ -325,7 +325,7 @@ CLI Commands to Delete a Cluster[🔗](#cli-commands-to-delete-a-cluster "Permal
If the cluster failed to create, it is still taking up system resources. Delete it with command such as If the cluster failed to create, it is still taking up system resources. Delete it with command such as
``` ```
openstack coe cluster delete 3Engines coe cluster delete
``` ```
@ -334,14 +334,14 @@ List the clusters and you will first see that the status is DELETE\_IN\_PROGRESS
Now try to delete cluster *largecluster*. There are two of them, so putting up a command such as Now try to delete cluster *largecluster*. There are two of them, so putting up a command such as
``` ```
openstack coe cluster delete largecluster 3Engines coe cluster delete largecluster
``` ```
will not be accepted. Instead of the name, enter the *uuid* value: will not be accepted. Instead of the name, enter the *uuid* value:
``` ```
openstack coe cluster delete e80c5815-d20b-4a2b-8588-49cf7a7e1aad 3Engines coe cluster delete e80c5815-d20b-4a2b-8588-49cf7a7e1aad
``` ```
@ -350,7 +350,7 @@ Again, the request will be accepted and then after a minute or two, the required
Now there is only one *largecluster* so this will work: Now there is only one *largecluster* so this will work:
``` ```
openstack coe cluster delete largecluster 3Engines coe cluster delete largecluster
``` ```
@ -365,4 +365,4 @@ What To Do Next[🔗](#what-to-do-next "Permalink to this headline")
In this tutorial, you have used the CLI commands to generate cluster templates as well as clusters themselves. Also, if the cluster process failed, how to free up the system resources and try again. In this tutorial, you have used the CLI commands to generate cluster templates as well as clusters themselves. Also, if the cluster process failed, how to free up the system resources and try again.
OpenStack and Magnum did heavy lifting for you, letting you create full fledged Kubernetes clusters with only a handful of CLI commands. The next step is to start working with the Kubernetes clusters directly. That means installing the **kubectl** command with article [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md) and using it to install the apps that you want to run on Kubernetes clusters. 3Engines and Magnum did heavy lifting for you, letting you create full fledged Kubernetes clusters with only a handful of CLI commands. The next step is to start working with the Kubernetes clusters directly. That means installing the **kubectl** command with article [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md) and using it to install the apps that you want to run on Kubernetes clusters.

View File

@ -1,4 +1,4 @@
How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum[🔗](#how-to-create-a-kubernetes-cluster-using-brand-name-openstack-magnum "Permalink to this headline") How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum[🔗](#how-to-create-a-kubernetes-cluster-using-brand-name-3Engines-magnum "Permalink to this headline")
================================================================================================================================================================================= =================================================================================================================================================================================
In this tutorial, you will start with an empty Horizon screen and end up running a full Kubernetes cluster. In this tutorial, you will start with an empty Horizon screen and end up running a full Kubernetes cluster.
@ -18,13 +18,13 @@ You need a 3Engines Cloud hosting account with Horizon interface <https://horizo
The resources that you require and use will reflect on the state of your account wallet. Check your account statistics at <https://portal.3Engines.com/> and if you are not going to use the cluster any more, remove them altogether to save resources costs. The resources that you require and use will reflect on the state of your account wallet. Check your account statistics at <https://portal.3Engines.com/> and if you are not going to use the cluster any more, remove them altogether to save resources costs.
Magnum clusters created by certain users are bound together with an impersonation token and in the event of removing that user from the project, the cluster will lose authentication to Openstack API making cluster non-operational. A typical scenario would be for the tenant manager to create user accounts and let them create Kubernetes clusters. Later on, in this scenario, when the cluster is operational, the user would be removed from the project. The cluster would be present but the user could not, say, create new clusters, or persistent volume claims would be dysfunctional and so on. Magnum clusters created by certain users are bound together with an impersonation token and in the event of removing that user from the project, the cluster will lose authentication to 3Engines API making cluster non-operational. A typical scenario would be for the tenant manager to create user accounts and let them create Kubernetes clusters. Later on, in this scenario, when the cluster is operational, the user would be removed from the project. The cluster would be present but the user could not, say, create new clusters, or persistent volume claims would be dysfunctional and so on.
Therefore, good practice in creation of new Kubernetes clusters is to create a service account dedicated to creating a Magnum cluster. In essence, devote one account to one Kubernetes cluster, nothing more and nothing less. Therefore, good practice in creation of new Kubernetes clusters is to create a service account dedicated to creating a Magnum cluster. In essence, devote one account to one Kubernetes cluster, nothing more and nothing less.
No. 2 **Private and public keys** No. 2 **Private and public keys**
An SSH key-pair created in OpenStack dashboard. To create it, follow this article [How to create key pair in OpenStack Dashboard on 3Engines Cloud](../cloud/How-to-create-key-pair-in-OpenStack-Dashboard-on-3Engines-Cloud.html.md). An SSH key-pair created in 3Engines dashboard. To create it, follow this article [How to create key pair in 3Engines Dashboard on 3Engines Cloud](../cloud/How-to-create-key-pair-in-3Engines-Dashboard-on-3Engines-Cloud.html.md).
The key pair created in that article is called “sshkey”. You will use it as one of the parameters for creation of the Kubernetes cluster. The key pair created in that article is called “sshkey”. You will use it as one of the parameters for creation of the Kubernetes cluster.
@ -59,7 +59,7 @@ You immediately see how the cluster template is applied:
**Availability Zone** **Availability Zone**
**nova** is the name of the related module in OpenStack and is the only option offered here. **nova** is the name of the related module in 3Engines and is the only option offered here.
**Keypair** **Keypair**
@ -69,11 +69,11 @@ Assuming you have used **Prerequisite No. 2**, choose *sshkey*.
**Addon Software - Enable Access to EO Data** **Addon Software - Enable Access to EO Data**
This field is specific to OpenStack systems that are developed by [3Engines hosting company](https://3Engines.com/en/). *EODATA* here means **Earth Observation Data** and refers to data gained from scientific satelites monitoring the Earth. This field is specific to 3Engines systems that are developed by [3Engines hosting company](https://3Engines.com/en/). *EODATA* here means **Earth Observation Data** and refers to data gained from scientific satelites monitoring the Earth.
Checking this field on, will install a network which will have access to the downloaded satelite data. Checking this field on, will install a network which will have access to the downloaded satelite data.
If you are just trying to learn about Kubernetes on OpenStack, leave this option unchecked. And vice versa: if you want to go into production and use satellite data, turn it on. If you are just trying to learn about Kubernetes on 3Engines, leave this option unchecked. And vice versa: if you want to go into production and use satellite data, turn it on.
Note Note
@ -153,7 +153,7 @@ However, turning the checkbox off discloses an option to use an existing network
**Use an Existing Network** **Use an Existing Network**
Using an existing network is a more advanced option. You would need to first create a network dedicated to this cluster in OpenStack along with the necessary adjustments. Creation of such a custom network is beyond the scope of this article. Note you should not use the network of another cluster, project network or EODATA network. Using an existing network is a more advanced option. You would need to first create a network dedicated to this cluster in 3Engines along with the necessary adjustments. Creation of such a custom network is beyond the scope of this article. Note you should not use the network of another cluster, project network or EODATA network.
If you have an existing network and you would like to proceed, you will need to choose the network and the subnet from the dropdown below: If you have an existing network and you would like to proceed, you will need to choose the network and the subnet from the dropdown below:
@ -197,7 +197,7 @@ If you **turn on** the field **I do want to override Template and Workflow Label
Step 5 Forming of the Cluster[🔗](#step-5-forming-of-the-cluster "Permalink to this headline") Step 5 Forming of the Cluster[🔗](#step-5-forming-of-the-cluster "Permalink to this headline")
--------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------
Once you click on **Submit** button, OpenStack will start creating the Kubernetes cluster for you. It will show a cloud message with green background in the upper right corner of the windows, stating that the creation of the cluster has been started. Once you click on **Submit** button, 3Engines will start creating the Kubernetes cluster for you. It will show a cloud message with green background in the upper right corner of the windows, stating that the creation of the cluster has been started.
Cluster generation usually takes from 10 to 15 minutes. It will be automatically abandoned if duration time is longer than 60 minutes. Cluster generation usually takes from 10 to 15 minutes. It will be automatically abandoned if duration time is longer than 60 minutes.
@ -216,7 +216,7 @@ Click on the name of the cluster, *Kubernetes*, and see what it will look like i
Step 6 Review cluster state[🔗](#step-6-review-cluster-state "Permalink to this headline") Step 6 Review cluster state[🔗](#step-6-review-cluster-state "Permalink to this headline")
----------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------
Here is what OpenStack Magnum created for you as the result of filling in the data in those three screens: Here is what 3Engines Magnum created for you as the result of filling in the data in those three screens:
> * A new network called *Kubernetes*, complete with subnet, ready to connect further. > * A new network called *Kubernetes*, complete with subnet, ready to connect further.
> * New instances virtual machines that serve as nodes. > * New instances virtual machines that serve as nodes.
@ -250,8 +250,8 @@ and so on.
Here are some relevant articles: Here are some relevant articles:
Read more about ingress here: [Using Kubernetes Ingress on 3Engines Cloud OpenStack Magnum](Using-Kubernetes-Ingress-on-3Engines-Cloud-OpenStack-Magnum.html.md) Read more about ingress here: [Using Kubernetes Ingress on 3Engines Cloud 3Engines Magnum](Using-Kubernetes-Ingress-on-3Engines-Cloud-3Engines-Magnum.html.md)
Article [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud OpenStack Magnum](How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-OpenStack-Magnum.html.md) shows how to use command line interface to create Kubernetes clusters. Article [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud 3Engines Magnum](How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-3Engines-Magnum.html.md) shows how to use command line interface to create Kubernetes clusters.
To access your newly created cluster from command line, see article [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md). To access your newly created cluster from command line, see article [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md).

View File

@ -1,7 +1,7 @@
How to create Kubernetes cluster using Terraform on 3Engines Cloud[🔗](#how-to-create-kubernetes-cluster-using-terraform-on-brand-name "Permalink to this headline") How to create Kubernetes cluster using Terraform on 3Engines Cloud[🔗](#how-to-create-kubernetes-cluster-using-terraform-on-brand-name "Permalink to this headline")
===================================================================================================================================================================== =====================================================================================================================================================================
In this article we demonstrate using [Terraform](https://www.terraform.io/) to deploy an OpenStack Magnum Kubernetes cluster on 3Engines Cloud cloud. In this article we demonstrate using [Terraform](https://www.terraform.io/) to deploy an 3Engines Magnum Kubernetes cluster on 3Engines Cloud cloud.
Prerequisites[🔗](#prerequisites "Permalink to this headline") Prerequisites[🔗](#prerequisites "Permalink to this headline")
------------------------------------------------------------- -------------------------------------------------------------
@ -10,47 +10,47 @@ No. 1 **Hosting account**
You need an active 3Engines Cloud account <https://portal.3Engines.com/>. You need an active 3Engines Cloud account <https://portal.3Engines.com/>.
No. 2 **Active CLI session with OpenStackClient for Linux** No. 2 **Active CLI session with 3EnginesClient for Linux**
You need an OpenStack CLI installed and the respective Python virtual environment sourced. For guidelines see: You need an 3Engines CLI installed and the respective Python virtual environment sourced. For guidelines see:
[How to install OpenStackClient for Linux on 3Engines Cloud](../openstackcli/How-to-install-OpenStackClient-for-Linux-on-3Engines-Cloud.html.md) [How to install 3EnginesClient for Linux on 3Engines Cloud](../3Enginescli/How-to-install-3EnginesClient-for-Linux-on-3Engines-Cloud.html.md)
It will show you how to install Python, create and activate a virtual environment, and then connect to the cloud by downloading and activating the proper RC file from the 3Engines Cloud cloud. It will show you how to install Python, create and activate a virtual environment, and then connect to the cloud by downloading and activating the proper RC file from the 3Engines Cloud cloud.
No. 3 **Connect to the cloud via an RC file** No. 3 **Connect to the cloud via an RC file**
Another article, [How to activate OpenStack CLI access to 3Engines Cloud cloud using one- or two-factor authentication](../accountmanagement/How-to-activate-OpenStack-CLI-access-to-3Engines-Cloud-cloud-using-one-or-two-factor-authentication.html.md), deals with connecting to the cloud and is covering either of the one- or two-factor authentication procedures that are enabled on your account. It also covers all the main platforms: Linux, MacOS and Windows. Another article, [How to activate 3Engines CLI access to 3Engines Cloud cloud using one- or two-factor authentication](../accountmanagement/How-to-activate-3Engines-CLI-access-to-3Engines-Cloud-cloud-using-one-or-two-factor-authentication.html.md), deals with connecting to the cloud and is covering either of the one- or two-factor authentication procedures that are enabled on your account. It also covers all the main platforms: Linux, MacOS and Windows.
You will use both the Python virtual environment and the downloaded RC file **after** Terraform has been installed. You will use both the Python virtual environment and the downloaded RC file **after** Terraform has been installed.
No. 4 **Familiarity with creating Kubernetes clusters** No. 4 **Familiarity with creating Kubernetes clusters**
Familiarity with creating Kubernetes clusters in a standard way e.g. using Horizon or OpenStack CLI: Familiarity with creating Kubernetes clusters in a standard way e.g. using Horizon or 3Engines CLI:
[How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md) [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md)
[How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud OpenStack Magnum](How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-OpenStack-Magnum.html.md) [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud 3Engines Magnum](How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-3Engines-Magnum.html.md)
No. 5 **Terraform operational** No. 5 **Terraform operational**
Have Terraform installed locally or on a cloud VM - installation guidelines along with further information can be found in this article: Have Terraform installed locally or on a cloud VM - installation guidelines along with further information can be found in this article:
[Generating and authorizing Terraform using Keycloak user on 3Engines Cloud](../openstackdev/Generating-and-authorizing-Terraform-using-Keycloak-user-on-3Engines-Cloud.html.md) [Generating and authorizing Terraform using Keycloak user on 3Engines Cloud](../3Enginesdev/Generating-and-authorizing-Terraform-using-Keycloak-user-on-3Engines-Cloud.html.md)
After you finish working through that article, you will have access to the cloud via an active **openstack** command. Also, special environmental (**env**) variables (**OS\_USERNAME**, **OS\_PASSWORD**, **OS\_AUTH\_URL** and others) will be set up so that various programs can use them Terraform being the prime target here. After you finish working through that article, you will have access to the cloud via an active **3Engines** command. Also, special environmental (**env**) variables (**OS\_USERNAME**, **OS\_PASSWORD**, **OS\_AUTH\_URL** and others) will be set up so that various programs can use them Terraform being the prime target here.
Define provider for Terraform[🔗](#define-provider-for-terraform "Permalink to this headline") Define provider for Terraform[🔗](#define-provider-for-terraform "Permalink to this headline")
--------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------
Terraform uses the notion of *provider*, which represents your concrete cloud environment and covers authentication. 3Engines Cloud clouds are built complying with OpenStack technology and OpenStack is one of the standard types of providers for Terraform. Terraform uses the notion of *provider*, which represents your concrete cloud environment and covers authentication. 3Engines Cloud clouds are built complying with 3Engines technology and 3Engines is one of the standard types of providers for Terraform.
We need to: We need to:
> * instruct Terraform to use OpenStack as a provider type > * instruct Terraform to use 3Engines as a provider type
> * provide credentials which will to point to our own project and user in the cloud. > * provide credentials which will to point to our own project and user in the cloud.
Assuming you have worked through Prerequisite No. 2 (download and source the RC file), several OpenStack-related environment variables will be populated in your local system. The ones pointing to your OpenStack environment start with OS, e.g. **OS\_USERNAME**, **OS\_PASSWORD**, **OS\_AUTH\_URL**. When we define OpenStack as TerraForm provider type, Terraform will know to automatically use these **env** variables to authenticate. Assuming you have worked through Prerequisite No. 2 (download and source the RC file), several 3Engines-related environment variables will be populated in your local system. The ones pointing to your 3Engines environment start with OS, e.g. **OS\_USERNAME**, **OS\_PASSWORD**, **OS\_AUTH\_URL**. When we define 3Engines as TerraForm provider type, Terraform will know to automatically use these **env** variables to authenticate.
Lets define the Terraform provider now by creating file **provider.tf** with the following contents: Lets define the Terraform provider now by creating file **provider.tf** with the following contents:
@ -61,15 +61,15 @@ Lets define the Terraform provider now by creating file **provider.tf** with
terraform { terraform {
required_version = ">= 0.14.0" required_version = ">= 0.14.0"
required_providers { required_providers {
openstack = { 3Engines = {
source = "terraform-provider-openstack/openstack" source = "terraform-provider-3Engines/3Engines"
version = "~> 1.35.0" version = "~> 1.35.0"
} }
} }
} }
# Configure the OpenStack Provider # Configure the 3Engines Provider
provider "openstack" { provider "3Engines" {
auth_url = "https://keystone.3Engines.com:5000/v3" auth_url = "https://keystone.3Engines.com:5000/v3"
# the rest of configuration parameters are taken from environment variables once RC file is correctly sourced # the rest of configuration parameters are taken from environment variables once RC file is correctly sourced
} }
@ -78,18 +78,18 @@ provider "openstack" {
The **auth\_url** is the only configuration option that shall be provided in the configuration file, despite it also being available within the environment variables. The **auth\_url** is the only configuration option that shall be provided in the configuration file, despite it also being available within the environment variables.
Having this provider spec allows us to create a cluster in the following steps, but can also be reused to create other resources in your OpenStack environment e.g. virtual machines, volumes and many others. Having this provider spec allows us to create a cluster in the following steps, but can also be reused to create other resources in your 3Engines environment e.g. virtual machines, volumes and many others.
Define cluster resource in Terraform[🔗](#define-cluster-resource-in-terraform "Permalink to this headline") Define cluster resource in Terraform[🔗](#define-cluster-resource-in-terraform "Permalink to this headline")
----------------------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------------------
The second step is to define the exact specification of a resource that we want to create with Terraform. In our case we want to create a OpenStack Magnum cluster. In Terraform terminology, it will be an instance of **openstack\_containerinfra\_cluster\_v1** resource type. To proceed, create file **cluster.tf** which contains the specification of our cluster: The second step is to define the exact specification of a resource that we want to create with Terraform. In our case we want to create a 3Engines Magnum cluster. In Terraform terminology, it will be an instance of **3Engines\_containerinfra\_cluster\_v1** resource type. To proceed, create file **cluster.tf** which contains the specification of our cluster:
**cluster.tf** **cluster.tf**
``` ```
# Create resource # Create resource
resource "openstack_containerinfra_cluster_v1" "k8s-cluster" { resource "3Engines_containerinfra_cluster_v1" "k8s-cluster" {
name = "k8s-cluster" name = "k8s-cluster"
cluster_template_id = "524535ed-9a0f-4b70-966f-6830cdc52604" cluster_template_id = "524535ed-9a0f-4b70-966f-6830cdc52604"
node_count = 3 node_count = 3
@ -115,7 +115,7 @@ node\_count, node\_flavor, master\_node\_count, master\_node\_flavor
: correspond intuitively to **count** and **flavor** of master and worker nodes in the cluster. : correspond intuitively to **count** and **flavor** of master and worker nodes in the cluster.
keypair keypair
: reflects the name of keypair used in our openstack project in the chosen cloud : reflects the name of keypair used in our 3Engines project in the chosen cloud
labels and merge\_labels labels and merge\_labels
: We use two labels: : We use two labels:
@ -144,7 +144,7 @@ terraform init
``` ```
This command will initialize our cluster deployment. It will capture any formal errors with authentication to OpenStack, which might need correcting before moving to the next stage. This command will initialize our cluster deployment. It will capture any formal errors with authentication to 3Engines, which might need correcting before moving to the next stage.
![image-2024-6-17_15-52-40.png](../_images/image-2024-6-17_15-52-40.png) ![image-2024-6-17_15-52-40.png](../_images/image-2024-6-17_15-52-40.png)

View File

@ -3,11 +3,11 @@ How to install Rancher RKE2 Kubernetes on 3Engines Cloud[🔗](#how-to-install-r
[RKE2](https://docs.rke2.io/) - Rancher Kubernetes Engine version 2 - is a Kubernetes distribution provided by SUSE. Running a self-managed RKE2 cluster in 3Engines Cloud cloud is a viable option, especially for those seeking smooth integration with Rancher platform and customization options. [RKE2](https://docs.rke2.io/) - Rancher Kubernetes Engine version 2 - is a Kubernetes distribution provided by SUSE. Running a self-managed RKE2 cluster in 3Engines Cloud cloud is a viable option, especially for those seeking smooth integration with Rancher platform and customization options.
An RKE2 cluster can be provisioned from Rancher GUI. However, in this article we use Terraform, which enables streamlined, automated cluster creation. We also use OpenStack Cloud Controller Manager (CCM) to integrate RKE2 cluster with the wider OpenStack environment. Using the customized version of CCM enables us to take advantage of 3Engines Cloud cloud-native features. The end result is An RKE2 cluster can be provisioned from Rancher GUI. However, in this article we use Terraform, which enables streamlined, automated cluster creation. We also use 3Engines Cloud Controller Manager (CCM) to integrate RKE2 cluster with the wider 3Engines environment. Using the customized version of CCM enables us to take advantage of 3Engines Cloud cloud-native features. The end result is
> * a provisioned RKE2 cluster > * a provisioned RKE2 cluster
> * running under OpenStack, with > * running under 3Engines, with
> * an integrated OpenStack Cloud Controller Manager. > * an integrated 3Engines Cloud Controller Manager.
We also illustrate the coding techniques used, in case you want to enhance the RKE2 implementation further. We also illustrate the coding techniques used, in case you want to enhance the RKE2 implementation further.
@ -38,25 +38,25 @@ You need a 3Engines Cloud hosting account with access to the Horizon interface:
No. 2 **Terraform available on your local command line** No. 2 **Terraform available on your local command line**
See [Generating and authorizing Terraform using Keycloak user on 3Engines Cloud](../openstackdev/Generating-and-authorizing-Terraform-using-Keycloak-user-on-3Engines-Cloud.html.md) See [Generating and authorizing Terraform using Keycloak user on 3Engines Cloud](../3Enginesdev/Generating-and-authorizing-Terraform-using-Keycloak-user-on-3Engines-Cloud.html.md)
No. 3 **Python virtual environment sourced** No. 3 **Python virtual environment sourced**
[How to install Python virtualenv or virtualenvwrapper on 3Engines Cloud](../cloud/How-to-install-Python-virtualenv-or-virtualenvwrapper-on-3Engines-Cloud.html.md) [How to install Python virtualenv or virtualenvwrapper on 3Engines Cloud](../cloud/How-to-install-Python-virtualenv-or-virtualenvwrapper-on-3Engines-Cloud.html.md)
No. 4 **OpenStack CLI installed locally** No. 4 **3Engines CLI installed locally**
When installed, you will have access to **openstack** command and will be able to communicate with the OpenStack cloud: When installed, you will have access to **3Engines** command and will be able to communicate with the 3Engines cloud:
[How to activate OpenStack CLI access to 3Engines Cloud cloud using one- or two-factor authentication](../accountmanagement/How-to-activate-OpenStack-CLI-access-to-3Engines-Cloud-cloud-using-one-or-two-factor-authentication.html.md) [How to activate 3Engines CLI access to 3Engines Cloud cloud using one- or two-factor authentication](../accountmanagement/How-to-activate-3Engines-CLI-access-to-3Engines-Cloud-cloud-using-one-or-two-factor-authentication.html.md)
No. 5 **kubectl tool installed locally** No. 5 **kubectl tool installed locally**
Standard types of **kubectl** installation are described on [Install Tools page](https://kubernetes.io/docs/tasks/tools/) of the official Kubernetes site. Standard types of **kubectl** installation are described on [Install Tools page](https://kubernetes.io/docs/tasks/tools/) of the official Kubernetes site.
No. 6 **Available key pair in OpenStack** No. 6 **Available key pair in 3Engines**
[How to create key pair in OpenStack Dashboard on 3Engines Cloud](../cloud/How-to-create-key-pair-in-OpenStack-Dashboard-on-3Engines-Cloud.html.md). [How to create key pair in 3Engines Dashboard on 3Engines Cloud](../cloud/How-to-create-key-pair-in-3Engines-Dashboard-on-3Engines-Cloud.html.md).
No. 7 **Application credentials** No. 7 **Application credentials**
@ -68,7 +68,7 @@ In this article, we shall create application credentials through Horizon but wit
No. 8 **Projects, roles, users and groups** No. 8 **Projects, roles, users and groups**
Option **Identity** lists available projects, roles, users and groups. See [What is an OpenStack project on 3Engines Cloud](../cloud/What-is-an-OpenStack-project-on-3Engines-Cloud.html.md) Option **Identity** lists available projects, roles, users and groups. See [What is an 3Engines project on 3Engines Cloud](../cloud/What-is-an-3Engines-project-on-3Engines-Cloud.html.md)
No. 9 **Experience with Kubernetes and Helm** No. 9 **Experience with Kubernetes and Helm**
@ -80,7 +80,7 @@ No. 10 **Cloud Controller Manager**
Within a general Kubernetes environment, [the Cloud Controller Manager (CCM)](https://kubernetes.io/docs/concepts/architecture/cloud-controller/) allows Kubernetes to integrate with cloud provider APIs. It abstracts cloud-specific logic and manages and synchronizes resources between Kubernetes and the underlying cloud infrastructure. Also, it provides controllers for Nodes, Routes, Services and Volumes. Within a general Kubernetes environment, [the Cloud Controller Manager (CCM)](https://kubernetes.io/docs/concepts/architecture/cloud-controller/) allows Kubernetes to integrate with cloud provider APIs. It abstracts cloud-specific logic and manages and synchronizes resources between Kubernetes and the underlying cloud infrastructure. Also, it provides controllers for Nodes, Routes, Services and Volumes.
Under OpenStack, CCM integrates with OpenStack APIs. The code used here is from a concrete repository for Cloud Controller Manager <https://github.com/kubernetes/cloud-provider-openstack> It implements the above mentioned (as well as) other OpenStack-Kubernetes integrations. Under 3Engines, CCM integrates with 3Engines APIs. The code used here is from a concrete repository for Cloud Controller Manager <https://github.com/kubernetes/cloud-provider-3Engines> It implements the above mentioned (as well as) other 3Engines-Kubernetes integrations.
No. 11 **rke2-terraform repository** No. 11 **rke2-terraform repository**
@ -99,11 +99,11 @@ One of the files downloaded from the above link will be **variables.tf**. It con
Step 1 Perform the preliminary setup[🔗](#step-1-perform-the-preliminary-setup "Permalink to this headline") Step 1 Perform the preliminary setup[🔗](#step-1-perform-the-preliminary-setup "Permalink to this headline")
----------------------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------------------
Our objective is to create a Kubernetes cluster, which runs in the cloud environment. RKE2 software packages will be installed on cloud virtual machines playing roles of Kubernetes master and worker nodes. Also, several other OpenStack resources will be created along. Our objective is to create a Kubernetes cluster, which runs in the cloud environment. RKE2 software packages will be installed on cloud virtual machines playing roles of Kubernetes master and worker nodes. Also, several other 3Engines resources will be created along.
As part of the preliminary setup to provision these resources we will: As part of the preliminary setup to provision these resources we will:
> * Create a dedicated OpenStack project to isolate all resources dedicated to the cluster > * Create a dedicated 3Engines project to isolate all resources dedicated to the cluster
> * Create application credentials > * Create application credentials
> * Ensure a key pair is enabled for the project > * Ensure a key pair is enabled for the project
> * Source locally the RC file for this project > * Source locally the RC file for this project
@ -126,7 +126,7 @@ Then click on “Create Project”. Once the project is created, switch to the c
### Preparation step 2 Create application credentials[🔗](#preparation-step-2-create-application-credentials "Permalink to this headline") ### Preparation step 2 Create application credentials[🔗](#preparation-step-2-create-application-credentials "Permalink to this headline")
The next step is to create an application credential that will be used to authenticate the OpenStack Cloud Controller Manager (used for automated load balancer provisioning). To create one, go to menu **Identity****Application Credentials**. Fill in the form as per the below example, passing all available roles (“member”, “load-balancer\_member”, “creator”, “reader”) roles to this credential. Set the expiry date to a date in the future. The next step is to create an application credential that will be used to authenticate the 3Engines Cloud Controller Manager (used for automated load balancer provisioning). To create one, go to menu **Identity****Application Credentials**. Fill in the form as per the below example, passing all available roles (“member”, “load-balancer\_member”, “creator”, “reader”) roles to this credential. Set the expiry date to a date in the future.
![image-2024-7-29_10-2-57.png](../_images/image-2024-7-29_10-2-57.png) ![image-2024-7-29_10-2-57.png](../_images/image-2024-7-29_10-2-57.png)
@ -157,13 +157,13 @@ variables.tf
: Contains key variables that specify configuration of our cluster e.g. **number of worker nodes**, **cloud region** where the cluster will be placed, **name of the cluster**. Most of these variables have their default values set and you can modify these defaults directly in the file. The variables with no defaults (secret, sensitive data) should have their values provided separately, via the use of **tfvars** file, which is explained in the next section. : Contains key variables that specify configuration of our cluster e.g. **number of worker nodes**, **cloud region** where the cluster will be placed, **name of the cluster**. Most of these variables have their default values set and you can modify these defaults directly in the file. The variables with no defaults (secret, sensitive data) should have their values provided separately, via the use of **tfvars** file, which is explained in the next section.
providers.tf providers.tf
: Used for declaring and configuring Terraform providers. In our case, we only use OpenStack provider, which is provisioning cloud resources that form the cluster. : Used for declaring and configuring Terraform providers. In our case, we only use 3Engines provider, which is provisioning cloud resources that form the cluster.
main.tf main.tf
: Contains declaration of resources to be created by Terraform. Several OpenStack resources are required to form a cluster e.g. a Network, Subnet, Router, Virtual Machines and others. Review the file for details and customize to your preference. : Contains declaration of resources to be created by Terraform. Several 3Engines resources are required to form a cluster e.g. a Network, Subnet, Router, Virtual Machines and others. Review the file for details and customize to your preference.
security-groups.tf security-groups.tf
: Contains declaration of security groups and security group rules used in OpenStack to open specific ports on virtual machines forming the cluster. Thus, the communication from selected sources gets enabled on each VM. Modify the file to customize. : Contains declaration of security groups and security group rules used in 3Engines to open specific ports on virtual machines forming the cluster. Thus, the communication from selected sources gets enabled on each VM. Modify the file to customize.
cloud-init-masters.yml.tpl cloud-init-masters.yml.tpl
: and : and
@ -311,18 +311,18 @@ Explaining all of the techniques that went into production of RKE2 repository fr
Let us examine the **cloud-init-masters.yml.tpl** file, concretely, the part between line numbers 53 and 79: Let us examine the **cloud-init-masters.yml.tpl** file, concretely, the part between line numbers 53 and 79:
``` ```
- path: /var/lib/rancher/rke2/server/manifests/rke2-openstack-cloud-controller-manager.yaml - path: /var/lib/rancher/rke2/server/manifests/rke2-3Engines-cloud-controller-manager.yaml
permissions: "0600" permissions: "0600"
owner: root:root owner: root:root
content: | content: |
apiVersion: helm.cattle.io/v1 apiVersion: helm.cattle.io/v1
kind: HelmChart kind: HelmChart
metadata: metadata:
name: openstack-cloud-controller-manager name: 3Engines-cloud-controller-manager
namespace: kube-system namespace: kube-system
spec: spec:
chart: openstack-cloud-controller-manager chart: 3Engines-cloud-controller-manager
repo: https://kubernetes.github.io/cloud-provider-openstack repo: https://kubernetes.github.io/cloud-provider-3Engines
targetNamespace: kube-system targetNamespace: kube-system
bootstrap: True bootstrap: True
valuesContent: |- valuesContent: |-
@ -343,7 +343,7 @@ Let us examine the **cloud-init-masters.yml.tpl** file, concretely, the part bet
It covers creating a yaml definition of a HelmChart CRD It covers creating a yaml definition of a HelmChart CRD
*rke2-openstack-cloud-controller-manager.yaml* *rke2-3Engines-cloud-controller-manager.yaml*
in location in location
@ -361,7 +361,7 @@ One of the entries is the aforementioned pod:
``` ```
NAME READY STATUS RESTARTS AGE NAME READY STATUS RESTARTS AGE
... ...
openstack-cloud-controller-manager-bz7zt 1/1 Running 1 (4h ago) 26h 3Engines-cloud-controller-manager-bz7zt 1/1 Running 1 (4h ago) 26h
... ...
``` ```
@ -384,6 +384,6 @@ What To Do Next[🔗](#what-to-do-next "Permalink to this headline")
In this article, you have created a proper Kubernetes solution using RKE2 cluster as a foundation. In this article, you have created a proper Kubernetes solution using RKE2 cluster as a foundation.
You can also consider creating Kubernetes clusters using Magnum within OpenStack: You can also consider creating Kubernetes clusters using Magnum within 3Engines:
[How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md) [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md)

View File

@ -1,7 +1,7 @@
Implementing IP Whitelisting for Load Balancers with Security Groups on 3Engines Cloud[🔗](#implementing-ip-whitelisting-for-load-balancers-with-security-groups-on-brand-name "Permalink to this headline") Implementing IP Whitelisting for Load Balancers with Security Groups on 3Engines Cloud[🔗](#implementing-ip-whitelisting-for-load-balancers-with-security-groups-on-brand-name "Permalink to this headline")
============================================================================================================================================================================================================= =============================================================================================================================================================================================================
In this article we describe how to use commands in Horizon, CLI and Terraform to secure load balancers for Kubernetes clusters in OpenStack by implementing IP whitelisting. In this article we describe how to use commands in Horizon, CLI and Terraform to secure load balancers for Kubernetes clusters in 3Engines by implementing IP whitelisting.
What Are We Going To Do[🔗](#what-are-we-going-to-do "Permalink to this headline") What Are We Going To Do[🔗](#what-are-we-going-to-do "Permalink to this headline")
--------------------------------------------------------------------------------- ---------------------------------------------------------------------------------
@ -24,19 +24,19 @@ This is the list of IP addresses that you want the load balancer to be able to l
No. 3 **A preconfigured load balancer** No. 3 **A preconfigured load balancer**
In OpenStack, each time you create a Kubernetes cluster, the corresponding load balancers are created automatically. In 3Engines, each time you create a Kubernetes cluster, the corresponding load balancers are created automatically.
See article [How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md) See article [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md)
No. 4 **OpenStack command operational** No. 4 **3Engines command operational**
This is a necessary for CLI procedures. This is a necessary for CLI procedures.
This boils down to sourcing the proper RC file from Horizon. See [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud OpenStack Magnum](How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-OpenStack-Magnum.html.md) This boils down to sourcing the proper RC file from Horizon. See [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud 3Engines Magnum](How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-3Engines-Magnum.html.md)
No. 5 **Python Octavia Client** No. 5 **Python Octavia Client**
To operate Load Balancers with CLI, the Python Octavia Client (python-octaviaclient) is required. It is a command-line client for the OpenStack Load Balancing service. Install the load-balancer (Octavia) plugin with the following command from the Terminal window, on Ubuntu 22.04: To operate Load Balancers with CLI, the Python Octavia Client (python-octaviaclient) is required. It is a command-line client for the 3Engines Load Balancing service. Install the load-balancer (Octavia) plugin with the following command from the Terminal window, on Ubuntu 22.04:
``` ```
pip install python-octaviaclient pip install python-octaviaclient
@ -57,7 +57,7 @@ No. 6 **Terraform installed**
You will need Terraform version 1.50 or higher to be operational. You will need Terraform version 1.50 or higher to be operational.
For complete introduction and installation of Terrafom on OpenStack see article [Generating and authorizing Terraform using Keycloak user on 3Engines Cloud](../openstackdev/Generating-and-authorizing-Terraform-using-Keycloak-user-on-3Engines-Cloud.html.md) For complete introduction and installation of Terrafom on 3Engines see article [Generating and authorizing Terraform using Keycloak user on 3Engines Cloud](../3Enginesdev/Generating-and-authorizing-Terraform-using-Keycloak-user-on-3Engines-Cloud.html.md)
To use Terraform in this capacity, you will need to authenticate to the cloud using application credentials with **unrestricted** access. Check article [How to generate or use Application Credentials via CLI on 3Engines Cloud](../cloud/How-to-generate-or-use-Application-Credentials-via-CLI-on-3Engines-Cloud.html.md) To use Terraform in this capacity, you will need to authenticate to the cloud using application credentials with **unrestricted** access. Check article [How to generate or use Application Credentials via CLI on 3Engines Cloud](../cloud/How-to-generate-or-use-Application-Credentials-via-CLI-on-3Engines-Cloud.html.md)
@ -105,28 +105,28 @@ To confirm the configuration:
CLI: Whitelisting Load Balancers[🔗](#cli-whitelisting-load-balancers "Permalink to this headline") CLI: Whitelisting Load Balancers[🔗](#cli-whitelisting-load-balancers "Permalink to this headline")
-------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------
The OpenStack CLI provides a command-line method for implementing IP whitelisting. The 3Engines CLI provides a command-line method for implementing IP whitelisting.
Be sure to work through Prerequisites Nos 4 and 5 in order to have **openstack** command fully operational. Be sure to work through Prerequisites Nos 4 and 5 in order to have **3Engines** command fully operational.
List the security groups associated with the load balancer: List the security groups associated with the load balancer:
``` ```
openstack loadbalancer show <LOAD_BALANCER_NAME_OR_ID> 3Engines loadbalancer show <LOAD_BALANCER_NAME_OR_ID>
``` ```
Identify the pool associated with the load balancer: Identify the pool associated with the load balancer:
``` ```
openstack loadbalancer pool list 3Engines loadbalancer pool list
``` ```
Show details of the pool to list its members: Show details of the pool to list its members:
``` ```
openstack loadbalancer pool show <POOL_NAME_OR_ID> 3Engines loadbalancer pool show <POOL_NAME_OR_ID>
``` ```
@ -135,14 +135,14 @@ Note the IP addresses of the pool members and identify the instances hosting the
Create a security group for IP whitelisting: Create a security group for IP whitelisting:
``` ```
openstack security group create <SECURITY_GROUP_NAME> 3Engines security group create <SECURITY_GROUP_NAME>
``` ```
Add rules to the security group: Add rules to the security group:
``` ```
openstack security group rule create \ 3Engines security group rule create \
--ingress \ --ingress \
--ethertype IPv4 \ --ethertype IPv4 \
--protocol tcp \ --protocol tcp \
@ -155,7 +155,7 @@ openstack security group rule create \
Apply the security group to the instances hosting the pool members: Apply the security group to the instances hosting the pool members:
``` ```
openstack server add security group <INSTANCE_ID> <SECURITY_GROUP_NAME> 3Engines server add security group <INSTANCE_ID> <SECURITY_GROUP_NAME>
``` ```
@ -164,14 +164,14 @@ openstack server add security group <INSTANCE_ID> <SECURITY_GROUP_NAME>
Verify the applied security group rules: Verify the applied security group rules:
``` ```
openstack security group show <SECURITY_GROUP_ID> 3Engines security group show <SECURITY_GROUP_ID>
``` ```
Confirm the security group is attached to the appropriate instances: Confirm the security group is attached to the appropriate instances:
``` ```
openstack server show <INSTANCE_ID> 3Engines server show <INSTANCE_ID>
``` ```
@ -186,40 +186,40 @@ Create a security group and whitelist rule in **main.tf**:
# main.tf # main.tf
# Security Group to Whitelist IPs # Security Group to Whitelist IPs
resource "openstack_networking_secgroup_v2" "whitelist_secgroup" { resource "3Engines_networking_secgroup_v2" "whitelist_secgroup" {
name = "loadbalancer_whitelist" name = "loadbalancer_whitelist"
description = "Security group for load balancer IP whitelisting" description = "Security group for load balancer IP whitelisting"
} }
# Add Whitelist Rule for Specific IPs # Add Whitelist Rule for Specific IPs
resource "openstack_networking_secgroup_rule_v2" "allow_whitelist" { resource "3Engines_networking_secgroup_rule_v2" "allow_whitelist" {
direction = "ingress" direction = "ingress"
ethertype = "IPv4" ethertype = "IPv4"
protocol = "tcp" protocol = "tcp"
port_range_min = 80 # Replace with actual port range port_range_min = 80 # Replace with actual port range
port_range_max = 80 port_range_max = 80
remote_ip_prefix = "192.168.1.0/24" # Replace with actual CIDR remote_ip_prefix = "192.168.1.0/24" # Replace with actual CIDR
security_group_id = openstack_networking_secgroup_v2.whitelist_secgroup.id security_group_id = 3Engines_networking_secgroup_v2.whitelist_secgroup.id
} }
# Existing Instances Associated with Pool Members # Existing Instances Associated with Pool Members
resource "openstack_compute_instance_v2" "instances" { resource "3Engines_compute_instance_v2" "instances" {
count = 2 # Adjust to the number of pool member instances count = 2 # Adjust to the number of pool member instances
name = "pool_member_${count.index + 1}" name = "pool_member_${count.index + 1}"
flavor_id = "m1.small" # Replace with an appropriate flavor flavor_id = "m1.small" # Replace with an appropriate flavor
image_id = "image-id" # Replace with a valid image ID image_id = "image-id" # Replace with a valid image ID
key_pair = "your-key-pair" key_pair = "your-key-pair"
security_groups = [openstack_networking_secgroup_v2.whitelist_secgroup.name] security_groups = [3Engines_networking_secgroup_v2.whitelist_secgroup.name]
network { network {
uuid = "network-uuid" # Replace with the UUID of your network uuid = "network-uuid" # Replace with the UUID of your network
} }
} }
# Associate the Load Balancer with Security Group via Instances # Associate the Load Balancer with Security Group via Instances
resource "openstack_lb_loadbalancer_v2" "loadbalancer" { resource "3Engines_lb_loadbalancer_v2" "loadbalancer" {
name = "my_loadbalancer" name = "my_loadbalancer"
vip_subnet_id = "subnet-id" # Replace with the subnet ID vip_subnet_id = "subnet-id" # Replace with the subnet ID
depends_on = [openstack_compute_instance_v2.instances] depends_on = [3Engines_compute_instance_v2.instances]
} }
``` ```
@ -238,8 +238,8 @@ Use Terraform to review the applied state:
``` ```
terraform show terraform show
openstack server show <INSTANCE_ID> 3Engines server show <INSTANCE_ID>
openstack security group show <SECURITY_GROUP_ID> 3Engines security group show <SECURITY_GROUP_ID>
``` ```
@ -334,6 +334,6 @@ What To Do Next[🔗](#what-to-do-next "Permalink to this headline")
Compare with articles: Compare with articles:
[Configuring IP Whitelisting for OpenStack Load Balancer using Horizon and CLI on 3Engines Cloud](Configuring-IP-Whitelisting-for-OpenStack-Load-Balancer-using-Horizon-and-CLI-on-3Engines-Cloud.html.md) [Configuring IP Whitelisting for 3Engines Load Balancer using Horizon and CLI on 3Engines Cloud](Configuring-IP-Whitelisting-for-3Engines-Load-Balancer-using-Horizon-and-CLI-on-3Engines-Cloud.html.md)
[Configuring IP Whitelisting for OpenStack Load Balancer using Terraform on 3Engines Cloud](Configuring-IP-Whitelisting-for-OpenStack-Load-Balancer-using-Terraform-on-3Engines-Cloud.html.md) [Configuring IP Whitelisting for 3Engines Load Balancer using Terraform on 3Engines Cloud](Configuring-IP-Whitelisting-for-3Engines-Load-Balancer-using-Terraform-on-3Engines-Cloud.html.md)

View File

@ -39,7 +39,7 @@ The Helm chart for installation of GitHub client will install its own ingress co
General explanation of how to create a Kubernetes cluster is here: General explanation of how to create a Kubernetes cluster is here:
[How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md) [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md)
Be sure to use cluster template for at least version 1.25, like this: Be sure to use cluster template for at least version 1.25, like this:
@ -47,7 +47,7 @@ Be sure to use cluster template for at least version 1.25, like this:
No. 4 **Have your own domain and be able to manage it** No. 4 **Have your own domain and be able to manage it**
You will be able to manage the records of a domain associated with your gitlab instance at your domain registrar. Alternatively OpenStack on 3Engines Cloud hosting lets you manage DNS as a service: You will be able to manage the records of a domain associated with your gitlab instance at your domain registrar. Alternatively 3Engines on 3Engines Cloud hosting lets you manage DNS as a service:
[DNS as a Service on 3Engines Cloud Hosting](../cloud/DNS-as-a-Service-on-3Engines-Cloud-Hosting.html.md) [DNS as a Service on 3Engines Cloud Hosting](../cloud/DNS-as-a-Service-on-3Engines-Cloud-Hosting.html.md)
@ -67,7 +67,7 @@ We will first create a Floating IP (FIP) using Horizon GUI. This FIP will be lat
![image-2024-4-30_14-0-23.png](../_images/image-2024-4-30_14-0-23.png) ![image-2024-4-30_14-0-23.png](../_images/image-2024-4-30_14-0-23.png)
After closing the form, your new floating IP will appear on the list and let us say that for the sake of this article, its value is **64.225.134.173**. The next step is to create an A record that will associate the subdomain **gitlab.<yourdomain>** with this IP address. In our case, it might look like this if you are using DNS as a Service under OpenStack Horizon UI on your 3Engines Cloud cloud: After closing the form, your new floating IP will appear on the list and let us say that for the sake of this article, its value is **64.225.134.173**. The next step is to create an A record that will associate the subdomain **gitlab.<yourdomain>** with this IP address. In our case, it might look like this if you are using DNS as a Service under 3Engines Horizon UI on your 3Engines Cloud cloud:
![a_record_in_dns.png](../_images/a_record_in_dns.png) ![a_record_in_dns.png](../_images/a_record_in_dns.png)

View File

@ -28,7 +28,7 @@ No. 1 **Account**
: You need a 3Engines Cloud hosting account with access to the Horizon interface: <https://horizon.3Engines.com>. : You need a 3Engines Cloud hosting account with access to the Horizon interface: <https://horizon.3Engines.com>.
No. 2 **kubectl pointed to the Kubernetes cluster** No. 2 **kubectl pointed to the Kubernetes cluster**
: If you are creating a new cluster, for the purposes of this article, call it *argo-cluster*. See [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md) : If you are creating a new cluster, for the purposes of this article, call it *argo-cluster*. See [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md)
Authenticate to the cluster[🔗](#authenticate-to-the-cluster "Permalink to this headline") Authenticate to the cluster[🔗](#authenticate-to-the-cluster "Permalink to this headline")
----------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------
@ -36,7 +36,7 @@ Authenticate to the cluster[🔗](#authenticate-to-the-cluster "Permalink to thi
Let us authenticate to *argo-cluster*. Run from your local machine the following command to create a config file in the present working directory: Let us authenticate to *argo-cluster*. Run from your local machine the following command to create a config file in the present working directory:
``` ```
openstack coe cluster config argo-cluster 3Engines coe cluster config argo-cluster
``` ```
@ -52,7 +52,7 @@ Run this command.
Apply preliminary configuration[🔗](#apply-preliminary-configuration "Permalink to this headline") Apply preliminary configuration[🔗](#apply-preliminary-configuration "Permalink to this headline")
------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------
OpenStack Magnum by default applies certain security restrictions for pods running on the cluster, in line with “least privileges” practice. Argo Workflows will require some additional privileges in order to run correctly. 3Engines Magnum by default applies certain security restrictions for pods running on the cluster, in line with “least privileges” practice. Argo Workflows will require some additional privileges in order to run correctly.
First create a dedicated namespace for Argo Workflows artifacts: First create a dedicated namespace for Argo Workflows artifacts:

View File

@ -25,11 +25,11 @@ You need a 3Engines Cloud hosting account with Horizon interface <https://horizo
No. 2 **Kubernetes cluster on 3Engines cloud** No. 2 **Kubernetes cluster on 3Engines cloud**
To create Kubernetes cluster on cloud refer to this guide: [How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md) To create Kubernetes cluster on cloud refer to this guide: [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md)
No. 3 **Access to kubectl command line** No. 3 **Access to kubectl command line**
The instructions for activation of **kubectl** are provided in: [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md) The instructions for activation of **kubectl** are provided in: [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md)
No. 4 **Familiarity with Helm** No. 4 **Familiarity with Helm**

View File

@ -31,21 +31,21 @@ You need a 3Engines Cloud hosting account with Horizon interface <https://horizo
No. 2 **Access to Kubernetes cluster on WAW3-1 cloud** No. 2 **Access to Kubernetes cluster on WAW3-1 cloud**
A cluster on WAW3-1 cloud, where we will run our NooBaa installation - follow guidelines in this article [How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md). A cluster on WAW3-1 cloud, where we will run our NooBaa installation - follow guidelines in this article [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md).
No. 3 **Familiarity with using Object Storage on 3Engines clouds** No. 3 **Familiarity with using Object Storage on 3Engines clouds**
More information in [How to use Object Storage on 3Engines Cloud](../s3/How-to-use-Object-Storage-on-3Engines-Cloud.html.md) More information in [How to use Object Storage on 3Engines Cloud](../s3/How-to-use-Object-Storage-on-3Engines-Cloud.html.md)
Traditional OpenStack term for imported or downloaded files is *Containers* in main menu option *Object Store*. We will use the term “bucket” for object storage containers, to differentiate vs. container term in Docker/Kubernetes sense. Traditional 3Engines term for imported or downloaded files is *Containers* in main menu option *Object Store*. We will use the term “bucket” for object storage containers, to differentiate vs. container term in Docker/Kubernetes sense.
No. 4 **kubectl operational** No. 4 **kubectl operational**
**kubectl** CLI tool installed and pointing to your cluster via KUBECONFIG env. variable - more information in [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md). **kubectl** CLI tool installed and pointing to your cluster via KUBECONFIG env. variable - more information in [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md).
No. 5 **Access to private S3 keys in WAW3-1 cloud** No. 5 **Access to private S3 keys in WAW3-1 cloud**
You may also use access to OpenStack CLI to generate and read the private S3 keys - [How to generate and manage EC2 credentials on 3Engines Cloud](../cloud/How-to-generate-ec2-credentials-on-3Engines-Cloud.html.md). You may also use access to 3Engines CLI to generate and read the private S3 keys - [How to generate and manage EC2 credentials on 3Engines Cloud](../cloud/How-to-generate-ec2-credentials-on-3Engines-Cloud.html.md).
No. 6 **Familiarity with s3cmd for accessing object storage** No. 6 **Familiarity with s3cmd for accessing object storage**
@ -139,7 +139,7 @@ noobaa status -n noobaa
It outputs several useful insights about the NooBaa installation, with the “key facts” available towards the end of this status: It outputs several useful insights about the NooBaa installation, with the “key facts” available towards the end of this status:
> * NooBaa created a default backing store called *noobaa-default-backing-store*, backed by a block volume created in OpenStack. > * NooBaa created a default backing store called *noobaa-default-backing-store*, backed by a block volume created in 3Engines.
> * S3 credentials are provided to access the bucket created with the default backing store. Such volume-based backing store has its use e.g. for utilizing the S3 access method to our block storage. > * S3 credentials are provided to access the bucket created with the default backing store. Such volume-based backing store has its use e.g. for utilizing the S3 access method to our block storage.
For the purpose of this article, we will not use the default backing store, but rather learn to create a new backing store based on cloud S3 object storage. Such setup can be then easily extended so that we can end up with separate backing stores for different clouds. In the second part of this article you will create one store on WAW3-1 cloud, another one on WAW3-2 cloud and they will be available through one abstracted S3 bucket in NooBaa. For the purpose of this article, we will not use the default backing store, but rather learn to create a new backing store based on cloud S3 object storage. Such setup can be then easily extended so that we can end up with separate backing stores for different clouds. In the second part of this article you will create one store on WAW3-1 cloud, another one on WAW3-2 cloud and they will be available through one abstracted S3 bucket in NooBaa.
@ -167,7 +167,7 @@ You need to create a bucket with a different name and use this generated name to
If you have properly set up the EC2 (S3) keys for your WAW3-1 object storage, take note of them with the following command: If you have properly set up the EC2 (S3) keys for your WAW3-1 object storage, take note of them with the following command:
``` ```
openstack ec2 credentials list 3Engines ec2 credentials list
``` ```

View File

@ -42,7 +42,7 @@ You need a 3Engines Cloud hosting account with access to the Horizon interface:
No. 2 **Familiarity with kubectl** No. 2 **Familiarity with kubectl**
You should have an appropriate Kubernetes cluster up and running, with **kubectl** pointing to it [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md) You should have an appropriate Kubernetes cluster up and running, with **kubectl** pointing to it [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md)
No. 3 **Familiarity with deploying Helm charts** No. 3 **Familiarity with deploying Helm charts**

View File

@ -24,7 +24,7 @@ You need a 3Engines Cloud hosting account with access to the Horizon interface:
No. 2 **kubectl up and running** No. 2 **kubectl up and running**
For further instructions refer to [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md) For further instructions refer to [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md)
No. 3 **Helm up and running** No. 3 **Helm up and running**
@ -44,7 +44,7 @@ First of all, we need to authenticate to the cluster. It may so happen that you
You may also create a new cluster and call it, say, *jupyter-cluster*, as explained in Prerequisite No. 2. In that case, run from your local machine the following command to create config file in the present working directory: You may also create a new cluster and call it, say, *jupyter-cluster*, as explained in Prerequisite No. 2. In that case, run from your local machine the following command to create config file in the present working directory:
``` ```
openstack coe cluster config jupyter-cluster 3Engines coe cluster config jupyter-cluster
``` ```
@ -60,7 +60,7 @@ Run this command.
Step 2 Apply preliminary configuration[🔗](#step-2-apply-preliminary-configuration "Permalink to this headline") Step 2 Apply preliminary configuration[🔗](#step-2-apply-preliminary-configuration "Permalink to this headline")
--------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------
OpenStack Magnum by default applies certain security restrictions for pods running on the cluster, in line with “least privileges” practice. JupyterHub will require some additional privileges in order to run correctly. 3Engines Magnum by default applies certain security restrictions for pods running on the cluster, in line with “least privileges” practice. JupyterHub will require some additional privileges in order to run correctly.
We will start by creating a dedicated namespace for our JupyterHub Helm artifacts: We will start by creating a dedicated namespace for our JupyterHub Helm artifacts:

View File

@ -24,7 +24,7 @@ You need a 3Engines Cloud hosting account with Horizon interface <https://horizo
No. 2 **A cluster created on** **cloud** No. 2 **A cluster created on** **cloud**
Kubernetes cluster available. For guideline on creating a Kubernetes cluster refer to [How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md). Kubernetes cluster available. For guideline on creating a Kubernetes cluster refer to [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md).
No. 3 **Familiarity with Helm** No. 3 **Familiarity with Helm**
@ -32,7 +32,7 @@ For more information on using Helm and installing apps with Helm on Kubernetes,
No. 4 **Access to kubectl command line** No. 4 **Access to kubectl command line**
The instructions for activation of **kubectl** are provided in: [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md) The instructions for activation of **kubectl** are provided in: [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md)
1. Install Prometheus with Helm[🔗](#install-prometheus-with-helm "Permalink to this headline") 1. Install Prometheus with Helm[🔗](#install-prometheus-with-helm "Permalink to this headline")
---------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------
@ -209,4 +209,4 @@ You can find and import many other dashboards for Kubernetes observability by br
The following article shows another approach to creating a Kubernetes dashboard: The following article shows another approach to creating a Kubernetes dashboard:
[Using Dashboard To Access Kubernetes Cluster Post Deployment On 3Engines Cloud OpenStack Magnum](Using-Dashboard-To-Access-Kubernetes-Cluster-Post-Deployment-On-3Engines-Cloud-OpenStack-Magnum.html.md) [Using Dashboard To Access Kubernetes Cluster Post Deployment On 3Engines Cloud 3Engines Magnum](Using-Dashboard-To-Access-Kubernetes-Cluster-Post-Deployment-On-3Engines-Cloud-3Engines-Magnum.html.md)

View File

@ -38,11 +38,11 @@ You need a 3Engines Cloud hosting account with Horizon interface <https://horizo
No. 2 **A cluster on 3Engines-Cloud cloud** No. 2 **A cluster on 3Engines-Cloud cloud**
A Kubernetes cluster on 3Engines Cloud cloud. Follow guidelines in this article [How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md). A Kubernetes cluster on 3Engines Cloud cloud. Follow guidelines in this article [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md).
No. 3 **kubectl operational** No. 3 **kubectl operational**
**kubectl** CLI tool installed and pointing to your cluster via KUBECONFIG environment variable. Article [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md) provides further guidance. **kubectl** CLI tool installed and pointing to your cluster via KUBECONFIG environment variable. Article [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md) provides further guidance.
No. 4 **Familiarity with deploying Helm charts** No. 4 **Familiarity with deploying Helm charts**

View File

@ -31,13 +31,13 @@ No. 3 **Kubernetes cluster**
General explanation of how to create a Kubernetes cluster is here: General explanation of how to create a Kubernetes cluster is here:
[How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md) [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md)
For new cluster, using the latest version of the cluster template is always recommended. This article was tested with Kubernetes 1.25. For new cluster, using the latest version of the cluster template is always recommended. This article was tested with Kubernetes 1.25.
No. 4 **Access to cluster with kubectl** No. 4 **Access to cluster with kubectl**
[How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md) [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md)
Step 1 Install the Sealed Secrets controller[🔗](#step-1-install-the-sealed-secrets-controller "Permalink to this headline") Step 1 Install the Sealed Secrets controller[🔗](#step-1-install-the-sealed-secrets-controller "Permalink to this headline")
--------------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------------

View File

@ -1,4 +1,4 @@
Using Dashboard To Access Kubernetes Cluster Post Deployment On 3Engines Cloud OpenStack Magnum[🔗](#using-dashboard-to-access-kubernetes-cluster-post-deployment-on-brand-name-openstack-magnum "Permalink to this headline") Using Dashboard To Access Kubernetes Cluster Post Deployment On 3Engines Cloud 3Engines Magnum[🔗](#using-dashboard-to-access-kubernetes-cluster-post-deployment-on-brand-name-3Engines-magnum "Permalink to this headline")
=============================================================================================================================================================================================================================== ===============================================================================================================================================================================================================================
After the Kubernetes cluster has been created, you can access it through command line tool, **kubectl**, or you can access it through a visual interface, called the **Kubernetes dashboard**. *Dashboard* is a GUI interface to Kubernetes cluster, much the same as **kubectl** as a CLI interface to the Kubernetes cluster. After the Kubernetes cluster has been created, you can access it through command line tool, **kubectl**, or you can access it through a visual interface, called the **Kubernetes dashboard**. *Dashboard* is a GUI interface to Kubernetes cluster, much the same as **kubectl** as a CLI interface to the Kubernetes cluster.
@ -24,7 +24,7 @@ You need a 3Engines Cloud hosting account with Horizon interface <https://horizo
No. 2 **Cluster and kubectl should be already operational** No. 2 **Cluster and kubectl should be already operational**
To eventually set up a cluster and connect it to the **kubectl** tool, see this article [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md). To eventually set up a cluster and connect it to the **kubectl** tool, see this article [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md).
The important intermediary result of that article is a command like this: The important intermediary result of that article is a command like this:

View File

@ -1,4 +1,4 @@
Using Kubernetes Ingress on 3Engines Cloud OpenStack Magnum[🔗](#using-kubernetes-ingress-on-brand-name-cloud-name-openstack-magnum "Permalink to this headline") Using Kubernetes Ingress on 3Engines Cloud 3Engines Magnum[🔗](#using-kubernetes-ingress-on-brand-name-cloud-name-3Engines-magnum "Permalink to this headline")
================================================================================================================================================================== ==================================================================================================================================================================
The Ingress feature in Kubernetes can be associated with routing the traffic from outside of the cluster to the services within the cluster. With Ingress, multiple Kubernetes services can be exposed using a single Load Balancer. The Ingress feature in Kubernetes can be associated with routing the traffic from outside of the cluster to the services within the cluster. With Ingress, multiple Kubernetes services can be exposed using a single Load Balancer.
@ -29,7 +29,7 @@ Basic knowledge of Kubernetes fundamentals will come handy: cluster creation, po
No. 3 **Access to kubectl command** No. 3 **Access to kubectl command**
To install necessary software (if you havent done so already), see article [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md). To install necessary software (if you havent done so already), see article [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md).
The net result of following instructions in that and the related articles will be The net result of following instructions in that and the related articles will be
@ -39,7 +39,7 @@ The net result of following instructions in that and the related articles will b
Step 1 Create a Magnum Kubernetes cluster with NGINX Ingress enabled[🔗](#step-1-create-a-magnum-kubernetes-cluster-with-nginx-ingress-enabled "Permalink to this headline") Step 1 Create a Magnum Kubernetes cluster with NGINX Ingress enabled[🔗](#step-1-create-a-magnum-kubernetes-cluster-with-nginx-ingress-enabled "Permalink to this headline")
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
When we create a Kubernetes cluster on the cloud, we can deploy it with a preconfigured ingress setup. This requires minimal setting and is described in this help section: [How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md). When we create a Kubernetes cluster on the cloud, we can deploy it with a preconfigured ingress setup. This requires minimal setting and is described in this help section: [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md).
Such a cluster is deployed with an NGINX *ingress controller* and the default *ingress backend*. The role of the controller is to enable the provisioning of the infrastructure e.g. the (virtual) load balancer. The role of the backend is to provide access to this infrastructure in line with the rules defined by the **ingress resource** (explained later). Such a cluster is deployed with an NGINX *ingress controller* and the default *ingress backend*. The role of the controller is to enable the provisioning of the infrastructure e.g. the (virtual) load balancer. The role of the backend is to provide access to this infrastructure in line with the rules defined by the **ingress resource** (explained later).

View File

@ -1,4 +1,4 @@
Volume-based vs Ephemeral-based Storage for Kubernetes Clusters on 3Engines Cloud OpenStack Magnum[🔗](#volume-based-vs-ephemeral-based-storage-for-kubernetes-clusters-on-brand-name-openstack-magnum "Permalink to this headline") Volume-based vs Ephemeral-based Storage for Kubernetes Clusters on 3Engines Cloud 3Engines Magnum[🔗](#volume-based-vs-ephemeral-based-storage-for-kubernetes-clusters-on-brand-name-3Engines-magnum "Permalink to this headline")
===================================================================================================================================================================================================================================== =====================================================================================================================================================================================================================================
Containers in Kubernetes store files on-disk and if the container crashes, the data will be lost. A new container can replace the old one but the data will not survive. Another problem that appears is when containers running in a pod need to share files. Containers in Kubernetes store files on-disk and if the container crashes, the data will be lost. A new container can replace the old one but the data will not survive. Another problem that appears is when containers running in a pod need to share files.
@ -8,10 +8,10 @@ That is why Kubernetes has another type of file storage, called *volumes*. They
> * Ephemeral volumes are deleted when the pod is deleted, while > * Ephemeral volumes are deleted when the pod is deleted, while
> * Persistent volumes continue to exist even if the pod it is attached to does not exist any more. > * Persistent volumes continue to exist even if the pod it is attached to does not exist any more.
The concept of volumes was first popularized by Docker, where it was a directory on disk, or within a container. In 3Engines Cloud OpenStack hosting, the default docker storage is configured to use ephemeral disk of the instance. This can be changed by specifying docker volume size during cluster creation, symbolically like this (see below for the full command to generate a new cluster using **docker-volume-size**): The concept of volumes was first popularized by Docker, where it was a directory on disk, or within a container. In 3Engines Cloud 3Engines hosting, the default docker storage is configured to use ephemeral disk of the instance. This can be changed by specifying docker volume size during cluster creation, symbolically like this (see below for the full command to generate a new cluster using **docker-volume-size**):
``` ```
openstack coe cluster create --docker-volume-size 50 3Engines coe cluster create --docker-volume-size 50
``` ```
@ -36,11 +36,11 @@ You need a 3Engines Cloud hosting account with Horizon interface <https://horizo
2 **Creating clusters with CLI** 2 **Creating clusters with CLI**
The article [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud OpenStack Magnum](How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-OpenStack-Magnum.html.md) will introduce you to creation of clusters using a command line interface. The article [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud 3Engines Magnum](How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-3Engines-Magnum.html.md) will introduce you to creation of clusters using a command line interface.
3 **Connect openstack client to the cloud** 3 **Connect 3Engines client to the cloud**
Prepare **openstack** and **magnum** clients by executing *Step 2 Connect OpenStack and Magnum Clients to Horizon Cloud* from article [How To Install OpenStack and Magnum Clients for Command Line Interface to 3Engines Cloud Horizon](How-To-Install-OpenStack-and-Magnum-Clients-for-Command-Line-Interface-to-3Engines-Cloud-Horizon.html.md) Prepare **3Engines** and **magnum** clients by executing *Step 2 Connect 3Engines and Magnum Clients to Horizon Cloud* from article [How To Install 3Engines and Magnum Clients for Command Line Interface to 3Engines Cloud Horizon](How-To-Install-3Engines-and-Magnum-Clients-for-Command-Line-Interface-to-3Engines-Cloud-Horizon.html.md)
4 **Check available quotas** 4 **Check available quotas**
@ -48,7 +48,7 @@ Before creating additional cluster check the state of the resources with Horizon
5 **Private and public keys** 5 **Private and public keys**
An SSH key-pair created in OpenStack dashboard. To create it, follow this article [How to create key pair in OpenStack Dashboard on 3Engines Cloud](../cloud/How-to-create-key-pair-in-OpenStack-Dashboard-on-3Engines-Cloud.html.md). You will have created keypair called “sshkey” and you will be able to use it for this tutorial as well. An SSH key-pair created in 3Engines dashboard. To create it, follow this article [How to create key pair in 3Engines Dashboard on 3Engines Cloud](../cloud/How-to-create-key-pair-in-3Engines-Dashboard-on-3Engines-Cloud.html.md). You will have created keypair called “sshkey” and you will be able to use it for this tutorial as well.
6 **Types of Volumes** 6 **Types of Volumes**
@ -60,7 +60,7 @@ Step 1 - Create Cluster Using **docker-volume-size**[🔗](#step-1-create-clu
You are going to create a new cluster called *dockerspace* that will use parameter **docker-volume-size** using the following command: You are going to create a new cluster called *dockerspace* that will use parameter **docker-volume-size** using the following command:
``` ```
openstack coe cluster create dockerspace 3Engines coe cluster create dockerspace
--cluster-template k8s-1.23.16-cilium-v1.0.3 --cluster-template k8s-1.23.16-cilium-v1.0.3
--keypair sshkey --keypair sshkey
--master-count 1 --master-count 1
@ -165,7 +165,7 @@ That will happen in case you did not set up the kubectl parameters as specified
``` ```
mkdir dockerspacedir mkdir dockerspacedir
openstack coe cluster config 3Engines coe cluster config
--dir dockerspacedir --dir dockerspacedir
--force --force
--output-certs --output-certs

View File

@ -2,18 +2,18 @@
## Available Documentation ## Available Documentation
* [How to Create a Kubernetes Cluster Using 3Engines Cloud OpenStack Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-OpenStack-Magnum.html.md) * [How to Create a Kubernetes Cluster Using 3Engines Cloud 3Engines Magnum](How-to-Create-a-Kubernetes-Cluster-Using-3Engines-Cloud-3Engines-Magnum.html.md)
* [Default Kubernetes cluster templates in 3Engines Cloud Cloud](Default-Kubernetes-cluster-templates-in-3Engines-Cloud-Cloud.html.md) * [Default Kubernetes cluster templates in 3Engines Cloud Cloud](Default-Kubernetes-cluster-templates-in-3Engines-Cloud-Cloud.html.md)
* [How To Install OpenStack and Magnum Clients for Command Line Interface to 3Engines Cloud Horizon](How-To-Install-OpenStack-and-Magnum-Clients-for-Command-Line-Interface-to-3Engines-Cloud-Horizon.html.md) * [How To Install 3Engines and Magnum Clients for Command Line Interface to 3Engines Cloud Horizon](How-To-Install-3Engines-and-Magnum-Clients-for-Command-Line-Interface-to-3Engines-Cloud-Horizon.html.md)
* [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud OpenStack Magnum](How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-OpenStack-Magnum.html.md) * [How To Use Command Line Interface for Kubernetes Clusters On 3Engines Cloud 3Engines Magnum](How-To-Use-Command-Line-Interface-for-Kubernetes-Clusters-On-3Engines-Cloud-3Engines-Magnum.html.md)
* [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud OpenStack Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-OpenStack-Magnum.html.md) * [How To Access Kubernetes Cluster Post Deployment Using Kubectl On 3Engines Cloud 3Engines Magnum](How-To-Access-Kubernetes-Cluster-Post-Deployment-Using-Kubectl-On-3Engines-Cloud-3Engines-Magnum.html.md)
* [Using Dashboard To Access Kubernetes Cluster Post Deployment On 3Engines Cloud OpenStack Magnum](Using-Dashboard-To-Access-Kubernetes-Cluster-Post-Deployment-On-3Engines-Cloud-OpenStack-Magnum.html.md) * [Using Dashboard To Access Kubernetes Cluster Post Deployment On 3Engines Cloud 3Engines Magnum](Using-Dashboard-To-Access-Kubernetes-Cluster-Post-Deployment-On-3Engines-Cloud-3Engines-Magnum.html.md)
* [How To Create API Server LoadBalancer for Kubernetes Cluster on 3Engines Cloud OpenStack Magnum](How-To-Create-API-Server-LoadBalancer-for-Kubernetes-Cluster-On-3Engines-Cloud-OpenStack-Magnum.html.md) * [How To Create API Server LoadBalancer for Kubernetes Cluster on 3Engines Cloud 3Engines Magnum](How-To-Create-API-Server-LoadBalancer-for-Kubernetes-Cluster-On-3Engines-Cloud-3Engines-Magnum.html.md)
* [Creating Additional Nodegroups in Kubernetes Cluster on 3Engines Cloud OpenStack Magnum](Creating-Additional-Nodegroups-in-Kubernetes-Cluster-on-3Engines-Cloud-OpenStack-Magnum.html.md) * [Creating Additional Nodegroups in Kubernetes Cluster on 3Engines Cloud 3Engines Magnum](Creating-Additional-Nodegroups-in-Kubernetes-Cluster-on-3Engines-Cloud-3Engines-Magnum.html.md)
* [Autoscaling Kubernetes Cluster Resources on 3Engines Cloud OpenStack Magnum](Autoscaling-Kubernetes-Cluster-Resources-on-3Engines-Cloud-OpenStack-Magnum.html.md) * [Autoscaling Kubernetes Cluster Resources on 3Engines Cloud 3Engines Magnum](Autoscaling-Kubernetes-Cluster-Resources-on-3Engines-Cloud-3Engines-Magnum.html.md)
* [Volume-based vs Ephemeral-based Storage for Kubernetes Clusters on 3Engines Cloud OpenStack Magnum](Volume-based-vs-Ephemeral-based-Storage-for-Kubernetes-Clusters-on-3Engines-Cloud-OpenStack-Magnum.html.md) * [Volume-based vs Ephemeral-based Storage for Kubernetes Clusters on 3Engines Cloud 3Engines Magnum](Volume-based-vs-Ephemeral-based-Storage-for-Kubernetes-Clusters-on-3Engines-Cloud-3Engines-Magnum.html.md)
* [Backup of Kubernetes Cluster using Velero](Backup-of-Kubernetes-Cluster-using-Velero.html.md) * [Backup of Kubernetes Cluster using Velero](Backup-of-Kubernetes-Cluster-using-Velero.html.md)
* [Using Kubernetes Ingress on 3Engines Cloud OpenStack Magnum](Using-Kubernetes-Ingress-on-3Engines-Cloud-OpenStack-Magnum.html.md) * [Using Kubernetes Ingress on 3Engines Cloud 3Engines Magnum](Using-Kubernetes-Ingress-on-3Engines-Cloud-3Engines-Magnum.html.md)
* [Deploying Helm Charts on Magnum Kubernetes Clusters on 3Engines Cloud Cloud](Deploying-Helm-Charts-on-Magnum-Kubernetes-Clusters-on-3Engines-Cloud-Cloud.html.md) * [Deploying Helm Charts on Magnum Kubernetes Clusters on 3Engines Cloud Cloud](Deploying-Helm-Charts-on-Magnum-Kubernetes-Clusters-on-3Engines-Cloud-Cloud.html.md)
* [Deploying HTTPS Services on Magnum Kubernetes in 3Engines Cloud Cloud](Deploying-HTTPS-Services-on-Magnum-Kubernetes-in-3Engines-Cloud-Cloud.html.md) * [Deploying HTTPS Services on Magnum Kubernetes in 3Engines Cloud Cloud](Deploying-HTTPS-Services-on-Magnum-Kubernetes-in-3Engines-Cloud-Cloud.html.md)
* [Installing JupyterHub on Magnum Kubernetes Cluster in 3Engines Cloud Cloud](Installing-JupyterHub-on-Magnum-Kubernetes-cluster-in-3Engines-Cloud-cloud.html.md) * [Installing JupyterHub on Magnum Kubernetes Cluster in 3Engines Cloud Cloud](Installing-JupyterHub-on-Magnum-Kubernetes-cluster-in-3Engines-Cloud-cloud.html.md)
@ -33,8 +33,8 @@
* [CI/CD pipelines with GitLab on 3Engines Cloud Kubernetes - building a Docker image](CICD-pipelines-with-GitLab-on-3Engines-Cloud-Kubernetes-building-a-Docker-image.html.md) * [CI/CD pipelines with GitLab on 3Engines Cloud Kubernetes - building a Docker image](CICD-pipelines-with-GitLab-on-3Engines-Cloud-Kubernetes-building-a-Docker-image.html.md)
* [How to create Kubernetes cluster using Terraform on 3Engines Cloud](How-to-create-Kubernetes-cluster-using-Terraform-on-3Engines-Cloud.html.md) * [How to create Kubernetes cluster using Terraform on 3Engines Cloud](How-to-create-Kubernetes-cluster-using-Terraform-on-3Engines-Cloud.html.md)
* [GitOps with Argo CD on 3Engines Cloud Kubernetes](GitOps-with-Argo-CD-on-3Engines-Cloud-Kubernetes.html.md) * [GitOps with Argo CD on 3Engines Cloud Kubernetes](GitOps-with-Argo-CD-on-3Engines-Cloud-Kubernetes.html.md)
* [Configuring IP Whitelisting for OpenStack Load Balancer using Horizon and CLI on 3Engines Cloud](Configuring-IP-Whitelisting-for-OpenStack-Load-Balancer-using-Horizon-and-CLI-on-3Engines-Cloud.html.md) * [Configuring IP Whitelisting for 3Engines Load Balancer using Horizon and CLI on 3Engines Cloud](Configuring-IP-Whitelisting-for-3Engines-Load-Balancer-using-Horizon-and-CLI-on-3Engines-Cloud.html.md)
* [Configuring IP Whitelisting for OpenStack Load Balancer using Terraform on 3Engines Cloud](Configuring-IP-Whitelisting-for-OpenStack-Load-Balancer-using-Terraform-on-3Engines-Cloud.html.md) * [Configuring IP Whitelisting for 3Engines Load Balancer using Terraform on 3Engines Cloud](Configuring-IP-Whitelisting-for-3Engines-Load-Balancer-using-Terraform-on-3Engines-Cloud.html.md)
* [Implementing IP Whitelisting for Load Balancers with Security Groups on 3Engines Cloud](Implementing-IP-Whitelisting-for-Load-Balancers-with-Security-Groups-on-3Engines-Cloud.html.md) * [Implementing IP Whitelisting for Load Balancers with Security Groups on 3Engines Cloud](Implementing-IP-Whitelisting-for-Load-Balancers-with-Security-Groups-on-3Engines-Cloud.html.md)
* [How to install Rancher RKE2 Kubernetes on 3Engines Cloud](How-to-install-Rancher-RKE2-Kubernetes-on-3Engines-Cloud-cloud.html.md) * [How to install Rancher RKE2 Kubernetes on 3Engines Cloud](How-to-install-Rancher-RKE2-Kubernetes-on-3Engines-Cloud-cloud.html.md)
* [Automatic Kubernetes cluster upgrade on 3Engines Cloud OpenStack Magnum](Automatic-Kubernetes-cluster-upgrade-on-3Engines-Cloud-OpenStack-Magnum.html.md) * [Automatic Kubernetes cluster upgrade on 3Engines Cloud 3Engines Magnum](Automatic-Kubernetes-cluster-upgrade-on-3Engines-Cloud-3Engines-Magnum.html.md)

View File

@ -1,7 +1,7 @@
How to Add or Remove Floating IPs to your VM on 3Engines Cloud[🔗](#how-to-add-or-remove-floating-ips-to-your-vm-on-brand-name "Permalink to this headline") How to Add or Remove Floating IPs to your VM on 3Engines Cloud[🔗](#how-to-add-or-remove-floating-ips-to-your-vm-on-brand-name "Permalink to this headline")
============================================================================================================================================================== ==============================================================================================================================================================
In order to make your VM accessible from the Internet, you need to use Floating IPs. Floating IPs in OpenStack are public IP addresses assigned to your Virtual Machines. Assignment of a Floating IP allows you (if you have your Security Groups set properly) to host services like SSH or HTTP over the Internet. In order to make your VM accessible from the Internet, you need to use Floating IPs. Floating IPs in 3Engines are public IP addresses assigned to your Virtual Machines. Assignment of a Floating IP allows you (if you have your Security Groups set properly) to host services like SSH or HTTP over the Internet.
How to assign a Floating IP to your VM?[🔗](#how-to-assign-a-floating-ip-to-your-vm "Permalink to this headline") How to assign a Floating IP to your VM?[🔗](#how-to-assign-a-floating-ip-to-your-vm "Permalink to this headline")
---------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------
@ -59,9 +59,9 @@ If you no longer need a public IP address you may disassociate it from your VM.
How to release a Floating IP (return it to the pool)?[🔗](#how-to-release-a-floating-ip-return-it-to-the-pool "Permalink to this headline") How to release a Floating IP (return it to the pool)?[🔗](#how-to-release-a-floating-ip-return-it-to-the-pool "Permalink to this headline")
------------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------------
Floating IPs (just like any other OpenStack resource) have their cost when kept reserved and not used. Floating IPs (just like any other 3Engines resource) have their cost when kept reserved and not used.
If you dont want to keep your Floating IPs reserved for your project you may release them to the OpenStack pool for other users which will also reduce the costs of your project. If you dont want to keep your Floating IPs reserved for your project you may release them to the 3Engines pool for other users which will also reduce the costs of your project.
Go to Project → Network → Floating IPs Go to Project → Network → Floating IPs

View File

@ -1,9 +1,9 @@
How to import SSH public key to OpenStack Horizon on 3Engines Cloud[🔗](#how-to-import-ssh-public-key-to-openstack-horizon-on-brand-name "Permalink to this headline") How to import SSH public key to 3Engines Horizon on 3Engines Cloud[🔗](#how-to-import-ssh-public-key-to-3Engines-horizon-on-brand-name "Permalink to this headline")
======================================================================================================================================================================= =======================================================================================================================================================================
If you already have an SSH key pair on your computer, you can import your public key to the Horizon dashboard. Then, you will be able to use that imported key when launching a new instance. If you already have an SSH key pair on your computer, you can import your public key to the Horizon dashboard. Then, you will be able to use that imported key when launching a new instance.
By importing it directly to Horizon, you will eliminate the need to use tools like **ssh-copy-id** or manually edit the **authorized\_keys** file. Also, your key will be available in OpenStack CLI. By importing it directly to Horizon, you will eliminate the need to use tools like **ssh-copy-id** or manually edit the **authorized\_keys** file. Also, your key will be available in 3Engines CLI.
Warning Warning

View File

@ -3,7 +3,7 @@ How to create a network with router in Horizon Dashboard on 3Engines Cloud[🔗]
When you create a new project in Horizon, its content is empty. You have to manually configure your private network. In order to complete this task, please follow those steps. When you create a new project in Horizon, its content is empty. You have to manually configure your private network. In order to complete this task, please follow those steps.
1. Log in to your OpenStack dashboard and choose **Network** tab, then choose **Networks** sub-label. 1. Log in to your 3Engines dashboard and choose **Network** tab, then choose **Networks** sub-label.
![net1.png](../_images/net1.png) ![net1.png](../_images/net1.png)

View File

@ -12,7 +12,7 @@ The sequence of steps will be described below.
**Creating and configuring local networks** **Creating and configuring local networks**
1. Log in to your OpenStack dashboard and choose **Network** tab, then choose **Networks** sub-label. 1. Log in to your 3Engines dashboard and choose **Network** tab, then choose **Networks** sub-label.
![screen1.png](../_images/screen1.png) ![screen1.png](../_images/screen1.png)

View File

@ -13,4 +13,4 @@
* [How to add SSH key from Horizon web console on 3Engines Cloud](How-to-add-SSH-key-from-Horizon-web-console-on-3Engines-Cloud.html.md) * [How to add SSH key from Horizon web console on 3Engines Cloud](How-to-add-SSH-key-from-Horizon-web-console-on-3Engines-Cloud.html.md)
* [How is my VM visible in the internet with no Floating IP attached on 3Engines Cloud](How-is-my-VM-visible-in-the-internet-with-no-Floating-IP-attached-on-3Engines-Cloud.html.md) * [How is my VM visible in the internet with no Floating IP attached on 3Engines Cloud](How-is-my-VM-visible-in-the-internet-with-no-Floating-IP-attached-on-3Engines-Cloud.html.md)
* [How to run and configure Firewall as a service and VPN as a service on 3Engines Cloud](How-to-run-and-configure-Firewall-as-a-service-and-VPN-as-a-service-on-3Engines-Cloud.html.md) * [How to run and configure Firewall as a service and VPN as a service on 3Engines Cloud](How-to-run-and-configure-Firewall-as-a-service-and-VPN-as-a-service-on-3Engines-Cloud.html.md)
* [How to import SSH public key to OpenStack Horizon on 3Engines Cloud](How-to-Import-SSH-Public-Key-to-OpenStack-Horizon-on-3Engines-Cloud.html.md) * [How to import SSH public key to 3Engines Horizon on 3Engines Cloud](How-to-Import-SSH-Public-Key-to-3Engines-Horizon-on-3Engines-Cloud.html.md)

View File

@ -0,0 +1,19 @@
# 3Engines CLI
## Available Documentation
* [How to Backup an Instance and Download it to the Desktop on 3Engines Cloud 3Engines Hosting](How-to-backup-an-instance-and-download-it-to-the-desktop-on-3Engines-Cloud.html.md)
* [How to create a set of VMs using 3Engines Heat Orchestration on 3Engines Cloud](How-to-create-a-set-of-VMs-using-3Engines-Heat-Orchestration-on-3Engines-Cloud.html.md)
* [How to Create and Configure New 3Engines Project Through Horizon on 3Engines Cloud Cloud](How-To-Create-and-Configure-New-Project-on-3Engines-Cloud-Cloud.html.md)
* [How to install 3EnginesClient for Linux on 3Engines Cloud](How-to-install-3EnginesClient-for-Linux-on-3Engines-Cloud.html.md)
* [How to install 3EnginesClient GitBash for Windows on 3Engines Cloud](How-to-install-3EnginesClient-GitBash-or-Cygwin-for-Windows-on-3Engines-Cloud.html.md)
* [How to share private container from object storage to another user on 3Engines Cloud](How-to-share-private-container-from-object-storage-to-another-user-on-3Engines-Cloud.html.md)
* [How to install 3EnginesClient on Windows using Windows Subsystem for Linux on 3Engines Cloud 3Engines Hosting](How-to-install-3EnginesClient-on-Windows-using-Windows-Subsystem-for-Linux-on-3Engines-Cloud-3Engines-Hosting.html.md)
* [How to move data volume between VMs using 3Engines CLI on 3Engines Cloud](How-to-move-data-volume-between-two-VMs-using-3Engines-CLI-on-3Engines-Cloud.html.md)
* [How to access object storage using 3Engines CLI on 3Engines Cloud](How-to-access-object-storage-using-3Engines-CLI-on-3Engines-Cloud.html.md)
* [How to transfer volumes between domains and projects using 3Engines CLI client on 3Engines Cloud](How-to-transfer-volumes-between-domains-and-projects-using-3Engines-CLI-client-on-3Engines-Cloud.html.md)
* [How to start a VM from instance snapshot using 3Engines CLI on 3Engines Cloud](How-to-start-a-VM-from-instance-snapshot-using-3Engines-CLI-on-3Engines-Cloud.html.md)
* [How to create instance snapshot using 3Engines CLI on 3Engines Cloud](How-to-create-instance-snapshot-using-3Engines-CLI-on-3Engines-Cloud.html.md)
* [Resizing a virtual machine using 3Engines CLI on 3Engines Cloud](Resizing-a-virtual-machine-using-3Engines-CLI-on-3Engines-Cloud.html.md)
* [Use backup command to create rotating backups of virtual machines on 3Engines Cloud cloud](Use-backup-command-to-create-rotating-backups-of-virtual-machines-on-3Engines-Cloud.html.md)
* [Use script to create daily weekly and monthly rotating backups of virtual machines on 3Engines Cloud](Use-script-to-create-daily-weekly-and-monthly-rotating-backups-of-virtual-machines-using-on-3Engines-Cloud.html.md)

Some files were not shown because too many files have changed in this diff Show More