Deployment Strategy - mateuszpoland/RealDeal Wiki

Original URL: https://github.com/mateuszpoland/RealDeal/wiki/Deployment-Strategy

App will be deployed in multi-tenant format with shared database. One schema per tenant. https://blog.rkot.pl/aplikacje-multi-tenant-w-php-czesc-ii-konfiguracja-symfony-i-doctrine/

Separate frontend and backend with SSL nginx reverse proxy: https://www.freecodecamp.org/news/docker-nginx-letsencrypt-easy-secure-reverse-proxy-40165ba3aee2/

Nginx configuration: https://serversforhackers.com/c/nginx-multi-tenancy

The app will be first deployed manually to production AWS instance

  1. Pointing domain name to EC2 instance: https://aws.amazon.com/getting-started/hands-on/get-a-domain/

based on course : https://www.udemy.com/course/devops-project-cicd-with-git-gitlab-jenkins-and-django/ and: https://www.udemy.com/course/nginx-apache-ssl-encryption-certification-course/

  1. Reddit thread : https://www.reddit.com/r/aws/comments/7f8hku/advice_please_multi_tenant_saas_on_ecs/