title: How should i execute laravel migrations on an ecs cluster
body: <p>I have an architecture built on <strong>AWS</strong> container service with laravel running as an <strong>api service</strong> to my <strong>JS app</strong>. </p>
  
  <p>My question is: <strong>What is the best way to execute migrations?</strong></p>
  
  <p>My assumption is with multiple instances of the same laravel app running in the cluster I risk issues with the app themselves running the migrations at the same time. right ?</p>
  
  <p>What is the best way to run migrations on the database with no downtime for our clients ? maybe an external service specifically designed to run migrations on a mirror db ?</p>
  
  <p><strong>Arch outline :</strong></p>
  
  <ol>
  <li>ecs - laravel (5-10 services)</li>
  <li>ecs - JS (10-20 services) </li>
  <li>rds - mysql db (1 ec2 instance)</li>
  </ol>