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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