How to Use your Amazon VPN with SSH Tunneling
Select Download Key Pair and store it somewhere safe.When prompted, select the drop-down menu and choose Create a new key pair.Under the dropdown menu for Type, select Custom UDP.Select Review and Launch at the bottom of the page.
Choose the free tier eligible t2.micro option (usually pre-selected).Select the first free tier eligible option: Amazon Linux AMI.From the EC2 dashboard, select Launch Instance.
Update all packages on your system using following commands.Login to Server as root user using pem file generated during instance creation.On your instance management page, under the Networking tab, choose Create static IP, then follow the instructions on the page.