Deploy Laravel applications fast and cheap

  Рет қаралды 22,688

Andrew Schmelyun

Andrew Schmelyun

Күн бұрын

In this 9 minute video, I'll show you five different cheap and fast methods for deploying Laravel applications. These range from basic shared hosting and VMs up to serverless platforms like Lambda and Vapor. Most have a free tier or start out at $5 per month or less!
Note: I have not been paid or asked to promote any of these services, these are simply ways I've personally deployed Laravel applications with and genuinely enjoy using.
Interested in learning how to build real-world practical apps with Laravel and PHP? Preorder my latest course at selfmadesaas.com for 25% off until launch!
- 0:00 Intro
- 0:20 Shared Hosting
- 2:59 DigitalOcean VMs
- 3:58 AWS Lambda and Bref
- 5:33 Laravel Vapor
- 7:16 Fly.io
- 8:34 Wrapping Up
Send me new video ideas and vote on what's coming next: suggest.gg/aschmelyun
Follow me on Twitter! / aschmelyun
Join my newsletter, where I send out new information about twice each month in the PHP, JavaScript, and Docker realms: aschmelyun.substack.com

Пікірлер: 32
@RafaelSorto
@RafaelSorto Жыл бұрын
It's so awesome that you included the OG of all deployments with cPanel shared hosting!
@aschmelyun
@aschmelyun Жыл бұрын
Of course, had to give a shout out to what started my entire career lol
@coolcha
@coolcha Жыл бұрын
Thank you, there are so few videos about deployment out there. This really helps.
@orapelengmathebula1406
@orapelengmathebula1406 8 ай бұрын
Thank you sir for including options
@loicmakassoeti3209
@loicmakassoeti3209 Жыл бұрын
Great video. Thank you Andrew.
@findsoumik
@findsoumik Жыл бұрын
Great video. Thank you.
@neon-gi5tb
@neon-gi5tb 10 ай бұрын
Very informative video. One question, how much does adding React with inertia to the mix changes things?
@MrJfergs
@MrJfergs 2 ай бұрын
Thanks for this video it is very comprehensive.
@aschmelyun
@aschmelyun 2 ай бұрын
I'm glad you liked it!
@RRRRRRP
@RRRRRRP Жыл бұрын
Currently I'm using Digital Ocean droplets and a server management and devops service called Ploi. Not the cheapest option since you end up paying for two things, but I have found it to be convenient especially for Laravel/Statamic, and since I'm not the most knowledgeable when it comes to configuring and managing servers 😅
@aschmelyun
@aschmelyun Жыл бұрын
I've seen a bunch of people mention Ploi after this video came out, I'll definitely have to give it a shot!
@adityakadam2256
@adityakadam2256 Жыл бұрын
Thanks for such a great video. I would like to add one free option (good for prototyping or MVPs) Render. The only downside with Render is that you need to deploy it as a docker container but they do have a Laravel template which needs few modifications.
@aschmelyun
@aschmelyun Жыл бұрын
Oooh, I've never heard of Render. I'll have to check it out!
@fyqq3988
@fyqq3988 11 ай бұрын
Which are you recommend. Pick one
@DanteMishima
@DanteMishima 28 күн бұрын
And the link for cpanel instructions is missing
@ammarkhn6920
@ammarkhn6920 Жыл бұрын
Sir, I have used the laravel vapor method. But after successful deployment, there is '500 | SERVER ERROR' in the link.
@rubelrana304
@rubelrana304 28 күн бұрын
did you solve it? Maybe, you should work on little in env file
@ErmandDurro
@ErmandDurro Жыл бұрын
Nice content. Thank you Andrew. But I wonder why you didn't include Forge. Is there any particular reason? Wondering since it has been one of the first SasS for deploying Laravel and it come from Laravel team itself 😃 I have been using it for over 7 years now and really happy with it
@aschmelyun
@aschmelyun Жыл бұрын
Because I put in Vapor and was already using DigitalOcean I just decided to leave out Forge. But I also love the product as well, and use it myself!
@Dommmin
@Dommmin 10 ай бұрын
Can you add course how to configure CI/CD pipelines Gitlab / Azure with docker (Vue, Laravel and Traefik)?
@aschmelyun
@aschmelyun 10 ай бұрын
Sure! Is there anything in particular you'd want to learn?
@Dommmin
@Dommmin 10 ай бұрын
@@aschmelyun I already know how to set up Dockerfile and docker-compose but don't know how to integrate it with Gitlab and always run tests and deploy to public server.
@aschmelyun
@aschmelyun 10 ай бұрын
@@Dommmin Ahh, okay. If you haven't purchased it already, I have my course on laraveldocker.com that is going to have a massive update soon that'll cover CI/CD stuff. I'm also planning a couple videos in the next few months to cover some of those topics more in depth too!
@Dommmin
@Dommmin 10 ай бұрын
@@aschmelyun thanks! I didn't know about it.
@fabiomangolini
@fabiomangolini Жыл бұрын
I personally use Laravel Forge.
@aschmelyun
@aschmelyun Жыл бұрын
Laravel Forge is definitely one of the best options.
@kellyweb
@kellyweb Жыл бұрын
I'm fond of cloud ways. It will spoil you with their deploy feature.
@adisonmasih
@adisonmasih Жыл бұрын
I don't understand why in the first method, why won't you just place all of the code in the public_html folder itself!
@abdelwahabs.301
@abdelwahabs.301 Жыл бұрын
For security, you don't want to make your env file and other sensitive data available for every one. If you put all in public_html you expose all those data to public...
@adisonmasih
@adisonmasih Жыл бұрын
@@abdelwahabs.301 well then i'll just modify the permissions of the .env file wouldn't i?
@abdelwahabs.301
@abdelwahabs.301 Жыл бұрын
@@adisonmasih try it and let us know ! The problem is : public_html is accessible for everyone so they can list your files. So you need to put only public folders/files at this level and avoid all the headache. It is a best practice. Also, i think that shared hosting is not the best solution for deploying apps, so put some extra money and effort and live in peace. (Exp: digital ocean start with 5$ and you're good to go with full control on your server...)
@sarmadsaqlain740
@sarmadsaqlain740 Жыл бұрын
Hi Andrew, many of th times I run into problem of lower base PHP of server vs higher required by my app in shared hosting so I won't be able to run any artisan command there. What can be a solution to this in the shared hosting?
You don't need a frontend framework
15:45
Andrew Schmelyun
Рет қаралды 112 М.
Этот Пёс Кое-Что Наделал 😳
00:31
Глеб Рандалайнен
Рет қаралды 6 МЛН
Does size matter? BEACH EDITION
00:32
Mini Katana
Рет қаралды 19 МЛН
One moment can change your life ✨🔄
00:32
A4
Рет қаралды 25 МЛН
The Ease of Deployment Tier List for Laravel Developers
21:14
Josh Cirre
Рет қаралды 2,8 М.
Deploying Our Code With Deployer 7 0
8:50
php[architect]
Рет қаралды 2,9 М.
The Blazor Competitor is Here!
15:08
Nick Chapsas
Рет қаралды 66 М.
5 tips for supercharged Laravel Eloquent queries
16:29
Andrew Schmelyun
Рет қаралды 67 М.
When RESTful architecture isn't enough...
21:02
Dreams of Code
Рет қаралды 249 М.
Write Laravel, not PHP (feat. Aaron Francis) | 029
58:45
Backend Banter
Рет қаралды 12 М.
Deploy Dockerized Laravel Application using AWS ECS + AWS CodeBuild
1:00:10
How YOU Deploy Laravel Projects? Survey Results.
13:38
Laravel Daily
Рет қаралды 30 М.
From React To HTMX
40:01
ThePrimeTime
Рет қаралды 311 М.
ПЛЮСЫ и МИНУСЫ 1 и 2 смены в школе 🔥
0:39
Никита Удановский
Рет қаралды 3,5 МЛН
Таким раствором работать одно удовольствие
1:00
Профессия созидатели
Рет қаралды 954 М.
НЕ ДАМ ЕЁ В ОБИДУ😡 #shorts
0:24
Паша Осадчий
Рет қаралды 1,6 МЛН
Down Spout Catch Basin Installation to French Drain
0:58
Komar Project
Рет қаралды 6 МЛН
BIP HOUSE  .бип хаус 🥰🏡  #shorts
0:13
bip_house
Рет қаралды 1,2 МЛН
Лайфхак: Легально делать деньги
0:43
ЛАЙФХАК НА КУХНЕ ! 🧐🤦🏻‍♂️ #shorts #лайфхак
0:15
Крус Костилио
Рет қаралды 109 М.