How Does Fargate Work?
- Fargate is used to run containers in the backend with the entire infrastructure managed by amazon web services (aws).
- With Fargate we do not need to give any infrastructure for the containerised application.
- Fargate packages the application including the CPU and memory.
- It very carefully allocates each task to different kernel CPU and memory resources.
Fargate Task Definition: Fargate task definition is a blue print of the application structure where we get the chance to define CPU and memory for the application configuration which is stored in our containers as image.
Fargate Tasks : Fargate task are instantiation of the fargate task definition and they are run here within the cluster.
Fargate task which are launched as a part of ECS service fall under the service scheduler managed category. Here the entire infrastructure of target resources and managed on the backend without the need to maintain any infrastructure instance.
How to Use AWS Fargate to Deploy Containerized Applications without Managing Servers?
Fargate provides a server-less architecture, where we do not need to worry about the backend infrastructure on which our application gets deployed. Fargate provides of a simple provisioned infrastructure that is entirely managed and taken care by aws. Application deployment becomes easy and efficient. Using fargate you have to take care only of the application needs and need not think about any infrastructure related concern, making deployment simpler and easy.