- Newest
- Most votes
- Most comments
Since you have one big application right now and you're the only DevOps person, a single API Gateway probably makes the most sense.
Keeps things simpler -> One gateway means less to set up and keep track of. That's a lifesaver when you're juggling everything yourself. Save Money --> Fewer gateways mean fewer AWS resources being used, which means a smaller bill. But, here's the thing, if you really value these things, multiple gateways might be worth the extra work down the road:
- Cleaner Orgs - One gateway per tenant (users, practitioners, admins) keeps everything neatly separated, easier to change one without affecting others.
- Best Security - If someone messes up on the admin side, it doesn't automatically put the user gateway at risk.
- Future Ready - If you ever decide to break your monolith into microservices, you're already set up with multiple gateways.
Here's a couple more things to mull over:
Crazy traffic differences: If one tenant gets way more traffic than the others, having separate gateways can help balance things out. Long-term plans: Are those microservices something you seriously see yourself doing? If so, multiple gateways right away might be wise.
The bottom line is there's no single right answer. If you're not sure, start simple!
Relevant content
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago