I would build images with the code inside instead of using volumes, that way you can tag them for pre, qa and prod or for rollbacks.
You would need a registry and some sort of server like jenkins or circleci to run the builds and generate the images.
As for the deployment... if you have the budget amazon ECS and ECR are good solutions but if you don't have that kind of budget you can use something like OVH and deploy a kubernetes or swarm and make the deployment the last step of the build on the pipeline on jenkins or circleci.
As for the deployment... if you have the budget amazon ECS and ECR are good solutions but if you don't have that kind of budget you can use something like OVH and deploy a kubernetes or swarm and make the deployment the last step of the build on the pipeline on jenkins or circleci.
DigitalOcean also recently started supporting Kubernetes. Seems to be a cheaper alternative?
But, could I start deploying without Swarm or Kubernetes? It seems it is one more step to complicate things when all I need is to have it online so I can keep iterating on its development. Maybe K8s/Swarm could be implemented later, when scale becomes an issue?
Kubernetes or Swarm are only needed if you want to go the dedicated server route if you can go to a managed solution like DigitalOcean or Amazon you don't need those.
I would build images with the code inside instead of using volumes, that way you can tag them for pre, qa and prod or for rollbacks.
You would need a registry and some sort of server like jenkins or circleci to run the builds and generate the images.
As for the deployment... if you have the budget amazon ECS and ECR are good solutions but if you don't have that kind of budget you can use something like OVH and deploy a kubernetes or swarm and make the deployment the last step of the build on the pipeline on jenkins or circleci.
DigitalOcean also recently started supporting Kubernetes. Seems to be a cheaper alternative?
But, could I start deploying without Swarm or Kubernetes? It seems it is one more step to complicate things when all I need is to have it online so I can keep iterating on its development. Maybe K8s/Swarm could be implemented later, when scale becomes an issue?
Kubernetes or Swarm are only needed if you want to go the dedicated server route if you can go to a managed solution like DigitalOcean or Amazon you don't need those.
And I assume deployment to DO or AWS would also be a simple step in the build on the pipeline on jenkins or circleci?
exactly