Deploy Dockerized Laravel Application using AWS ECS + AWS CodeBuild
ฝัง
- เผยแพร่เมื่อ 21 ก.ค. 2024
- Deploy any Dockerized application using AWS RDS, ECR, ECS, Load Balancers, ECS Cluster, Task Definitions, Target Groups, Route53, AWS ACM, IAM, GitHub, etc …
Github Repository github.com/emad-zaamout/larav...
Chapters
0:00 Intrduction
1:03 Github Setup
1:50 Laravel Project Setup
5:19 Docker Walkthrough
7:41 Install AWS CLI
8:42 Laravel Deployment Prep
9:52 AWS RDS Create MySQL Database
14:52 Docker Base Images
18:23 AWS ECR Repository for Base Image
21:30 Create Build Trigger for AWS ECR using CodeBuild
25:05 AWS CodeBuild buildspec.yml
32:35 AWS CodeBuild IAM Policy
35:31 Prod Image
38:41 AWS ECS Cluster
39:24 AWS Task Definition
41:33 Running AWS Task Definition
46:02 AWS ECS Injecting .env Variables
49:36 What is AWS Load Balancer
50:06 What is AWS Target Group
50:22 Creating AWS Target Groups
51:09 Creating AWS Load Balancer
51:57 Configure AWS ECS to use Load Balancer
54:36 Purchase Domain using AWS Route53
55:13 Setting Domain with AWS Load Balancer
56:34 SSL Certificate using AWS Certificate Manager ACM
57:34 Enabling HTTPS
58:45 Redirect HTTP to HTTPs using AWS Load Balancer - วิทยาศาสตร์และเทคโนโลยี
Such an underrated tutorial! Thanks for the clear explanation 👍
You dont know how much gratitude I have for you, bro, how wonderful you made this for ppl like me!
Absolutly amazing video! Thanks a lot Emad
Mind blown, this is such a great tutorial. Great Work!
very straight to the point tutorial, thank you
Excellent
One of the best youtube tutorials!! Thanks
This is an insane amount of knowledge thank you very much! ❤
Thanks man a lot for this great series.
im glad you exist! Thankyoou
Thanks Emad Zaamount It was really nice and details video, thanks for creating such nice content.
Excellent video tutorial 👋, thanks you so much.
Really great video! Thank you. Can you also show us how to include Laravel Cron and Queue in this?
Master Class 👌
Thanks!🙂
Woow amazing Stuffs a big thanks
awesome, thanks for the tuto... 🔥
great vid
Emad, do you have any plan to make a tutorial about pipeline, Laravel docker, bitbucket and AWS or any other server?
that's helpful thank you
Amazing Thanks! Can you add the websocket, horizon and task scheduler things as well
Can please deploy a much heavier application using EC2 not Fargate cause most of the companies prepared EC2 instance server not serverless
Brilliant, thanks for great explanation.. wondering if there would be more changes required if we use Laravel Sail?
Gold.
I want to deploy my docker image behind ECS on a single ec2 machine.
as initially it won't have multiple ec2 machine, I wanted to skip load balancer to reduce cost, would you suggest what other way of connecting domain with SSL to ECS?
Very advance topic made easy to understand nice tutorial... would like to know Forge way of git implementation CAN IT BE DONE IN THIS DOKERIZATION
Hi, thanks for great video. Can you please integrate task schedular, websockets, queue to this structure in the next video?
Is there any video to setup aws for php +laravel+mysql in windows server
How to add node/npm?
Thanks so much for amazing tutorial, My task migrate database successfull, But I have a issue after created that I can't connect it with port 8080 with his public ip, btw I noticed that all traffic from anywhere is allowed where security group is linked with this task. where is the problem do you think , it's just loading on browser without any response?
I finally solved it by visit ip from Firefox instead safari, maybe cache or something like idk
Thank you for this great tutorial Emad. it really helped me understand how things work to make a running application on ECS. I noticed you had "cp .env[dot]prod .env" in both buildspec.yml and in the entrypoint[dot]sh. is it required? Can't wait for the CI/CD Pipeline for the auto deployments.