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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则