AWS Lambda vs EC2: What to choose for your company and why?

preview_player
Показать описание

Follow me on other platforms to stay connected:

Рекомендации по теме
Комментарии
Автор

A REAL A+++ CONTENT.

This is one of the best videos on YouTube explaining the tradeoffs of using serverless vs dedicated servers. Something that can be of a great value for both technical and non-technical individuals when needed.

This is the type of content that helps developers (especially the beginner ones) to advance their career, by providing a deeper understanding of crucial details that will ultimately assist them in making important and critical technical decisions down the line.

Mortada_DEV
Автор

If you let lambda explode crazy and say its good to be infinite for you* writing a bad code then your billing will be in billions. I'm happy to have my server crazy than to bear the risk of huge unexpected billing that comes out from no where. EC2 is enough for smaller applications.

ooogabooga
Автор

love the content that you are making for the past 15 days, don't let the low view count stop these amazing videos!

bagheldevansh
Автор

Thank you very much for explaining this topic. This helped me a lot Mehul 👍🏻

ganeshgajelly
Автор

quite helpful, i was confused to where to launch my saas project and as confused with lambda and costing guess i would go with ec2 only or will check something other cheap for now!

VaibhavShewale
Автор

This is the content we want keep going

ggnova
Автор

watching this and now will act cool in meeting once I start throwing this. Thanks lol

awesomeguy
Автор

When we have auto scaling group. Why do we need k8s?

mr.sidpatil
Автор

You can use EBS and not worry about maintaining the server.

GopiSundharam
Автор

Great Content!
Just one thing which I didn't understand. At 9:50, you are saying "You tried to open a lot of files", how does it make sense to open a lot of files in a serverless environment?

sahilaggarwal
Автор

As i have learned cloud and preety active on aws re post i have analysed that even though lambda is a good/cheap service for those individual or organisations which are small scale does not have that much invocations and complexity in their products and do not want any headache of downtime or managing instances and vms . Lambda is basically designed for the cost saving purpose of these kind

Whereas EC2, it is service particularly designed for scalable and complex applications, even though in some scenarios like complex website or task ec2 saves the cost as it using particular computing power and not using its 100% .

Recently Amazon prime also shifted from serverless to EC2 and ECS to save their cost and scale their platform

So no one can ec2 is better than lambda or lambda is better than ec2 both have thier own pros and cons also purposes for which they are designed for

Deformatter
Автор

Another option - Use Fargate with auto scaling - best of both worlds

RajeshAravapalliAZ
Автор

Great explanation.
I was just having a question.
Can't, we solve the factors like Monitoring, Versioning, Zero down time Deployment, HA using k8s and helm with one ec2 instance being one pod ?

ajlearnings
Автор

haha had the same doubt yesterday while watching the video. thanks for this

ronakagarwal
Автор

I mean the thing is i have a turborepo and i will have to deploy each servcie individually to aws lambda but on ec2 i can simply run the whole turborepo as a monolith .

keshavtha
Автор

can you please tell me which software you used for drawing these diagrams?

thecoffecoder
Автор

What are the edge cases from an engineering point of view where we have to - have to, move from serverless to serverfull or the other way round, irrespective of the cost but just from an engineering perspective ?

ayushshende
Автор

lets say i have scheduler service where user can give date and time and my service will try to send mail on that day and time, implementing this kind of feature is hard in serverless but at the same time i dont want to make ec2 instance and run cron jobs to make sure user gets the mail because my compute is just getting wasted and what if i dont have any scheduled mail i am just wasting resource for nothing how does someone solve this kind of problem

Aditya-ymsm
Автор

Does edge deployments also fall under these serverless category??

ayushshende
Автор

What about DDOS attacks? Does lambda handle it automatically? coz in EC2, we have to handle it manually

mustafahere