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
asked 7 months ago452 views
2 Answers
0
profile pictureAWS
EXPERT
answered 7 months ago
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
EXPERT
answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions