Softwr

Cloud · head to head

Amazon EC2 vs BigQuery

Amazon EC2 logo

Amazon EC2

Cloud

Resizable virtual server compute service on AWS

From
Free
Free plan
Yes
BigQuery logo

BigQuery

Databases

Google Cloud's serverless analytical warehouse, billed either by bytes scanned per query or by reserved compute slots.

From
Free
Free plan
Yes

The short version

  • Amazon EC2 is free; BigQuery starts at $6.25/mo.
  • Only Amazon EC2 lists over 1,000 instance types; only BigQuery lists serverless compute.
  • Where Amazon EC2 falls short: cost forecasting is complex across purchase options and instance types.

How do Amazon EC2 and BigQuery differ?

Amazon EC2 and BigQuery differ on platforms and category (Cloud against Databases). Only the attributes on which Amazon EC2 and BigQuery actually diverge.

Attributes where Amazon EC2 and BigQuery differ
AttributeAmazon EC2BigQuery
PlatformsWeb, Linux, Windows, macOSWeb, API
CategoryCloudDatabases

Identical on both: starting price (Free), pricing model (Usage-based), free tier (Yes).

Not yet recorded: founded for Amazon EC2.

Which features does each one have?

They share no listed features; 7 appear only for Amazon EC2 and 10 only for BigQuery. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Amazon EC2

  • Over 1,000 instance types
  • Intel, AMD and Arm (Graviton) processors
  • Per-second billing
  • Spot Instances and Savings Plans
  • Dedicated Hosts
  • EC2 Mac instances
  • Nitro System isolation

Only in BigQuery

  • Serverless compute
  • Separation of storage and compute
  • Two pricing models
  • Partitioning and clustering
  • Materialised views
  • BigQuery ML
  • Storage Write API
  • BI Engine

What is each one used for?

Amazon EC2 is most often brought in for hosting web applications and APIs. The jobs each tool is most often brought in to do.

Amazon EC2

  • Hosting web applications and APIsnot BigQuery
  • Running GPU and machine learning workloadsnot BigQuery
  • Building and signing macOS appsnot BigQuery
  • Bursting capacity with Spot Instancesnot BigQuery

BigQuery

  • A warehouse for an organisation already on Google Cloud, where identity, logging and billing are consolidated in the same placenot Amazon EC2
  • Bursty analytical workloads with long idle periods, where paying per query beats keeping a cluster runningnot Amazon EC2
  • Event and clickstream analytics ingested continuously through the Storage Write API and queried without a load windownot Amazon EC2
  • Analytics teams with no infrastructure staff, where the absence of anything to tune or patch is worth more than dialect portabilitynot Amazon EC2

Where do Amazon EC2 and BigQuery fall short?

Amazon EC2's most cited limit: cost forecasting is complex across purchase options and instance types. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon EC2

  • Cost forecasting is complex across purchase options and instance types
  • Spot instances carry no SLA and can be reclaimed on two minutes' notice
  • Instance-store data is lost when an instance stops or terminates
  • You manage OS patching, scaling and security configuration

BigQuery

  • On-demand billing charges for bytes read from every column a query references, so an unqualified select or a missing partition filter turns a routine query into a large bill, and the cost is discovered after the fact rather than at review time
  • There is no way to join tables that live in different regions, so a data estate split across regions for residency reasons has to be reconciled with copies and the storage and transfer that implies
  • It is not built for point lookups; retrieving a single row has latency measured in hundreds of milliseconds or more, so BigQuery cannot serve an application's read path and always needs a second store in front of it
  • Frequent small mutations run into DML concurrency limits and the cost of rewriting storage blocks, so a workload that updates individual rows continuously behaves badly compared with an append-only design
  • The compute exists only inside Google Cloud, so while tables can be exported, the accumulated GoogleSQL, scheduled queries, authorised views, ML models and IAM structure do not move, and switching warehouses is a rewrite of the analytical layer

