Cloud Deployment
Last updated
Last updated
Leverage the power of the cloud with AWS, Azure, and Google Cloud Run ensuring high availability, data security, and automatic scalability in conjunction with the Form.io platform.
It's encouraged to review the Prepare Your Environment section of the Self-Hosted Deployment guide before continuing with the Cloud Deployment walkthrough.
Before deploying you're application, you must first define or construct the files necessary to run the Form.io containers. There are many tools and services out there to accomplish this and entirely depends on how you want to define and run the containers.
Docker-Compose is a tool that allows you to define and manage Form.io's multi-container application and is used in conjunction with the Docker infrastructure. It can simplify the way to orchestrate the deployment and define their dependencies and configurations. With Docker Compose, you can define Form.io's services, networks, and variables within a YAML file called docker-compose.yml.
To utilize docker-compose, navigate to the Form.io Deploy repo. Click the deployments/compose folder and download your preferred .zip file which holds the necessary files to install and run the Form.io containers. Locate the zip file on your Local Machine and unzip it into a folder.
Terraform is an open-source infrastructure as code (IaC) tool that allows developers to describe the entire infrastructure as code and build resources across different providers. Terraform supports a wide range of cloud providers, including Amazon Web Services (AWS), Microsoft Azure, Google Cloud Platform (GCP), and many others. It allows you to provision and manage infrastructure resources across multiple cloud platforms or on-premises data centers. Terraform will build all these resources across all these providers in parallel.
Helm is a package manager for Kubernetes, designed to simplify the deployment and management of applications on a Kubernetes cluster. It provides a framework for packaging, distributing, and managing Kubernetes resources, making it easier to define, install, and upgrade complex applications. With Helm, you can create and share packages called "charts" that contain all the necessary Kubernetes manifests, configurations, and dependencies for deploying an application. A chart is a collection of files that describe the resources required to run a specific application or service, such as pods, deployments, services, and configmaps.
As Terraform and Heml Charts are bespoke to each customer's deployment, Form.io does not explicitly provide these files.
Please contact support@form.io for any questions or support regarding Terraform or Helm Charts.
The form.io platform requires MongoDB or MongoDB-compatible DB such as DocumentDB or CosmosDB. Here are the database options that many Form.io customers successfully utilize all over the world. Take some time to compare the different systems before deploying.
It is worth noting that when using docker-compose, MongoDB will automatically install during the deployment process
AWS Cloud Options
Azure Cloud Options
Be sure to review the Enterprise Server and PDF Server documentation for more information on things like Environment Variables and DB connection Strings.