Score:0

Google Cloud NAT with Shared VPC

jp flag

I need to deploy the Elasticsearch application on Kubernetes Engine for company internal usage. Currently, there is interconnect with the Google Shared VPC project. I am new to GCP and I don't really know what is the best approach to deploy this application network wise. I am considering to approach that I am not sure if It is event possible for now(hence, the question arises).

1.) Can I use Native VPN for Elasticserach project and do some kind of NAT to Shared VPC IP so the Networks would now overly with the corporate ones.

2.) Should I Just use network acquired from Shard VPC for Kubernetes Network and It should work? What size for the subnet would I need?

Score:0
sd flag

Could you elaborate on your answer and how you got this to work? Was your private GKE cluster created on the shared vpc subnet? What do you mean by "Added in Kubernetes private cluster IP of the VM from the same project"?

I have created a private gke cluster on shared vpc but can't reach the internet.

Score:0
jp flag

I got It works by:

1.) making a linux based VM with 2 nic interfaces. First one with IP from the Shared VPC network and another one from Project VPC Network.

2.) Added in Kubernetes private cluster IP of the VM from the same project.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.