Deploying a PHP web app on AWS EC2 with Apache, MySQL, and SSL certificate

Опубликовано: 20 Февраль 2023
на канале: Unconventional Coding
15,072
211

If you find this video helpful, you can buy me a coffee here: https://buymeacoffee.com/unconv (I really need coffee)

In this video I will show you how you can deploy a PHP web application on an Amazon AWS EC2 instance. I will install Apache, PHP, MySQL and phpMyAdmin on the server. I will also register a custom domain from Amazon and set up a Let's Encrypt SSL certificate for it.

How I built the app:    • I trained a guessing game with the Op...  

00:00 Intro & App Demo
01:15 Creating EC2 Instance
03:15 SSH into EC2 with SSH key
05:09 Updating the system
05:43 Failing to install packages
07:02 Adding swapfile
07:58 How to brick your server by editing /etc/fstab wrong
09:52 How to make swapfile persistent with /etc/fstab
10:28 Installing packages
11:11 Switching Apache DocumentRoot
12:06 Setting up Elastic IP
14:00 Registering and setting up a domain
17:30 Transferring app files to EC2
19:54 Creating MySQL database
23:04 Testing the app
24:28 Installing an SSL Certificate (Let's Encrypt)
30:43 Where is phpMyAdmin??
32:42 Creating HTTP to HTTPS redirection
36:15 Changing to newly registered domain
40:51 Final words


Смотрите видео Deploying a PHP web app on AWS EC2 with Apache, MySQL, and SSL certificate онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Unconventional Coding 20 Февраль 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 15,072 раз и оно понравилось 211 людям.