Help Center> DataArts Lake Formation> Getting Started> Creating a LakeFormation Instance and a Client Connection
Updated on 2024-02-02 GMT+08:00

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

  1. Log in to the LakeFormation console.
  2. In the upper left corner, click and choose Analytics > LakeFormation to access the LakeFormation console.
  3. 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.

  4. 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.

    -

  5. Click Buy Now, confirm the configured information, and pay.
  6. 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

  1. Log in to the LakeFormation console.
  2. In the upper left corner, click and choose Analytics > LakeFormation to access the LakeFormation console.
  3. 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.
  4. 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 to which the client to be connected belongs. The value must be the same as that of the service to be connected.

    Subnet

    Select the subnet to which the client to be connected belongs. The value must be the same as that of the service to be connected.

  5. Click View Details in the Operation column to view the VPC endpoint ID, access domain name, and access IP address.