Instances›AWS EC2›g2›g2.2xlarge
Compute
vCPUs8
Memory15 GiB
Mem / vCPU1.88 GiB
ProcessorXeon E5-2670
Clock speed2.6 GHz
Architecturex86_64
Storage
TypeEBS only
BandwidthN/A
ThroughputN/A
IOPS0
Networking
PerformanceModerate
Max ENIsN/A
IPv6No
GPUNVIDIA GRID K520
Family sizes
g2.2xlarge8 vCPU · 15 GiB
g2.8xlarge32 vCPU · 60 GiB
g2.2xlarge

g2.2xlarge is AWS's GPU EC2 size at 8 vCPU and 15 GiB. In the name, "g" is graphics, "2" is the generation and "2xlarge" is the size within the g2 family. It runs on Intel Xeon E5-2670 (Sandy Bridge) at 2.6 GHz, and AWS introduced it in November 2013. AWS has since shipped g3, g4ad, g5 and g6; g4ad.2xlarge is the direct replacement at this size. Rackspace Spot runs one GPU class, gpu.vs2.xlargeplusplus — a single NVIDIA A30 with 24 vCPU and 64 GiB, in San Jose only. Against this instance's 1 × NVIDIA GRID K520 that is a fair swap for inference and media work — the A30 carries more memory and more throughput per card — and it prices about 73% below the US West (N. California) on-demand rate.

Match qualityComparable GPU

g2.2xlarge pairs 1 GPU (4 GiB VRAM) with 8 vCPU. Spot's GPU node uses the NVIDIA A30 (Ampere, 24 GB VRAM) with 24 vCPU and 64 GiB of memory — more GPU memory, more CPU and newer hardware than g2.2xlarge. For inference, batch transcoding and single-card fine-tuning that is an upgrade rather than a compromise. The catch is location rather than hardware: US West, San Jose is the only Spot region that offers it, so latency to your users and egress to your data are the things to check.

Pricing by region
1 hr
RegionAWS on-demandAWS Spot1-yr Reserved3-yr ReservedRackspace SpotYou save
US West, San Jose$0.702$0.191
$0.511 savings
When to use it
Good for
  • ●Model inference and embedding generation
  • ●Video transcoding and image processing
  • ●Machine learning experimentation and fine-tuning
  • ●Workloads that fit inside 15 GiB of RAM
  • ●Parallel work that can occupy 8 vCPU
Avoid if
  • ●Starting a new deployment. g4ad.2xlarge is the newer generation at this size.
  • ●The working set needs more than 15 GiB of RAM
  • ●More than 1.88 GiB of RAM per vCPU is needed — that ratio is fixed for the whole family
  • ●Local NVMe or instance-store disk is a hard requirement
  • ●Anything the CPU can do fast enough. GPU hours are the most expensive on the price list.
g2.2xlarge runs $512/mo on AWS on-demand. The equivalent on Rackspace Spot: $139/mo.
  • Spot sells spare capacity at market prices. It is the cheapest compute on the internet.
  • Prices are set by supply and demand. You pay what the market decides.
  • Compute is delivered as fully managed Kubernetes. All infrastructure is taken care of.
  • Egress costs $0.01/GB after the free allowance. AWS charges $0.09/GB.
Build your Cloudspace
Frequently asked questions