1. deploy tomcat instance no database attach
  2. make ami of it
  3. autoscaling with load balancer
  4. mount efs which will have tomcat
  5. two instances

new task implement failover policy on nginx instance

To read blue green deployment strategy

manually implement it on instance

Toread — >canary deployment