How much do Amazon EC2 and BigQuery cost?

Amazon EC2 is free to use; BigQuery has a free plan, with paid plans from $6.25/mo. Plan by plan below, from each vendor's own pricing page.

Amazon EC2

Free

No published plan breakdown. See the Amazon EC2 review.

BigQuery

Free
  • Free TierFree
    • 1TB queries/month
    • 10GB storage/month
    • Standard support
  • On-demand$6.25/tb
    • Pay per query
    • Pay per storage
    • All features

Which should you pick?

Choose Amazon EC2 if

  • You need over 1,000 instance types.
  • You want to start without paying.
  • You work on Web, Linux, Windows, macOS.
  • You also want intel, amd and arm (graviton) processors.

Choose BigQuery if

  • You need serverless compute.
  • You want to start without paying.
  • You work on Web, API.
  • You also want separation of storage and compute.

Questions people ask

Is Amazon EC2 or BigQuery better?
It depends on the job. Amazon EC2 fits hosting web applications and APIs; BigQuery fits a warehouse for an organisation already on Google Cloud, where identity, logging and billing are consolidated in the same place. Amazon EC2 starts at Free and BigQuery at Free.
Which is cheaper, Amazon EC2 or BigQuery?
Amazon EC2 starts at Free and BigQuery at Free.
Does Amazon EC2 or BigQuery run on more platforms?
Amazon EC2 runs on Web, Linux, Windows, macOS. BigQuery runs on Web, API.
Can I use Amazon EC2 for free?
Both have a free tier, so you can try either at no cost before committing.
What is Amazon EC2 best used for?
Amazon EC2 is most often used for hosting web applications and apis, running gpu and machine learning workloads, building and signing macos apps, bursting capacity with spot instances. Of those, hosting web applications and apis and running gpu and machine learning workloads are not what BigQuery is typically brought in for.
What can Amazon EC2 do that BigQuery cannot?
Amazon EC2 covers Over 1,000 instance types, Intel, AMD and Arm (Graviton) processors, Per-second billing, Spot Instances and Savings Plans. BigQuery covers Serverless compute, Separation of storage and compute, Two pricing models, Partitioning and clustering.

Answered from the vendors’ own pages

Amazon EC2: How is Amazon EC2 billed?

Usage is billed in one-second increments with a minimum charge of 60 seconds, across all purchase options and Regions.

Source
BigQuery: How is BigQuery actually billed?

Storage is billed separately from compute. Compute is either on-demand, priced by the bytes a query reads from the referenced columns, or capacity-based, where you reserve autoscaling slots. Most cost surprises come from on-demand queries that scan more than expected.

Amazon EC2: When did EC2 launch?

A limited public beta started on 25 August 2006, and the beta label was dropped on 23 October 2008 with the addition of an SLA.

Source
BigQuery: How do I control query cost?

Partition and cluster tables so queries prune data, select only the columns needed, use materialised views for repeated aggregations, and set maximum bytes billed on queries so a runaway scan fails instead of billing.

Amazon EC2: How much can Spot Instances save?

AWS says Spot Instances save up to 90 percent versus On-Demand, and Savings Plans up to 72 percent. Wikipedia notes Spot can be reclaimed with two minutes' notice.

Source
BigQuery: Can I use it without being on Google Cloud?

The service only runs on Google Cloud. BigQuery Omni can query data held in S3 or Azure storage, but the compute is still Google's and the account relationship is still with Google.

BigQuery: Is it suitable for serving application queries?

No. Latency for single-row reads is far too high. BigQuery is an analytical warehouse and application read paths need a transactional database or a cache in front of it.

BigQuery: When should I move from on-demand to capacity pricing?

When on-demand spend becomes both large and predictable, or when unpredictable spend is a bigger problem than query queueing. The switch trades a variable bill for a fixed one plus contention between workloads.

Share

Related pages

Other head to heads