Where to handle authorization and routing for microservices with Application Load Balancer on AWS

0 votes
I currently have an ALB that forwards all http/s requests to a target group. Inside the target group I have 3 EC2 instances each running the same NodeJS application.

If I want to break up my application into microservices with a "gateway service" that handles authorization of all incoming client requests and performs routing to the other microservices, how can I achieve this using ALB?

My initial thought is to implement the following:

Internet -> ALB -> Target group with gateway microservices (auth happens here) -> ALB -> Target group with other microservices

Is this kind of architecture possible / recommended?
Jan 14, 2023 in AWS by Tejashwini
• 3,820 points

edited 5 days ago 12 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP