Documentation

Build and run on Veltra

Everything you need to go from a repository to a production service — and keep it running.

Introduction

Veltra builds and runs your code straight from a Git repository. You connect a repository, choose a service type, and every push to the branch you track triggers a build and a zero-downtime deploy.

A few terms you'll see throughout these docs:

  • Workspace — your team's account. Plans, members and billing live here.
  • Service — one deployable unit: a web service, static site, background worker, cron job or PostgreSQL database.
  • Deploy — an immutable build of a specific commit. You can roll back to any previous deploy.
  • Instance — the size of machine a service runs on, billed by the second.
  • Blueprint — a veltra.yaml file that describes your whole stack as code.
Veltra is in early access. Features and limits on this page may change before general availability. Questions? Contact us.

Quickstart

Deploy a web service in about five minutes.

  1. Get access. Veltra is in private early access — join the waitlist and we'll be in touch if a spot opens.
  2. In the dashboard, choose New service and select Web service.
  3. Connect the repository you want to deploy. Veltra detects your runtime and suggests build and start commands.
  4. Pick a region and an instance type, then choose Create service.

Your app must listen on the port in the PORT environment variable. A minimal Node.js server:

server.js
import http from 'node:http';

const port = process.env.PORT || 10000;

http.createServer((req, res) => {
  res.end('Hello from Veltra');
}).listen(port, '0.0.0.0');

After the first deploy, every push to your branch ships automatically:

Terminal
git commit -am "First deploy"
git push origin main
Bind to 0.0.0.0, not localhost. If PORT isn't set, Veltra expects port 10000.

Web services

Web services run any HTTP server and get a public HTTPS URL at <service>.veltra.app.

Zero-downtime deploys

On every deploy, Veltra starts new instances and sends a GET request to your health check path (default /). Traffic moves to the new instances only after they return a 2xx response within five seconds. The previous instances then drain open connections and stop. A deploy that never becomes healthy is marked failed and never receives traffic.

Instance types

InstanceCPUMemoryNotes
Free0.1 CPU512 MBSleeps after 15 minutes idle
Starter0.5 CPU512 MBSmall services and workers
Standard1 CPU2 GBMost production web services
Pro2 CPU4 GBBusy APIs and larger apps
Pro Plus4 CPU8 GBHeavy workloads

Paid instance types require a Pro, Team or Custom Stack plan. On Pro and Team, instances are billed by the second while the service runs; on Custom Stack, each service has a fixed monthly price instead. Suspended services aren't billed.

Scaling

On Pro and above, set a minimum and maximum instance count and a target CPU percentage. Veltra adds instances under load and removes them as traffic falls. See Blueprints for the scaling block.

Static sites

Static sites run a build command and publish a directory to the edge. Each deploy invalidates the CDN cache, so visitors see the new version within seconds.

FrameworkBuild commandPublish directory
Vitenpm run builddist
Astronpm run builddist
Next.js (static export)npm run buildout
Hugohugopublic

For single-page apps that handle routing in the browser, add a rewrite so every path serves index.html:

