Is there a way to disable a VPN connection instead of deleting it?

0

So im configurating a Site-to-Site VPN, to use it only as a Backup VPN. Thas is because i have an EC2 Instance serving as a Backup Server... My idea is to have the instance Stopped until i really need it. That instance is accesible by a VPN.

Is there a way to mantain de VPN configurated but in "stand-by" or "disable" status?

Im going to use it in case my production Server or VPN fail.

By consequence, the client just have to point to my Backup VPN. I dont want to create a new VPN in that moment, i just want to have it there...

Im being clear?

Best regards! Eze.

MNW
已提问 1 年前1502 查看次数
2 回答
2
已接受的回答

There is no way to disable the VPN so it can be enabled later on, instead you can disable the tunnels on the on-prem side so the on-prem side can forward traffic over the primary, and enable the tunnels later when needed, but you'll still be charged for the VPN connection which is about $36 per month.

Or you can have both VPNs (primary and backup) configured and both are active, and through BGP attributes you can have one act as a primary and one as secondary, for that you would need to use dynamic VPN instead of static.

profile pictureAWS
Matt_E
已回答 1 年前
profile picture
专家
已审核 1 年前
1

As per the other answer, you can't put a VPN connection into a disabled state.

Something I created a few years ago was a Lambda function that would create a VPN connection when specific conditions were met - for example, when a network link goes down. It might be useful here: https://github.com/Brettles/NetworkBreakGlass

profile pictureAWS
专家
已回答 1 年前
profile picture
专家
已审核 1 年前
  • Thats a nice alternative, thanks for the function, very usefull!

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则