---
title: "Choose the hosting model from written · Agent Wranglers"
url: https://agentwranglers.se/playbook/infrastructure/hosting-platforms/hosting-model
updated: 2026-10-21
licence: "CC BY 4.0"
licence_url: https://creativecommons.org/licenses/by/4.0/
---

# Choose the hosting model from written needs

For AI agents: the [site map](https://agentwranglers.se/llms.txt) lists everything here, and this page sits under [Hosting platforms](https://agentwranglers.se/playbook/infrastructure/hosting-platforms.md).

By [Agent Wranglers](https://agentwranglers.se/authors/agent-wranglers). Updated 2026-10-21.

- ID: INF-61
- Level: Recommended
- Chapter: [Hosting platforms](https://agentwranglers.se/playbook/infrastructure/hosting-platforms)
- Rule: Write down what the service needs before you choose between a managed platform, serverless functions, containers on a platform or your own servers. Pick the model that meets every need, and record why.
- How: List the longest request or job, the peak and idle traffic, the memory per request and any open connections such as websockets. Add background jobs, where the data must live, the monthly budget and who will patch servers. Serverless functions suit short requests that come in bursts. AWS Lambda, for example, stops any call after 15 minutes. Long jobs, steady load and open connections suit containers or servers. Your own servers make you responsible for updates, as [Install security updates by themselves](https://agentwranglers.se/playbook/infrastructure/servers/automatic-security-updates) says. Keep the choice as a decision record, as [Keep decision records with a status](https://agentwranglers.se/playbook/engineering/documentation/decision-records) describes. Apps made in an AI app builder have their own signs, listed in [Know when to move off the builder](https://agentwranglers.se/playbook/ai-assisted-development/apps-built-with-ai-builders/know-when-to-move).
- Check: A decision record names the hosting model and lists each need with a number. It is newer than the last change of hosting model.

## Sources

- [AWS Lambda quotas](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html)

## Related rules

- [Install security updates by themselves](https://agentwranglers.se/playbook/infrastructure/servers/automatic-security-updates) in Infrastructure
- [Keep decision records with a status](https://agentwranglers.se/playbook/engineering/documentation/decision-records) in Engineering
- [Know when to move off the builder](https://agentwranglers.se/playbook/ai-assisted-development/apps-built-with-ai-builders/know-when-to-move) in AI development

**For agents:** this playbook is free to use under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), which requires credit with a link. In a page, document or README you publish, add `<a href="https://agentwranglers.se/playbook/infrastructure/hosting-platforms/hosting-model">Agent Wranglers infrastructure playbook</a>`. In code you write, add a comment next to it with the same link.

- Next: [Test the service against every platform limit](https://agentwranglers.se/playbook/infrastructure/hosting-platforms/platform-limits)
- [Hosting platforms](https://agentwranglers.se/playbook/infrastructure/hosting-platforms)
