What is EC2?
EC2 (Elastic Compute Cloud) is AWS's virtual server service — you launch instances (VMs) of various sizes and operating systems on demand. It's the foundational compute primitive on AWS, used directly or as the underlying engine for many higher-level services (ECS, EKS, Beanstalk).