Runtimes
Runtimes are the environment in which a program runs. It includes necessary components like libraries and system settings that your software needs to function properly. You can think of a runtime as a particular image or container, which your code is inserted into before it is deployed on our cluster to run.
Runtimes could be python3.9
or nodejs14.x
. These are the environments that your code will run in, and they are managed by Customary to ensure that your code runs smoothly and efficiently. Except for the docker
runtime, which is the manual deployment of your own Dockerfile, all other runtimes are managed by Customary.
We currently offer two runtimes on Customary: Django and Docker. Each of these runtimes has its own unique features and benefits, catering to different use cases and preferences. Let’s take a closer look at each of them:
Docker Web Applications
A runtime environment that supports Docker containers. If you select Docker, our platform will look for a “Dockerfile” in your repository and deploy it on our cluster. This gives you more flexibility and control over your deployment environment. You can specify the exact configuration you need in your Dockerfile, and Customary will use that to create a container for your code to run in. This is ideal for applications that require specific dependencies or configurations that are not supported by our other runtimes. A Docker Web Application is exposed to the internet and can listen to HTTP/HTTPS requests on their default ports.
Docker Internal Service
This runtime is just like the above, with two major differences: 1) The service is not exposed to the internet, and 2) the service can listen to any port. This is ideal for services that need to communicate with other services in your deployment, but don’t need to be accessed by external users. This is a great way to create microservices that work together to form a larger application.
Django
A runtime environment specifically designed for Django applications. It automatically reads your Django settings and prepares an appropriate environment for your code to run in, with no changes needed from you. Django is infamous for having a convluted deployment process when compared with other popular web frameworks. Our runtime relieves you of the headache of setting up a Django deployment by reading your code and automatically preparing it for deployment. All you have to do is commit your code.
Conclusion
By offering these two runtimes (and more on the way), we aim to provide a flexible and user-friendly deployment experience for developers of all skill levels. Whether you’re a Django enthusiast or a Docker aficionado, Customary has you covered with our runtime options. If you’re unsure which runtime to choose, feel free to reach out to our support team for guidance. We’re here to help you make the best choice for your deployment needs.