Amazon Elastic Compute Cloud (EC2)
by aws.amazon.com
Hosting and storage
Added on September 8th, 2011
Checked and working on November 15th, 2026
Visit aws.amazon.com →
What it does
Amazon Elastic Compute Cloud (EC2) provides resizable virtual servers in the cloud. Through its web service API (and the AWS SDKs for most languages) you can start, stop and configure server instances in minutes, choose from hundreds of instance types, attach storage and networking, and scale capacity up and down as your needs change. You pay only for the capacity you use. Paid, with a 12-month free tier for new AWS accounts. An official AWS MCP server at https://aws-mcp.us-east-1.api.aws/mcp lets AI agents manage EC2.
At a glance
- API key
- Needed, free · More APIs with a free key
- Pricing
- Paid, with a 12-month free tier for new AWS accounts.
- From the browser
- Yes (CORS)
- Formats
- XML
- Interface
- REST, MCP
- Provider
- aws.amazon.com
- Last checked
- Working on November 15th, 2026
More information: https://aws.amazon.com/ec2/
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://ec2.us-east-1.amazonaws.com/?Action=DescribeRegions&Version=2016-11-15' \
-H 'Authorization: AWS4-HMAC-SHA256 Credential=YOUR_API_KEY/20261101/us-east-1/ec2/aws4_request, SignedHeaders=host;x-amz-date, Signature=...'
JavaScript
const response = await fetch("https://ec2.us-east-1.amazonaws.com/?Action=DescribeRegions&Version=2016-11-15", {
headers: {
"Authorization": "AWS4-HMAC-SHA256 Credential=YOUR_API_KEY/20261101/us-east-1/ec2/aws4_request, SignedHeaders=host;x-amz-date, Signature=...",
},
});
const text = await response.text();
console.log(text);
Python
import requests
response = requests.get(
"https://ec2.us-east-1.amazonaws.com/?Action=DescribeRegions&Version=2016-11-15",
headers={
"Authorization": "AWS4-HMAC-SHA256 Credential=YOUR_API_KEY/20261101/us-east-1/ec2/aws4_request, SignedHeaders=host;x-amz-date, Signature=...",
},
timeout=30,
)
print(response.text)
Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.