Location hosting allows you to manage and analyze the stored data in the data lake Object Storage Service (OSS) by hosting it to Data Lake Formation (DLF). After hosting the location, it will provide you with Storage overview, Lifecycle management, and Data overview of data tables (such as data access frequency, last data update time), and data lake management capabilities such as storage permissions.
Procedure
Register a location
Log on to the Data Lake Formation console.
In the left-side navigation pane, click
.Click Register Location.
On the Register Location page, configure the following parameters and click OK.
Select OSS Path: Select the OSS bucket to be registered (multiple selections allowed).
RAM Role: Select RAM authorization role, default is AliyunDLFWorkFlowDefaultRole.
Enable OSS Bucket Inventory, Enable OSS Logging: Enabled by default. If you have already activated this feature in the OSS console, it will not be activated again. The default setting is to clean data every 7 days to save your storage costs.
ImportantBucket inventory and Logging will incur additional Storage fees. The following are example fees for actual tests for your reference:
Example of bucket inventory fees: 100 million files (7-day automatic cleanup), approximately 0.37 RMB/month.
Example of log storage fees: Assuming 400 million API calls per month (7-day automatic cleanup), approximately 5 RMB/month.
In the pop-up confirmation box, click OK.
After registration is complete, you can see the registered location in the list.
Edit a location
In the left-side navigation pane, click
.Select the location you want to edit and click Edit in the Actions column.
You can choose to enable or disable the OSS bucket inventory and OSS logging features. Click OK.
The OSS bucket inventory and OSS logging features not automatically enabled by DLF cannot be disabled in Update Location page.
Delete a location
In the left-side navigation pane, click
.Select the location you want to delete and click Delete in the Actions column.
After the location is deleted, the OSS bucket inventory and OSS logging features enabled by DLF will be automatically deleted. If they were not automatically enabled by DLF, they will not be automatically disabled.
After the location is deleted, DLF will no longer have permission to manage storage data. You will not be able to use all or part of the features in Storage overview, Lifecycle management, Data overview of data tables.