Deploy in seconds to machines you control
Deployment is baked into Elements. It uses a peer to peer protocol to deploy directly from your laptop to remote machines, which is why a deploy takes seconds instead of minutes. Any Ubuntu Linux box with SSH access will work. We recommend a $6 DigitalOcean droplet to get started.
Deploys are atomic. Type checking, tests and database migrations all run as part of the deploy, and any failure stops the deploy rather than corrupting your release. Your entire CI collapses into one command.
In this video we start by deploying to one box with nothing but an IP address, no domain required. Then we scale to two machines and a managed Postgres cluster with a domain name and SSL. Elements load balances across the machines and keeps the certificates up to date. At the end we deploy from a phone.
What you do not set up: a load balancer, SSL certificates, a job server, a CI pipeline, build workers.
Comments· 0