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
feita há 8 meses475 visualizações
2 Respostas
0
profile pictureAWS
ESPECIALISTA
respondido há 8 meses
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
ESPECIALISTA
respondido há 8 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas