检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Parent Topic: Accessing OBS from an ECS over the Intranet
On the Elastic Cloud Server page, you can check your purchased ECS and its specifications.
Table 1 Resource description Resource Description Elastic Cloud Server (ECS) For a Windows ECS, OBS Browser+ must be installed. For a Linux ECS, obsutil must be installed. Object Storage Service (OBS) OBS serves as a data storage resource pool to reduce the burden on the server.
Accessing OBS from an ECS over the Intranet Overview of the Solution to Accessing OBS from an ECS over the Intranet Using OBS Browser+ on a Windows ECS to Access OBS over the Intranet Using obsutil on a Linux ECS to Access OBS over the Intranet Parent Topic: Accessing Data Stored
Sample code for creating an instance of ObsClient using ECS: # Import the module. from obs import ObsClient # Create an instance of ObsClient. # Provide ECS to obtain the temporary access keys. obsClient = ObsClient( server='https://your-endpoint', security_provider_policy
Accessing OBS from an ECS over the Intranet Describes how to access OBS from your Elastic Cloud Server (ECS) over the internet or the Huawei Cloud intranet (recommended for better performance and lower costs).
Public services, such as Elastic Cloud Server (ECS), Elastic Volume Service (EVS), Object Storage Service (OBS), Virtual Private Cloud (VPC), Elastic IP (EIP), and Image Management Service (IMS), are shared within the same region.
Billing Analysis An ECS can access OBS over the Internet or an intranet. Access over an intranet requires that the ECS and OBS buckets be in the same region.
Condition Operator: Select IpAddress Value: If the ECS uses a public DNS, the value is as follows: Elastic IP address of the ECS If the ECS uses a Huawei Cloud private DNS, the value is as follows: 100.64.0.0/10,214.0.0.0/7,Private IP address of the ECS NOTE: You can click Add to
Related Services Elastic Cloud Server (ECS), Elastic Load Balance (ELB), Relational Database Service (RDS), and Volume Backup Service (VBS) Figure 8 Enterprise cloud boxes (web disks)
After I Use obsfs to Mount My Parallel File System to an ECS, Is the Traffic Consumed by My File System Measured as OBS Traffic or ECS Traffic? Accessing the ECS from your mounted file system will generate both OBS traffic and traffic of the ECS elastic network interface.
Data access Accessing OBS from an ECS over the Intranet You can read, back up, and archive data on OBS from your ECS over an intranet.
EVS disks need to be attached to an ECS or a BMS and initialized before the ECS or BMS can be used and accessed by your applications. SFS systems need to be mounted to an ECS or a BMS and then the ECS or BMS can be accessed using NFS or CIFS protocols.
It also supports data read and write through obsfs, a PFS client that supports POSIX. obsfs can be deployed on an ECS, and then you can use the obsfs to mount a parallel file system to the Linux OS running on the ECS.
Accessing Data Stored in OBS Accessing OBS from an ECS over the Intranet Accessing OBS Through an NGINX Reverse Proxy
Elastic Cloud Server (ECS) Accessing OBS over Intranet IAM provides the following functions: User identity authentication IAM user permission control IAM agency configuration Identity and Access Management (IAM) Permissions Management Creating an IAM User and Granting OBS Permissions
The prerequisite for querying access keys from an ECS is that obsutil is running on this ECS and the ECS has been bound to an agency. If the function of automatically obtaining access keys is enabled, you still need to specify the endpoint. Parent topic: Best Practices
More Operations If you need to use obsutil on a Huawei Cloud ECS, you can configure access over an intranet to reduce costs on traffic by referring to Using obsutil on a Linux ECS to Access OBS over an Intranet.
If you want your bucket to be accessed from an ECS over the intranet, ensure that the bucket and the ECS are in the same region. For details, see Accessing OBS from an ECS over the Intranet. Storage Class Storage class of the bucket.
Suppose you have an ECS and an OBS bucket (named example-bucket) in the CN-Hong Kong region. To check whether you are using an intranet for access, do as follows: On the ECS, ping the global domain name of the bucket you are accessing.