Skip to content

AWS contains Lambda functions and Ec2 instance and s3 storage buckets with which you can start your cloud hosting for websites and webapps and get your skills updated.

License

Notifications You must be signed in to change notification settings

katmakhan/aws-course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Free Tier- AWS CLOUD

In your first year includes

  • 750 hours of t2.micro (or t3.micro in the Regions in which t2.micro is unavailable) instance usage on free tier AMIs per month,
  • 30 GiB of EBS storage,
  • 2 million IOs,
  • 1 GB of snapshots
  • 100 GB of bandwidth to the internet

Steps to Install open VPN in AWS

  • Choose whichever that shows Eligble for FREE TIER Create a key pair name it and download as
  • .ppk : For putty login
  • .pem : for SSH

Created instance will be like

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

Connecting VM Instances:

  • 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>/admin with 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


PUTY GENERATOR

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

Connection >SSH>Auth > Upload the .ppk file

About

AWS contains Lambda functions and Ec2 instance and s3 storage buckets with which you can start your cloud hosting for websites and webapps and get your skills updated.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published