ssh -i "Ubuntu_Server.pem" ubuntu@ec2-34-230-81-160.compute-1.amazonaws.com
ssh -i "Amazon_Server.pem" ec2-user@ec2-18-234-143-186.compute-1.amazonaws.com
7.I’ve created web page with the text “Hello World” and additional information about OS version, free disk space, free/used memory in the system and about all running processes
8.And I’ve checked through my browser http://18.234.143.186
5. I’ve created Routing table for Public subnets by giving destination IP address 0.0.0.0/0 to my_network_IGW
10.After that I’ve Created NAT Gateway for which gives cloud resources without public IP addresses access to the internet without exposing those resources to incoming internet connections. And assigned Elastic IP. Also separated route tables and associated them with Private Subnets.
12.From Create Auto Scaling Group created a new lunch configuration for Bastion so instances can communicate each other
13.After that i've terminated and Created two instances with VPC which I've created my_network_vpc and checked ping and ssh connection
14.I wrote BASH script for installing web server (nginx/apache) and creating web pages with text “Hello World”, and information about OS version link
15.To Run step.6 without “manual” EC2 SSH connection I've cused Cloud Front and created yaml file to Automate tasks link
16.I've created S3 bucket uvays-cloudfront-bucket and uploaded scrrenshots of my Tasks so in order to make it public I wrote policy JSON
{ "Version": "2012-10-17", "Statement": [ { "Sid": "PublicReadGetObject", "Effect": "Allow", "Principal": "*", "Action": "s3:GetObject", "Resource": "arn:aws:s3:::uvays-cloudfront-bucket/*" } ] }