A common model today is for on-premises networks to establish a Site-to-Site VPN connection with AWS Transit Gateway, acting as a central router connecting multiple VPCs.

In this model, an EC2 instance with the VPN software strongSwan is deployed in a VPC to simulate the customer’s internal network. This EC2 instance acts as the Customer Gateway in the Site-to-Site VPN connection with the AWS Transit Gateway on the AWS side.
StrongSwan is open-source software that supports VPN using the IPsec protocol. It is commonly used to establish secure VPN connections between two networks. In this model, strongSwan runs on EC2 and is responsible for encrypting and decrypting data between the internal network and AWS, ensuring the safety of the data flow.
The Transit Gateway acts as a central router, connecting multiple VPCs and on-premises networks through a single VPN connection. Instead of having to set up a VPN for each VPC, only one connection from the internal network to the Transit Gateway is needed, and the system will automatically route traffic to the corresponding VPCs, simplifying management and scaling.