How to Create Web Server Instance on AWS EC2 - 2024

preview_player
Показать описание
In this video, we will launch or create web server instance on aws ec2 service. we also installed web application for load test our web server.

Code used :
===============================================
#!/bin/sh

#Install a LAMP stack
dnf install -y httpd wget php-fpm php-mysqli php-json php php-devel
dnf install -y mariadb105-server
dnf install -y httpd php-mbstring

#Start the web server
chkconfig httpd on
systemctl start httpd

#Install the web pages for our lab
cd /var/www/html
fi

#Install the AWS SDK for PHP
cd /var/www/html
mkdir vendor
cd vendor
fi

# Update existing packages
dnf update -y

============================================
Рекомендации по теме
Комментарии
Автор

hello thanks for videooo its helpfull.
now i need tutorial how to connect my domain to my EC2 instance with SSL active

jerukarabi