Тёмный

Mastering Laravel & AWS S3 🚀 

LaravelOnline
Подписаться 2 тыс.
Просмотров 6 тыс.
50% 1

AWS can seem confusing and intimidating, but it doesn't have to be. Let's take a shallow dive, a wade through the Amazon and hook up our Laravel application to AWS S3.
----------------------------------------------------
⏱️ HIRE ME ⏱️
Whether you just need someone to consult you on a project or a full stack developer, drop me a message and let's start that conversation!
shane@laravelonline.com
----------------------------------------------------
👋 SOCIAL MEDIA 👋
𝕏 - x.com/LaravelOnline
🎮 DISCORD - / discord
📲 TikTok - / laravelonlineus
🚀 Facebook - / laravelonline
📹 INSTAGRAM - / laravelonline
----------------------------------------------------
🔗 Links 🔗
LARAVEL - laravel.com/
LIVEWIRE - livewire.laravel.com
TAILWINDCSS - tailwindcss.com/
TAILWINDUI - tailwindui.com/
NATIVEPHP - nativephp.com
PHPSTORM - www.jetbrains.com/phpstorm/
PEST - pestphp.com/
LARAVEL JETSTREAM - jetstream.laravel.com/introdu...
----------------------------------------------------
⏱️ CHAPTERS ⏱️
0:00 - Intro
0:58 - Quick question
2:44 - IAM/User groups and users
8:15 - Create and configure an S3 bucket
15:20 - Configure the ACL on the bucket
19:51 - Configure your Laravel application
20:55 - Custom storage disks
23:20 - Testing it all out
25:22 - Replicating bucket settings
26:30 - So you wanna be a rock super star, live large, big house five cars you're in charge?

Хобби

Опубликовано:

 

