Help Center/ Elastic Cloud Server/ Best Practices/ Accessing OBS from an ECS over the Intranet/ Accessing OBS over Intranet by Using OBS Browser+ on a Windows ECS
Updated on 2024-09-12 GMT+08:00

Accessing OBS over Intranet by Using OBS Browser+ on a Windows ECS

OBS Browser+ is a graphical interface tool applicable to object-based storage services. You can configure the intranet DNS server address to access OBS over intranet on a Huawei Cloud Windows ECS. The process and procedure are described as follows.

You need to download OBS Browser+ over the Internet. Alternatively, you can download OBS Browser+ from a cloud server that can access the Internet and then transfer the downloaded OBS Browser+ to the current cloud server for installation.

Process

Figure 1 The process of accessing OBS over intranet by using OBS Browser+ on a Windows ECS

Procedure

  1. Log In to the Windows ECS.

    1. Log in to the Huawei Cloud official website and click Console.
    2. On the home page of the console, choose Compute > Elastic Cloud Server.
    3. Select an ECS and log in to it.

      A Windows ECS can be logged in using either VNC or MSTSC. For details, see Logging In to an ECS.

  2. Check whether the intranet DNS is configured on the Windows ECS.

    On the Windows ECS, you can view the current DNS configuration by using the graphical user interface (GUI) or command line interface (CLI). This section uses the CLI as an example to describe how to view the DNS configuration.
    1. After logging in to the ECS, open the CLI.
    2. Run the ipconfig /all command to check whether DNS server is at the intranet DNS address of the region where the current ECS resides.

      Huawei Cloud provides different private DNS server addresses for different regions. For details, see What Are the Private DNS Server Addresses Provided by Huawei Cloud?

      • If no, go to 3.
      • If yes, go to 5.

  3. Configure the Intranet DNS.

    Change the DNS server address of the ECS to the intranet DNS provided by Huawei Cloud. You can change the DNS address of the VPC subnet or modify the local DNS configuration to achieve this.

    • Methods 1: Changing the DNS server address of the VPC subnet

      Locate the VPC where the ECS resides and change the DNS server address of the VPC subnet to the intranet DNS address. In this manner, ECSs in the VPC can use the intranet DNS for resolution and thereby you can access OBS on Huawei Cloud intranet. For details, see Modifying a Subnet.

      The intranet DNS server address must be selected based on the region where the ECS resides. For details, see What Are the Private DNS Server Addresses Provided by Huawei Cloud?

    • Method 2: Modifying the local DNS configuration

      The intranet DNS configured in this method becomes invalid once the ECS is restarted. You need to reconfigure the intranet DNS after each restart of the ECS. This section uses configuration through CLI as an example to describe how to modify the DNS configuration locally.

    1. Open the CLI.
    2. Run the following command to configure the IP address of the primary DNS server:
      netsh interface ip set dns name="Local connection" source=static addr=Intranet DNS server address register=primary
    3. (Optional) Run the following command to configure the IP address of the backup DNS server:
      netsh interface ip add dns name="Local connection" addr= Alternative DNS server address index=2
      • Local connection: a NIC name. Use the actual NIC name when configuring the local DNS.
      • Alternative DNS server address: The DNS server is used when the primary DNS server is faulty, unavailable, or cannot resolve the requested domain name. You can set this parameter to the IP address of the Huawei Cloud intranet DNS server. (You need to select the intranet DNS server address based on the region where the ECS resides. For details, see What Are the Private DNS Server Addresses Provided by Huawei Cloud?) You can also set this parameter to the IP address of a public DNS server.

  4. Check whether OBS is accessed over the intranet.

    For details, see How Do I Determine Whether OBS Is Being Accessed from an Intranet Connection?

    The global domain name of an OBS bucket is in the Bucket name.obs.my-kualalumpur-1.alphaedge.tmone.com.my format.

  5. Download OBS Browser+.

    For details, see Downloading OBS Browser+.

  6. Log in to OBS Browser+.

    OBS Browser+ accesses OBS over a public network by default. When you log in to OBS Browser+ and add an account, set Service and Server Address as follows:

    • Server Address: Enter the OBS domain name in the region where your ECS resides and the port number. The HTTPS port number is 443 and the HTTP port number is 80. The HTTPS server is used by default. If you want to use the HTTP server, click in the upper right corner of OBS Browser+ and click System Configuration. In the System Configuration dialog box that is displayed, deselect Enable HTTPS.

      Example: obs.eu-west-101.myhuaweicloud.eu:443

  7. Start to use OBS Browser+.

    After logging in to OBS Browser+, you can access OBS over the intranet from the Windows ECS to perform basic data access operations and other advanced settings.

    For details, see OBS Browser+ Tool Guide.