Open Rauttis opened 5 years ago
EFS support now exists for ECS and Fargate
Fargate EFS support was still missing from Cloudformation until yesterday, I refactored this to use Fargate now.
EFS still isn't a great solution for this though, since accessing it from outside the container to upload existing saves etc. is not trivial.
Using something like this https://github.com/mroote/factorio-server-manager instead of a raw factorio server image would make managing things easy without the need to have direct access to the filesystem, in which case EFS would work just fine.
We could get rid of the EC2 instances and move to Fargate if a solution other than EFS is implemented (currently Fargate does not support EFS mounts).
Copying and restoring saves from S3 on instance shutdown / boot would be nice.