Image Creation
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 Repositories.
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
- Log in to the Workspace Application Streaming console as an administrator.
- In the navigation pane on the left, choose Applications and Images > Image Creation.
- Click Create Image Task to access the image creation page.
- 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
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 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 connected.
-
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.
-
- Click Confirm.
- 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
- Log in to the Workspace Application Streaming console as an administrator.
- In the navigation pane on the left, choose Applications and Images > Image Creation.
- Locate the image task (in the Instance running or Image task complete status) created in 6. Click Generate Image in the Operation column.
- 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 Repositories. 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.
- Get the .exe or .msi file of the application from an official channel and store it in a local storage device.
- 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 Allowing 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.
- Click Next: Install Application.
- Click Download to go to the page for downloading Workspace client.
- Download the Windows version and install it.
- Start the Huawei Cloud Workspace client on a local device.
- Enter the server address, enterprise ID, username, and password on the Install Application page to log in.
- Click Windows Desktop to access the APS.
- 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.
- Double-click CloudClientApps to access the application list page.
- 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.
- Copy the application file to the APS.
- Open the corresponding application and install it.
- Method 3: The Internet access has been enabled for the APS.
- Open a browser.
- Search for the corresponding application, and download and install it.
- Method 1: Select the application from the application repository.
(Optional) Installing the sandbox software
Verifying the application
- Click Next: Verify Image
- Publish the application. The application list page is displayed.
- Click Add App and select the application installed in 11.
- Click OK.
- Click the User Authorization tab.
- Click Add User. The list of users to be added is displayed.
- Select the user to use the application and click OK.
The user will receive a notification email from the Workspace Application Streaming authorization service.
- 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.
- Use the application.
Creating a built-in administrator account when the AD is not interconnected
- Access the APS, click , enter compmgmt.msc, and press Enter. The Computer Management window is displayed.
- In the navigation pane, choose Local Users and Groups > Users.
- Right-click and choose New User from the shortcut menu.
- 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.
- In the navigation pane, choose Local Users and Groups > Groups.
- 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.
- In the Administrator Properties dialog box, click Add to add the user to the group.
- Click OK and close the Administrator Properties dialog box.
Generating an image
- Click Next: Generate Image.
- Customize the image name and enter a description.
- 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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot