Zeebe docker image and ECS AWS

Hello,

I deployed the following Docker image into ECS: camunda/zeebe.

Currently, I have a single node with one gateway and one broker.

I understand that when an ECS node is replaced, all data is lost due to the ephemeral nature of ECS storage.

How can I prevent this data loss?

Should I use an external volume, or is there another solution?

Thank you!