Softwr

Software · head to head

Amazon SQS vs Google Compute Engine

Amazon SQS logo

Amazon SQS

Software

Fully managed message queues that decouple services, priced per request

From
On request
Free plan
No
Google Compute Engine logo

Google Compute Engine

Software

Google Cloud virtual machines billed per vCPU and per GB of memory

From
On request
Free plan
No

The short version

  • Amazon SQS is a managed message queue.
  • Only Amazon SQS lists standard queues; only Google Compute Engine lists machine families.
  • Where Amazon SQS falls short: messages are deleted once consumed, so you cannot replay history the way you can with a log such as Kinesis or Kafka.
  • Where Google Compute Engine falls short: you manage patching, hardening and scaling, so the effective cost includes operations time that serverless options remove.

How do Amazon SQS and Google Compute Engine differ?

Amazon SQS and Google Compute Engine differ on pricing model and platforms (Web, Linux against Web, API). Only the attributes on which Amazon SQS and Google Compute Engine actually diverge.

Attributes where Amazon SQS and Google Compute Engine differ
AttributeAmazon SQSGoogle Compute Engine
Pricing modelPer million requestsPer vCPU and per GB of memory per hour
PlatformsWeb, LinuxWeb, API

Identical on both: starting price (On request), free tier (No).

Which features does each one have?

They share no listed features; 6 appear only for Amazon SQS and 5 only for Google Compute Engine. 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 SQS

  • Standard queues
  • FIFO queues
  • Dead-letter queues
  • Fair queues
  • Long polling
  • Server-side encryption

Only in Google Compute Engine

  • Machine families
  • Custom machine types
  • Sustained use discounts
  • Committed use discounts
  • Free e2-micro

What is each one used for?

Amazon SQS is most often brought in for buffering bursts of work so a slower downstream service is not overwhelmed; Google Compute Engine for lift-and-shift of virtual machine workloads to Google Cloud. The jobs each tool is most often brought in to do.

Amazon SQS

  • Buffering bursts of work so a slower downstream service is not overwhelmednot Google Compute Engine
  • Triggering Lambda functions from a queue with automatic retries and a dead-letter queuenot Google Compute Engine
  • Ordered processing of per-customer events using FIFO message groupsnot Google Compute Engine
  • Splitting a monolith into services that talk through durable messagesnot Google Compute Engine

Google Compute Engine

  • Lift-and-shift of virtual machine workloads to Google Cloudnot Amazon SQS
  • GPU and high performance computing jobsnot Amazon SQS
  • Self-managed databases or legacy servers needing OS controlnot Amazon SQS
  • Cost-optimised batch work on spot capacitynot Amazon SQS

Where do Amazon SQS and Google Compute Engine fall short?

Amazon SQS's most cited limit: messages are deleted once consumed, so you cannot replay history the way you can with a log such as Kinesis or Kafka. Google Compute Engine's: machine type choice is wide, and picking the wrong family wastes money until you resize. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon SQS

  • Messages are deleted once consumed, so you cannot replay history the way you can with a log such as Kinesis or Kafka
  • Every API call is billed, including empty polls and deletes, so a badly configured short-polling consumer can cost more than the messages it handles
  • A single queue has one consumer group; delivering the same message to several systems requires an SNS topic fanning out to several queues
  • The maximum message size is small compared with data pipelines, so larger payloads must be stored in S3 and referenced
  • FIFO queues carry a higher rate and throughput limits that Standard queues do not have, which complicates scaling ordered workloads

Google Compute Engine

  • You manage patching, hardening and scaling, so the effective cost includes operations time that serverless options remove
  • Bills combine vCPU, memory, disks, network egress and licences, which makes forecasting hard without the pricing calculator
  • Machine type choice is wide, and picking the wrong family wastes money until you resize
  • Sustained use discounts do not stack with committed use discounts, so savings depend on getting commitments right
  • Network egress charges can exceed compute cost for data-heavy applications

How much do Amazon SQS and Google Compute Engine cost?

Amazon SQS

On request
  • Standard queueOn request
    • First 1 million requests per month free
    • $0.40 per million requests in the first volume tier
    • Lower rates at very high volumes
  • FIFO queueOn request
    • $0.50 per million requests in the first volume tier
    • Ordering and deduplication by message group
  • Fair queue add-onOn request
    • $0.10 per million fair queue requests, charged on top of Standard rates

Google Compute Engine

On request
  • On demandOn request
    • vCPU and memory billed separately
    • Sustained use discounts up to 30%
    • Committed use discounts available

Which should you pick?

Choose Amazon SQS if

  • You need standard queues.
  • You work on Web, Linux.
  • You also want fifo queues.

Choose Google Compute Engine if

  • You need machine families.
  • You work on Web, API.
  • You also want custom machine types.

Questions people ask

Is Amazon SQS or Google Compute Engine better?
It depends on the job. Amazon SQS fits buffering bursts of work so a slower downstream service is not overwhelmed; Google Compute Engine fits lift-and-shift of virtual machine workloads to Google Cloud. Amazon SQS starts at On request and Google Compute Engine at On request.
Which is cheaper, Amazon SQS or Google Compute Engine?
Amazon SQS starts at On request and Google Compute Engine at On request.
Does Amazon SQS or Google Compute Engine run on more platforms?
Amazon SQS runs on Web, Linux. Google Compute Engine runs on Web, API.
What is Amazon SQS best used for?
Amazon SQS is most often used for buffering bursts of work so a slower downstream service is not overwhelmed, triggering lambda functions from a queue with automatic retries and a dead-letter queue, ordered processing of per-customer events using fifo message groups, splitting a monolith into services that talk through durable messages. Of those, buffering bursts of work so a slower downstream service is not overwhelmed and triggering lambda functions from a queue with automatic retries and a dead-letter queue are not what Google Compute Engine is typically brought in for.
What can Amazon SQS do that Google Compute Engine cannot?
Amazon SQS covers Standard queues, FIFO queues, Dead-letter queues, Fair queues. Google Compute Engine covers Machine families, Custom machine types, Sustained use discounts, Committed use discounts.

Answered from the vendors’ own pages

Amazon SQS: Is SQS free?

The first 1 million requests each month are free across regions, per AWS. Beyond that you pay per million requests.

Google Compute Engine: How is Compute Engine billed?

Per vCPU and per GB of memory per hour, plus disks and network.

Amazon SQS: What is the difference between SQS and SNS?

SQS stores messages for a consumer to pull; SNS pushes one message to many subscribers. They are commonly combined.

Google Compute Engine: Is there a free VM?

Yes, Google Cloud offers a free e2-micro instance under its free programme.

Amazon SQS: Does SQS guarantee order?

Only FIFO queues do, within a message group. Standard queues deliver at least once and may reorder.

Google Compute Engine: What discounts exist?

Sustained use discounts of up to 30% and committed use discounts.

Share

Related pages

Other head to heads