Resource Preparation
Before using obsfs, you need to prepare the resources listed in Table 1.
| Resource | Description | Operation Guide |
|---|---|---|
| HUAWEI CLOUD account | You can use an account to access HUAWEI CLOUD. You can use the account to manage resources required by obsfs, such as IAM users, access keys, and OBS parallel file systems. Before using obsfs, you need to register an account and subscribe to OBS. | |
| IAM user | Optional. To ensure account and resource security, you are not advised to use a registered account to access OBS directly, and you are advised to create an IAM user and assign permissions to the user for accessing OBS resources. Then use the IAM user to perform operations on obsfs. | |
| Access keys (AK and SK) | Access keys (AK and SK) are identity credentials of your account or IAM users. obsfs accesses OBS using access keys. Access keys are used to encrypt the signature of a request, ensuring that the request is secure and integral, and that identities of the request sender and receiver are correct. | |
| Parallel file system | A parallel file system is a container for storing data. |
Registering an Account with HUAWEI CLOUD
Before using obsfs, you need to register an account with HUAWEI CLOUD and subscribe to OBS. OBS provides two billing modes. You can either pay per use or purchase resource packages. Make sure that your account balance is sufficient or you have valid resource packages. Then you can access and use OBS. If you already have an account and have subscribed to OBS, skip this part.
- Open the HUAWEI CLOUD website at www.huaweicloud.com/en-us/.
- Register an account. Before using OBS, you need to register an account with HUAWEI CLOUD. If you have an account, start from 3.
- On the right of the top navigation menu, click Log In, and enter the username and password.
- On the right of the top navigation bar, click Console to go to the management console.
Creating an IAM User
To ensure account and resource security, you are not advised to use a registered account to access OBS directly, and you are advised to create an IAM user and assign permissions to the user for accessing OBS resources. Then use the IAM user to perform operations on obsfs. If you do not need to use any IAM user, skip this part.
- Open the HUAWEI CLOUD website at www.huaweicloud.com/en-us/.
- Click Console in the upper right corner of the page and use the registered account to log in to OBS Console.
- On the top navigation bar, choose Service List > Management & Deployment > Identity and Access Management. The IAM console page is displayed.
- Create a user group.
For details, see Creating a User Group and Assigning Permissions. After the user group is created, locate the row that displays Global service > OBS in the User Group Permissions area, and click Configure Policy in the row to set OBS permissions for the user group. For details about OBS policies, see Permissions Management.
- Create a user.
For details, see Creating a User. When creating a user, set the User Group to the one created in 4 with OBS permissions configured.
If the user group is not configured with OBS permissions, you can configure full control permissions of the parallel file system to be mounted on OBS Console through the policy or access control list (ACL).
Creating Access Keys (AK and SK)
Access keys (AK and SK) are identity credentials of your account or IAM users. obsfs accesses OBS using access keys. Access keys are used to encrypt the signature of a request, ensuring that the request is secure and integral, and that identities of the request sender and receiver are correct. If you have access keys (AK and SK), skip this part.
Each account or IAM user can create a maximum of two valid access keys.
- Log in to OBS Console.
- In the upper right corner of the page, select My Credentials under the username.
- On the My Credentials page, select Access Keys in the navigation pane on the left.
- On the Access Keys page, click Create Access Key.
A user can create a maximum of two valid access keys.
- In the Create Access Key dialog box that is displayed, enter the password and its verification code.
- If you have not bound an email address or mobile number, enter only the password.
- If you have bound an email address and a mobile number, you can verify through either one.
- Click OK.
- In the Download Access Key dialog box that is displayed, click OK to save the access key to your browser's default download path.
To prevent the access keys from being leaked, keep them secure. If you click Cancel in the dialog box, the access keys will not be downloaded, and you cannot download them later.
- Open the downloaded credentials.csv file to obtain the access keys (AK and SK).
In the access key file, the value in the Access Key ID column is the AK, and the value in the Secret Access Key column is the SK.
Creating a Parallel File System
For details about how to create a parallel file system, see Creating a Parallel File System.
Last Article: Environment Preparation
Next Article: Method 1: Download and Install obsfs
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.