How to connect a Glue connection from one account to another account.

0

Hello, Currently we have two accounts in one account we have kept the RDS in Public and in another connect we are going to create one VPC in that VPC two private subnets. And also we are going to create a glue connection.Now what i want to know is how this glue connection is going to connect the RDS in another account without using VPC peering, Transit Gateway, VPN and NAT Gateway. Kindly give me some suggestion..

已提問 1 年前檢視次數 465 次
2 個答案
0
已接受的答案

Using RAM, you can share the private subnet where RDS is running within the same organization and region, otherwise I don't think it's possible without one of the options you lists.

profile pictureAWS
專家
已回答 1 年前
profile picture
專家
已審閱 1 個月前
0

Your question might be related to two use cases :

1- Crawling RDS DB in a different account using Glue Crawlers and bring the schema to Glue Data Catalog: In this case you can benefit from RDS Glue connector when you are defining the crawler. Details can be found [here](AWS Glue connection properties)

2- Accessing RDS from a Glue job using Spark and getting data : In this case you can chose the right connection type for Spark based on the type of database (details)

In either case, since you are using a JDBC connection with public end-point no VPC connection would be required.

AWS
已回答 1 年前
  • hello, my question is how we can make a connection to RDS for example we creating a connection in one account with different VPC and private subnets. The RDS in another account with public subnet. how this going to make a connection in the security group just give a more elaboration in that part it will really helpful for me. Note: we are not using any of these below service. VPC Peering, NAT Gateway, Transit Gateway and VPN.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南