Cloud ML Platforms

Managed notebooks, training jobs, endpoints and pipelines on AWS SageMaker, Google Vertex AI and Azure Machine Learning.

Intermediate · about 6 hours · difficulty 3/5

Learn first: Docker for ML, Serving Models with FastAPI and BentoML

Most companies run ML on a cloud provider. The big three offer similar building blocks under different names, so learning one deeply makes the others easy to pick up.

Common building blocks

  • Storage: object stores (S3, GCS, Azure Blob) for datasets and artifacts; warehouses (Redshift, BigQuery, Synapse) for tables.
  • Managed notebooks with attachable GPUs.
  • Training jobs: submit a container or script, pick instance types, get logs and artifacts; supports spot instances and distributed training.
  • Hyperparameter tuning services.
  • Model registry and endpoints with autoscaling, plus batch transform jobs.
  • Pipelines and monitoring services that mirror the open-source tools you learned earlier.
  • Foundation model hubs (Bedrock, Vertex AI Model Garden, Azure AI Foundry) for hosted LLMs.

Skills that transfer

  • IAM: roles and least-privilege permissions for jobs and endpoints.
  • Cost control: GPU hours are expensive. Use spot or preemptible instances with checkpointing, shut down idle notebooks, set budgets and alerts.
  • Infrastructure as code (Terraform) to recreate environments.
  • Portability: keep your training code as plain Python in a container so you are not locked into one SDK.

Free tiers and credits for students exist on all major clouds; Kaggle and Colab give free GPUs for experiments.

Good enough to move on when you can launch a training job, deploy an autoscaling endpoint, call it, and tear everything down without surprise bills.

Key concepts

  • Object storage and warehouses
  • Managed training jobs
  • Managed endpoints and autoscaling
  • IAM roles and permissions
  • Spot instances and cost control
  • SageMaker, Vertex AI or Azure ML
  • Terraform for ML infrastructure

Mini project

On one cloud's free tier or credits, upload data to object storage, run a containerized training job on a spot instance, deploy the model to a managed endpoint, call it from a script, and document the total cost.

Check yourself

Why should training on spot or preemptible instances always write checkpoints, and what IAM permissions does a training job minimally need?

Free resources