You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/minio-cobalt/ai-ml-usecase.md
+21-67Lines changed: 21 additions & 67 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,7 @@ weight: 7
6
6
layout: learningpathall
7
7
---
8
8
9
-
## Use MinIO for AI/ML Dataset and Model Storage
10
-
11
-
In this section, you simulate a real-world AI/ML workflow using MinIO.
12
-
13
-
MinIO serves as an object storage backend for datasets and trained models used in machine learning pipelines.
14
-
15
-
This demonstrates how MinIO integrates into modern data-driven and AI/ML applications.
16
-
9
+
In this section, you simulate a real-world AI/ML workflow using MinIO. You'll upload a training dataset and a model artifact, then retrieve them to simulate how a training or inference job would access data from object storage.
Create a file to represent a trained model. In a real pipeline this would be the output of a training job.
91
66
92
67
```bash
93
68
mkdir model
94
69
echo"fake-model-weights"> model/model.bin
95
70
```
96
71
97
-
**Why this matters:**
98
-
99
-
- Represents the output of training pipelines
100
-
- Mimics model registry storage
101
-
102
-
## Upload model artifact
72
+
### Upload the model artifact
103
73
104
74
```bash
105
75
mc cp model/model.bin local/ml-datasets/
106
76
```
107
77
108
-
## Download data for usage
78
+
###Download data for training or inference
109
79
110
-
Simulate retrieving data for training or inference.
80
+
Simulate a training or inference job retrieving data from storage.
111
81
112
82
```bash
113
83
mkdir download-test
114
84
mc cp --recursive local/ml-datasets download-test/
115
85
```
116
86
117
-
## Verify downloaded data
87
+
### Verify the downloaded data
88
+
89
+
Confirm the files were retrieved successfully:
118
90
119
91
```bash
120
92
ls download-test/ml-datasets
121
93
```
122
94
123
-
You should see:
95
+
The output is similar to:
124
96
125
-
```bash
97
+
```output
126
98
data.csv dataset model.bin test.txt
127
99
```
128
100
129
-
Why this matters:
130
-
131
-
- Confirms data retrieval works correctly
132
-
- Simulates how ML jobs access datasets and models
101
+
This confirms that both the dataset and model artifact are accessible from storage, as a real training or inference job would expect.
133
102
134
103
## What this demonstrates
135
104
@@ -141,21 +110,6 @@ Why this matters:
141
110
| Inference | Model retrieval |
142
111
143
112
144
-
## Explanation
145
-
146
-
MinIO provides S3-compatible object storage for AI/ML workflows:
147
-
148
-
- Datasets are stored as objects in buckets
149
-
- Training jobs read datasets from storage
150
-
- Models are stored after training
151
-
- Inference systems retrieve models when required
152
-
153
-
This workflow mirrors production-grade ML pipelines used in cloud environments.
154
-
155
-
## What you've learned
156
-
In this section, you learned how to:
113
+
## What you've learned
157
114
158
-
- Use MinIO as object storage for AI/ML datasets
159
-
- Store and retrieve model artifacts
160
-
- Simulate a real-world ML workflow
161
-
- Understand how object storage fits into data pipelines
115
+
You've now completed the full Learning Path. You deployed MinIO on an Azure Cobalt 100 virtual machine, benchmarked its storage throughput, validated S3 API compatibility using boto3, and walked through an AI/ML workflow for storing and retrieving datasets and model artifacts.
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/minio-cobalt/background.md
+6-39Lines changed: 6 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,28 +8,17 @@ layout: "learningpathall"
8
8
9
9
## Azure Cobalt 100 Arm-based processor
10
10
11
-
Azure’s Cobalt 100 is Microsoft’s first-generation, in-house Arm-based processor. Built on Arm Neoverse N2, Cobalt 100 is a 64-bit CPU that delivers strong performance and energy efficiency for cloud-native, scale-out Linux workloads such as web and application servers, data analytics, open-source databases, and caching systems. Running at 3.4 GHz, Cobalt 100 allocates a dedicated physical core for each vCPU, which helps ensure consistent and predictable performance.
11
+
Azure Cobalt 100 is Microsoft's first-generationArm-based processor, built on Arm Neoverse N2. It allocates a dedicated physical core for each vCPU, which provides consistent and predictable performance for cloud-native, scale-out Linux workloads. These characteristics make Cobalt 100 well suited for storage-intensive applications like MinIO, where throughput and latency consistency matter.
12
12
13
13
To learn more, see the Microsoft blog [Announcing the preview of new Azure VMs based on the Azure Cobalt 100 processor](https://techcommunity.microsoft.com/blog/azurecompute/announcing-the-preview-of-new-azure-vms-based-on-the-azure-cobalt-100-processor/4146353).
14
14
15
15
## MinIO
16
16
17
-
MinIO is a high-performance, S3-compatible object storage platform designed for cloud-native applications, AI/ML workloads, and modern data infrastructure. It is lightweight, scalable, and optimized for high-throughput and low-latency object storage operations.
17
+
MinIO is an open source, Amazon S3 compatible object storage platform you can run on your own infrastructure. It supports the Amazon S3 API, so applications and SDKs written for S3 work with MinIO without modification. This makes it a practical choice when you want S3-compatible storage without cloud vendor lock-in, or when your compute and storage need to run in the same environment to avoid data transfer costs.
18
18
19
-
MinIO is commonly used as a storage backend for data lakes, machine learning pipelines, backup systems, and analytics platforms. It supports the Amazon S3 API, allowing seamless integration with existing tools and SDKs that are built for AWS S3.
20
-
21
-
MinIO is designed to run efficiently on Arm-based architectures such as Azure Cobalt 100, enabling cost-effective and energy-efficient storage solutions for large-scale workloads.
22
-
23
-
24
-
25
-
## Key features of MinIO
26
-
27
-
-**S3 Compatibility:** Fully compatible with the Amazon S3 API, enabling easy integration with existing applications and tools.
28
-
-**High Performance:** Optimized for high-throughput workloads such as AI/ML datasets and analytics pipelines.
29
-
-**Scalability:** Supports both standalone and distributed deployments for scaling storage capacity and performance.
30
-
-**Lightweight and Cloud-Native:** Minimal resource footprint and designed for containerized and cloud environments.
31
-
-**Data Protection:** Supports erasure coding, encryption, and access control for secure and reliable storage.
19
+
MinIO is optimized for high-throughput workloads and supports both standalone and distributed deployments. It includes erasure coding, encryption, and access control, and has a minimal footprint that works well in containerized and cloud-native environments.
32
20
21
+
By the end, you'll have MinIO running on an Azure Cobalt 100 virtual machine. You'll have measured its storage throughput, confirmed S3 API compatibility using a Python script, and worked through a practical AI/ML workflow for storing and retrieving datasets and model artifacts.
33
22
34
23
## MinIO architecture components
35
24
@@ -40,28 +29,6 @@ MinIO deployments typically consist of the following components:
40
29
-**MinIO Client (mc):** A command-line tool used to interact with MinIO for uploading, downloading, and managing objects.
41
30
-**Web Console:** A browser-based interface for managing buckets, objects, users, and access policies.
42
31
43
-
## Use cases
44
-
45
-
MinIO is widely used in modern cloud and data environments:
46
-
47
-
-**AI/ML Workloads:** Store training datasets, model artifacts, and inference data
48
-
-**Data Lakes:** Serve as a scalable backend for structured and unstructured data
49
-
-**Backup and Archival:** Store backups and snapshots with high durability
50
-
-**Cloud-Native Applications:** Provide object storage for microservices and distributed systems
51
-
-**Analytics Pipelines:** Integrate with tools like Apache Spark, Presto, and Hadoop
- Deploy MinIO on an Azure Cobalt ARM virtual machine
64
-
- Configure and manage object storage using MinIO
65
-
- Benchmark storage performance for high-throughput workloads
66
-
- Validate S3 compatibility using standard SDKs
67
-
- Implement a real-world AI/ML dataset and model storage workflow
34
+
MinIO is widely used as object storage for AI/ML training datasets and model artifacts, and as a backend for data lakes and analytics pipelines with tools like Apache Spark, Presto, and Hadoop. It also serves backup and archival needs and provides object storage for microservices and cloud-native applications.
0 commit comments