သဘောတရား · SAA-C03 အပေါ် ဆက်လေ့လာရန်
Choosing storage: S3, EFS, EBS, FSx and transfer tools
Pick the store for ML data by structure, access pattern, throughput, cost and residency.
ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။
Solutions Architect Associate မှ သင်သိပြီးသားများ
- Object, file and block storage fit different users: S3, EFS and FSx, EBS.
- An EBS volume lives in one Availability Zone. EFS spans the zones of a Region.
- DataSync copies files on a schedule. Storage Gateway lets on-premises software use AWS storage.
S3
- Role in ML
- Data lake, training input, models
- Watch for
- Not a file system
EFS
- Role in ML
- Shared datasets and notebooks
- Watch for
- Costs more per GB than S3
EBS
- Role in ML
- Volume of one instance
- Watch for
- One instance, one zone
FSx for Lustre
- Role in ML
- Fast training reads, linked to S3
- Watch for
- Extra cost, needs a VPC
| Option | Role in ML | Watch for |
|---|---|---|
| S3 | Data lake, training input, models | Not a file system |
| EFS | Shared datasets and notebooks | Costs more per GB than S3 |
| EBS | Volume of one instance | One instance, one zone |
| FSx for Lustre | Fast training reads, linked to S3 | Extra cost, needs a VPC |
1 / 2
S3
- Role in ML
- Data lake, training input, models
- Watch for
- Not a file system
EFS
- Role in ML
- Shared datasets and notebooks
- Watch for
- Costs more per GB than S3
EBS
- Role in ML
- Volume of one instance
- Watch for
- One instance, one zone
| Option | Role in ML | Watch for |
|---|---|---|
| S3 | Data lake, training input, models | Not a file system |
| EFS | Shared datasets and notebooks | Costs more per GB than S3 |
| EBS | Volume of one instance | One instance, one zone |
2 / 2
FSx for Lustre
- Role in ML
- Fast training reads, linked to S3
- Watch for
- Extra cost, needs a VPC
| Option | Role in ML | Watch for |
|---|---|---|
| FSx for Lustre | Fast training reads, linked to S3 | Extra cost, needs a VPC |
- 1DataSync copies files from the local server on a schedule.
- 2The files land in S3, the data lake.
- 3FSx for Lustre is linked to the bucket and loads files on first read.
- 4Training instances mount the file system and read at high speed.
အဆင့်ဆင့်
- 1DataSync copies files from the local server on a schedule.
- 2The files land in S3, the data lake.
- 3FSx for Lustre is linked to the bucket and loads files on first read.
- 4Training instances mount the file system and read at high speed.
Files from on premises reach training through S3 and FSx for Lustre.
ဘာလဲ
For ML, S3 is the default home of the data. Training reads it from S3, and every stage of the pipeline can write back to it. Add a faster layer only when training waits on data. Amazon FSx for Lustre can be linked to an S3 bucket: it shows the objects as files, loads them on first read, and serves them at high throughput and sub-millisecond latency. A training job must run in a VPC to mount FSx for Lustre or EFS.
ဘာလဲ
Amazon EFS holds datasets and code that many people or jobs share, such as the home folders of SageMaker Studio users. Amazon EBS is the volume attached to one instance: a notebook or a training instance copies data to it in File mode. To bring data in from on premises, AWS DataSync copies files over the network on a schedule. For large training datasets moved steadily, AWS Direct Connect gives a dedicated private network link from on premises to AWS, often used with DataSync. AWS Storage Gateway presents S3 as NFS or SMB shares to local software.
ဘာလဲ
Lake, warehouse and lakehouse describe how the data is organised. A data lake keeps raw and curated files in S3 and queries them with Athena or Spark. A data warehouse such as Amazon Redshift holds structured tables for fast SQL and reports. A lakehouse keeps files in S3 in an open table format such as Apache Iceberg, so both Athena and Redshift can query them.
Residency decides the Region: keep data in the Region that the rules require. Cost decides the class and the layer: S3 holds the bulk, and the fast layers hold only what training reads now.
မှတ်ထားရန်
- S3 first: data lake, training input and model output.
- FSx for Lustre linked to S3: fast, repeated reads for big training jobs.
- EFS: shared datasets and notebooks. EBS: the volume of one instance.
- DataSync copies files in on a schedule. Storage Gateway is a local door to S3.
မှတ်ထားရန်
- Lake: files in S3. Warehouse: Redshift tables. Lakehouse: open table format on S3.
- FSx and EFS in training need the job to run in a VPC.
စာမေးပွဲမှာ
- “Training waits on slow reads of many files in S3” points to FSx for Lustre linked to the bucket.
- “Move terabytes of files from an on-premises server on a schedule” points to AWS DataSync.
- “Share one dataset between notebooks of a team” points to Amazon EFS.
ဒီ task ထဲမှာ · 1.1
- S3 as the ML data lake
- Choosing storage: S3, EFS, EBS, FSx and transfer tools
- Extracting data from databases and search
- Data formats: Parquet, ORC, Avro, CSV, JSON, RecordIO
Kinesis Data Streams
Firehose
Managed Flink
MSK
- Troubleshooting ingestion and storage capacity
Catalog and Lake Formation
- Merging data from multiple sources
- Choosing and configuring a vector store
OpenSearch
- Aurora and RDS PostgreSQL with pgvector
- Ingesting text, image, audio and video
- Ingesting data into SageMaker Feature Store