Spring boot and efs integration

0

We are doing an ec2 to fargate migration, while doing so we have mounted an efs on our present fargate instances , we would need to write some files on efs , but i am getting no examples of how to write a file from a a spring boot applcation to efs .Can some body help me with this ?

Bhargav
已提問 8 個月前檢視次數 475 次
2 個答案
0
profile pictureAWS
專家
已回答 8 個月前
0

Hi,

Writing to EFS from a Fargate container is quite simple: you just write to the file you want through its name with proper directory path (based on mount point you chose).

Basically, once the mount is executed, you rae back to a normal file system

This post (for Lambda but very similar to Fargate since both are serverless) explains it very well: https://www.cloudtechsimplified.com/elastic-file-system-efs-aws-lambda/

Best,

DIdier

profile pictureAWS
專家
已回答 8 個月前

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

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

回答問題指南