veltra.yaml
  - name: web
    type: static
    buildCommand: npm ci && npm run build
    publishDirectory: dist
    routes:
      - type: rewrite
        source: /*
        destination: /index.html

Blueprints

A blueprint is a veltra.yaml file at the root of your repository that describes services, databases and how they connect. Commit it next to your code: changes arrive as pull requests, get a preview, and apply when merged to your default branch.

veltra.yaml
# Commit this next to your code.
services:
  - name: api
    type: web
    runtime: node
    region: oregon
    instance: standard
    buildCommand: npm ci && npm run build
    startCommand: node dist/server.js
    scaling:
      min: 2
      max: 10
      targetCPU: 70
    envVars:
      - key: DATABASE_URL
        fromDatabase: db

databases:
  - name: db
    instance: standard

Service fields

FieldDescription
nameUnique within the workspace. Becomes the <name>.veltra.app hostname.
typeweb, static, worker or cron.
runtimenode, python, go, ruby, elixir, rust, php or docker.
regionOne of the region IDs. Defaults to oregon.
instancefree, starter, standard, pro or proplus.
scheduleCron jobs only. A cron expression in UTC, such as 0 3 * * *.
envVarsA list of key with value, fromDatabase, or sync: false to set the value in the dashboard instead.

Rollbacks

Every deploy is an immutable build. Rolling back reuses a previous build, so it takes seconds and never rebuilds your code.

  1. Open the service and go to its deploy history.
  2. Find the deploy you want and choose Roll back.
  3. Veltra starts instances from that build, health-checks them, and moves traffic over.

A rollback creates a new entry in the deploy history, so you always have a record of what ran and when. The next push to your branch deploys as normal.

Terminal
veltra rollback api --to 8e41c0d

Environment variables

Set environment variables per service from its Environment tab, or declare them in your blueprint. Values are encrypted at rest and hidden in the dashboard until you reveal them.

Changes take effect on the next deploy. When you save, Veltra offers to redeploy so the new values are picked up straight away.

Variables Veltra sets for you

VariableValue
PORTThe port your web service should listen on.
VELTRA_SERVICE_NAMEThe service's name.
VELTRA_GIT_COMMITThe commit being deployed.
VELTRA_REGIONThe region ID, such as frankfurt.

Environment groups

Share a set of variables across several services — an API key used by both your web service and a worker, for example. Update the group once and every linked service picks up the change on its next deploy.

Never commit secrets to veltra.yaml. Use sync: false and set the value in the dashboard.

Custom domains

Web services and static sites can serve traffic on your own domain. Add it from the service's Domains tab, then create a DNS record with your provider:

TypeNameValue
CNAMEwww<service>.veltra.app
CNAMEapi<service>.veltra.app

For an apex domain such as example.com, use your provider's ALIAS, ANAME or CNAME-flattening record pointing at the same target.

Once the record resolves, choose Verify. Veltra issues a TLS certificate within a few minutes and renews it automatically. Starter includes one custom domain per service; paid plans include unlimited domains.

Regions

Choose a region when you create a service. Services in the same region share a private network and reach each other by name.

RegionIDLocation
Oregonoregonus-west-2
Virginiavirginiaus-east-1
Frankfurtfrankfurteu-central-1
Londonlondoneu-west-2
Singaporesingaporeap-southeast-1
Sydneysydneyap-southeast-2

A running service can't change region. To move one, create a new service in the target region, deploy it, then point your domain at it. Static sites are served from every edge location regardless of region.

PostgreSQL

Managed PostgreSQL 16 with encryption at rest, daily backups and private networking. Create one from New service or declare it under databases in your blueprint.

Connecting

Each database has an internal connection string for services in the same region and an external one for tools on your machine. Reference a database from a blueprint with fromDatabase and Veltra injects the internal string for you.

Terminal
psql "$DATABASE_URL"

Backups and recovery

Every database is backed up daily, with seven days of retention. On paid instances you can also restore to any second within those seven days into a new database, leaving the original untouched.

Databases use the same instance types as services. Free databases include 1 GB of storage; paid instances include 10 GB, expandable on request.

CLI

The Veltra CLI lets you deploy, tail logs and manage configuration from your terminal or CI. It's available to early-access teams — request access and we'll send install instructions.

Common commands
veltra login                      # authenticate in your browser
veltra services                   # list services in the workspace
veltra deploy api                 # deploy the latest commit
veltra deploy api --clear-cache   # rebuild without the build cache
veltra logs api --tail            # stream runtime logs
veltra env set api KEY=value      # set an environment variable
veltra rollback api --to 8e41c0d  # roll back to a previous deploy
veltra blueprint validate         # check veltra.yaml before you push

Using the CLI in CI

Create an API key under Settings → API keys and expose it to your pipeline as VELTRA_API_KEY. The CLI uses it instead of the browser login. Keys are shown once — store them in your CI provider's secret store.

Independence and infrastructure

Veltra is an independent managed web services provider. It is not affiliated with, endorsed by, sponsored by, or a partner or authorized reseller of Render Services, Inc. ("Render").

Veltra runs the services it manages on Render's cloud platform, as a Render customer. Our team sets up, deploys, monitors and supports those services. Each invoice covers both the underlying hosting and Veltra's management and around-the-clock support, at the prices agreed with the client.

Render and the Render logo are trademarks of Render Services, Inc. Where the word "Render" appears in our domain name or on this site, it refers only to the infrastructure we deploy on, and implies no association with or endorsement by Render.

Who this site is for

Veltra provides its services to a single client under a private agreement and is not accepting new customers. This site is that client's account portal and record of the services we run and the invoices we issue. The public pages describe how the service works; they are not an offer to the public.

Questions about this notice can be sent through the contact form.

Was this page helpful?