Compare spot and preemptible instance models across AWS, Azure, GCP, and OCI.
Showing 20 of 20 features.
| Feature | AWS | Azure | GCP | OCI |
|---|---|---|---|---|
Service Name Core Features | EC2 Spot Instances | Azure Spot Virtual Machines | Spot VMs (formerly Preemptible VMs) | Preemptible Instances |
Instance Types Available Core Features | All EC2 instance families including GPU (P, G), compute (C), memory (R) | All VM sizes including GPU (NC, ND), compute (F), memory (E) | All machine types including GPU accelerators, custom types | All shapes including GPU, compute, and flex shapes |
Max Running Duration Core Features | No maximum duration; runs until interrupted or terminated | No maximum duration; runs until evicted | No maximum duration (Spot VMs); previously 24hr for preemptible | No maximum duration; runs until reclaimed |
Availability Guarantee Core Features | No capacity guarantee; depends on regional supply/demand | No capacity guarantee; eviction based on capacity needs | No capacity guarantee; Compute Engine may reclaim at any time | No capacity guarantee; Oracle may reclaim at any time |
Supported Services Core Features | EC2, EMR, ECS, EKS, SageMaker, Batch, Auto Scaling Groups | VMs, VMSS, AKS node pools, Azure Batch, Azure ML | Compute Engine, GKE node pools, Dataproc, Vertex AI, Batch | Compute, OKE node pools, Data Science, Data Flow |
Discount Range Pricing & Savings | Up to 90% off On-Demand pricing | Up to 90% off pay-as-you-go pricing | 60-91% off On-Demand pricing | 50% off On-Demand pricing (fixed discount) |
Pricing Model Pricing & Savings | Market-driven pricing; varies by instance type, AZ, and time | Market-driven pricing; set max price or use -1 for current spot price | Fixed pricing per machine type (not market-driven) | Fixed 50% discount on On-Demand price (predictable) |
Price Ceiling / Max Price Pricing & Savings | Optional max price; defaults to On-Demand price | Configurable max price per hour; -1 means up to On-Demand | No max price setting; fixed discount applied | No max price setting; always 50% of On-Demand |
Price History / Transparency Pricing & Savings | Spot Price History API for last 90 days by type and AZ | Spot pricing history available via Azure portal and API | Fixed pricing published; no fluctuation history needed | Fixed pricing published; no fluctuation |
Billing Granularity Pricing & Savings | Per-second billing (minimum 60 seconds) | Per-second billing | Per-second billing (minimum 60 seconds) | Per-second billing |
Interruption Notice Interruption Handling | 2-minute warning via instance metadata and CloudWatch Events | 30-second eviction notice via Azure Metadata Service (IMDS) | 30-second ACPI G2 soft-off signal before termination | 30-second notification before reclamation |
Interruption Actions Interruption Handling | Terminate, stop, or hibernate (Spot Fleet/ASG configurable) | Deallocate or delete (configurable eviction policy) | Terminate only (no stop/hibernate option) | Terminate only (no stop/hibernate option) |
Interruption Frequency Data Interruption Handling | Spot Placement Score and interruption frequency ratings (1-5) | Eviction rate estimates: low, medium, high in Azure portal | No published interruption frequency data | No published interruption frequency data |
Rebalance Recommendations Interruption Handling | EC2 Rebalance Recommendation signal before actual interruption | Scheduled Events for maintenance; no early rebalance signal | No rebalance signal; only termination notice | No rebalance signal; only termination notice |
Graceful Shutdown Interruption Handling | Lifecycle hooks in ASG; checkpoint to S3/EBS before termination | Scheduled Events polling; checkpoint to Blob/Managed Disk | Shutdown scripts execute during 30-second window | Shutdown scripts during 30-second notice window |
Fleet Management Operations & Best Practices | Spot Fleet and EC2 Fleet for multi-type, multi-AZ diversification | VMSS with spot priority; VM Fleet (preview) for diversification | MIG with spot provisioning model; no dedicated fleet service | Instance pool with preemptible capacity type |
Kubernetes Integration Operations & Best Practices | EKS managed node groups with SPOT capacity type; Karpenter | AKS spot node pools with eviction policy and taints | GKE spot node pools with graceful node shutdown | OKE node pools with preemptible worker nodes |
Capacity Optimization Operations & Best Practices | Capacity-optimized allocation strategy selects least-interrupted pools | Capacity eviction policy considers pool availability | Automatic placement; no user-selectable allocation strategy | Automatic placement in available capacity pools |
Fallback to On-Demand Operations & Best Practices | Mixed Instances Policy in ASG; Spot Fleet On-Demand base capacity | VMSS priority mix: spot + regular VMs configurable | MIG mixed instances; no native fallback; use multiple MIGs | Instance pool with mixed preemptible and on-demand shapes |
Terraform Support Operations & Best Practices | aws_spot_instance_request, aws_spot_fleet_request, ASG mixed_instances_policy | azurerm_linux_virtual_machine with priority=Spot, azurerm_orchestrated_virtual_machine_scale_set | google_compute_instance with scheduling.preemptible or provisioning_model=SPOT | oci_core_instance with preemptible_instance_config block |
Compare spot and preemptible instance models across AWS, Azure, GCP, and OCI. This tool helps multi-cloud engineers generate valid configurations quickly without consulting documentation, reducing errors and accelerating infrastructure deployment. All processing runs in your browser with no data sent to external servers.
Disclaimer: This tool runs entirely in your browser. No data is sent to our servers. Always verify outputs before using them in production. AWS, Azure, and GCP are trademarks of their respective owners.