Microservices on AWS: benefits, trade-offs and the services to use
Microservices let teams release and scale parts of a system independently, and AWS provides most of the building blocks. They also add cost and complexity, so the first question is whether you need them yet.

Key takeaways
- Microservices pay off when teams or parts of the system need to release and scale independently
- Start with a modular application and split out services where there is a clear reason
- On AWS, run services on ECS with Fargate, EKS or Lambda, depending on your team and workload
- Use queues and events (SQS, SNS, EventBridge) to keep services loosely coupled
- AWS ended support for App Mesh on 30 September 2026; ECS Service Connect is the recommended replacement
A microservices architecture splits an application into small services that each own one business capability, such as orders, payments or notifications, and talk to each other over APIs or events. Amazon Web Services (AWS) offers managed building blocks for almost every part of that picture. This guide covers the real benefits, the costs that come with them, and the AWS services we use.
The benefits of microservices
- Independent releases. A team can ship a change to the payments service without redeploying the whole system.
- Scale where the load is. If search gets ten times more traffic than checkout, you scale search only.
- Fault isolation. A failure in one service, such as recommendations, does not have to take down ordering.
- Team ownership. Small teams own a service end to end, from code to production, which speeds up decisions.
- The right tool per job. A service can use the database or language that suits it best.
The trade-offs to accept
Microservices are not free. Every service adds a deployment pipeline, monitoring, security rules and network calls that can fail. Data is spread across services, so reporting and transactions get harder. For a small team or a new product, a modular monolith (one deployable application with clean internal boundaries) is usually faster to build and cheaper to run. We recommend splitting out services when a part of the system has a clear reason: different scaling needs, a separate team, stricter reliability or a different release pace.
The AWS building blocks
- Compute: Amazon ECS with AWS Fargate runs containers without managing servers and is the simplest starting point. Amazon EKS suits teams that already use Kubernetes. AWS Lambda suits event-driven tasks and spiky workloads.
- Entry points: Amazon API Gateway or an Application Load Balancer route requests to services, with authentication and rate limits.
- Service-to-service communication: Amazon ECS Service Connect handles discovery, traffic and metrics between ECS services. AWS ended support for App Mesh on 30 September 2026, so systems still using it should migrate.
- Events and queues: Amazon SQS for work queues, Amazon SNS for fan-out notifications, and Amazon EventBridge for routing business events between services. Events keep services loosely coupled.
- Data: Amazon RDS or Aurora for relational data, DynamoDB for high-scale key-value access, ElastiCache for caching and S3 for files. Each service owns its own data.
- Observability: Amazon CloudWatch for logs, metrics and alarms, and AWS X-Ray or OpenTelemetry tracing to follow one request across services.
- Security: IAM roles per service with least privilege, AWS Secrets Manager for credentials, and private networking inside a VPC.
Patterns that make it work
- Design around business capabilities, not technical layers. One service per capability, with its own data.
- Prefer events to chains of calls. When an order is placed, publish an event; billing, notifications and analytics react to it.
- Automate everything. Infrastructure as code, a pipeline per service, and automated tests and rollbacks.
- Watch costs. Many small services, NAT gateways and cross-zone traffic add up. Review costs per service.
Moving an existing system to microservices
Do not rewrite everything at once. Use the strangler pattern: put an API layer in front of the existing application, move one capability at a time into its own service, and route traffic to it when it is ready. The old system shrinks as the new services take over, and the business keeps running throughout. Our application modernisation team follows this approach.
How we can help
Our cloud and DevOps and backend and API development teams design and run platforms on AWS, from a well-structured first version to a gradual move to services. If you are deciding whether microservices are right for you, talk to a solution architect.
Put this guide into practice
Frequently asked questions
What are the benefits of microservices on AWS?
Independent releases, scaling each service to its own load, isolating failures, letting teams own services end to end, and using managed AWS services instead of running infrastructure yourself.
Are microservices always better than a monolith?
No. They add network calls, deployment pipelines, monitoring and cost. A modular monolith is often the better starting point, with services split out when there is a clear need.
Should I use ECS, EKS or Lambda?
ECS with Fargate is the simplest way to run containers on AWS. EKS suits teams already using Kubernetes. Lambda suits event-driven work and spiky traffic. Many systems use more than one.
What replaced AWS App Mesh?
AWS ended support for App Mesh on 30 September 2026 and recommends Amazon ECS Service Connect for service-to-service communication on ECS.


