name: Amazon EC2 description: >- Amazon Elastic Compute Cloud (EC2) provides resizable compute capacity in the cloud, allowing you to launch virtual server instances, manage networking, and configure storage with complete control over your computing resources. image: https://a0.awsstatic.com/libra-css/images/logos/aws_logo_smile_1200x630.png url: https://aws.amazon.com/ec2/ created: '2024-01-15' modified: '2026-05-19' apis: - name: Amazon EC2 API description: >- Core API for managing Amazon EC2 instances, AMIs, key pairs, security groups, Elastic IPs, launch templates, spot instances, capacity reservations, and other compute resources. image: https://a0.awsstatic.com/libra-css/images/logos/aws_logo_smile_1200x630.png humanURL: https://aws.amazon.com/ec2/ baseURL: https://ec2.amazonaws.com tags: - AWS - Cloud Computing - Compute - Instances - Virtual Machines properties: - type: Documentation url: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Welcome.html - type: OpenAPI url: openapi/amazon-ec2-openapi.yml - type: OpenAPI url: https://api.apis.guru/v2/specs/amazonaws.com/ec2/2016-11-15/openapi.yaml - type: JSONSchema url: json-schema/amazon-ec2-instance-schema.json - type: JSONLD url: json-ld/amazon-ec2-context.jsonld - type: Pricing url: https://aws.amazon.com/ec2/pricing/ - type: GettingStarted url: https://aws.amazon.com/ec2/getting-started/ - type: Authentication url: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html - type: SDK url: https://aws.amazon.com/tools/ - type: StatusPage url: https://status.aws.amazon.com/ - type: BestPractices url: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-best-practices.html - type: FAQ url: https://aws.amazon.com/ec2/faqs/ - type: TermsOfService url: https://aws.amazon.com/ec2/sla/ - type: Documentation url: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ - type: APIReference url: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/ - type: Documentation url: https://docs.aws.amazon.com/cli/latest/reference/ec2/ - type: Security url: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-security.html - type: JSONStructure url: json-structure/amazon-ec2-instance-structure.json - type: Example url: examples/amazon-ec2-instance-example.json common: - type: PostmanWorkspace url: https://www.postman.com/kinlaneapi/amazon-ec2/overview - type: ArazzoWorkflows url: arazzo/ workflows: - url: arazzo/amazon-ec2-allocate-and-associate-eip-workflow.yml name: Amazon EC2 Allocate and Associate Elastic IP summary: Allocate a VPC Elastic IP, confirm the instance is running, then associate the address. - url: arazzo/amazon-ec2-audit-security-group-usage-workflow.yml name: Amazon EC2 Audit Security Group Usage summary: Describe a security group, then describe instances filtered by that group. - url: arazzo/amazon-ec2-bind-eip-to-new-instance-workflow.yml name: Amazon EC2 Bind Elastic IP to a New Instance summary: Launch an instance, poll until running, allocate an Elastic IP, then associate it. - url: arazzo/amazon-ec2-clone-instance-via-image-workflow.yml name: Amazon EC2 Clone an Instance via Image summary: Create an AMI from a source instance, confirm it, then launch a clone from that AMI. - url: arazzo/amazon-ec2-deprovision-secured-instance-workflow.yml name: Amazon EC2 Deprovision a Secured Instance summary: Terminate an instance, wait until terminated, then delete its security group. - url: arazzo/amazon-ec2-deregister-image-and-cleanup-workflow.yml name: Amazon EC2 Deregister an AMI After Confirmation summary: Confirm an AMI exists, deregister it, then verify it is gone. - url: arazzo/amazon-ec2-harden-existing-security-group-workflow.yml name: Amazon EC2 Harden an Existing Security Group summary: Look up a security group by name and add a scoped inbound rule to it. - url: arazzo/amazon-ec2-launch-and-await-running-workflow.yml name: Amazon EC2 Launch and Await Running summary: Launch an instance, then poll DescribeInstances until it reaches the running state. - url: arazzo/amazon-ec2-launch-secured-instance-workflow.yml name: Amazon EC2 Launch a Secured Instance summary: Create a security group, open SSH ingress, create a key pair, and launch an instance. - url: arazzo/amazon-ec2-paginate-instances-then-tag-image-workflow.yml name: Amazon EC2 Inventory Instances Then Image First summary: Describe instances, page through with NextToken, then image the first instance found. - url: arazzo/amazon-ec2-place-instance-in-zone-workflow.yml name: Amazon EC2 Place an Instance in an Availability Zone summary: Describe regions and availability zones, then launch an instance in a chosen zone. - url: arazzo/amazon-ec2-prepare-key-and-launch-workflow.yml name: Amazon EC2 Prepare Key and Launch summary: Create a key pair, confirm it via describe, then launch an instance using it. - url: arazzo/amazon-ec2-rebuild-image-from-launch-template-workflow.yml name: Amazon EC2 Create a Launch Template and Boot From It summary: Create a launch template, confirm it, then launch an instance referencing the template parameters. - url: arazzo/amazon-ec2-release-eip-on-terminate-workflow.yml name: Amazon EC2 Release Elastic IP on Terminate summary: Terminate an instance, wait until terminated, then release its Elastic IP. - url: arazzo/amazon-ec2-request-spot-and-track-workflow.yml name: Amazon EC2 Request Spot Instances and Track summary: Request Spot Instances, then poll the Spot request until it is fulfilled. - url: arazzo/amazon-ec2-restart-and-verify-instance-workflow.yml name: Amazon EC2 Restart and Verify Instance summary: Reboot an instance and poll its status until checks report passed. - url: arazzo/amazon-ec2-rotate-key-pair-workflow.yml name: Amazon EC2 Rotate Key Pair summary: Verify a key pair exists, create its replacement, then delete the old key pair. - url: arazzo/amazon-ec2-stop-and-create-image-workflow.yml name: Amazon EC2 Stop and Create Image summary: Stop an instance, wait until stopped, then create an AMI from it. - url: arazzo/amazon-ec2-stop-start-instance-cycle-workflow.yml name: Amazon EC2 Stop and Start Instance Cycle summary: Stop an instance, wait until stopped, then start it again and confirm running. - type: Portal url: https://aws.amazon.com/ - type: DeveloperPortal url: https://aws.amazon.com/ec2/ - type: Documentation url: https://docs.aws.amazon.com/ec2/ - type: TermsOfService url: https://aws.amazon.com/service-terms/ - type: PrivacyPolicy url: https://aws.amazon.com/privacy/ - type: Support url: https://aws.amazon.com/premiumsupport/ - type: Blog url: https://aws.amazon.com/blogs/compute/ - type: GitHubOrganization url: https://github.com/aws - type: Console url: https://console.aws.amazon.com/ec2/ - type: SignUp url: https://signin.aws.amazon.com/signup?request_type=register - type: Login url: https://aws.amazon.com/console/ - type: StatusPage url: https://health.aws.amazon.com/health/status - type: KnowledgeCenter url: https://repost.aws/knowledge-center - type: YouTube url: https://www.youtube.com/user/AmazonWebServices - type: StackOverflow url: https://stackoverflow.com/questions/tagged/amazon-ec2 - type: Contact url: https://aws.amazon.com/contact-us/ - type: Security url: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-security.html - type: Compliance url: https://aws.amazon.com/compliance/ - type: Features data: - name: Diverse Instance Types description: Over 750 instance types optimized for compute, memory, storage, GPU, and inferencing workloads. - name: Amazon Machine Images description: Pre-configured OS images for Windows, Linux, and macOS with custom and marketplace options. - name: Elastic IPs description: Static IPv4 addresses that can be quickly remapped to different instances for fault tolerance. - name: Security Groups description: Virtual firewalls to control inbound and outbound traffic to EC2 instances. - name: Spot Instances description: Access spare EC2 capacity at up to 90% discount over On-Demand prices for flexible workloads. - name: Placement Groups description: Control instance placement for low-latency cluster networking or high-availability distribution. - name: Launch Templates description: Version-controlled configurations for launching EC2 instances with consistent settings. - name: Nitro System description: Next-generation virtualization infrastructure delivering near bare-metal performance and security. - type: UseCases data: - name: Web Application Hosting description: Deploy scalable web applications and APIs with full control over the compute environment. - name: Machine Learning Training description: GPU-accelerated instances for deep learning model training and inference workloads. - name: High-Performance Computing description: Cluster networking instances for computational fluid dynamics, genomics, and financial modeling. - name: SAP and Enterprise Workloads description: Certified instances for SAP HANA, SAP S/4HANA, and other enterprise database applications. - name: Development and Testing description: Flexible on-demand compute for CI/CD pipelines, dev environments, and test automation. - type: Integrations data: - name: Amazon VPC description: Launch EC2 instances in logically isolated virtual networks with full networking control. - name: Elastic Load Balancing description: Distribute incoming traffic across multiple EC2 instances for high availability. - name: Amazon RDS description: Connect EC2 instances to managed relational database services within the same VPC. - name: AWS Auto Scaling description: Automatically scale EC2 fleets based on demand metrics and scheduling policies. - name: AWS Systems Manager description: Manage, patch, and operate EC2 instances at scale without SSH access. - type: SpectralRules url: rules/amazon-ec2-spectral-rules.yml - type: Vocabulary url: vocabulary/amazon-ec2-vocabulary.yaml - type: Integrations url: https://aws.amazon.com/marketplace integrations: - name: Sign in - name: Agent Mode - name: Why AWS Marketplace? - name: Get started in AWS Marketplace - name: Industry - name: Resources - name: Become a Channel Partner - name: Sell in AWS Marketplace - name: Manage Your Account maintainers: - FN: Kin Lane email: kin@apievangelist.com url: https://apievangelist.com tags: - AWS - Cloud Computing - Compute - IaaS - Infrastructure - Virtual Machines