Hi everyone, I’m looking for a VPN solution for our infrastructure. We have multiple AWS accounts (5) and resources in every are pretty much the same, utilizing a lot of AWS services, and one of those is also RDS. I want to have secure access to our database without me whitelisting dev’s IP address etc. We will be also aiming for security certificates like SOC2, so I was looking at some options. I can see OpenVPN is popular, but not sure if that is the case for me too. So we have multi-AWS accounts, all of them have their own VPC but they are all in the same region so far (there is a plan to have one in a different region). How would I set this up?
Wireguard is very easy to setup. You could use transit gateway or vpc peering to route traffic from where wireguard is hosted. There is plenty of documentation online.
Aws have their own VPN endpoint solution and a client. Supports SAML Auth so can integrate with your IDP and RBAC access to different subnets. Transit gateway for hub and spoke all VPCs from multiple accounts into one account where the VPN endpoint is. Used for many years in our org with 100+ users. Works well, simple stable and 0 maintenance.
Tailscale is awesome
Tailscale is easy to set up and secure. It uses your existing Identity Provider (Google Workspace, Microsoft 365, etc) for auth.
Tailscale’s Subnet Router solution gives devs secure access to RDS DBs on private subnets.
It is not really a VPN
Twingate is a great tool for that.
Twingate takes less than 10 minutes to set up and is rock solid. I’ve been using it for 2 years. It’s also super easy to manage entirely in terraform, and integrate with SSO and SCIM provisioning
Yes it is
Second. We use it.
I use it for the use cases OP describes. As the Tailscale website explains “Deploy a WireGuard®-based VPN that eliminates single points of failure.”.
AWS client vpn, Tailscale, firezone, and pritunal are all reasonable options. Teleport for similar access but different functionality.
And has terraform modules and device policies. Great tool.
Have you looked at setting up transit gateway to connect all the accounts?
This looks and sounds awesome since we already use terraform and this would make my life so much easier. Thank you, I’ll check it out today
Just out of curiosity, how come that no one didn’t recommend openvpn? I thought they were big in the VPN Market
OpenZiti is another option. Like Twingate it’s a zero trust overlay rather than a VPN, i.e., its focused on connecting services with a deny by default posture rather than connections hosts/machines with open by default. OpenZiti, as you may guess from the name, is open source - https://github.com/openziti.
Some folks recommended AWS Client VPN which uses the Open VPN protocol. I.e. you can use the open VPN client with the AWS endpoint.
Main difference - aws client works with AWS SSO, but problem with AWS Solution it has bad support for Linux clients
Potentially big problem with the AWS Client VPN is that the Linux support is only technically there, but it’s not maintained anymore. They don’t support anything other than Ubuntu and still haven’t added support for anything newer than 20.04 that is EoL in about 1 year (and the current build doesn’t work on 22.04 or other newer distros due to dependencies). Asked support about it and apparently there’s no plan on maintaining this unless enough customers complain.