Posted On: Apr 8, 2020
AWS Fargate, a serverless compute engine for containers, launches new platform version 1.4.0. This latest version enables several new Fargate features of which some are highlighted below. Unless otherwise noted, the new features discussed in this post are relevant to the native Fargate platform and are directly consumable by the Amazon Elastic Container Service (ECS) orchestrator.
Fargate tasks now support Amazon Elastic File System (EFS) endpoints
You can now launch Fargate tasks with persistent EFS storage using platform version 1.4.0. This new capability enables applications that require data persistence and shared storage by mounting EFS volumes inside your Fargate task. Customers can now migrate applications to Fargate like content management systems (e.g. WordPress and Drupal) or applications that share a common data set.
Fargate tasks now have a consolidated 20 GB ephemeral volume
Fargate tasks launched with the new platform version will now come with a single 20 GB ephemeral volume instead of a 10 GB volume to host the container image and 4 GB mount volume. This additional flexibility and capacity will be particularly useful for workloads processing large data sets and files. The new volume update applies to both ECS tasks and Amazon Elastic Kubernetes Service (EKS) pods running on Fargate.
Network performance metrics are available in Amazon CloudWatch Container Insights
Fargate platform version 1.4.0 now provides network performance metrics through CloudWatch Container Insights. With this capability, you can now access network metrics in addition to the existing CPU, memory, and disk metrics for your Fargate tasks. There is nothing you need to do other than to launch your Fargate task with this new platform version on an ECS cluster that has been enabled to use Container Insights.
Network stats are now available in Fargate via the Amazon ECS Task Metadata Endpoint version 4
Network stats are also available by querying the new task metadata endpoint version 4. While these network metrics are similar to the ones provided by Container Insights, the task metadata endpoint allows third party tools such as Datadog to access this information for further analysis.
Fargate tasks now support the CAP_SYS_PTRACE Linux capability
You can now enable CAP_SYS_PTRACE Linux capability in your Fargate task definition across all available Fargate platform versions. This provides greater visibility into your container and allows you to use a number of observability tools provided by partners such as Sysdig to meet security and compliance needs.