In your first year includes
750 hoursoft2.micro(ort3.microin the Regions in which t2.micro is unavailable) instance usage on free tier AMIs per month,30 GiBofEBS storage,2 millionIOs,1 GBofsnapshots100 GBofbandwidthto the internet
- Choose whichever that shows
Eligble for FREE TIERCreate a key pair name it and download as .ppk: Forputtylogin.pem: forSSH
There will be other instances like this
https://us-west-2.console.aws.amazon.com/ (This will be the Indian Server)
https://ap-south-1.console.aws.amazon.com/ec2/v2/home?region=ap-south-1- Right click on instance and choose CONNECT, That will contains the code for connecting the server
- to change the permission (If needed)
chmod 400 openvpn_serverkey.pem - to access it
ssh -i "vpn-aws-mumbai.pem" root@ec2-<IP>.ap-south-1.compute.amazonaws.com - After that, Agree the terms
- After sucess, the root will be changed
Initial Configuration Complete!
You can now continue configuring OpenVPN Access Server by
directing your Web browser to this URL:
https://<IP>:<PORT>/admin
Login as "openvpn" with the same password used to authenticate
to this UNIX host.
During normal operation, OpenVPN AS can be accessed via these URLs:
Admin UI: https://<IP>:<PORT>/admin
Client UI: https://<IP>:<PORT>/
See the Release Notes for this release at:
https://openvpn.net/vpn-server-resources/release-notes/
Please login as the user "openvpnas" rather than the user "root".
Connection to ec2-<IP>.ap-south-1.compute.amazonaws.com closed.- so run this instead after that
ssh -i "vpn-aws-mumbai.pem" openvpnas@ec2-<IP>.ap-south-1.compute.amazonaws.com to access it Change the password by
sudo passwd openvpn- Then login to Admin UI:
https://<IP>:<PORT>/adminwith ID as openvpn and changed password - Then go to configuration > VPN Settings > Routing >
- Should client Internet traffic be routed through the VPN? To YES
- Click Save
- Click Update running server on the top
https://<IP>:<PORT>
To download the software after LOGIN
Add new user by Going to USER MANAGERMENT > User Permissions, Allow new user, allow autologin, then set a new password (BY CLICKING EDIT BUTTON) THen Save and Restart the machine
Loads > .pem Generates >.ppk file
TO user login via PUTTY and not via SSH
Open PUTTY Host name is : the public IP
Login : root If Like we changed using openvpn the Changed vpn will be openvpnas