shiichan

Amazon ECS's S3 Files Support Now Reaches the EC2 Launch Type!

Hi, it's Shiichan! Today I've got a container update from AWS.

AWS What's New aws.amazon.com

What was announced?

AWS What's New announced an update to Amazon ECS (Elastic Container Service). Amazon ECS has extended Amazon S3 Files support to tasks running on the EC2 launch type, so containerized applications on EC2 can now connect directly to data in Amazon S3 as a shared file system.

The story so far

Amazon S3 Files support used to be available only for ECS tasks on AWS Fargate and ECS Managed Instances. Teams running ECS on the EC2 launch type couldn't use it. With this extension, all three ECS launch types, Fargate, ECS Managed Instances, and EC2, now offer consistent access to S3 Files.

What changes

Teams running ECS on EC2 can now read and write S3 data using standard file system operations.

  • File-based applications, AI agents, and data processing workloads can run on S3 data with no code changes
  • There's no need to duplicate or stage files ahead of time
  • Code written for Fargate or ECS Managed Instances can carry over to the EC2 launch type as-is

Dive Deep

Amazon S3 Files is built on Amazon EFS and provides a shared file system that connects AWS compute directly to data in S3. It delivers full file system semantics and low-latency performance without the data ever leaving S3.

  • Works with both new and existing S3 bucket data, no migration required
  • Just mount an S3 Files volume in your ECS task to read and write with standard file system operations
  • Available in all AWS commercial Regions and the AWS GovCloud (US) Regions

For setup details, check AWS's documentation before you dive in.

Wrap-up

  • Amazon ECS's Amazon S3 Files support now extends to the EC2 launch type.
  • All three ECS launch types, Fargate, ECS Managed Instances, and EC2, now offer consistent, direct file system access to S3 data.
  • File-based apps, data processing, and AI agent workloads can run on S3 data with zero code changes.
  • Available across all AWS commercial Regions and GovCloud (US).
  • Good news for infrastructure and SRE teams already using S3 Files on Fargate or Managed Instances who want the same experience on EC2.