The Cost of Serverless

  Рет қаралды 11,697

Ben Awad

Ben Awad

6 жыл бұрын

In this video, I talk about the cost of serverless
links from video:
/ 1011871609039171587
haveibeenpwned.com/
www.digitalocean.com/pricing/
aws.amazon.com/ec2/pricing/on...
----
Join the Discord: / discord
----
Patreon: / benawad
----
Follow Me Online Here:
GitHub: github.com/benawad
LinkedIn: / benawad
Instagram: / benawad97
Twitter: / benawad
#benawad
TikTok: / benawad ​

----
Follow me online: voidpet.com/benawad
#benawad

Пікірлер: 33
@MarkDeibert
@MarkDeibert 6 жыл бұрын
I use and love Digital Ocean but I'm also super facinated by serverless setups. Please keep this video series going! As always, excellent channel Ben :-)
@Bidek56
@Bidek56 6 жыл бұрын
One thing that serverless offers is redundancy and up time. When comparing to a single server, you need to add backup/replication cost. Single server can go down, lambda function offers guarantee uptime.
@bawad
@bawad 6 жыл бұрын
good point
@LetterSignedBy51SpiesWasA-Coup
@LetterSignedBy51SpiesWasA-Coup 6 жыл бұрын
i like your approach of controling as much of your stack as possible and deploying in containers. serverless and SaaS gets very vendor-specific. also debugging is a much better experience when the stack is running on your machine. for instance with AWS, i recently came across a situation where only successful calls were logged in Cloudwatch and I had to guess to solve the problem because no errors were being returned in the response.
@bawad
@bawad 6 жыл бұрын
yeah, debugging in AWS can sometimes be a nightmare
@maarten1012TTT
@maarten1012TTT 4 жыл бұрын
Most of the time you can use localstack though
@lardosian
@lardosian 4 жыл бұрын
Have a new role where we will be building an API and a PWA for a startup, the startup has AWS credits so I've been doing research and think the serverless framework is a good way to go, along with api gateway, lamda functions, dynamodb, cognito and S3. Any advice would be great, thanks!
@dr.z7958
@dr.z7958 5 жыл бұрын
AWS, Azure, GCP are definitely not cheap. Especially for bandwidth (it's insanely expensive, in most cases you'll find +30% of your cost is from bandwidth). However, developing cloud-native app, gives an unlimited potential of designing your services, and then re-design them in very short time (in case you grew and noticed some solutions cannot keep up with such growth). The second thing, is aws, azure, gcp is being cheaper every year (due to strong competition).
@zakmorgan9320
@zakmorgan9320 4 жыл бұрын
Handling that many requests is fairly trivial, like others said the lowest droplet tier should accomplish it, I've handled similar requests for research projects handling real-time data from participants recently. In terms of how digital ocean can offer the bandwidth so cheap is a combination of two things that's typical for VPS providers. First is the average user on digital ocean probably uses very little traffic. The second is that if you actually use that full 1TB a month I guarantee you'll find your account gets terminated for breaking their terms of service. Usually if you actually used the full resources of a VPS it's considered a violation of their fair use policy.
@danielfarhat799
@danielfarhat799 2 жыл бұрын
Interesting. Is there a reference to the fair use policy you mentioned ?
@kifkev91
@kifkev91 6 жыл бұрын
For the question of what hardware you need, couldn't you just resolve that by writing a script that hits your webapp on your own machine as fast as possible. For example, if you built a blog , you write a script that creates 10.000 entries. If you measure the time, how long it takes to execute, you can calculate how many requests your app can handle per second with one cpu core. Then you can cluster your app for how many cpu cores your machine has, and measure how your machine handles that. I don't know if my thoughts are flawed here, but to me it seems quite easy
@bawad
@bawad 6 жыл бұрын
Yeah I was thinking of trying something like that
@thehumanchannel9004
@thehumanchannel9004 4 жыл бұрын
The question is does Digital Ocean provide Serverless or do they have any service that charges websites based only on what they use
@rtorcato
@rtorcato 6 жыл бұрын
What's he doing with the blob storage? maybe his images are stored in a database instead he could've put on s3. With that much traffic he is laughing at that small bill. i know companies spending more on servers with a fraction of that traffic.
@bawad
@bawad 6 жыл бұрын
Maybe he stored all the passwords in there 🤷
How to Roll Your Own Auth
13:05
Ben Awad
Рет қаралды 83 М.
4 Ways you can Level up as a Developer
9:08
Ben Awad
Рет қаралды 18 М.
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 56 МЛН
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 12 МЛН
Stop, Intel’s Already Dead!
13:47
Linus Tech Tips
Рет қаралды 415 М.
Where to Host a Fullstack Project on a Budget
21:44
Ben Awad
Рет қаралды 333 М.
80 Year Olds Share Advice for Younger Self
12:22
Sprouht
Рет қаралды 1,7 МЛН
Software Engineering "Best Practices"
6:02
Ben Awad
Рет қаралды 404 М.
Why I Stopped using Service Workers
11:44
Ben Awad
Рет қаралды 89 М.
98% Cloud Cost Saved By Writing Our Own Database
21:45
ThePrimeTime
Рет қаралды 341 М.
What Programming Font Should You Use?
4:12
Ben Awad
Рет қаралды 39 М.
One of the Greatest Speeches Ever | Steve Jobs
10:31
Motivation Ark
Рет қаралды 34 МЛН
Ba Travel Smart Phone Charger
0:42
Tech Official
Рет қаралды 1,2 МЛН
Что делать если в телефон попала вода?
0:17
Лена Тропоцел
Рет қаралды 3,5 МЛН
ноутбуки от 7.900 в тг laptopshoptop
0:14
Ноутбуковая лавка
Рет қаралды 3,6 МЛН
Yanlışlıkla Telefonumu Parçaladım!😱
0:18
Safak Novruz
Рет қаралды 2,1 МЛН