# Moving from Render

Follow the [six steps](./); this page covers what's specific to Render.

## Draft the config

```bash
keel init --from render.yaml
```

What Keel reads from the Blueprint:
- **`web` and `worker` services** become Keel services. A private service (`pserv`) becomes `visibility: internal`.
- **`healthCheckPath`, `dockerfilePath`, `dockerContext` and the start command** are kept.
- **`preDeployCommand`** becomes `release.command`.
- **Databases and Key Value instances** become the database and cache.
- **Cron jobs become scheduled tasks**, with their schedule converted. Render uses five-field Unix cron and AWS uses a six-field form with days of the week numbered from Sunday = 1. The draft shows each converted expression.
- **Static sites** are reported rather than translated: declare them under `sites:`.

Render injects `PORT=10000`, and Keel sets none. The draft uses port 10000 and says so, because the container has to listen on its service's `port`.

## Secrets and data

Set each name `keel init` listed with `keel config set`. To bring the database, take a dump using the external connection string from the Render dashboard:

```bash
pg_dump -Fc --no-owner --no-acl "$RENDER_EXTERNAL_DATABASE_URL" > app.dump
keel db import app.dump
```
