In AWS you need to first set up a VPG (Virtual Private Gateway). It will allow later VPN tunnels to be created. Then create a Customer Gateway, which is actually only YOUR Public IP that you will use to close the VPN with AWS. With VPG and Customer Gateway the VPN (on the AWS side) can be configured. The process is simple, just start Wizard’s to create a new VPN and Link the VPG, Customer gateway, which has been set up beforehand, and finally you must define to which private network your VPN will communicate to (this is the network you use in AWS). After AWS provisiones your VPN it will provide you with a configuration file with the data of the Ipsec connection that was created, you should select the most suitable configuration for your device (on your side). This file contains all the data to close the Ipsec VPN connection (pre-shared key, ikei, peer). After you close your VPN don’t forget to set up routing on your Route Tables so that traffic is routed between your AWS network and your local network.
This link has this procedure that descrivi in detail:
https://docs.aws.amazon.com/pt_br/AmazonVPC/latest/UserGuide/SetUpVPNConnections.html
Thank you very much, helped me a lot, just n dou upvote pq I can’t even kkk. I think your excellent explanation has greatly facilitated understanding of the process.
– TempAccount2