title: persistent storage solutions for aws fargate
body: <p>I'm running an apache webapp on a container in ecs fargate, but I need to be able to persist certain files so that any changes to them are available to all users through all versions of the webapp. Unfortunately, fargate's support for EFS is in-development, so I need a persistent storage solution at least until that's useable (or until a release date for that feature is announced so I can just say I'll deal with this then).</p>
  
  <p>I tried to switch over from fargate to ec2, as EFS is supposedly compatible with ec2, but I couldn't figure out a way to get past the "unable to place a task because no container instance met all of its requirements. Reason: No Container Instances were found in your cluster." error. I tried all solutions in <a href="https://stackoverflow.com/questions/36523282/aws-ecs-error-when-running-task-no-container-instances-were-found-in-your-clust">AWS ECS Error when running task: No Container Instances were found in your cluster</a> , as well as everything I could find in a few google searches, but to no avail. </p>
  
  <p>The way the files are accessed is essentially:</p>
  
  <ol>
  <li>A php file calls the database</li>
  <li>database points to the location on the webapp that the application data is stored</li>
  <li>data is read / written to the file in the webapp</li>
  </ol>
  
  <p>does anyone know of a persistent storage solution for ecs fargate? And how would I go about setting it up?</p>