# Deploy Ory Hydra on a server you own.

> One click deploys Ory Hydra as a tested Compose stack on your server: its Postgres 18 as an Unrent database with backups and restore drills, its keys generated on the server, and your admin account made for you, its password made in your browser.

URL: https://unrent.dev/templates/ory-hydra/

## How do I deploy Ory Hydra with Unrent?

1. **Open Templates and pick Ory Hydra.** In the console, under Templates. Nothing to fill in.
2. **Press Deploy.** Optional settings (SMTP, a domain, upload sizes) are under More options; passwords you type there are sealed in your browser.
3. **Sign in as the admin.** Your admin account is made once the app is healthy; its password was made in your browser and is shown to you once.

## About Ory Hydra

A certified OAuth 2.0 and OpenID Connect server, set up here for machine-to-machine access: clients get JWT access tokens with client_credentials, your APIs verify them with its public keys; on a managed Postgres.

- [Website](https://www.ory.com/hydra)
- [Source](https://github.com/ory/hydra)
- [authentik](https://unrent.dev/templates/authentik/)
- [Keycloak](https://unrent.dev/templates/keycloak/)
- [Vaultwarden](https://unrent.dev/templates/vaultwarden/)
- [All templates](https://unrent.dev/templates/)

## Ory Hydra on Unrent, answered

### Is Ory Hydra backed up?

Yes. Its Postgres 18 is an ordinary Unrent database with backups to your storage target and restore drills; files it keeps on disk live on an app volume, snapshotted daily unless you pick another schedule.

### Can I use my own domain?

Yes. It gets an HTTPS address on `unrent.page` the moment it deploys, and a custom domain once DNS shows you own it.

### What does it cost?

Nothing per template: templates are on every plan. Unrent is free for 1 server, for good, commercial use included. Pro is $9 (£7) a month for up to 5 servers; Team is $29 (£23) a month including 10 servers, then $2 (£1.60) per further server, with unlimited members and single sign-on. Your providers bill your servers and storage directly, never marked up. Prices exclude VAT and sales tax, which Stripe adds at checkout where they apply.
