Public Cloud Setup

Uyuni Server needs to be registered with SUSE Customer Center to receive updates before you can sign in.

You must have set up the storage devices before you run the YaST Uyuni setup procedure. For more information, see installation:pubcloud-requirements.adoc.

Follow the cloud providers instructions to SSH into the instance, and run this command to start set up:

yast2 susemanager_setup

Follow the prompts, and wait for the setup to finish.

For detailed instructions on setting up Uyuni with YaST, see installation:server-setup.adoc.

Activate the public cloud module

To use Uyuni on a public cloud instance, you need to activate the public cloud module.

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

Complete setup in the Web UI

Open the Uyuni Web UI with a web browser, using an address like this:

https://<public_IP>

Sign in to the Uyuni Web UI with the administrator account. 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 sign in to the administrator account for the first time, you are given an automatically generated organization name. Change this by navigating to Admin  Organizations, and editing the organization name.

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

For more information about setting up your Uyuni Server, see installation:server-setup.adoc.

Use the Uyuni Web UI to add the required software products, and schedule a repository synchronization. The best way to do this is to navigate to Admin  Setup Wizard and follow the prompts.

For more information about the setup wizard, see installation:setup-wizard.adoc.

If you are intending to register Ubuntu or Red Hat Enterprise Linux clients, you need to set up custom repositories and channels. For more information, see the relevant section in client-configuration:registration-overview.adoc.

To synchronize your channels, navigate to Software  Manage  Channels. Click each channel you created, navigate to the Repositories  Sync tab, and click Sync Now. You can also schedule synchronization from this screen.

Before bootstrapping a client, make sure all the selected channels for that product are synchronized.

Synchronization can sometimes take several hours, in particular for openSUSE, SLES ES, and RHEL channels.

When you have your Uyuni Server set up, you are ready to start registering clients. For more information about registering clients on a public cloud, see client-configuration:clients-pubcloud.adoc.