Databases · head to head
Amazon ECS vs Google Cloud Spanner

Amazon ECS
Databases
AWS managed container orchestration, free to use, billed for Fargate or EC2 compute
- From
- On request
- Free plan
- No

Google Cloud Spanner
Databases
Globally distributed relational database with strong consistency and up to 99.999% availability
- From
- Free
- Free plan
- Yes
The short version
- Amazon ECS is a fully managed container orchestration service on AWS.
- Google Cloud Spanner is free; Amazon ECS prices on request.
- Only Amazon ECS lists fargate serverless containers; only Google Cloud Spanner lists strong global consistency.
- Where Amazon ECS falls short: runs only on AWS, with no portability to other clouds.
- Where Google Cloud Spanner falls short: pricing has compute, storage, replication and network components.
How do Amazon ECS and Google Cloud Spanner differ?
Amazon ECS and Google Cloud Spanner differ on starting price (On request against Free) and free tier (No against Yes). Only the attributes on which Amazon ECS and Google Cloud Spanner actually diverge.
| Attribute | Amazon ECS | Google Cloud Spanner |
|---|---|---|
| Starting price | On request | Free |
| Free tier | No | Yes |
Identical on both: pricing model (Usage-based), platforms (Web).
Not yet recorded: category for Amazon ECS.
Which features does each one have?
They share no listed features; 8 appear only for Amazon ECS and 9 only for Google Cloud Spanner. 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 ECS
- Fargate serverless containers
- EC2 launch type
- ECS Anywhere for on-premises and edge
- ECS Managed Instances
- IAM-based access control
- Automated patching
- Encryption in transit and at rest
- Spot capacity support
Only in Google Cloud Spanner
- Strong global consistency
- Automatic sharding
- Single, dual and multi-region configurations
- Spanner Graph
- Vector and full-text search
- Columnar engine for analytics
- BigQuery federated queries
- Spanner Omni
What is each one used for?
Amazon ECS is most often brought in for running containerised web services on AWS; Google Cloud Spanner for global transactional systems. The jobs each tool is most often brought in to do.
Amazon ECS
- Running containerised web services on AWSnot Google Cloud Spanner
- Batch jobs on Spot capacitynot Google Cloud Spanner
- Serverless containers without managing serversnot Google Cloud Spanner
- Hybrid workloads using ECS Anywherenot Google Cloud Spanner
Google Cloud Spanner
- Global transactional systemsnot Amazon ECS
- Mission-critical apps needing 99.999% availabilitynot Amazon ECS
- Applications needing relational plus graph and vectornot Amazon ECS
- Real-time analytics on operational datanot Amazon ECS
- Scaling beyond a single database servernot Amazon ECS
Where do Amazon ECS and Google Cloud Spanner fall short?
Amazon ECS's most cited limit: runs only on AWS, with no portability to other clouds. Google Cloud Spanner's: pricing has compute, storage, replication and network components. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Amazon ECS
- Runs only on AWS, with no portability to other clouds
- Task definitions and APIs are AWS-specific, unlike Kubernetes
- Costs combine ECS-adjacent services such as EC2, load balancers and IPv4
- Smaller ecosystem of third-party tooling than Kubernetes
Google Cloud Spanner
- Pricing has compute, storage, replication and network components
- Cost is high for small or single-region workloads
- Tied to Google Cloud outside the Omni option
- Schema and query patterns differ from standard PostgreSQL deployments
How much do Amazon ECS and Google Cloud Spanner cost?
Google Cloud Spanner is free to use. Plan by plan below, from each vendor's own pricing page.
Amazon ECS
On requestNo published plan breakdown. See the Amazon ECS review.
Google Cloud Spanner
FreeNo published plan breakdown. See the Google Cloud Spanner review.
Which should you pick?
Choose Amazon ECS if
- You need fargate serverless containers.
- You also want ec2 launch type.
Choose Google Cloud Spanner if
- You need strong global consistency.
- You want to start without paying.
- You also want automatic sharding.
Questions people ask
- Is Amazon ECS or Google Cloud Spanner better?
- It depends on the job. Amazon ECS fits running containerised web services on AWS; Google Cloud Spanner fits global transactional systems. Amazon ECS starts at On request and Google Cloud Spanner at Free.
- Which is cheaper, Amazon ECS or Google Cloud Spanner?
- Google Cloud Spanner has a free tier; the other does not. Paid plans start at On request for Amazon ECS and Free for Google Cloud Spanner.
- Does Amazon ECS or Google Cloud Spanner run on more platforms?
- Both run on Web, so platform support will not decide this one for you.
- Can I use Google Cloud Spanner for free?
- Yes. Google Cloud Spanner has a free tier, so you can try it without paying. Amazon ECS starts at On request.
- What is Amazon ECS best used for?
- Amazon ECS is most often used for running containerised web services on aws, batch jobs on spot capacity, serverless containers without managing servers, hybrid workloads using ecs anywhere. Of those, running containerised web services on aws and batch jobs on spot capacity are not what Google Cloud Spanner is typically brought in for.
- What can Amazon ECS do that Google Cloud Spanner cannot?
- Amazon ECS covers Fargate serverless containers, EC2 launch type, ECS Anywhere for on-premises and edge, ECS Managed Instances. Google Cloud Spanner covers Strong global consistency, Automatic sharding, Single, dual and multi-region configurations, Spanner Graph.
Answered from the vendors’ own pages
Amazon ECS: Does ECS cost extra?
No. There is no additional charge for Amazon ECS orchestration; you pay for the compute and resources your containers use.
SourceGoogle Cloud Spanner: Is there a free trial?
Yes, a free trial instance lasts 90 days with up to 10 GiB of data.
SourceAmazon ECS: Can ECS run outside AWS?
ECS Anywhere runs containers on registered on-premises instances at $0.01025 per instance per hour.
SourceGoogle Cloud Spanner: What availability does Spanner offer?
Up to 99.999% availability, depending on configuration.
SourceAmazon ECS: What compute options does ECS offer?
AWS Fargate, Amazon EC2 and ECS Anywhere, plus ECS Managed Instances.
SourceGoogle Cloud Spanner: How is Spanner billed?
By hourly compute by edition, plus storage and replication, with committed use discounts of one and three years.
SourceGoogle Cloud Spanner: Can Spanner run outside Google Cloud?
Spanner Omni is a downloadable version for on-premises, other clouds or a laptop.
SourceRelated pages
More on Google Cloud Spanner
Other head to heads
- Amazon ECS vs Google Cloud Run
- Amazon ECS vs Red Hat OpenShift
- Amazon ECS vs Azure Functions
- Amazon ECS vs Nomad
- Amazon ECS vs containerd
- Amazon ECS vs Terragrunt
- Amazon ECS vs K3s
- Amazon ECS vs Serverless Framework
- Amazon ECS vs Crossplane
- Amazon ECS vs Crusoe Cloud
- Amazon ECS vs Infracost
- Amazon ECS vs Lium
- Amazon ECS vs Nebius
- Amazon ECS vs Google Kubernetes Engine
- Amazon ECS vs Podman
- Amazon ECS vs Kustomize
- Amazon ECS vs Buildah
- Amazon ECS vs Skopeo
- Amazon ECS vs Azure Cosmos DB
- Amazon ECS vs CockroachDB
- Amazon ECS vs Amazon Aurora
- Amazon ECS vs TiDB
- Amazon ECS vs YugabyteDB
- Amazon ECS vs Aerospike
- Amazon ECS vs PostgreSQL
- Amazon ECS vs ArangoDB
- Amazon ECS vs Cassandra
- Amazon ECS vs MariaDB
- Amazon ECS vs Milvus
- Amazon ECS vs MongoDB
- Amazon ECS vs DBeaver
- Amazon ECS vs Dremio
- Amazon ECS vs EMQX
- Amazon ECS vs Azure SQL
- Amazon ECS vs Amazon RDS
- Amazon ECS vs CouchDB
- Google Cloud Spanner vs Google Cloud Run
- Google Cloud Spanner vs Red Hat OpenShift
- Google Cloud Spanner vs Azure Functions
- Google Cloud Spanner vs Nomad
- Google Cloud Spanner vs containerd
- Google Cloud Spanner vs Terragrunt
- Google Cloud Spanner vs K3s
- Google Cloud Spanner vs Serverless Framework
- Google Cloud Spanner vs Crossplane
- Google Cloud Spanner vs Crusoe Cloud
- Google Cloud Spanner vs Infracost
- Google Cloud Spanner vs Lium
- Google Cloud Spanner vs Nebius
- Google Cloud Spanner vs Google Kubernetes Engine
- Google Cloud Spanner vs Podman
- Google Cloud Spanner vs Kustomize
- Google Cloud Spanner vs Buildah
- Google Cloud Spanner vs Skopeo
- Google Cloud Spanner vs Azure Cosmos DB
- Google Cloud Spanner vs CockroachDB
- Google Cloud Spanner vs Amazon Aurora
- Google Cloud Spanner vs TiDB
- Google Cloud Spanner vs YugabyteDB
- Google Cloud Spanner vs Aerospike
- Google Cloud Spanner vs PostgreSQL
- Google Cloud Spanner vs ArangoDB
- Google Cloud Spanner vs Cassandra
- Google Cloud Spanner vs MariaDB
- Google Cloud Spanner vs Milvus
- Google Cloud Spanner vs MongoDB
- Google Cloud Spanner vs DBeaver
- Google Cloud Spanner vs Dremio
- Google Cloud Spanner vs EMQX
- Google Cloud Spanner vs Azure SQL
- Google Cloud Spanner vs Amazon RDS
- Google Cloud Spanner vs CouchDB
