Using AI DataLake for the First Time
Welcome to AI DataLake. This document describes the preparations you need to make before using AI DataLake, including account preparation and the entire process of experiencing AI DataLake data development for the first time.
Preparing Accounts and Permissions
Before using AI DataLake, you must register a Huawei Cloud account, complete real-name authentication, and obtain the required service permissions. These basic steps ensure that you can use the service properly.
| Phase | Preparation | Mandatory | Description |
|---|---|---|---|
| Accounts and permissions | Signing Up for a Huawei Cloud Account | Yes | Before using AI DataLake, you must register a Huawei Cloud account and obtain the required permissions. These basic steps ensure that you can use the service properly. For details, see Signing Up for a Huawei Cloud Account. |
| Enabling AI DataLake and Granting Permissions for Cloud Resources | Yes | You must enable the AI DataLake service to create workspaces and develop jobs in it. When you log in to the AI DataLake console for the first time using a master account (as an administrator), the AI DataLake Cloud Resource Access Authorization page is displayed. Click Authorize Now to allow AI DataLake to access other cloud services on your behalf. Enabling AI DataLake and Granting Permissions for Cloud Resources | |
| Creating an IAM User and Granting Permissions for AI DataLake | No |
|
Understanding the AI DataLake Process Flow
AI DataLake consists of multiple functional modules, including workspace creation, resource pool creation, engine selection, endpoint creation, and job development. Understanding how AI DataLake modules work together and how the service is used can help you quickly get started.
You can start data development in just a few simple steps: create a workspace, build a compute resource pool, choose a compute engine, set up an endpoint, and develop a job.
| Key Step | Description | Related Link |
|---|---|---|
| Create a workspace. | If you are using AI DataLake for the first time, you must create a workspace. A workspace is a logically isolated runtime environment. You can create independent workspaces for different projects or teams to isolate resources and permissions. When creating a workspace, associate a LakeFormation instance to connect service data sources to AI DataLake and establish a unified data access channel. | |
| Create a compute resource pool. | Jobs require compute resources to run. Therefore, you must create a compute resource pool to allocate required resources to your jobs. The resource pool feature of AI DataLake provides unified management and allocation of CPU, GPU, and NPU compute resources. | |
| Select a compute engine. | Engines are the core compute components that execute data processing and analysis tasks. You need to select the right engine based on the scenario to achieve the best performance and cost efficiency. AI DataLake provides four core compute engines: Aura (multimodal data engine), Ray (AI compute engine), Spark (batch processing engine), and Flink (stream processing engine). These engines focus on multimodal data processing, hybrid compute scheduling, and open lakehouse data processing. They help you build a next-generation multimodal lakehouse that drives innovation through data and AI synergy. | |
| Create and configure an endpoint. | An endpoint provides an entry point to access the AI DataLake service. You can use an endpoint to connect compute engines with compute resources for data development and querying. For an endpoint, you can set a minimum resource quota (to ensure service continuity) and a maximum resource quota (to prevent resource exhaustion) to effectively control the elastic scaling range. | |
| Develop a job. | A job executes data processing and analysis tasks. You can write code or configure logic to transform and analyze data, or train data using machine learning. |
Advanced Guidance: From Trial to Practice
After completing the quick start, you can further explore the core features of AI DataLake and gradually build real-world projects based on your needs.
- Getting Started: Data Processing Using User-Defined Images
This quick start guide demonstrates how to create a workspace, create a compute resource pool, and configure an endpoint in AI DataLake, and then submit a single-task Shell or Pipeline job to the AI DataLake AuraJob endpoint using the DataArts Studio job development page.
- Advanced Developer Guide:
- Multimodal Data Processing Using Aura DataFrame
In this example, the Aura DataFrame SDK is used to access the AuraJobV2 endpoint. After registering the data processing operator, you can call it to decode images, convert images into embeddings, and view the processing results.
- Data Processing Using RayCluster
This example demonstrates how to analyze data using AI DataLake by creating a compute resource pool, configuring a RayCluster endpoint, connecting a data source, and submitting a job via an API.
- Data Processing Using RayJob
This example demonstrates how to analyze data using AI DataLake by creating a compute resource pool, creating a RayJob endpoint, connecting a data source, and submitting a job via an API.
- Data Processing Using PySpark
This example demonstrates how to analyze data using AI DataLake by creating a Spark endpoint, connecting a data source, and submitting a job via an API.
- Data Processing Using Flink SQL
This example describes how to create and submit a Flink OpenSource SQL job for real-time computing using Kafka as the data source and RDS as the data sink.
- Data Processing Using Flink JAR
This example describes the basic process of running a Flink JAR job, including uploading a JAR job package to OBS, and submitting the package together with data and job parameters to run the job.
- Multimodal Data Processing Using Aura DataFrame
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