- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Laravel Tutorial - Deploy any Laravel App in AWS
For the full list of commands/files, visit https://www.ahtcloud.com/deploy-any-laravel-app-in-aws-amazon-web-services
Deploying Laravel Web Application,
Using AWS EC2 + RDS (Ubuntu, MySQL RDS)
Deploying Laravel applications the correct way in 10 Steps using AWS.
In this tutorial we will cover
1. Domain Registration,
2. Elastic IP Address,
3. Security Groups,
4. Launching RDS instance (For MySQL DB),
5. Launching EC2 Linux Ubuntu Instance,
6. Requirements Gathering & Preparations
7. Importing Laravel Project & Setting up folder permissions
8. Installing & configuring Apache2, Installing Composer & Dependencies
9. SSL Certification using Certbot
10. [Optional] CloudWatch & Automated Notifications
#=======================================================#
Code
ssh to instance using .pem file
ssh -i [pem file] [user]@[ip address]
connect to mysql, show database and create database
mysql -h production-database.c0wmvggcg6ht.us-east-2.rds.amazonaws.com -P 3306 -u admin -p
SHOW DATABASES;
CREATE DATABASE [db-name];
git configure remote & force push
git init
git config --global user.email "support@ahtcloud.com"
git config --global user.name "Emad Zaamout"
git remote add origin {bitbucket-repositry-url}
git push -u -f origin master
git pull repository
git pull {bitbucket repository}
==== SERVER SET UP ====
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install apache2
sudo apt-get install software-properties-commo
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt-get install php7.4
sudo apt install php-curl php-cli php-mbstring git unzip php7.4-mysql php7.4-dom php7.4-xml php7.4-xmlwriter phpunit php-mbstring php-xml
sudo apt install python3-certbot-apache
==== Composer ====
vist the composer website for Command-line installation
https://getcomposer.org/download/
sudo mv composer.phar /usr/local/bin/
[OR] alias composer='/usr/local/bin/composer.phar'
==== laravel set up ====
php artisan migrate
php artisan key:generate
==== Laravel Permissions ====
sudo chown -R www-data storage
sudo chown -R www-data storage/framework
sudo chmod g+w -R storage
sudo chmod g+w -R storage/framework
sudo chmod g+w -R storage/framework/sessions/
sudo chmod g+w -R storage/logs/
wanna help support my channel ? buy me a coffee ☕️ https://www.buymeacoffee.com/emad.zaamout
Follow us
Github - https://github.com/emad-zaamout
Chapters
0:00 Introduction
0:08 Step 0 Create AWS Account
0:27 Step 1 Domain Registeration - Route53
1:36 Step 2 Elastic IP Address
3:28 Step 3 Security Groups
6:13 Step 4 Creating RDS Instance - MySQL Server
10:06 Step 5 Creating EC2 Instance
13:30 Step 6 Requirements Gathering & Exporting Local Laravel Project
18:43 Step 7 Configuring Server & Importing Laravel
30:32 Step 8 Configuring Apache2
38:32 Step 9 Installing SSL Certificate (Enable HTTPS) Certbot
40:39 Bonus - EC2 & RDS Monitoring Alerts - CloudWatch
Видео Laravel Tutorial - Deploy any Laravel App in AWS канала Emad Zaamout
Deploying Laravel Web Application,
Using AWS EC2 + RDS (Ubuntu, MySQL RDS)
Deploying Laravel applications the correct way in 10 Steps using AWS.
In this tutorial we will cover
1. Domain Registration,
2. Elastic IP Address,
3. Security Groups,
4. Launching RDS instance (For MySQL DB),
5. Launching EC2 Linux Ubuntu Instance,
6. Requirements Gathering & Preparations
7. Importing Laravel Project & Setting up folder permissions
8. Installing & configuring Apache2, Installing Composer & Dependencies
9. SSL Certification using Certbot
10. [Optional] CloudWatch & Automated Notifications
#=======================================================#
Code
ssh to instance using .pem file
ssh -i [pem file] [user]@[ip address]
connect to mysql, show database and create database
mysql -h production-database.c0wmvggcg6ht.us-east-2.rds.amazonaws.com -P 3306 -u admin -p
SHOW DATABASES;
CREATE DATABASE [db-name];
git configure remote & force push
git init
git config --global user.email "support@ahtcloud.com"
git config --global user.name "Emad Zaamout"
git remote add origin {bitbucket-repositry-url}
git push -u -f origin master
git pull repository
git pull {bitbucket repository}
==== SERVER SET UP ====
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install apache2
sudo apt-get install software-properties-commo
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt-get install php7.4
sudo apt install php-curl php-cli php-mbstring git unzip php7.4-mysql php7.4-dom php7.4-xml php7.4-xmlwriter phpunit php-mbstring php-xml
sudo apt install python3-certbot-apache
==== Composer ====
vist the composer website for Command-line installation
https://getcomposer.org/download/
sudo mv composer.phar /usr/local/bin/
[OR] alias composer='/usr/local/bin/composer.phar'
==== laravel set up ====
php artisan migrate
php artisan key:generate
==== Laravel Permissions ====
sudo chown -R www-data storage
sudo chown -R www-data storage/framework
sudo chmod g+w -R storage
sudo chmod g+w -R storage/framework
sudo chmod g+w -R storage/framework/sessions/
sudo chmod g+w -R storage/logs/
wanna help support my channel ? buy me a coffee ☕️ https://www.buymeacoffee.com/emad.zaamout
Follow us
Github - https://github.com/emad-zaamout
Chapters
0:00 Introduction
0:08 Step 0 Create AWS Account
0:27 Step 1 Domain Registeration - Route53
1:36 Step 2 Elastic IP Address
3:28 Step 3 Security Groups
6:13 Step 4 Creating RDS Instance - MySQL Server
10:06 Step 5 Creating EC2 Instance
13:30 Step 6 Requirements Gathering & Exporting Local Laravel Project
18:43 Step 7 Configuring Server & Importing Laravel
30:32 Step 8 Configuring Apache2
38:32 Step 9 Installing SSL Certificate (Enable HTTPS) Certbot
40:39 Bonus - EC2 & RDS Monitoring Alerts - CloudWatch
Видео Laravel Tutorial - Deploy any Laravel App in AWS канала Emad Zaamout
Комментарии отсутствуют
Информация о видео
19 апреля 2021 г. 15:51:36
00:44:40
Другие видео канала




















