Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

When would you choose EC2 over Lambda?

What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.

When would you choose EC2 over Lambda? Long-running work past 15 minutes, GPUs, custom kernels or sticky local state. Lambda hard timeout and package limits make those workloads a poor fit. Train an ML model for hours on a GPU instance; use Lambda only for the API that starts the job.
When would you choose EC2 over Lambda? · Download PNG
Read card text

What this card says

What it is

Long-running work past 15 minutes, GPUs, custom kernels or sticky local state.

Why it matters

Lambda hard timeout and package limits make those workloads a poor fit.

How / example

Train an ML model for hours on a GPU instance; use Lambda only for the API that starts the job.

See all AWS revision cards