# Does your Laravel app still need an SLA?

What a hosting SLA or maintenance contract for a Laravel app pays for, which parts serverless and Brewless already do, and what you may still need it for.

## In short

- Most of what a hosting SLA or maintenance contract for a Laravel app pays for is keeping the server, PHP and the web server patched, watched and backed up.
- On serverless there is no server of yours to patch or fall over, and Brewless puts security fixes of PHP, the system libraries and the web server under the live release by itself, on every plan.
- Releases run their migrations first and have to answer healthy before they take visitors, and a rollback puts an earlier image live again without a rebuild.
- Brewless promises no availability percentage, offers support by mail on Dutch working days and does not upgrade your Composer and npm packages.
- If your customers ask for an availability percentage or support around the clock, you still need those from someone; for patching alone, most apps do not need a contract.

A client signs, and somewhere in the contract it says the app has to be "maintained". So the agency adds a monthly line for an SLA, or the client buys one from their hosting company. Every month someone pays for it, and often nobody can say which part of it was used.

This post goes through what such a contract for a Laravel app actually pays for, which of those parts disappear when the app runs serverless on [Brewless](/), and what is left that you may still want a contract for.

## Does a serverless Laravel app need an SLA?

For patching and keeping the server alive, usually not: on serverless there is no server of yours, and Brewless puts security fixes of PHP, the system libraries and the web server under your live release by itself. You still need a contract if your customers ask for an availability percentage or for support around the clock, because Brewless offers neither.

The rest of this post is the why, line by line.

## What an SLA actually pays for

Read a few hosting SLAs and maintenance contracts for Laravel apps and the same parts come back:

1. **Security updates** of the operating system, PHP and the web server.
2. **Watching the server**: disks, memory, processes that hang.
3. **Certificates** that get renewed before they expire.
4. **Capacity** for a busy day.
5. **Safe releases** and a way back when one goes wrong.
6. **Backups** of the database and the files.
7. **An availability percentage** and a response time, with someone who picks up the phone.

Most of the hours behind that monthly line go to the first two. A server with PHP on it has to be patched, and someone has to notice when it is not well. The question is how much of that work still exists once there is no server.

## The parts that are already done

Here is the same list, with what takes its place on Brewless. Everything in the right column holds on every plan, the free one too.

| In a typical SLA | On Brewless |
| --- | --- |
| Patching the operating system and kernel | There is no server of yours. Scaleway runs the machines your containers start on. |
| Security updates of PHP and the web server | Checked every hour; a fix goes under your live release without a rebuild, production last. |
| Watching the server | Containers start for requests and stop when it is quiet. No disk to fill up, no process that runs for weeks. |
| Certificates | bunny.net makes and renews them for your domains. |
| Capacity | Containers scale with the traffic up to the ceiling you set; the database can get more capacity for a peak. |
| Safe releases | Migrations run first, the new release has to answer healthy, and the previous release stays ready to roll back to. |
| Backups | `brewless.yml` can ask for a private bucket for backups, with versioning, in a region of its own, inside your own Scaleway project. |

### Security updates without a ticket

This is the line most contracts are built around. Every hour Brewless looks whether PHP published a newer release, and scans its own images for vulnerabilities rated critical or high. When one has a fix, in PHP, in a Debian package or in the web server, Brewless builds new base images and starts a release of its own for every environment that runs on the old one.

Nothing of your app is rebuilt. Brewless takes the application layer of the live image exactly as it was built and puts it on the new base image: the same commit, the same variables, the same `brewless.yml`. Within one application the environments go one after the other, `production` last, and when a release fails, the one before it stays live. The owners and administrators get a mail afterwards, and every round is in the public [security update log](/patching/log). [Security updates for Laravel without rebuilding the image](/blog/security-updates-without-a-rebuild) goes deeper into how the layers are swapped.

It is on by default. To do it yourself instead, switch it off per environment:

```yaml brewless.yml
environments:
  production:
    runtime_updates: false
```

