Sometimes you just need a working full-stack backbone for your website. This is a Flask Application template that uses MS-SQL, containerized for docker, for deployment in AWS Elastic Beanstalk. Just pop and run - do it in your local first, then once you're happy deploy it to AWS EB.
- Setup Docker in your local. Install Docker, Docker Compose
- Clone this directory to your local
- Navigate to the master eb-docker-flask-mssql directory and execute
docker-compose up - navigate to the local home page using the docker http://192.168.99.100:5000 (or whichever docker chooses as its home IP)
- Install Docker Toolbox for Windows - https://docs.docker.com/toolbox/toolbox_install_windows/
- Clone this directory to your local
- Navigate to the eb-docker-flask-mssql directory using Docker Quickstart terminal
- Execute
docker-compose up - Navigate to the local home page using the docker http://192.168.99.100:5000 (or whichever docker chooses as its home IP)
- Create a new environment, Choose the "Generic Docker" Platform, with t2.small as the minimum server size
- Navigate to the
ElasticBeanstalk-Docker-Flask-TemplateFolder, then place the contents of that folder into a zip file - deploy the zip file into the AWS environment.