1

I am dealing with communication between microservices.
Microservice A - Angular6/django
Microservice B - NodeJS

My Microservice A is in company network and Microservice B is in AWS.
we need to find a way to communicate between them securely like using VPN or other encryption.
what is the best way to architecture this communication?

  • https perhaps ? – jfriend00 Oct 20 '19 at 07:00
  • but my microservice A is in my company's network and it's not communication between AWS. Actually i'm not sure, if https is possible can you tell how? – Raveendar V Oct 20 '19 at 07:07
  • i'm just trying for my internship, they said that they can't figure this out so if i can solve this problem i will get internship there. and i said about https the moment they asked me but about are the replies i got from the project manager!! @jfriend00 – Raveendar V Oct 20 '19 at 07:12
  • If the company network has internet access, then you should be able to make an https connection from A (on company network) to B (at AWS). If the company network doesn't have internet access, then I don't know what you expect us to help you with. You need network connectivity first. – jfriend00 Oct 20 '19 at 07:12
  • yes, they will be having internet access!! @jfriend00 – Raveendar V Oct 20 '19 at 07:27
  • You can either establish a VPN between your company and AWS, using their IPSEC gateway for example, or public microservice B on a public IP on amazon and use HTTPS. If you had multiple services to publish you could put a reverse proxy on the public IP on AWS and do name based routing to the appropriate container. You can also use the load balancer AWS gives you when running an ingress on AKS – Yann Bizeul Oct 20 '19 at 09:05

0 Answers0