6 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 35   
@LaravelOnline
@LaravelOnline 10 месяцев назад
Stick around till the end for a special treat 🎉
@rahim-uddin-jsr
@rahim-uddin-jsr День назад
Thank you so much for this incredibly helpful video! AWS can indeed be daunting, but you broke it down into such simple and understandable steps. Connecting my Laravel application to S3 felt seamless thanks to your guidance. Your clear explanations and practical examples made a world of difference. Keep up the fantastic work-your content is making a real impact!
@LaravelOnline
@LaravelOnline 22 часа назад
🥰 thank you for such a beautiful compliment!
@kristian9107
@kristian9107 3 месяца назад
As well as a great programmer you are also a wonderful narrator!
@LaravelOnline
@LaravelOnline 3 месяца назад
Aww, thank you so much!
@MrJeffrey56
@MrJeffrey56 10 месяцев назад
Great watching this area of coding get a fresh perspective. Nice job!
@DailyTechShot
@DailyTechShot 10 месяцев назад
I'm using AWS for storing images.. however there is a small intended fuck up in AWS. If you use the storage facade, and check if a given image exists on AWS using the exists() method, you will get a 403 response by default instead of a 404, which will result in an exception.
@LaravelOnline
@LaravelOnline 10 месяцев назад
Interesting, I’m going to look into this!
@Svenson99
@Svenson99 5 месяцев назад
Great tutorial, managed to set everything up! Would you say this approach is fine for a public Laravel website that gets accessed a couple hundred times a day, or do you reckon it is not safe to store it this publicly or costs may get out of hand? Just wondering, first time using anything AWS :) Edit: it will host many images and several audio files, since there will be quite a lot of articles
@LaravelOnline
@LaravelOnline 5 месяцев назад
That depends on what you’re storing and what you’re serving those couple hundred visits. If they’re each downloading GBs of days that is different than just serving a few MB of images. AWS doesn’t charge for each download they charge based on the amount of data you are serving. Typically this is how I setup a site for a couple hundred daily visitors.
@EdmundCiegoBelize
@EdmundCiegoBelize 2 дня назад
so if we have an existing appliation with files stored locally, how do we get them to s3 so that they can be served from s3? i already changed my storage filesystem already.
@LaravelOnline
@LaravelOnline 2 дня назад
Well you would have to move those files up and store the urls, every app is different it depends on your use.
@ericmp1199
@ericmp1199 5 месяцев назад
u got any video to know explaining how much is going to cost me to use the aws s3? couldnt find it. anyways, in this case is a small project which i guess will store like between 5-10BG of imgs & mp3 files and will receive less than 1000 requests per day to retrieve those s3 objects 🤔 what do u think?
@LaravelOnline
@LaravelOnline 5 месяцев назад
I don’t have a video on calculating costs for AWS, there are calculators if you Google it though
@ShuakiDCoder
@ShuakiDCoder 10 месяцев назад
nice video
@LaravelOnline
@LaravelOnline 10 месяцев назад
Thank you so much. They can take quite a bit of energy to get out to RU-vid, I appreciate the compliment!
@ericmp1199
@ericmp1199 5 месяцев назад
thanks for the video! just one question, why dont u use warp!!!? (:
@LaravelOnline
@LaravelOnline 5 месяцев назад
😂 I do sometimes. I had it on another machine just haven’t installed it back here yet. I’ll do it though 😁
@ericmp1199
@ericmp1199 5 месяцев назад
@@LaravelOnline its fine. im waiting for it to be released on linux & windows ^^
@Glory_Alphonsus
@Glory_Alphonsus 3 месяца назад
I’m using aws s3 bucket to upload files, but when I try to download the uploaded files it downloads an empty file with the wrong doctype .
@Glory_Alphonsus
@Glory_Alphonsus 3 месяца назад
What do I do?
@LaravelOnline
@LaravelOnline 3 месяца назад
I’ve not seen this happen before. I’m assuming you’re using Laravel and using Storage::put()?
@Glory_Alphonsus
@Glory_Alphonsus 3 месяца назад
@@LaravelOnline I’m using this: Storage::disk('s3')->put().
@LaravelOnline
@LaravelOnline 3 месяца назад
@@Glory_Alphonsus this is right. Can you view the file in AWS? You should be able to verify it’s doc type and even download/view the file from the console.
@Glory_Alphonsus
@Glory_Alphonsus 3 месяца назад
@@LaravelOnline yes. I can view the file on the s3 bucket. However I can’t download the exact file type and size.
@user-df5ls6hg1c
@user-df5ls6hg1c 10 месяцев назад
yo wait I actually do need to learn AWS…
@LaravelOnline
@LaravelOnline 10 месяцев назад
Tada!! Don’t forget to subscribe!
@mori181186
@mori181186 4 месяца назад
This is why i dont use aws. Its to much. I use the storageboxes from hetzer. Or you can use Storage Volumes on Hetzner,too. On your server you can mount the /storage/app folder, in the storagebox. Only 1line: "ln -s /mnt/storagebox /laravel/storage/app". Now you will 1TB, 5TB or 25TB full mountet with your laravel application. Soo easy. I watched your video, because i dont understand aws. Yes your video show all things, but this not for a human. And here is a other important thing: In laravel you can use private files or public files, you can use policies or gates. Why i must seeting up the S3 for the permissions... I dont understand why people use this. But thanks for your video. You show me that i will never use aws :)
@LaravelOnline
@LaravelOnline 4 месяца назад
There’s a reason most of the largest companies on earth use AWS. If your app doesn’t need to scale keep doing what you’re doing.
@mori181186
@mori181186 4 месяца назад
@@LaravelOnline Yes, you can also scale up with storage volumes on hetzner. Laravel Forge support Hetzner,too :)
@LaravelOnline
@LaravelOnline 4 месяца назад
Right but let’s say you have a 400mb video that you want people to be able to stream in California, but your server is in Australia. How will you ensure people in California have good streaming speeds, how much will it cost you? AWS allows you this type of granularity and predictability, this is a VERY small example.
@LaravelOnline
@LaravelOnline 4 месяца назад
What if your server is load balanced over 3 servers but you exceed 80% CPU for 2 minutes, how would handle that? Can it be automated? AWS can handle this situation, again, a small example.
@mori181186
@mori181186 4 месяца назад
@lOnline I know what you mean, and yes for your example, aws is the right way. But in 90% not. I know many people they switched to hetzner, because its so clean admin panel. The Storage Volumes and Storageboxes are very powerfull. The most power you will get, if you make full mounting, with EXT4, XFS, WebDav or SSHFS. And Hetzner also support Load Balancer with Forge :)
Далее
Midjourney Parameters Tutorial
26:46
Просмотров 1,2 тыс.
GO without SERVERS? How to Deploy Go to Lambda
15:47
Просмотров 16 тыс.
Yeni Özbək Mahnisi Yoxsa Vefali Reqsi? 😍
00:36
Просмотров 1,3 млн
The Most Impressive Basketball Moments!
00:36
Просмотров 10 млн
Mastering S3 Storage with Laravel: The Complete Guide
12:37
All you need to know about encrypting AWS S3 buckets
14:41
File Upload in Laravel: Main Things You Need To Know
13:58
Laravel Livewire Filament Behind The Scenes
47:14
Просмотров 3,6 тыс.
Laravel Docker Course | Complete Laravel Dockerization
43:31
What is Filament 3 Filapanel?
9:03
Просмотров 5 тыс.
AWS SQS vs SNS vs EventBridge - When to Use What?
22:37
LAVOU TÁ NOVA!
0:11
Просмотров 46 млн
ПОДВОДКА ДЛЯ 6 ЛЕТ💅💄
0:20
Просмотров 1,5 млн