Our flask application uses application credentials stored in a file on the machine to connect to the object storage.
We used terraform to be able to spawn multiple instances of the image terraform setup we created for the flask application.
It seems to be running fine and updating correctly when visiting instances in a random fashion.
Here we have the files to generate a docker image for the flask application.
We deploy the VMs and surrounding infrastructure with terraform.
We configure and start the services with this ansible-playbook.
Run this command to deploy:
ansible-playbook -i inventory.cfg -e "ansible_ssh_private_key_file=~/.ssh/id_rsa_ericsson_xerces_group4" site.yaml
Here we have our project plan.