Enabling AI DataLake and Granting Permissions
To use AI DataLake, you must enable the service and grant it permissions to access other cloud services on your behalf. Once authorized, you can perform operations such as creating workspaces and developing jobs in AI DataLake.
This section describes how to enable AI DataLake and configure access authorization for cloud resources.
Prerequisites
You have registered a Huawei Cloud account. For details about account registration, see Signing Up for a Huawei Cloud Account.
Notes and Constraints
Only the tenant account or a sub-account in the Admin user group can authorize access.
Procedure
- Authorize AI DataLake to access cloud resources.
- Log in to the AI DataLake console.
The page that automatically appears displays all other cloud service resources that AI DataLake depends on.
To use AI DataLake, you must authorize it to access other cloud services on your behalf. For details about required permissions, see Table 2.
- Select the required agency permissions.
- Log in to the AI DataLake console.
- Read and agree to the AI DataLake Service Agreement.
Read the AI DataLake service terms carefully and agree to the service agreement.
- Click Authorize Now.
After you grant the authorization, the ai_datalake_admin_trust agency is automatically created in IAM. You can view its details and permissions in the agency list on the IAM console.
For details about the policies included in the agency and the permissions granted by each policy, see AI DataLake Cloud Resource Permissions.
Do not delete the ai_datalake_admin_trust agency once it is created. Deleting it will change the authorization scope and disrupt related service permissions.
AI DataLake Cloud Resource Permissions
| Policy Type | Policy Name | Mandatory | Description | Impact of Deselection on the Service |
|---|---|---|---|---|
| Common Service | AI_DATALAKE_COMMON_POLICY | Yes | Minimum permissions required by an agency. | Required permission verification fails:
|
| LakeFormation Service | AI_DATALAKE_LAKEFORMATION_POLICY | Yes | Permissions required to use LakeFormation capabilities. | Data catalog capabilities are unavailable:
|
| Log Tank Service LTS | AI_DATALAKE_LTS_POLICY | Yes | Permissions required to use LTS capabilities. | Troubleshooting and audit tracking are restricted:
|
| Self Service | AI_DATALAKE_SELF_POLICY | Yes | Permissions required to access AI DataLake. | Core data analysis capabilities are unavailable:
|
| Operations Management AOM | AI_DATALAKE_AOM_POLICY | No | Permissions required to use Application Operations Management (AOM) capabilities. | O&M and monitoring capabilities are unavailable:
|
| Distributed Cache Service | AI_DATALAKE_DCS_POLICY | No | Permissions required to use Distributed Cache Service (DCS). | The user's distributed cache services cannot be accessed. |
| Key Management Service | AI_DATALAKE_DEW_POLICY | No | Permissions required to use Data Encryption Workshop (DEW). | Access to user-managed credentials is unavailable. |
| DNS Service | AI_DATALAKE_DNS_POLICY | No | Permissions required to use DNS capabilities. | Cross-domain network access is restricted.
|
| Object Storage Service OBS | AI_DATALAKE_OBS_POLICY | No | Permissions required to use OBS capabilities. | Data storage and management are restricted:
|
| Container Image Service SWR | AI_DATALAKE_SWR_POLICY | No | Permissions required to use SWR capabilities. | Advanced features that depend on specific images are unavailable:
|
| Virtual Private Cloud VPC | AI_DATALAKE_VPC_POLICY | No | Permissions required to use VPC capabilities. | Network connectivity is restricted:
|
| VPC Endpoint VPCEP | AI_DATALAKE_VPCEP_POLICY | No | Permissions required to use VPCEP capabilities. | Cross-service network connectivity is restricted:
|
| Policy Type | Policy Name | Action | Mandatory | Description |
|---|---|---|---|---|
| Common Service | AI_DATALAKE_COMMON_POLICY | iam:agencies:listAgencies: Lists agencies. iam:roles:getRole: Retrieves the details of a role. iam:roles:listRoles: Lists roles. iam:permissions:listRolesForAgency: Lists the roles assigned to an agency. iam:users:getUser: Retrieves the details of an IAM user. obs:bucket:ListAllMyBuckets: Lists all buckets. obs:bucket:ListBucket: Lists buckets. obs:object:GetObjectVersion: Retrieves the details of an object version. obs:object:GetObject: Retrieves the details of an object. | Yes | Minimum permissions required by an agency. |
| LakeFormation Service | AI_DATALAKE_LAKEFORMATION_POLICY | lakeformation:accessTenant:grant: Grants access permissions to a tenant. lakeformation:access:delete: Revokes access permissions. lakeformation:access:create: Grants access permissions. lakeformation:access:describe: Retrieves the details of specific access permissions. lakeformation:table:describe: Retrieves the details of a table. lakeformation:credential:describe: Retrieves the details of a credential. lakeformation:policy:describe: Retrieves the details of a policy. lakeformation:table:drop: Deletes a table. lakeformation:table:create: Creates a table. lakeformation:policy:create: Creates a policy. lakeformation:database:describe: Retrieves the details of a database. lakeformation:table:alter: Modifies the properties of a table. lakeformation:function:describe: Retrieves the details of a function. lakeformation:catalog:describe: Retrieves the details of a catalog. lakeformation:database:create: Creates a database. lakeformation:database:drop: Deletes a database. lakeformation:function:create: Creates a function. lakeformation:function:alter: Modifies the properties of a function. lakeformation:function:drop: Deletes a function. lakeformation:policy:drop: Deletes a policy. lakeformation:role:describe: Retrieves the details of a role. lakeformation:user:describe: Retrieves the details of a user. lakeformation:transaction:operate: Performs operations on a transaction. | Yes | Permissions required to use LakeFormation capabilities. |
| Log Tank Service LTS | AI_DATALAKE_LTS_POLICY | lts:groups:get: Retrieves the details of a log group. lts:groups:list: Lists log groups. lts:groups:create: Creates a log group. lts:topics:get: Retrieves the details of a log stream. lts:topics:list: Lists log streams. lts:topics:create: Creates a log stream. | Yes | Permissions required to use LTS capabilities. |
| Self Service | AI_DATALAKE_SELF_POLICY | DataArtsFabric:workspace:list: Lists workspaces. DataArtsFabric:endpoint:show: Retrieves the details of an endpoint. DataArtsFabric:endpoint:list: Lists endpoints. DataArtsFabric:workspace:listRoute: Lists workspace routes. DataArtsFabric:job:dropJobInstance: Deletes a job instance. DataArtsFabric:job:listJobInstance: Lists job instances. DataArtsFabric:workspace:showSession: Retrieves the details of a session. DataArtsFabric:workspace:listMessagePolicy: Lists message policies. DataArtsFabric:workspace:executeStatement: Executes a statement. DataArtsFabric:workspace:showStatementResult: Retrieves the execution results of a statement. DataArtsFabric:workspace:deleteSqlSession: Deletes a SQL session. DataArtsFabric:workspace:cancelStatement: Cancels the execution of a statement. DataArtsFabric:workspace:createSqlSession: Creates a SQL session. DataArtsFabric:workspace:listSessionStatementRecords: Lists the execution history of statements within a session. DataArtsFabric:workspace:listSqlSessions: Lists SQL sessions. DataArtsFabric:workspace:listStatementRecords: Lists the execution history of all statements. DataArtsFabric:workspace:showSqlSession: Retrieves the details of a SQL session. DataArtsFabric:workspace:showImage: Views image details. DataArtsFabric:rayJob:list: Lists RayJob jobs. DataArtsFabric:sparkJob:list: Lists Spark jobs. DataArtsFabric:sparkSql:list: Lists SparkSQL jobs. DataArtsFabric:flinkJob:list: Lists FlinkJob jobs. DataArtsFabric:federation:show: Retrieves the details of a federation endpoint. DataArtsFabric:federation:list: Lists federation endpoints. | Yes | Permissions required to access AI DataLake. |
| Operations Management AOM | AI_DATALAKE_AOM_POLICY | aom:metric:put: Reports metric data. aom:alarm:put: Reports alarms. | No | Permissions required to use AOM capabilities. |
| Distributed Cache Service | AI_DATALAKE_DCS_POLICY | dcs:instance:get: Retrieves DCS instance details. dcs:instance:getConfiguration: Retrieves DCS instance configurations. dcs:ssl:get: Retrieves SSL certificate details. dcs:aclaccount:list: Lists ACL accounts. dcs:instance:list: Lists DCS instances. dcs:ssl:modify: Modifies DCS instance SSL configurations. | No | Permissions required to use DCS. |
| Key Management Service | AI_DATALAKE_DEW_POLICY | csms:secret:get: Retrieves key details. csms:secretVersion:get: Retrieves key version details. kms:dek:crypto: Encrypts a data key. kms:dek:decrypt: Decrypts a data key. | No | Permissions required to use DEW. |
| DNS Service | AI_DATALAKE_DNS_POLICY | dns:zone:get: Retrieves the details of a zone. dns:zone:create: Creates a zone. dns:zone:list: Lists zones. dns:zone:delete: Deletes a zone. dns:recordset:update: Updates a record set. dns:recordset:create: Creates a record set. dns:recordset:delete: Deletes a record set. dns:recordset:list: Lists record sets. | No | Permissions required to use DNS capabilities. |
| Object Storage Service OBS | AI_DATALAKE_OBS_POLICY | obs:bucket:CreateBucket: Creates a bucket. obs:bucket:DeleteBucket: Deletes a bucket. obs:bucket:PutLifecycleConfiguration: Configures lifecycle rules. obs:bucket:ListBucketMultipartUploads: Lists in-progress multipart uploads. obs:bucket:HeadBucket: Checks whether a bucket exists. obs:bucket:ListAllMyBuckets: Lists all buckets. obs:bucket:ListBucket: Lists buckets. obs:bucket:PutEncryptionConfiguration: Configures encryption settings. obs:bucket:PutBucketObjectLockConfiguration: Configures object lock settings. obs:object:PutObject: Uploads an object. obs:object:GetObject: Retrieves the details of an object. obs:bucket:GetLifecycleConfiguration: Retrieves the details of a lifecycle rule. obs:object:DeleteObject: Deletes an object. | No | Permissions required to use OBS capabilities. |
| Container Image Service SWR | AI_DATALAKE_SWR_POLICY | swr:repo:listRepoDomains: Lists image repository organizations. swr:repo:listRepoTags: Lists the tags associated with images. swr:repo:createRepoDomain: Creates an image repository. swr:repo:getRepo: Retrieves the details of an image repository. swr:system:createLoginSecret: Generates temporary login credentials. swr:repo:download: Pulls an image from the repository. | No | Permissions required to use SWR capabilities. |
| Virtual Private Cloud VPC | AI_DATALAKE_VPC_POLICY | vpc:peerings:get: Retrieves VPC peering connection details. vpc:peerings:create: Creates a VPC peering connection. vpc:peerings:accept: Accepts a VPC peering connection. vpc:peerings:delete: Deletes a VPC peering connection. vpc:peerings:update: Updates a VPC peering connection. vpc:routes:delete: Deletes a VPC route. vpc:routes:create: Creates a VPC route. vpc:routes:list: Lists VPC routes. vpc:routeTables:get: Retrieves route table details. vpc:routeTables:update: Updates a route table. vpc:routeTables:create: Creates a route table. vpc:routeTables:associate: Associates a route table. vpc:routeTables:delete: Deletes a route table. vpc:routeTables:list: Lists route tables. | No | Permissions required to use VPC capabilities. |
| VPC Endpoint VPCEP | AI_DATALAKE_VPCEP_POLICY | vpcep:epservices:get: Retrieves the details of the VPC Endpoint service. vpcep:connections:update: Updates connection settings. vpcep:permissions:update: Updates permission settings. vpcep:permissions:list: Lists permissions. vpcep:epserviceDesc:get: Retrieves the description of a VPC endpoint service. vpcep:endpoints:get: Retrieves the details of a VPC endpoint. vpcep:endpoints:delete: Deletes a VPC endpoint. vpcep:endpoints:create: Creates a VPC endpoint. vpcep:connections:list: Lists VPC endpoint connections. vpcep:endpoints:list: Lists VPC endpoints. vpcep:epservices:list: Lists VPC endpoint services. | No | Permissions required to use VPCEP capabilities. |
What is your overall rating for this page?
Thank 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