Public Cloud Setup

Uyuni is pre-installed on images that are available in the Public Cloud. You do not need to perform any installation steps. However, you must have the correct Uyuni and SUSE Linux Enterprise entitlements to receive updates before you can manage client systems.

Uyuni is only offered as bring your own subscription (BYOS) images. Entitlements are provided by SUSE or a partner, you can use SUSE Customer Center to obtain your entitlements. SUSE Linux Enterprise system images for clients are generally available as on-demand or pay as you go (PAYG) images, or as bring your own subscription (BYOS) images. If you are managing on-demand instances, the entitlement for the client is part of the on-demand pricing. For on-demand instances you need to do some extra preparation before you can manage the system with Uyuni.

An instance started from an on-demand image provided by SUSE is automatically registered, and the update infrastructure and SUSE Linux Enterprise modules are activated. For Uyuni clients, you need to disable this automation before you begin.

Procedure: Preparing On Demand Images
  1. Log in to the on-demand instance.

  2. At the command prompt, as root, remove the registration data and repositories:


    registercloudguest --clean ---

  3. Remove the cloud-regionsrv-client package:

    zypper rm cloud-regionsrv-client
  4. Remove additional packages specific to your cloud provider:

    • Amazon EC2:

      zypper rm regionServiceClientConfigEC2 regionServiceCertsEC2
    • Google Compute Engine:

      zypper rm cloud-regionsrv-client-plugin-gce regionServiceClientConfigGCE regionServiceCertsGCE
    • Microsoft Azure:

      zypper rm regionServiceClientConfigAzure regionServiceCertsAzure

For instructions on registering Uyuni to SUSE Customer Center, see installation:server-setup.adoc.

Procedure: Activating the Public Cloud Module
  1. On the Uyuni Server, open the YaST management tool, and navigate to Software  Software Repositories.

  2. Click Add and select Extensions and Modules from Registration Server.

  3. In the Available extensions field, select Public Cloud Module.

If you prefer to use the command line, you can add the module with this command:

SUSEConnect -p sle-module-public-cloud/15.2/x86_64

When the installation procedure has finished, you can check that you have all the required modules. At the command prompt, enter:

SUSEConnect --status-text

For Uyuni Server on a public cloud, the expected modules are:

  • SUSE Linux Enterprise Server Basesystem Module

  • Python 2 Module

  • Server Applications Module

  • Web and Scripting Module

  • SUSE Manager Server Module

  • Public Cloud Module

Account Credentials

An administrator account is created by default. The username and password varies depending on your provider.

Table 1. Default Administrator Account Details
Provider Default Username Default Password

Amazon EC2

admin

<instance-ID>

Google Compute Engine

admin

<instance-ID>

Microsoft Azure

admin

<instance-name>-suma

You can retrieve the instance name or ID from the public cloud instance web console, or from the command prompt:

Amazon EC2:

ec2metadata --instance-id

Google Compute Engine:

gcemetadata --query instance --id

Microsoft Azure:

azuremetadata --compute --name

When you have logged in to the administrator account for the first time, change the default password to protect your account.