Fargate Emphemeral Technology

1

Hi,

I have been reading about adding extra ephemeral storage to your Fargate tasks:

https://aws.amazon.com/about-aws/whats-new/2021/04/amazon-ecs-aws-fargate-configure-size-ephemeral-storage-tasks/

My question is: is this actually ephemeral storage as you will find on your EC2 instances - that is backed by a local SSD, just like the instance store? Or is it backed by some other technology (e.g. EBS)?

The reason I'm trying to find out is that we have a very IO heavy process that we want to run on Fargate - but we found out EFS is not fast enough, so we are considering alternatives.

regards,

Robert

Edited by: RBakkerSping on Aug 25, 2021 8:52 AM

Edited by: RBakkerSping on Aug 25, 2021 9:22 AM

已提問 3 年前檢視次數 766 次
4 個答案
0

Using EFS is a separate feature (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/efs-volumes.html). Ephemeral storage for Fargate is not implemented using EFS (although please note that the EFS team has released substantial performance enhancements in the last few months). That said, the recommendation is for you to test with your workload to validate that you get the level of performance you need, it's hard to provide generic advice.

/Mats

profile pictureAWS
Mats
已回答 3 年前
0

Hi Matz,

Thanks for the answer; I'm aware that EFS is different from Ephemeral storage.

Can you confirm that Fargate ephemeral storage is backed by a local SSD, just like the instance store of EC2?

regards,

Robert

已回答 3 年前
0

Exactly what Fargate uses to provide extensible ephemeral storage is an implementation detail that may change over time. Customers should not take a dependency on how it's implemented. The feature is there, we continuously work to make it better in a variety of dimensions (capabilities, performance, etc.), and as a result of that the implementation may change under the covers.

/Mats

profile pictureAWS
Mats
已回答 3 年前
0

Hi Matt,

By some tests we did find out that the current implementation is apparently using local ssd disks, but it's good know that we should not rely on that; next step will be to use ECS/EC2 with bind mounts to ephemeral storage from the EC2 instance.

regards,

Robert

Edited by: RBakkerSping on Aug 26, 2021 12:04 PM

已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南