Can I internally route from AWS to GCP - Kubernetes

0 votes
Hey team, I'm just very curious, is it possible to internally route traffic between AWS and GCP?

Kubernetes cluster created on GCP and both my AWS and GCP are using the same VPN connection.
Feb 8, 2019 in Kubernetes by Kali

3 answers to this question.

0 votes
Obviously, that's possible. Both AWS and GCP provide internal loadbalancers and if they are connected to the same VPN, a mechanism called hybrid cloud comes into the picture.
answered Feb 8, 2019 by Barbara
0 votes

I think @Barbara's answer is very incorrect. As far as I remember even though AWS and GCP provide internal load balancers, GCP does not allow route request to a GCP internal load balancer from outside the network even if they're connected over the same VPN. 

answered Feb 8, 2019 by Mike
If its not possible using internal load balancers, then how do I achieve this?
0 votes

Hey @Kali, you can use Ingress for this purpose. You can use Nginx ingress controller with your own nginx proxy over it(on top of it). Set the nginx ingress controller as a NodePort service on port A for HTTP and port B for https traffic. A NodePort service makes itself available on a specified port on every node in the cluster and hence can let us access it from our nginx proxy. 

Have a look at this blog for step by step implementation.

Hope this helps :)

answered Feb 8, 2019 by Kim

Related Questions In Kubernetes

0 votes
1 answer
0 votes
2 answers

How can I access a service installed on Kubernetes from anywhere?

if u want to directly want to ...READ MORE

answered Jul 26, 2020 in Kubernetes by Akash Gupta
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 52,360 points
+1 vote
1 answer
0 votes
1 answer

Any one have real use case of kubernetes in aws

Hey, Kubernetes is a container orchestration tool. With ...READ MORE

answered Mar 15, 2019 in Kubernetes by Kalgi
• 52,360 points

edited Mar 18, 2019 by Kalgi 453 views
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP