Download as pdf
Download as pdf
You are on page 1of 53
Final Project: AWS By Antara Prasad 1. Create VPC ( 10.0.0.0/16) 2, Two subnets - Public ( 10.0.1.0/24) and Private(10.0.2.0/24) 3. Launch 3 EC2 instances 2 for Web Server and 1 For DB server 4, Create Internet gateway ( attach to VPC) 5. Create route table *subnet associate with Public subnet * edit route 0.0.0.0/0 (igw) 6. Create NAT gateway ( subnet — public ) 7. Create route table *subnet associate with Private subnet * edit route 0.0.0.0/0 (ngw) 8. Create target group and register targets 9. Create load balancer ( Application load balancer) and create security group 10, Connect web server | and web server 2 after some time (801).png we will get Hello from from web server | 11. Create image from web server 1 ( 800.png) Then Launch templates After this ( 809.png), Create an autoscaling group then we see new instances automatically created (840.png) allocate an elastic IP address. (857.png) 12. Launch VPN Server (819.png) Connection shown (834.png) Then connect Db_server (835.png) https://youtu. be/bMY txsPolag?si=Mb4TecLVDgxUVxEK for installation of MySQL ( MariaDb server ) (839.png) installation completed and databases are created. 13. Set cloudWatch Create alarms ( For CPU>=60 (SCALE OUT ) and For CPU<=40(SCALE IN) *851.png 14, Now create a dynamic scaling policy in Autoscaling, Created (856.png) 15.Increase CPU Utilization by using command Yes> /devinull & top (we will see new instances will be created ). ‘ade name ane description ‘SShmammum dé nameand description Mynutoscale ‘Allocate Elastic adress w= Connect to instance = PCE ee) eee ec] Oeics Howe works| nee image if ‘creat launch template oe Configure group size and scaling policies - optional Create interes gateway Attach to VPC ign-Oc6abse552e508742) create route table Eel subnet associations celitroues Create NAT gateway = at-098470747419e6012 /ST-NAT create route table Eel subnet associations celitroues ae Specity group detais 56-0767852167<050995 - MynewsSecurtyroup . create VPC SSS | vpceea3901911516bce / vPC-ST-AWS — create subnet —

You might also like