Manage applications

更新时间:
复制 MD 格式

After you activate Graphic Computing Service (GCS), you can create applications in the console and use API operations to manage them.

Prerequisites

Make sure that you have the AccessKey ID and AccessKey secret for your current account. For more information, see Create an AccessKey.

Step 1: Create an application

  1. Log on to the GCS console.
  2. In the navigation pane on the left, click Application Management.
  3. On the Application Management page, click Create Application.
  4. In the Create Application dialog box, enter an Application Name and select an Application Type.
    新建应用
    Important Application Type cannot be changed after it is selected. Choose carefully.
  5. Click OK.

Step 2: Upload an application version

Different upload tools are provided for Windows and macOS. This topic uses the Windows tool as an example.

  1. On the Application Management page, click Upload Application Version.
  2. In the Upload Application Version dialog box, click Download for Windows.
  3. After the download is complete, open GCS Application Upload Tool.zip.
  4. In the win-unpacked folder, double-click GCS Application Upload Tool.exe.
  5. In the GCS Application Upload Tool dialog box, enter your AccessKey ID and AccessKey secret, and then click Log On.
  6. In the GCS Application Upload Tool dialog box, upload the local application file.
    1. Select the application that you created in Step 1: Create an application.
    2. Enter a name for the application version.
    3. Set Upload Method to Upload Folder.
    4. Select the path of the local application folder.
    5. Click Upload File.
      Note You can cancel the upload while it is in progress.

    When the upload is complete, you can view the version or upload more versions, as shown in the following figure.

Step 3: Adapt the application

  1. On the Application Management page, click the application that you created in Step 1: Create an application.
  2. In the Application Version section, find the application version that you uploaded in Step 2: Upload an application version and click Adapt in the Actions column.
  3. In the Adapt Application dialog box, enter the filename of the startup program, select the required resolution, frame rate, and bitrate, and then click OK.
    适配应用
  4. GCS staff will manually adapt the application. After the adaptation is complete, you can view the CRU consumption of a single application instance.
    适配完成

Step 4: Manage the application using API operations

After the application is adapted, you can run it in the cloud. You can use API operations to start and stop the application.