Amazon EC2
Amazon EC2 is an Amazon Web Services cloud service that provides resizable virtual machine instances on demand.
Amazon Web Services in Action, Third Edition: An in-depth guide to AWS
Amazon Elastic Compute Cloud is an AWS service that provides resizable virtual servers on demand.
- How it is used
- Hosts web applications on virtual machines, including WordPress web servers behind a load balancer.
- How deep it goes
- Defines instances and their console attributes, then develops deployment, monitoring, regional placement, and failure planning rather than virtualization internals.
- Examples
- Uses a two-instance WordPress deployment, EC2 console inspection, and an additional virtual machine in Sydney.
- What you can do after
- Operate/configure it by inspecting instances, selecting deployment settings, monitoring usage, and designing around single-instance failure.
Build Python Web Apps with Streamlit
Amazon EC2 is an AWS service that provides resizable virtual machines for running applications.
- How it is used
- Hosts Dockerized applications on resizable cloud virtual machines within an AWS deployment.
- How deep it goes
- Explains EC2 through request routing, containers, load balancing, provisioning, and SSH troubleshooting, but not instance administration internals.
- Examples
- Uses a Dockerized Streamlit application deployed through Elastic Beanstalk to illustrate EC2 instances and request handling.
- What you can do after
- Operate a containerized application on EC2 through Elastic Beanstalk and diagnose selected instance-level deployment problems using SSH.
Read how Build Python Web Apps with Streamlit explains Amazon EC2 →
Machine Learning System Design
A cloud computing service that provides resizable virtual compute instances.
- How it is used
- Deploys batch and real-time inference workers when sustained load, low latency, scaling, and AWS integration matter.
- How deep it goes
- Specifies deployment patterns, Spot tradeoffs, scaling, and monitoring, but defers exact instance and GPU selection to experiments.
- Examples
- Runs queue-driven batch inference and stateless real-time workers for a high-load image-serving system.
- What you can do after
- Operate/configure EC2-backed inference services with load balancing, replaceable workers, cost controls, and resource monitoring.
Read how Machine Learning System Design explains Amazon EC2 →
Also covered in
- AI-Powered Developer: Build software with ChatGPT and Copilot
- The Cloud at Your Service: The when, how, and why of enterprise cloud computing
- Terraform in Depth: Infrastructure as Code with Terraform and OpenTofu
What to know first
- shell scriptA shell script is a text program containing commands interpreted and executed by a command-line shell.
- containerA software container is an isolated execution environment that packages an application and its dependencies, typically sharing the host operating-system kernel.
Related concepts
- iaaskind of · Infrastructure as a Service (IaaS) is a cloud service model that provides on-demand computing, storage, and networking resources for customers to configure and manage.
- virtual machinekind of · A virtual machine is a software-defined execution environment that emulates or abstracts a computer system or machine model to run programs, often with isolation from its host.
- EBS volumeused by · An EBS volume is persistent block storage provided by Amazon Elastic Block Store that can be attached to a compute instance.
- load balancingused by · Load balancing is the distribution or adjustment of work across multiple resources to manage demand and reduce overload or imbalance.
- auto-scaling groupused by · An auto-scaling group is a managed collection of compute instances whose capacity is automatically adjusted according to configured policies, conditions, or workload demand.
Questions about Amazon EC2
What is Amazon EC2?
Amazon EC2 is an Amazon Web Services cloud service that provides resizable virtual machine instances on demand.
Which Manning books explain Amazon EC2?
Amazon Web Services in Action, Third Edition: An in-depth guide to AWS, Build Python Web Apps with Streamlit and Machine Learning System Design.
What should I know before learning Amazon EC2?
Manning books that teach Amazon EC2 usually introduce shell script and container first.
What is Amazon EC2 a kind of?
Amazon EC2 is a kind of iaas. Infrastructure as a Service (IaaS) is a cloud service model that provides on-demand computing, storage, and networking resources for customers to configure and manage.
What is Amazon EC2 also called?
Amazon EC2 is also called Amazon Elastic Compute Cloud or AWS EC2.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.


