Cloud5 min read

Serverless Containers: AWS Fargate vs Google Cloud Run vs Azure Container Apps

Published by InstaDevOps. Updated . Primary documentation and example limitations are noted below.

Share:

Free DevOps Audit Checklist

Get our comprehensive checklist to identify gaps in your infrastructure, security, and deployment processes

Instant delivery. No spam, ever.

Choose a platform around the workload

Serverless containers remove much of the host-management work, but the application still needs resource limits, identity, networking, observability and recovery planning. AWS Fargate, Google Cloud Run and Azure Container Apps can all reduce infrastructure work. The useful comparison is which platform fits your traffic, dependencies and operating model.

Scope: This guide compares platform behavior documented in October 2026. The decision worksheet below is an original planning aid, not a benchmark or a client result. Prices, regional availability and service limits must be checked for the deployment you intend to run.

AWS Fargate vs Cloud Run vs Container Apps

PlatformStart here whenCheck before committing
AWS FargateYour application and dependencies already use AWS, and you want ECS tasks or supported EKS workloads without managing worker hosts.Task sizing, networking, load balancing, scaling signals, replacement behavior and the supporting AWS services.
Google Cloud RunYou want managed container execution with a service model for requests or jobs that run to completion.Billing mode, concurrency, startup time, connection limits, identity and how asynchronous work finishes.
Azure Container AppsYour dependencies and operations are in Azure, with HTTP or event-driven scaling requirements.Revision configuration, KEDA scale rules, replica limits, workload profile and authentication to event sources.

These are starting points, not a universal winner. Staying near an existing database can matter more than a small difference in compute price. Moving clouds also changes identity, networking, logs and operational ownership.

Compare total cost under the same assumptions

Fargate pricing depends on requested resources, runtime and factors including region, operating system and CPU architecture. Include supporting costs such as load balancers, NAT traffic, storage and logs. An idle application can still consume paid task resources. Use the Fargate pricing documentation for your actual configuration.

Cloud Run services offer request-based and instance-based billing. Request-based billing includes startup and shutdown work; minimum instances and other charges also need attention. Instance-based billing charges across the instance lifecycle. Jobs use instance-based billing. Saying that Cloud Run only charges while serving requests misses these choices. Compare them using Google's billing settings guide.

For Azure Container Apps, record the workload profile, minimum replicas and event-driven scaling settings before estimating cost. A scale-to-zero configuration is useful only if the workload can tolerate startup delay and the trigger can wake it correctly. Review the current scaling behavior alongside the regional price calculation.

Build separate estimates for normal traffic, a quiet month and a sustained burst. Include database capacity, outbound traffic, logging and minimum running capacity in all three. For an AWS network-heavy workload, the NAT Gateway cost worksheet helps identify a cost that a compute-only comparison can miss.

Background jobs and database connections

A request handler and a batch process need different execution contracts. Cloud Run is not restricted to HTTP applications: Cloud Run jobs execute tasks to completion. Decide how a job is triggered, retried and deduplicated. For work launched from a request, verify what happens after the response and during instance shutdown.

For every platform, bound the maximum number of application instances and their connection pools together. Multiplying replicas without a database connection budget can move the bottleneck into PostgreSQL. Test burst behavior, pool wait time and recovery after a database restart. A platform's autoscaler does not prove that downstream services can handle its maximum scale.

A reproducible selection worksheet

Use one application image and a representative, sanitized workload. Record the region, image digest, resource allocation, concurrency, replica limits, billing mode and dependency locations for each candidate. Then collect the following evidence:

  1. Idle and startup: Measure first-request latency after inactivity, plus the cost of minimum capacity when startup delay is unacceptable.
  2. Normal and burst traffic: Record latency percentiles, error rate, scaling behavior, database connections and billed usage for the same request mix.
  3. Deployment and recovery: Release a deliberately failing version in an isolated environment. Verify detection, rollback, in-flight work and retry behavior.
  4. Ownership: Name the person responsible for application image updates, secrets, alerts and recovery exercises. Managed hosts do not maintain your application dependencies.

Set acceptance thresholds before running the comparison. Keep the raw results and document any different assumptions. Do not convert one short load test directly into a monthly savings promise.

Plan the migration boundary

A portable image helps, but it does not make migrations automatic. Inventory scheduled work, service discovery, persistent data, network policies, identity and deployment tooling. Test those dependencies before moving production traffic. If Kubernetes is a real requirement, compare its operational responsibilities using our ECS versus EKS guide rather than assuming a serverless platform has the same feature set.

Fargate also has a platform maintenance lifecycle. Review AWS task maintenance and rehearse replacement of running tasks. Whatever platform you select, leave an agreed deployment procedure, rollback plan, cost baseline and named owner for the next change.

Explore scoped projects and ongoing support for this kind of infrastructure work.

Never Miss an Update

Get the latest DevOps insights, tutorials, and best practices delivered straight to your inbox. Practical guidance for running and improving your infrastructure.

We respect your privacy. Unsubscribe at any time. No spam, ever.