I'm building a website using the following stack:
- Python
- Flask
- mariadb / postgresql
- some web server - apache, whatever
Ideally, I'd like the ability to have the local developer environment exactly replicated as it's deployed to a remote web / cloud provider. I would like to learn as close to nothing as possible about this provider.
For example, I could use containers for this (but I'm not married to containers). I'd have 1 container for the web server, 1 for the app, 1 for the DB, and then issue 1 command to deploy those containers remotely and viola - a web page.
Any ideas? I've briefly looked at Heroku and Digital Ocean. Any others I'm missing? Is there a tutorial anyone could point me to that matches what I'm looking for?
I suppose I could always spin up a VM somewhere then use an ansible playbook to push the container images remotely but I'd like to avoid maintaining a VM. So, on one hand something that does everything for me, on the other I'd like to learn close to nothing about their platform.
Aucun commentaire:
Enregistrer un commentaire