Creating a LakeFormation Instance and a Client Connection
Preparing a User
If you use LakeFormation for the first time, create a user and grant permissions to the user by referring to Preparations.
This section demonstrates the entire process of using LakeFormation. You need to complete the following preparations in advance:
- An IAM service user and user group for authorization have been created in IAM, and the user has been associated with the user group.
- A parallel file system has been created in OBS, and a folder for mapping data tables has been created in the file system.
- You have created an agency required for interconnecting with LakeFormation. For example, if you plan to interconnect MRS clusters with LakeFormation, create an agency by referring to Preparations.
Creating a LakeFormation Instance
- Log in to the LakeFormation console.
- In the upper left corner, click and choose Analytics > LakeFormation to access the LakeFormation console.
- Click Buy Now or Buy Instance in the upper right corner.
If a LakeFormation instance exists on the page, Buy Instance is displayed. Otherwise, Buy Now is displayed.
- Configure the parameters listed in the following table.
Table 1 Parameters for creating a LakeFormation instance Parameter
Description
Example Value
Type
Select the instance type.
- Shared
- Exclusive
Exclusive
Region
Select a region.
LakeFormation instances in different regions cannot communicate with each other over an intranet. For lower network latency and quick resource access, select the nearest region.
xxx
Billing Mode
Billing mode of instances.- Pay-per-use
Pay-per-use
Project
Select the project to which the instance belongs.
xxx
Name
User-defined LakeFormation instance name.
lakeformation-test
QPS
Maximum number of requests per second. You do not need to set this parameter when Type is set to Shared.
10000
Enterprise Project
Enterprise project to which the cluster belongs. If no enterprise project is available, click Create to create one.
xxx
Description
Description of the instance.
-
Label
Enter content in the boxes and click Add to add a tag.
-
- Click Buy Now, confirm the configured information, and pay.
- Click Back to Console. You can view information about the newly created LakeFormation instance on the console.
When creating an instance, pay attention to quota notification. If a resource quota is insufficient, increase the resource quota as prompted and create an instance.
Wait until the instance status changes to , indicating that the instance is created.
Creating an Access Client
- Log in to the LakeFormation console.
- In the upper left corner, click and choose Analytics > LakeFormation to access the LakeFormation console.
- Select the created LakeFormation instance (for example, lakeformation-test). For how to create an instance, see the operations described in Creating a LakeFormation Instance. Click Clients in the navigation pane.
- Click Create. In the displayed dialog box, set the following parameters and click OK.
If no suitable VPC or subnet is available, click create one to access the VPC console to create one.
Table 2 Parameters for creating an access management client Parameter
Description
Client
Enter a client name.
VPC
Select the VPC where the MRS service is located.
Subnet
Select the subnet where the MRS service is located.
- Click View Details in the Operation column to view the VPC endpoint ID, access domain name, and access IP address.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot