Score:-2

I have 2 AWS accounts A and B. On premises client network c. I have a VPN tunnel from B TO C which works fine and A TO B with peering

mw flag

I have 2 AWS accounts A and B. On premises client network c. I have a VPN tunnel from B TO C which works fine and A TO B with peering.

can we communicate from A to C with the help existing VPN tunnel from B TO C

connections i have

B to C- VPN tunnel. A to B- AWS peering. What i want to achieve is

A->B->C

need to be communicating A to c

Score:0
gp flag
Tim

Your question isn't particularly clear. You want connectivity from A to C, but you say "can we communicate from A to C with the help existing VPN tunnel from B TO C".

I can tell you the standard solutions for connecting two or more AWS accounts to a single on-premise location. AWS networks aren't transitive.

Generally I find the best way is to set up transit gateway, then attach the VPN and all AWS VPCs to the TGW. They will all be able to communicate, and it will scale to thousands of AWS accounts. Note the TGW attachment and bandwidth charges.

An alternate way in your situation is to set up another VPN from AWS Account A to on-premises C. This could be cheaper than TGW, but it won't scale easily.

A bit of a hack solution is to put some kind of a proxy server in AWS account B, A can then call C via B. This is likely to only work for limited use cases though.

sairam avatar
mw flag
if i go with VPN tunnel from A account to C . it not required B account. Please suggest to procced
Tim avatar
gp flag
Tim
Your comment isn't very clear either. Please edit your question to clarify. It sounds like you're saying you don't need access to on-premises from AWS account B. In that case turn the VPN off and create a VPN in AWS account A.
sairam avatar
mw flag
simply i can say i have new aws account i don't want to create Site 2 site tunnel to on premsis already another AWS having site 2 site tunnel so can use that tunnel in new account to access on premsis server data.
Tim avatar
gp flag
Tim
Then Transit Gateway is likely the simplest solution for you. As I mention above, beware of the costs, but it's a useful tool. TGW is mostly used by enterprises where cost isn't the primary driver.
sairam avatar
mw flag
thanks much Tim.
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.