Help Center> Cloud Phone Host> Best Practices> Uploading Data to an OBS Bucket

Uploading Data to an OBS Bucket

Procedure

  1. In the navigation pane on the left, choose Permissions > Bucket Policy. On the displayed page, click Create.
    Figure 1 Creating a bucket policy
  2. Select Directory read and write to grant the read and write permissions of the specified directory in the OBS bucket to the Cloud Phone built-in account. Click Use Policy Template.
    Figure 2 Select Template
  3. For the Configure Policy step, configure the required parameters and click Next.
    • Principal: Select Other account.
    • Account ID: Enter the Cloud Phone built-in account.

      The Cloud Phone built-in account is mandatory and must contain the following information. You cannot enter the ID of your own account.

      Account ID: 529375c06c6340f299819082b3051225

      IAM User ID: 10208a4cf0944e339f523d9943ba02d3

    • User Policy: Select Include specified users.
      Figure 3 Configure Policy
  4. Select Current bucket for Resource and click Next.
    Figure 4 Resource
  5. Confirm the bucket policy and click Create.
    Figure 5 Confirm Policy
  6. Check whether all cloud phones can upload data to the game_tar directory in the cloud-app-game bucket.