Hello,
how can I use AWS Client VPN? I found AWS VPC Endpoint and AWS EC2 Client VPN Endpoint. Which one should I use if I want to create an Infrastructure where I will get access to a private Subnet in a VPC due a Client VPN Endpoint? Do anyone have a little code example for me or a hint? I would be thankful for any advice.
Friendly regards,
Sam
1 Like
@donsamiro @jimbol I am surprised that no one responded, so I will…
What’s involved with this:
- Given VPC infrastructure (subnets, routing groups, network acl, gateway, sg, etc)
- Choose Authorization Method: Active Directory, SAML, or TLS client auth
- Optionally create cloud watch log group and stream for access logs
- Connect to VPC-ID (terrraform only supports subnets it seems†)
† I don’t know if this is a difference between the REST API terraform uses or terraform, but the CLI and the Console UI, you can add a VPC ID + SGs to the client vpn endpoint, but in terraform, you can attach a subnet AFTER you create the endpoint.
I found this excellent guide online that was very helpful.