We recommend kubernetes for production installations.
We recommend K8s, in part becuase:
- Provides support for rolling updates. It's easy to get the latest version and update. github actions
- Scale compute resources, easily scale up for ingestion or more users, and auto scale down
- Provides a standard security model including ingress and setup for optional http site for easy access
K8s is a complicated system for certain cases, but in general you do not need to know much about it to use it with Diffgram. Especially on Azure and GCP, you can be up and running in a few hours and there is very little maintenance required in most cases.
While there is a small cost for the k8s control node, for most production installations this small cost will save a lot of human admin headache and give you a much better overall experience.
We are here to support you and with Enterprise Training Data Platform, have the optional services available including
- One time initial setup of your k8s cluster (planning support only or turn key)
- Ongoing, fully managed service of your k8s cluster(s)
Guide Requires Updates
For Azure skip most of the AWS items becuase Azure has easy database connection toggle switch. Just need to provision cluster and database. Then helm install.
This is generally not recommended but may be suitable to do a proof of concept, or for teams with 5 users or less.
If you do decide to do a production installation with docker compose a few things to consider
- Do use an external database, like a dedicated Azure Postgres server or AWS RDS.
- You will have to manage upgrades more directly, including pulling images, potentially having the service be down during upgrades etc.
- You will have to manage scaling yourself, which may lead to undesirable performance characteristics and/or increased costs from unused resources.
While K8s is not without it's problems we do provide the helm chart which makes it fairly easy, and we also have examples of github actions that can be used to seamlessly deploy new versions.
For the most advanced users
This is a super expert level choice for those forgoing both k8s and the provided docker compose template.
Each service is packaged as it's own docker container. In theory this means that you can flexibly choose how to deploy the containers including options other then compose, or k8s.
Updated 14 days ago