What is Amazon EC2? Virtual servers on AWS explained
Amazon EC2 provides on-demand, scalable computing capacity in the AWS Cloud, and an EC2 instance is a virtual server whose instance type sets the hardware it gets.
Amazon Elastic Compute Cloud (Amazon EC2) provides on-demand, scalable computing capacity in the AWS Cloud, and an EC2 instance is a virtual server in AWS. The instance type you specify when you launch determines the hardware available to that server. Around the instance sit the other components AWS names in the same description: the machine image it boots from, the storage volumes behind it, the key pair that carries your login, and the security group that filters traffic.
What AWS lists as the features of EC2
| Component | How the page describes it |
|---|---|
| Instances | Virtual servers |
| Amazon Machine Images (AMIs) | Preconfigured templates for your instances that package the components you need for your server, including the operating system and additional software |
| Instance types | Configurations of CPU, memory, storage, networking capacity and graphics hardware |
| Amazon EBS volumes | Persistent storage volumes for your data, using Amazon Elastic Block Store |
| Instance store volumes | Storage volumes for temporary data, deleted when you stop, hibernate or terminate your instance |
| Key pairs | Secure login information; AWS stores the public key, and you store the private key in a secure place |
| Security groups | A virtual firewall where you specify the protocols, ports and source IP ranges that can reach your instances, and the destination IP ranges your instances can connect to |
The two storage entries differ in how long the data lasts. Amazon EBS volumes are described as persistent storage for your data. Instance store volumes hold temporary data that is deleted when you stop, hibernate or terminate the instance. Key pairs and security groups cover different jobs: the key pair is the login information, and the security group is the firewall rule set for traffic in and out.
The same page also states that Amazon EC2 supports the processing, storage, and transmission of credit card data by a merchant or service provider, and has been validated as being compliant with Payment Card Industry (PCI) Data Security Standard (DSS).
What the instance type decides, and how its name reads
Each instance type offers a different balance of compute, memory, network, and storage resources. The name carries that information in it. In the example c7gn.2xlarge, the series is c, the generation is 7 and the options are gn, which together form the instance family c7gn; 2xlarge is the instance size; and the full string c7gn.2xlarge is the instance type.
Adding and removing capacity
AWS describes EC2 capacity as adjustable in both directions. You can add capacity (scale up) to handle compute-heavy tasks, such as monthly or yearly processes, or spikes in website traffic. When usage decreases, you can reduce capacity (scale down) again. The page also says that using Amazon EC2 reduces hardware costs, which in its wording lets you develop and deploy applications faster.
Ways to create and manage EC2 instances
The page lists six interfaces:
- Amazon EC2 console — a web interface for creating and managing instances and resources; with an AWS account, you can look up how to reach it in this site's guide.
- AWS Command Line Interface — commands in your command-line shell, supported on Windows, Mac and Linux.
- CloudFormation — you write a template in JSON or YAML describing your AWS resources, and CloudFormation provisions and configures them; templates can be reused in the same Region and account or in multiple Regions and accounts.
- AWS SDKs — language-specific libraries with sample code and tutorials, for building applications instead of submitting requests over HTTP or HTTPS.
- AWS Tools for PowerShell — PowerShell modules built on the SDK for .NET, for scripting operations from the PowerShell command line.
- Query API — HTTP or HTTPS requests using the GET or POST verbs and a Query parameter named Action.
Services the page places next to EC2
The page names Amazon EC2 Auto Scaling, AWS Backup, Amazon CloudWatch, Elastic Load Balancing, Amazon GuardDuty, EC2 Image Builder, AWS Launch Wizard and AWS Systems Manager as services to use with the instances you deploy. It also notes that you can launch instances using another AWS compute service instead of Amazon EC2, naming Amazon Lightsail, Amazon Elastic Container Service (Amazon ECS) and Amazon Elastic Kubernetes Service (Amazon EKS).
The two Australian Regions in AWS's table
The features section of the What is Amazon EC2 page does not list Regions. The rows below are read from the Available AWS Regions table in AWS's Regions and Availability Zones guide, for the Regions whose Geography column reads Australia:
| Region code | Name | Availability Zones (AZs) | Geography | Opt-in status |
|---|---|---|---|---|
| ap-southeast-2 | Asia Pacific (Sydney) | 3 | Australia | Not required |
| ap-southeast-4 | Asia Pacific (Melbourne) | 3 | Australia | Required |
The Opt-in status column reads "Not required" for Sydney and "Required" for Melbourne, as printed. This site's wider Australian regions reference covers the other providers' Regions.
Pricing
The features section of the What is Amazon EC2 page prints no prices or rates and does not cover billing; capacity is described there as on-demand and scalable.
Frequently asked questions
What does the instance type determine?
The hardware available to your instance. Each instance type offers a different balance of compute, memory, network, and storage resources, so the type you specify at launch sets that mix for that server.
What happens to data on an instance store volume when I stop the instance?
It is deleted. The page describes instance store volumes as storage for temporary data that is deleted when you stop, hibernate or terminate your instance. Amazon EBS volumes are described separately as persistent storage volumes for your data.
Can I manage EC2 instances without the console?
Yes. The page lists the AWS Command Line Interface, supported on Windows, Mac and Linux, along with CloudFormation templates in JSON or YAML, the AWS SDKs, AWS Tools for PowerShell and the Query API, which takes HTTP or HTTPS requests using GET or POST with a Query parameter named Action.
Sources
- What is Amazon EC2? (Amazon EC2 User Guide) — Amazon Web Services
- AWS Regions (AWS Regions and Availability Zones user guide) — Amazon Web Services
Checked 30 November 2026