What is Amazon EC2?
Answer: EC2 provides resizable virtual servers in the cloud. You choose an instance type, an Amazon Machine Image, storage, networking and security groups, and you control the guest operating system upwards. Billing is per second for most Linux instances with a 60-second minimum, or per hour for some purchasing options.
Why interviewers ask this: The framing to give is IaaS with full OS control, which is what distinguishes it from ECS, Lambda or Beanstalk. Naming per-second billing and the 60-second minimum shows familiarity with the current pricing model rather than the original hourly one.
