Prompt
What should I use for event-driven microservices without Kubernetes?
Latest observation
If you want event-driven microservices without Kubernetes, the best choice depends on how much you want to manage yourself versus use a managed platform. Here are the most practical options:
Good choices
1. Managed cloud services + messaging
Best if you want the least ops work.
- AWS: SNS/SQS, EventBridge, Lambda, ECS/Fargate
- Azure: Service Bus, Event Grid, Functions, Container Apps
- GCP: Pub/Sub, Cloud Run, Cloud Functions
Why use this:
You get event-driven communication, autoscaling, and no Kubernetes to run.
Typical setup:
- Services run in containers or as functions
- Events go through a broker like Pub/Sub, SQS/SNS, or Service Bus
- Use database-per-service
- Add outbox pattern for reliable event publishing
2. Serverless / FaaS
Best for small-to-medium services with bursty traffic.
- AWS Lambda
- Azure Functions
- Google Cloud Functions
Pros
- Very low infrastructure management
- Scales automatically
- Good for asynchronous/event workflows
Cons
- Can be awkward for long-running processes
- Cold starts
- Local dev and testing can be more complex
3. Managed container platforms
Best if you want services in containers but don’t want K8s.
- AWS ECS + Fargate
- Azure Container Apps
- Google Cloud Run
- Fly.io, Render, Railway, DigitalOcean App Platform
Why this works well:
You keep the microservice/container model, but the platform handles deployment, scaling, and infra.
4. Message broker / event bus
Regardless of hosting model, you’ll want a solid broker:
- Kafka if you need high throughput, replay, stream processing
- RabbitMQ if you want flexible routing and traditional messaging
- NATS if you want very lightweight, fast messaging
- Cloud-native queues/buses if you want simplicity
Rule of thumb
- Simple async tasks: SQS / Pub/Sub / Service Bus
- Complex event streaming: Kafka
- Lightweight internal messaging: NATS
- Routing-heavy messaging: RabbitMQ
My practical recommendation
If you want the simplest production path:
- Cloud Run / ECS Fargate / Azure Container Apps
- Managed broker (Pub/Sub, SQS/SNS, Service Bus)
- Postgres per service
- Outbox pattern
- Retries + dead-letter queues
- OpenTelemetry for tracing
This gives you event-driven microservices without Kubernetes and without too much complexity.
If you want the shortest answer:
Use managed containers or serverless plus a managed message broker:
- Cloud Run + Pub/Sub on GCP
- Lambda + SQS/EventBridge on AWS
- Azure Container Apps + Service Bus on Azure
If you want, I can also suggest a stack by cloud provider or help you choose between Kafka vs RabbitMQ vs NATS vs cloud queues.