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 in Kubernetes by Kali
33 views

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 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 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 by Kim

Related Questions In Kubernetes

0 votes
1 answer

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

I have followed the link which you have ...READ MORE

answered Jul 23, 2018 in Kubernetes by Atul
• 10,240 points
132 views
0 votes
1 answer

Can I configure my kubernetes job to run for a specified time?

When we create a job spec, we ...READ MORE

answered Jul 17 in Kubernetes by Sirajul
• 25,180 points
21 views
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
• 40,420 points
61 views
0 votes
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 in Kubernetes by Kalgi
• 40,420 points

edited Mar 18 by Kalgi 44 views