See [Security updates](https://docs.brewless.eu/deployments/security-updates) in the documentation for the whole round.

### A bad release does not go live

The other thing people buy an SLA for is someone who repairs a broken deploy at night. On Brewless a release runs its release commands, such as `migrate --force`, on the new image before anything changes for visitors. Then the web container switches and has to answer healthy on your health route (`/up` for Laravel). If the migrations fail or the health check does, the release that was live keeps serving.

When a release does go live and turns out to be wrong, a rollback puts the image of an earlier release live again, without building anything:

```bash
brewless rollback production
```

See [Rollbacks](https://docs.brewless.eu/deployments/rollbacks) for what a rollback does and does not undo.

### Brewless can stop, your app does not

A contract with a hosting company often makes that company part of your app: if they go down, so do you. Brewless sits outside the path of your visitors. Your containers, database, files and DNS run in your own Scaleway and bunny.net accounts, so when Brewless is unreachable, your app keeps serving; you just cannot deploy or change anything through it until it is back.

And when the container itself does not answer, a pull zone Brewless manages serves the pages it already has in its cache, instead of an error. Only pages your application let be cached are kept, so nothing private to a visitor is served that way.

## What Brewless does not do

Some of what an SLA holds, Brewless does not offer. It is better to know that before you cancel a contract.

> [!WARNING]
> Brewless promises **no availability percentage** and **no support around the clock**. Support is by mail on Dutch working days, from 9:00 to 17:00 Central European Time, with an answer within one working day. See section 7 of the [terms](https://docs.brewless.eu/legal/terms). An Enterprise agreement can set other terms.

**No outside monitoring.** Brewless never sends requests to your app to see whether it is up, because every such request would wake a container that could be asleep. If you want an uptime monitor, add one of your own, and accept that it keeps the app awake.

**No package upgrades.** Your Composer and npm packages are part of your code and stay as your lock files say. A security update of the images never changes them. [Keep Laravel packages current with Dependabot](/blog/keep-laravel-packages-current-with-dependabot) shows how to let GitHub open, test and merge those updates for you. A major upgrade of Laravel stays a deliberate step.

**No new PHP version by itself.** Patch releases within your version arrive with the security updates. Moving from one PHP version to the next can change behaviour your code relies on, so that stays your choice: you set `php` in `brewless.yml` and deploy, staging first.

## The work that is left

So what remains of the contract? Mostly your own code, and the moments something in it breaks. That part a coding agent can now do a lot of with you. The `brewless/laravel` package brings a short guideline and four skills that tell agents such as Claude Code, Codex, Cursor, GitHub Copilot and Junie how to deploy, read logs, roll back and run commands with the `brewless` client:

```bash
brewless logs production --range=hour --search=Exception
brewless releases production
brewless rollback production
```

The guideline tells the agent to ask before anything that changes an environment, and never to pass `--force` to skip a question you did not answer. What it does is written to the audit trail under your name. See [Coding agents](https://docs.brewless.eu/getting-started/coding-agents).

## When you still want a contract

Keep or buy one when:

- a customer contract asks for an availability percentage, with credits when it is not met;
- someone has to be reachable at night or in the weekend;
- nobody on your side looks after the code itself, and you want a developer who does.

If none of those apply, the contract mostly pays for work that is already done. Brewless is free for one application, €15 a month for Solo with up to three applications and €49 for Business, excluding VAT, and the security updates are part of each of them; Scaleway and bunny.net bill you directly for what your app uses. The [Instead of an SLA](/sla) page lays the parts of a typical contract next to what Brewless does, with the price ranges we found for those contracts.

## Frequently asked questions

### What does a hosting SLA for a Laravel app usually cover?

Security updates of the operating system, PHP and the web server, certificates, backups, watching the server, capacity for peaks, and someone who answers when it breaks. Many contracts also promise an availability percentage and a response time.

### Do I still need an SLA for a Laravel app on Brewless?

Most apps do not need one for patching. PHP, the system libraries and the web server are patched by themselves, a release that fails never goes live, and the app keeps running in your own accounts when Brewless is down. You still need someone for an availability percentage or support around the clock, if your customers ask for those.

### Do automatic security updates work on the free plan of Brewless?

Yes. Every environment gets them, whatever its plan, unless you switch them off with runtime_updates: false in brewless.yml or in the console.

### Does Brewless promise an uptime percentage?

No. Brewless is not in the path of your visitors, so your app keeps serving from your own Scaleway and bunny.net accounts when Brewless is unreachable. Support is by mail on Dutch working days from 9:00 to 17:00, with an answer within one working day.

### Who upgrades Laravel and my packages on Brewless?

You do. Your Composer and npm packages are part of your code. Dependabot can open a pull request for every update and GitHub Actions can test it; a major upgrade of Laravel you do on purpose, with a coding agent or a developer.

Source: https://test.brewless.eu/blog/does-laravel-app-need-an-sla
