Posts

Showing posts from September, 2025

Multi-Tier-Website Using AWS EC2

Image
Description about the project : The company 'ABC' wants to move their product to AWS. They have the following things setup right now : MySQL DB Website PHP The company wants the high availability on this product, therefore wants Auto Scaling to be enabled on this website. Steps to solve : 1. Launch an EC2 instance 2. Enable Auto Sacling on these instances (minimum 2) 3. Create a RDS instance 4. Create Database & Table in RDS instances: (a) Database name :intel  (b) Table name : data (c) Database password : farro123 5. Change Hostname in website 6. Allow traffic from EC2 to RDS instance 7. Allow all traffic to EC2 instance  The whole Architecture of this project will be like this 👇 Step1:   launch a EC2 instance   (virtual machine)  with a key (.pem file)  security group with port 80 for HTTP , 22 for SSH , 3306 for MySQL enable  chose default VPC and Public Subnets   install Apache2 and PHP on it to host the website use #apt install ...