Should I Use Fargate, Lambda, or EC2 to host my application?

  Рет қаралды 6,201

DevOps For Developers

DevOps For Developers

3 жыл бұрын

Get the DevOps Roadmap for 2022 here: devopsfordevelopers.io/roadmap
Which AWS service is the right choice for you and your team when it comes time to host your application in AWS? In this video, I cover 3 options from AWS: Fargate, Lambda, and EC2.
**************************
Links mentioned in video:
Which cloud provider should you use: • Heroku Or AWS? Which c...
Dealing with Vendor Lock-in and cloud providers: • It happened to Parler,...

Пікірлер: 34
@DevOpsForDevelopers
@DevOpsForDevelopers 2 жыл бұрын
The DevOps Roadmap for 2022 is available for free at devopsfordevelopers.io/roadmap One of the hardest things about learning is understanding how the different components work together. Using this guide, you start with a topic that interests or relates to you. At the end of the section, other related topics are shown allowing you to pick and choose your own path to DevOps mastery.
@kaypakaipa8559
@kaypakaipa8559 Жыл бұрын
Great video bro, concise, Fargate sounds like what I'm looking for
@DevOpsForDevelopers
@DevOpsForDevelopers Жыл бұрын
Right on. I'm ~4 years into it and still like it.
@nahuelalberti5963
@nahuelalberti5963 Жыл бұрын
4:20 Thats why you should use terraform or CDK modules to replicate architectures! Manual settings could be a good start for somebody thats not familiar with the service to use, but once you get it, its better if you dont have that manual task, as you say, maybe somebody in your team needs to do the same and make a mistake, or maybe you are in a bad day and make some mistake!. Nice video!!
@DevOpsForDevelopers
@DevOpsForDevelopers Жыл бұрын
Agreed 100%!
@dvsrinath
@dvsrinath 3 жыл бұрын
Excellent presentation and explanation, thanks.
@DevOpsForDevelopers
@DevOpsForDevelopers 3 жыл бұрын
You are welcome!
@rickharold7884
@rickharold7884 2 жыл бұрын
Cool. Thx
@DevOpsForDevelopers
@DevOpsForDevelopers 2 жыл бұрын
You're welcome!
@carol00210
@carol00210 5 ай бұрын
If you would remake this video today, would you change your opinion that lambda functions are maybe not ready for mainstream yet?
@vandark1233
@vandark1233 Жыл бұрын
thanks for share your knowledge very useful
@DevOpsForDevelopers
@DevOpsForDevelopers Жыл бұрын
It's my pleasure
@jimknoll
@jimknoll 2 жыл бұрын
Edit your lambda live from console goes away for large code. And use cloud formation or tf and you will see the change some one made via console. All config is code You just need to buy in. Just as good between lambda when you treat confit as code
@DevOpsForDevelopers
@DevOpsForDevelopers 2 жыл бұрын
Good points!
@cremedelacremeoflego
@cremedelacremeoflego 2 жыл бұрын
@@DevOpsForDevelopers I think you can also use the "lambda:UpdateFunctionCode" IAM permission to deny developer user accounts from actually changing lambda any lambda code. Then just assume a deployment role in CI that has the higher level of access needed to update the lambda code?
@DevOpsForDevelopers
@DevOpsForDevelopers 2 жыл бұрын
@@cremedelacremeoflego nice!
@lashlarue7924
@lashlarue7924 10 ай бұрын
Word up, my homeslice. 🤙
@DevOpsForDevelopers
@DevOpsForDevelopers 9 ай бұрын
Word up!
@jaafarzagdoud6103
@jaafarzagdoud6103 2 жыл бұрын
Hey hello great video! I have a question, is it possible to build with lambdas a marketplace that you wanna scale and get big in the future?
@DevOpsForDevelopers
@DevOpsForDevelopers 2 жыл бұрын
Sure, it's definitely possible. You'll need to architect your application with that in mind though.
@jaafarzagdoud6103
@jaafarzagdoud6103 2 жыл бұрын
@@DevOpsForDevelopers would you mind to explain to me what's the best thing to do? And are you available for a talk? Maybe we can work together.
@DevOpsForDevelopers
@DevOpsForDevelopers 2 жыл бұрын
@@jaafarzagdoud6103 devopsfordevelopers.io/discord
@prerakhere
@prerakhere Жыл бұрын
I thought most people go with ECS with EC2 instead of ECS with Fargate for their web servers due to former being less expensive.
@DevOpsForDevelopers
@DevOpsForDevelopers Жыл бұрын
This is my experience only, I don't have data to know which is more popular overall.
@arunkumar-us8ei
@arunkumar-us8ei 3 жыл бұрын
Is it possible to build a microservice architecture with lambda?
@DevOpsForDevelopers
@DevOpsForDevelopers 3 жыл бұрын
Hey Arun, It sure it. Using lambda functions as the core of your microservice and SQS queues to decouple the microservices from each other is a solid plan. A couple of considerations to note: if your microservices don't have a lot of activity, the cold boot/warm up time for first response may impact performance. You'll also want to understand how heavily your lambda functions will be used to ensure to are provisioned correctly for concurrent executions. This will help prevent incoming requests from hanging due to no lambda executors available to service the request.
@keplerk
@keplerk 2 жыл бұрын
From my little experience with lambdas, they are very useful when you have to develop some basic to medium complexity rest apis, due them working on demand, it's a huge budget save because they don't work 24/7 but only whenever they are called.
@DevOpsForDevelopers
@DevOpsForDevelopers 2 жыл бұрын
Yep. They can be great in the right use-case.
@kristhudas726
@kristhudas726 2 жыл бұрын
is it easy to migrate a AWS lamda based gradle project to host on fargate ?
@DevOpsForDevelopers
@DevOpsForDevelopers 2 жыл бұрын
At a conceptual level, yeah. Build your project to run as a docker container and launch it there. The other considerations are: - why move it to Fargate? - do you have Fargate already setup or is this a new environment? - what other dependencies will be impacted (databases, caches, etc...) After addressing those questions, if Fargate still seems like the right choice, a good first step would be to build and run your application locally in a docker container using Docker Desktop.
@kristhudas726
@kristhudas726 2 жыл бұрын
@@DevOpsForDevelopers Thanks for addressing my comment I am still confused because At the moment my lambda function takes input line(from input CSV) and for every input line it performs some operations and generates output CSV files and stores it in S3 bucket As we all know we have time and memory restrictions with AWS lamda(i.e, 15 mins) We had to create multiple lamda functions to generate csv's for all our input lines As it is becoming complex day by day as the input lines are increasing We are looking for an alternative solution? Can you please suggest which service we should go for ? And yeah we are completely new to aws fargate
@DevOpsForDevelopers
@DevOpsForDevelopers 2 жыл бұрын
I gotcha. Yeah, Fargate would work for that but since you're describing an ETL job, I'd check out AWS Data Pipeline or AWS Glue (though Glue uses Lambda under the hood so I'm not sure you'd gain much by pursuing it)
@abdirahmann
@abdirahmann Жыл бұрын
how cheap is fargate?
@DevOpsForDevelopers
@DevOpsForDevelopers Жыл бұрын
It's priced based on utilization. calculator.aws/#/addService/Fargate
AWS EC2 vs ECS vs Lambda | Which is right for YOU?
16:50
Be A Better Dev
Рет қаралды 184 М.
Llegó al techo 😱
00:37
Juan De Dios Pantoja
Рет қаралды 60 МЛН
Jumping off balcony pulls her tooth! 🫣🦷
01:00
Justin Flom
Рет қаралды 28 МЛН
Box jumping challenge, who stepped on the trap? #FunnyFamily #PartyGames
00:31
Family Games Media
Рет қаралды 20 МЛН
Don't Do DevOps (do this instead)!
5:21
DevOps For Developers
Рет қаралды 5 М.
Stop, Intel’s Already Dead!
13:47
Linus Tech Tips
Рет қаралды 683 М.
AWS Lambda Vs EC2 | Serverless Vs EC2 | EC2 Alternatives
13:19
Cloud With Raj
Рет қаралды 14 М.
DevOps Or Developer? Which career is right for me?
8:39
DevOps For Developers
Рет қаралды 5 М.
Kubernetes Vs Lambda Detailed Comparison | Containers Vs Serverless
25:18
Choosing a Compute Option on AWS
17:24
Be A Better Dev
Рет қаралды 31 М.
AWS SQS vs SNS vs EventBridge - When to Use What?
22:37
Be A Better Dev
Рет қаралды 171 М.
Top 50+ AWS Services Explained in 10 Minutes
11:46
Fireship
Рет қаралды 1,5 МЛН
Llegó al techo 😱
00:37
Juan De Dios Pantoja
Рет қаралды 60 МЛН