Posts

Showing posts with the label Linux website

AWS Service - Elastic Compute Cloud(EC2)

Image
EC2: Create EC2 instance( Windows & Linux): create EC2: search ec2 service -> launch instance -> choose amazon linux (freetier) -> choose t2 micro -> leave the configure instance default -> leave the default storage option -> tags give name like (Name Linux-server) -> create new security group and add the ports (ssh/http/all-icmp) -> create a new key pair for the login password Linux Machine:  To connect the EC2 - we need either putty or MobaXterm open MobaXterm - > session -> ssh -> public ip -> username = ec2-user -> advanced settings (use private key and choose the key we downloaded)  Windows machine:  login using username = Administrator (use get password feature in instance connect to upload your .pem key and generate the password) search rdp and give public ip and user name "Administrator" and give the generated password Linux website:  – Create a website in Linux server : yum install httpd ( host a website) cd /var/ww