EC2 – AWS’s virtual server hosting service.
EC2 is AWS’s flagship compute service that provides resizable virtual servers in the cloud. It offers a wide variety of instance types optimized for different use cases (compute, memory, storage, GPU) and supports multiple operating systems. EC2 instances can be launched from AMIs (Amazon Machine Images), support both persistent and ephemeral storage, and can be placed in Auto Scaling groups for automatic scaling. The service offers various purchasing options including On-Demand, Reserved, and Spot instances for cost optimization. EC2 integrates with other AWS services for networking, storage, and security, making it a fundamental building block for cloud applications.