Cloud · head to head
AWS Lambda vs Google Compute Engine

AWS Lambda
Cloud
Run code without thinking about servers
- From
- Free
- Free plan
- Yes

Google Compute Engine
Cloud
Google Cloud virtual machines billed per vCPU and per GB of memory
- From
- On request
- Free plan
- No
The short version
- AWS Lambda is a serverless compute service.
- AWS Lambda is free; Google Compute Engine prices on request.
- Only AWS Lambda lists event-driven execution; only Google Compute Engine lists machine families.
- Where AWS Lambda falls short: provisioned concurrency, used to avoid cold starts, is charged separately at $0.0000041667 per GB-second whether or not the function runs.
- 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 AWS Lambda and Google Compute Engine differ?
AWS Lambda and Google Compute Engine differ on starting price (Free against On request), pricing model and free tier (Yes against No). Only the attributes on which AWS Lambda and Google Compute Engine actually diverge.
| Attribute | AWS Lambda | Google Compute Engine |
|---|---|---|
| Starting price | Free | On request |
| Pricing model | Usage-based | Per vCPU and per GB of memory per hour |
| Free tier | Yes | No |
Identical on both: platforms (Web, API).
Not yet recorded: category for Google Compute Engine, founded for Google Compute Engine.
Which features does each one have?
They share no listed features; 20 appear only for AWS Lambda 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 AWS Lambda
- Function-as-a-Service
- Event-driven execution
- Auto-scaling
- Pay-per-use
- Multiple languages
- Concurrency limits
- Dead Letter Queues
- Environment variables
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?
AWS Lambda is most often brought in for event-driven functions without managing servers; 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.
AWS Lambda
- Event-driven functions without managing serversnot Google Compute Engine
- API backends behind API Gatewaynot Google Compute Engine
- Processing S3, DynamoDB, SQS and Kinesis eventsnot Google Compute Engine
- Scheduled jobs without a always-on instancenot Google Compute Engine
- Edge compute through Lambda@Edgenot Google Compute Engine
Google Compute Engine
- Lift-and-shift of virtual machine workloads to Google Cloudnot AWS Lambda
- GPU and high performance computing jobsnot AWS Lambda
- Self-managed databases or legacy servers needing OS controlnot AWS Lambda
- Cost-optimised batch work on spot capacitynot AWS Lambda
Where do AWS Lambda and Google Compute Engine fall short?
AWS Lambda's most cited limit: ephemeral storage beyond the included 512 MB is metered. 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.
AWS Lambda
- Billed on two axes at once, $0.20 per million requests plus $0.0000166667 per GB-second of duration, so memory settings change the bill as much as traffic does
- Provisioned concurrency, used to avoid cold starts, is charged separately at $0.0000041667 per GB-second whether or not the function runs
- Ephemeral storage beyond the included 512 MB is metered
- Lambda@Edge costs $0.60 per million requests, three times the standard request rate
- VPC use and cross-region data transfer carry EC2 charges on top
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 AWS Lambda and Google Compute Engine cost?
AWS Lambda is free to use. Plan by plan below, from each vendor's own pricing page.
AWS Lambda
Free- Free TierFree
- 1M free requests/month
- 400,000 GB-seconds/month
- Always free
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 AWS Lambda if
- You need function-as-a-service.
- You want to start without paying.
- You work on Web, API.
- You also want event-driven execution.
Choose Google Compute Engine if
- You need machine families.
- You work on Web, API.
- You also want custom machine types.
Questions people ask
- Is AWS Lambda or Google Compute Engine better?
- It depends on the job. AWS Lambda fits event-driven functions without managing servers; Google Compute Engine fits lift-and-shift of virtual machine workloads to Google Cloud. AWS Lambda starts at Free and Google Compute Engine at On request.
- Which is cheaper, AWS Lambda or Google Compute Engine?
- AWS Lambda has a free tier; the other does not. Paid plans start at Free for AWS Lambda and On request for Google Compute Engine.
- Does AWS Lambda or Google Compute Engine run on more platforms?
- Both run on Web, API, so platform support will not decide this one for you.
- Can I use AWS Lambda for free?
- Yes. AWS Lambda has a free tier, so you can try it without paying. Google Compute Engine starts at On request.
- What is AWS Lambda best used for?
- AWS Lambda is most often used for event-driven functions without managing servers, api backends behind api gateway, processing s3, dynamodb, sqs and kinesis events, scheduled jobs without a always-on instance. Of those, event-driven functions without managing servers and api backends behind api gateway are not what Google Compute Engine is typically brought in for.
- What can AWS Lambda do that Google Compute Engine cannot?
- AWS Lambda covers Function-as-a-Service, Event-driven execution, Auto-scaling, Pay-per-use. Google Compute Engine covers Machine families, Custom machine types, Sustained use discounts, Committed use discounts.
Answered from the vendors’ own pages
AWS Lambda: Is there a free tier for AWS Lambda?
Yes. AWS Lambda offers a free tier including 1 million requests per month, 400,000 GB-seconds per month, and 100 GB monthly response streaming.
SourceGoogle Compute Engine: How is Compute Engine billed?
Per vCPU and per GB of memory per hour, plus disks and network.
AWS Lambda: How is AWS Lambda charged?
Lambda charges $0.20 per million requests. Duration charges are $0.0000166667 per GB-second for x86 (up to 6 billion GB-seconds/month in US East Ohio with tiered pricing). Ephemeral storage over the included 512 MB costs $0.0000000309 per GB-second. Provisioned Concurrency costs $0.0000041667 per GB-second with a 5-minute minimum.
SourceGoogle Compute Engine: Is there a free VM?
Yes, Google Cloud offers a free e2-micro instance under its free programme.
AWS Lambda: What are Lambda Durable Functions pricing?
Lambda Durable Functions include operations at $8.00 per million (start execution, steps, waits). Data written costs $0.25 per GB. Data retention is $0.15 per GB-month with configurable 1-90 day retention (default 14 days).
SourceGoogle Compute Engine: What discounts exist?
Sustained use discounts of up to 30% and committed use discounts.
Related pages
More on Google Compute Engine
Other head to heads
- AWS Lambda vs Google Cloud Run
- AWS Lambda vs Deno Deploy
- AWS Lambda vs Zoho Catalyst
- AWS Lambda vs Azure Functions
- AWS Lambda vs Google App Engine
- AWS Lambda vs Serverless Framework
- AWS Lambda vs Cerebrium
- AWS Lambda vs Koyeb
- AWS Lambda vs Beam Cloud
- AWS Lambda vs KeyCDN
- AWS Lambda vs Lambda
- AWS Lambda vs Porter
- AWS Lambda vs Crusoe Cloud
- AWS Lambda vs Infracost
- AWS Lambda vs Kustomize
- AWS Lambda vs Lium
- AWS Lambda vs Nebius
- AWS Lambda vs Nitric
- AWS Lambda vs Amazon EC2
- AWS Lambda vs DigitalOcean
- AWS Lambda vs Exoscale
- AWS Lambda vs OpenStack
- AWS Lambda vs Huawei Cloud
- AWS Lambda vs Portworx
- AWS Lambda vs Confluent Cloud
- AWS Lambda vs Nutanix
- AWS Lambda vs Proxmox VE
- AWS Lambda vs Wiz
- AWS Lambda vs Rancher
- AWS Lambda vs Wasabi
- AWS Lambda vs Oracle Cloud
- AWS Lambda vs OVHcloud
- AWS Lambda vs Red Hat OpenShift
- AWS Lambda vs AWS Fargate
- AWS Lambda vs Amazon EKS
- AWS Lambda vs Amazon EMR
- Google Compute Engine vs Google Cloud Run
- Google Compute Engine vs Deno Deploy
- Google Compute Engine vs Zoho Catalyst
- Google Compute Engine vs Azure Functions
- Google Compute Engine vs Google App Engine
- Google Compute Engine vs Serverless Framework
- Google Compute Engine vs Cerebrium
- Google Compute Engine vs Koyeb
- Google Compute Engine vs Beam Cloud
- Google Compute Engine vs KeyCDN
- Google Compute Engine vs Lambda
- Google Compute Engine vs Porter
- Google Compute Engine vs Crusoe Cloud
- Google Compute Engine vs Infracost
- Google Compute Engine vs Kustomize
- Google Compute Engine vs Lium
- Google Compute Engine vs Nebius
- Google Compute Engine vs Nitric
- Google Compute Engine vs Amazon EC2
- Google Compute Engine vs DigitalOcean
- Google Compute Engine vs Exoscale
- Google Compute Engine vs OpenStack
- Google Compute Engine vs Huawei Cloud
- Google Compute Engine vs Portworx
- Google Compute Engine vs Confluent Cloud
- Google Compute Engine vs Nutanix
- Google Compute Engine vs Proxmox VE
- Google Compute Engine vs Wiz
- Google Compute Engine vs Rancher
- Google Compute Engine vs Wasabi
- Google Compute Engine vs Oracle Cloud
- Google Compute Engine vs OVHcloud
- Google Compute Engine vs Red Hat OpenShift
- Google Compute Engine vs AWS Fargate
- Google Compute Engine vs Amazon EKS
- Google Compute Engine vs Amazon EMR
