Score:1

How to connect AKS with postgres in private vnet?

cn flag

I have created postgres with private vnet option. So, no direct access to posgres from internet.

private vnet

But, I can't access it from "CloudShell" also.

cloud shell

Also, while creating database,when I want to choose existing VNets, aks cluster(VNet) is not showing in the drop down.

How to keep AKS(azure kubernetes service) cluster and postgres flexible server in the same network then?

Even I tried VNet linking for time being, but not working the connectivity there also.

Score:0
ng flag

Cloud Shell runs in a Microsoft managed container which is not attached to your vNet, therefore it has no access to any resources that are behind private endpoints. You can run Cloud Shell in a vNet using Azure Relay, details can be found here.

I would suggest creating a separate question for the second part, providing more details on how you are trying to create the database.

Sara June avatar
cn flag
I will try this, can you check this question once. https://serverfault.com/questions/1089072/how-to-access-postgres-in-private-vnet-from-another-vm-in-azure
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.