Baidu Cloud
1. Baidu Cloud IAM Setup for Mofis
Section titled “1. Baidu Cloud IAM Setup for Mofis”Learn how to create a custom policy, a user group and an IAM user in the Baidu Cloud console. Use the policy JSON from Mofis to grant read access, generate an AccessKey and let the user inherit permissions through the group.
Steps (31)
- Open “IAM” from the account menu.
- Select “Policy Management” in the sidebar.
- Click “Create policy”.
- Choose “Create by policy syntax”.
- Click the “Policy name” field.
- Type the policy name, for example mofis_read.
- Switch to the Mofis app to copy the required policy JSON.
- Choose “Baidu Cloud”.
- Open the “JSON policies” tab.
- Click “Copy” to copy the policy JSON.
- Switch back to the Baidu Cloud console.
- Paste the copied JSON into the editor.
- Click “Confirm” to create the policy.
- Open “Group Management”.
- Click “Create new group”.
- Type the group name, for example mofis_group.
- Search for “mofis” to find the custom policy.
- Tick “mofis_read” to attach it to the group.
- Click “Confirm” to create the group.
- Expand “User management”.
- Open “IAM User”.
- Click “Create IAM user”.
- Type the username, for example mofis_reader.
- Tick “Programmatically access” to generate an AccessKey.
- Click “OK” to create the user.
- Click “Download AccessKey”. It is shown only once.
- Go back to “Group Management”.
- Open the group “mofis_group”.
- Click “Add Members”.
- Tick “mofis_reader” to add it to the group.
- Click “OK”. The user now inherits the group's policy.
2. Baidu Cloud Account Setup For Mofis
Section titled “2. Baidu Cloud Account Setup For Mofis”Learn how to add a Baidu Cloud account with your AccessKey and Secret Key, follow its first data sync, and then explore its costs in Smart Bills.
Steps (12)
- Choose the provider you want to connect, here “Baidu Cloud”.
- Enter an account name, for example “baidu”.
- Open “Region” to pick where the account is based.
- Select “China”.
- Paste your Access Key here.
- Enter the Secret Key. “Create” becomes available.
- Click “Create” to add the account.
- Open “Data Sync” to follow the new account's first sync.
- Expand the “baidu” row to watch the sync log until it finishes.
- Now open “Smart Bills” to see the costs.
- Open the account switcher at the top.
- Pick “baidu” to view its bills.