Skip to content

Optimize VPN Connection Pricing

0

Hello All,

Hope your are all doing well.

I need advices about the architecture below. Enter image description here

Site-to-Site VPN connection is needed between Office A and Headquarter and between Office B and Headquarter. Office A and Office B have firewalls installed. Since Office C does not have any firewall installed, VPN Clients will be used.

There are 3 differents Web applications (Srv-Appli-1, Srv-Appli-2, Srv-Appli-3) which will be installed across 2 AZ with a LoadBalancer and AutoScaling Group. The Web applications will be accessible by users on internet.

Administrators in office A, Office B and Office C will need access to instances (Srv-Appli-1A, Srv-Appli-1B, Srv-Appli-2A, Srv-Appli-2B, Srv-Appli-3A, Srv-Appli-3B) via SSH/RDP for administrative tasks. The instances (Srv-Appli-1A, Srv-Appli-1B, Srv-Appli-2A, Srv-Appli-2B, Srv-Appli-3A, Srv-Appli-3B) are on 6 different private subnets. So Administrators in office A, Office B and Office C will need access to the 6 subnets through VPN (Site-to-Site VPN and Client VPN).

I noticed that the estimate is very expensive, especially for VPN Client (see the steps below and the related prices).

Step 1 : Enter image description here

Step 2 : Enter image description here

Step 3 : Enter image description here

Step 4 : Enter image description here

Pricing : Enter image description here

Could you give me advices to optimize the pricing ?

Thanks.

2 Answers
1

Afraid I completely disagree with the AI reposts answer. The answer will not reduce your Client VPN costs.

Just ensure you are correct with your numbers. That you will have 100 concurrent active users on the VPN. TGW will not reduce this cost or will using private VPC Endpoints.

Not sure why it even added about NAT Gateways into the mix either.

Public IPs are not required for your VPN Calculations.

What I would do if your sure that you are going to have 100 concurrent users, is look at alternative solutions which utilise an EC2 as a Client VPN Gateway such as OpenVPN CloudConnexa or anyother market place offerings and compare those costs with AWS Client VPN. Each option has its pros and cons.

EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

  • Hello Gary, Thanks for your feedback. I agree with you about the number of concurrent users on VPN Client. I think this number could be reviewed and reduced. This will help to reduce the price.

    Thanks

-1

To optimize the pricing for your VPN setup, there are several strategies you can consider:

  1. Use AWS Transit Gateway: Instead of setting up individual Site-to-Site VPN connections for each office, you can use AWS Transit Gateway. This allows you to connect multiple VPCs and on-premises networks through a single gateway, potentially reducing the number of VPN connections needed and simplifying your network architecture.

  2. Implement Accelerated Site-to-Site VPN: If you're experiencing performance issues or need to optimize your VPN connections, consider using Accelerated Site-to-Site VPN. This uses AWS Global Accelerator to route traffic from your on-premises network to the closest AWS edge location, which can improve performance and reduce latency.

  3. Optimize Client VPN usage: The high cost you're seeing for Client VPN is likely due to the per-hour, per-connection charging model. To reduce costs:

    • Implement auto-disconnect for idle sessions
    • Use split-tunnel VPN configuration to route only necessary traffic through the VPN
    • Consider setting up a bastion host or jump server for administrative access instead of direct VPN access to all subnets
  4. Use VPC endpoints: For accessing AWS services from your VPC, use VPC endpoints where possible. This can reduce data transfer costs by keeping traffic within the AWS network instead of going over the internet.

  5. NAT Gateway optimization: Ensure your NAT gateways are in the same Availability Zones as the resources that use them most frequently. This can help reduce cross-AZ data transfer charges.

  6. Monitor and analyze usage: Use AWS Cost & Usage Report, VPC Flow Logs, and Amazon CloudWatch to monitor your data transfer and VPN usage. This can help you identify areas where you can optimize further.

  7. Consider Direct Connect for high-volume traffic: If you have consistent, high-volume traffic between your on-premises locations and AWS, AWS Direct Connect might be more cost-effective in the long run compared to VPN connections.

By implementing these optimizations, you should be able to significantly reduce your VPN-related costs while maintaining the necessary connectivity for your architecture.

Sources
AWS VPN | Pricing | Amazon Web Services (AWS)
AWS Accelerated Site-to-Site VPN – AWS Transit Gateway, Single AWS Region - Hybrid Connectivity
Getting started with hybrid connectivity using Site-to-Site VPN - Hybrid Networking Lens
COST08-BP02 Select components to optimize data transfer cost - AWS Well-Architected Framework
Cost optimization pillar - Hybrid Networking Lens

answered 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.