How to connect azure aks with AWS RDS

Patha Rama Krishna 0 Reputation points
2023-07-27T09:59:10.73+00:00

We have created a cluster in AKS and wanted to connect it with RDS in AWS, Have tried setting VNET and allowed all inbound and outboud access but still couldn't connect.

Any help or suggestions would be appreciated

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,261 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Eddie Neto 1,236 Reputation points Microsoft Employee
    2023-07-27T10:36:53.98+00:00

    Hi @Patha Rama Krishna

    Thanks for reaching Microsoft Q&A.

    Regarding your question is much more specific to RDS AWS service. However, try to check this link if it helps you.

    https://stackoverflow.com/questions/56254948/allow-aws-rds-connection-from-an-azure-k8s-pods

    https://www.strongdm.com/connect/amazon-rds-aks

    Hope this helps. Please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.

    0 comments No comments

  2. Takahito Iwasa 4,851 Reputation points MVP
    2023-07-29T18:18:08.0566667+00:00

    Hi, @Patha Rama Krishna

    I understand that you want to make a database connection from AKS in Azure to RDS in AWS.

    First, how do you prepare your route to Amazon RDS?

    If you allow public access for RDS, you need to configure egress communication from AKS and set permissions in security group on AWS side.

    If you want to perform private communication such as VPN between Azure and AWS, you need to configure it in advance, and even in that case, you need to allow the access source IP address in the security group on the RDS side.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.