Updated on 2024-03-15 GMT+08:00

Creating an Image

Scenarios

Administrators can publish image applications for users based on actual application scenarios.

Prerequisites

  • You have obtained the app installation file from an official channel.
  • (Optional) You have created a basic image by referring to Creating a Windows Private Image (Basic Image).
  • You have created an image application by referring to Application Repository.

    Workspace Application Streaming supports images on KooGallery as basic images. If a private image is required as the basic image, create one on the image service page.

Creating an Image Task

  1. Log in to the management console of Workspace Application Streaming as an administrator.
  2. In the navigation pane on the left, choose Applications and Images > Image Creation.
  3. Click Create Image Task to access the image creation page.
  4. Configure the parameters based on Table 1.

    Table 1 Parameters for creating an image task

    Parameter

    Description

    Example value

    Name

    Customize the image task name.

    Naming rules:

    • 1 to 64 characters
    • Letters, digits, hyphens (-), and underscores (_) only

    image-task01-name

    Description

    Enter the description as required.

    Publish an application that is not included in the default application list.

    Session Mode

    • Single-session
    • Multi-session
      NOTE:
      • In scenarios where the AD server is not interconnected, only the single-session mode is supported.
      • In scenarios where the AD server is interconnected, the single-session mode and multi-session mode are supported.

    -

    Billing Mode

    Only pay-per-use billing is supported.

    Pay-Per-Use

    AZ

    An AZ is a physical region where resources use independent power supplies and networks. AZs are physically isolated but connected through an intranet. If an AZ becomes faulty, other AZs in the same region will not be affected.

    -

    CPU Architecture

    Currently, only x86 is supported.

    X86

    Package Type

    Select a package for publishing the application based on the application type and specifications.

    -

    OS

    OS type. Only Windows is supported.

    Windows

    Basic Image

    Images on KooGallery and private images are supported.

    If you use a private image, ensure that you have created one by referring to Creating a Windows Private Image (Basic Image) or an image has been generated with an image task that has successfully published an application.

    KooGallery

    Disk Type

    Select a disk type as required.
    • EVS
    • DSS

    -

    System Disk

    Select a system disk type as required.

    The capacity of a system disk ranges from 10 GB to 1,020 GB. The value must be an integer multiple of 10.

    High I/O Disk

    80 GB

    Network

    Select an existing subnet or click click here to create a subnet to create one. For details, see Creating a Service Subnet for the VPC.

    -

    OU Name

    If an OU is created on the Windows AD server, you can select the OU to be used.

    NOTE:

    This parameter is required only when the AD is interconnected.

    -

    Additional Sessions

    Additional sessions for a single server. The value varies with the server specifications.

    NOTE:

    After a server group is created, the number of sessions cannot be changed.

    -

    Session Scheduling Policy

    • Number of Session Connections: Session connections of the server. Set this parameter based on the server specifications.
    • CPU Usage: CPU usage of the server. The value ranges from 1 to 100.
    • Memory Usage: Memory usage of the server. The value ranges from 1 to 100.
      NOTE:

      If any metric of a server exceeds the threshold, no more sessions are accepted. The policy schedules available servers in the server group to establish sessions.

    -

    Account

    Select a user account as the management account for creating the image.

    • If the AD is interconnected, the default account is the administrator account of the AD domain.
    • If the AD is not interconnected, select a user account as the management account for creating the image.

    -

  5. Click Confirm.
  6. Confirm the information and click Create.

    Go to the image list page to check the status of the created image task. If the status shows Instance running, you can find the server group and application group with the same name as the image task in the server group list and application group list.

Generating an Image

Installing an Application

  1. Log in to the management console of Workspace Application Streaming as an administrator.
  2. In the navigation pane on the left, choose Applications and Images > Image Creation.
  3. Locate the image task (in the Instance running or Image task complete status) created in 6. Click Generate Image in the Operation column.
  4. Prepare the application.

    The administrator can upload an application to the APS in any of the following ways:

    • Method 1: Upload the application to the image repository. For details, see Application Repository. Select the application to be installed and synchronize the download link to the server.
    • Method 2: Configure the file redirection or clipboard redirection policy for the user or application group. After logging in to the APS, copy the application file from the local PC to the server.
      1. Get the .exe or .msi file of the application from an official channel and store it in a local storage device.
      2. For details about configuring a policy for a user or application group, see How Do I Enable a Local Storage Device to Copy Files to an APS?. Set Policy Object to the administrator account or application group created in the image task.
    • Method 3: Enable the Internet access for the APS by referring to Configuring Workspace Application Streaming to Access the Internet. After logging in to the server, you can download the application file from a browser over the Internet.

  5. Click Next: Install Application.
  6. Click Download to go to the page for downloading Workspace client.
  7. Download the Windows version and install it.
  8. Start the Huawei Cloud Workspace client on a local device.
  9. Enter the server address, enterprise ID, username, and password on the Install Application page to log in.
  10. Click Windows Desktop to access the APS.
  11. After logging in to the APS, select an installation mode based on the uploading method in 4.

    • Method 1: Select the application from the application repository.
      1. Double-click CloudClientApps to access the application list page.
      2. Select the target application, and download and install it as prompted.
    • Method 2: Copy the application from the local host to the APS using a policy.
      1. Copy the application file to the APS.
      2. Open the corresponding application and install it.
    • Method 3: The Internet access has been enabled for the APS.
      1. Open a browser.
      2. Search for the corresponding application, and download and install it.

(Optional) Installing the sandbox software (refer to How Do I Install Sandbox Software?)

Verifying application

  1. Click Next: Verify Image
  2. Publish the application. The application list page is displayed.
  3. Click Add App and select the application installed in 11.
  4. Click OK.
  5. Click the User Authorization tab.
  6. Click Add User. The list of users to be added is displayed.
  7. Select the user to use the application and click OK.

    The user will receive a notification email from the Workspace Application Streaming authorization service.

  8. The user downloads and installs the Workspace client running Windows according to email instructions, and enters the server address, enterprise ID, username, and password in the email to log in.
  9. Use the application.

Creating a built-in administrator account when the AD is not interconnected

  1. Access the APS, click , enter compmgmt.msc, and press Enter. The Computer Management window is displayed.
  2. In the navigation pane, choose Local Users and Groups > Users.
  3. Right-click and choose New User from the shortcut menu.
  4. In the New User dialog box, enter the username (example: admin) and password, confirm the password, and click Create.

    Keep the new userpassword secure. This account will be used for APS O&M.

  5. In the navigation tree, choose Local Users and Groups > Groups.
  6. Right-click Administrator and choose Add to Group from the shortcut menu.

    If you need to add administrators to other groups, select an option as required.

  7. In the Administrator Properties dialog box, click Add to add the user to the group.
  8. Click OK and close the Administrator Properties dialog box.

Generating an image

  1. Click Next: Generate Image.
  2. Customize the image name and enter a description.
  3. Click Generate in One Click.

    Return to the image list page. The task status is Creating. If the task status is Image task complete, you can use the image to update available applications after the image is created.