Tutorials References Exercises Videos Menu
Create Website Get Certified Upgrade

AWS Use Fargate and Lambda for Serverless Compute


Use AWS Fargate and AWS Lambda For Serverless Compute

AWS Fargate is another serverless computing solution that may be better for your workload.

AWS Fargate is a managed service designed to run containers.

It allows you to migrate to serverless architecture using a lift and shift method.

A Lift-and-shift method is a process of copying an application from one environment to another.


AWS Fargate Uses

It's preferable for longer running processes or bigger deployment packages.

It may also be better suited to workloads with predictable usage patterns.

Lambda may be better suited for jobs that run under 15 minutes and have unreliable usage.

The table below compares AWS Fargate and AWS Lambda choices.

AWS Fargate AWS Lambda
Good for larger processes or deployment bundles Good for tasks under 15 minutes
Lift and shift It has erratic workloads
It has a predictable, consistent workload Needs are unknown
It needs more than 3 GB of memory Real-time data processing
Non-HTTP/S listener application Stateless computing for applications
Portability of Docker images Easy IT automation
It offers simplicity in development and operations

Use AWS Fargate and AWS Lambda For Serverless Compute Video

W3schools.com collaborates with Amazon Web Services to deliver digital training content to our students.


AWS Serverless Exercises

Test Yourself With Exercises

Exercise:

What method the AWS Fargate uses to migrate applications?

 and 

Start the Exercise