Getting started
How Brewless works
The parts of a Brewless setup, where each one runs and who is responsible for it.
On this page
A Brewless setup has three parts: your organisation at Brewless, your Scaleway account and, optionally, your bunny.net account.
Your organisation
An organisation is your team's place at Brewless, on its own address: <name>.brewless.eu. Its console shows your applications, their environments and their releases, and it is where you connect your providers and invite your team.
Applications and environments
An application is the thing you deploy: one codebase. An environment is one running copy of it, such as production or staging. Each environment has its own container, its own variables, its own domains and its own releases, and runs in the Scaleway region you choose for it.
Read more in Applications and environments.
Your providers
| Provider | What runs there | Required |
|---|---|---|
| Scaleway | Containers, the image registry, the database, Secret Manager, jobs and queues, Transactional Email for the mail of a production environment, and a Private Network and a cache when you ask for them | Yes |
| bunny.net | DNS, CDN and Shield in front of your application; the CDN keeps the pages that are the same for everybody, so the container can sleep | No |
| Lettermint | The mail of an environment that sends with Lettermint: its project, its sending token and its domain, and the Mail page | No |
Brewless works in these accounts with a key you hand it. When the Scaleway key may make projects, every application gets a Scaleway project of its own, or shares the project of another application to share a database with it; with a key limited to one project, the applications run in that project. See Connecting providers.
What Brewless keeps
Brewless records what it needs to operate your application: releases, the steps of every operation at your providers, an audit trail of who changed what, when each member last signed in, which kinds of mail from Brewless each member switched off and when their last monthly reports went, per hour how long each container ran, how long it was scaled to zero and how long it can have kept the database awake, per hour how long each serverless database was up, the vCPU time it was given and its size, per day how many requests of each kind of client reached the web container and how long it was awake for them, also for unknown bots alone, kept 13 months (avoidable wake-ups, never an address, path or user agent), per day what bunny.net Shield acted on in front of each environment, kept 13 months (security dashboard, totals only), the days that went past what is usual for an environment with the five busiest paths at its container that day, without query string (unusual traffic), the boosts of its capacity, of every restore from a backup what it took from which backup, where to, its size and, for variables, only their names, and of every restore test which backup it tested and what its checks found, as counts and table names, of every temporary backup Instance its name, type, the bytes and objects of the buckets it read and when it stood, and for the rollout of backups per environment how it stands, when its notice started, how many of its backup runs finished and failed, and its estimate.
It deliberately does not keep:
- Values of environment variables. Only their names and revisions. The values it keeps, encrypted, are the keys your application signs its requests with, for databases per tenant and for database capacity, to check those signatures.
- Logs. They are read live from Scaleway and shown, not stored.
- Mail. The mails your application sends, their addresses, content and headers are read from Transactional Email, from the copies in your own bucket or from Lettermint when you open the Mail page, and not stored. See Mail.
- Metrics. Requests, response times and replicas are read live from your providers. Only the hourly totals of serverless usage and of serverless databases, and the day totals of what woke the container, are kept, never the samples.
- Output of commands you run in an environment.
- Second factors in a form that can be read back. The key of an authenticator app is kept encrypted, recovery codes only as a hash, and a passkey only as its public half. See Team members.
- Your code. A deploy uploads it into your own project, and with Deploy on push a job in your project fetches it. Of your code, Brewless reads only
brewless.yml. - Deploy keys for Deploy on push. The key pair is made in memory, the private half goes straight to your own Secret Manager and is forgotten; only the public half is kept. Tokens from the Brewless GitHub App are used for one request and not kept either.
- Tokens of the command line client and of pipelines. Only a hash (SHA-256), so a token can be checked but not read back. A token is 64 random characters, which no one can work out from its hash. Beside it: its name, which application a pipeline token deploys, when it expires and when it was last used.
Work at your providers is recorded step by step
Every change Brewless makes at a provider is an operation made of steps. An operation survives a restart, and a step that failed can be tried again without repeating the ones before it. Nothing destructive happens to your resources as a side effect: removing something from Brewless leaves it running at the provider. The one thing Brewless removes at a provider is a database your application asked it to remove through databases per tenant, and the temporary databases it made itself for a restore test.