Skip to content
Skills Library
DevOps & cloud · Analysis

managed-vs-selfhosted

/managed-vs-selfhosted

Decide between managed services and self-hosting with honest TCO, lock-in assessment, and exit paths. Use when choosing infrastructure components or revisiting a costly managed dependency.

Repository
AI-SKILLS ↗
Licence
MIT
Last repository change
05.09.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 05.09.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Decide between managed services and self-hosting with honest TCO, lock-in assessment, and exit paths. Use when choosing infrastructure components or revisiting a costly managed dependency.

Original author description

Decide between managed services and self-hosting with honest TCO, lock-in assessment, and exit paths. Use when choosing infrastructure components or revisiting a costly managed dependency.

How it works

  1. Method
  2. Boundaries
Original SKILL.md headings · 60 lines, 427 words
SKILL.md preview
---
name: managed-vs-selfhosted
description: Decide between managed services and self-hosting with honest TCO, lock-in assessment, and exit paths. Use when choosing infrastructure components or revisiting a costly managed dependency.
---

# Managed vs self-hosted

The sticker price comparison is always wrong in both directions:
self-hosting hides engineer-hours, managed hides egress, per-request
fees, and the price of leaving. Compare total costs including the exit.

## Method

1. **Default managed for anything stateful and boring.** Databases,
   queues, object storage, Kubernetes control planes: the undifferentiated
   heavy lifting where your custom requirements are near zero and the
   failure cost is high. Reserve self-hosting appetite for components
   where you have real differentiating requirements or crushing scale
   economics.
2. **Compute TCO with engineer-hours priced in.** Self-hosted =
   instances + storage + the fraction of engineers who patch, upgrade,
   back up, tune, and get paged for it (0.25-1.0 FTE per serious
   stateful system is realistic) + the incident cost of doing it worse
   than a provider's dedicated team. Managed = service fees + the
   traffic-shaped charges (egress, per-request, per-connection) modeled
   at 10x your current volume, because that is when renegotiating is
   hardest.
3. **Grade the lock-in by interface, not vendor.** Open-protocol
   managed services (Postgres-compatible, S3-API, Kafka-compatible,
   OpenTelemetry) are rentals you can walk from; proprietary APIs with
   gravity (bespoke query languages, integrated event buses,
   ML platforms) are marriages. Prefer the open-interface managed
   option even at a modest premium; it converts exit from a rewrite to
   a data move.
4. **Write the exit path before signing.** For each critical managed
   dependency: how does the data leave (export tooling, egress cost,
   downtime), what replaces it, and roughly how many engineer-weeks?
   If the answer is "we could not, realistically", that is a strategic
   dependency: fine, but priced and acknowledged in the decision
   record (see architecture-decision-records).
5. **Re-decide at the trigger points.** Crossovers happen: the managed
   bill passing the loaded cost of the FTEs it saves, a compliance need
   the provider cannot meet, scale where per-request pricing dwarfs
   hardware. Put the decision on a yearly review with current numbers
   (see vendor-evaluation for the assessment frame); grandfathered
   defaults are how six-figure line items hide.
6. **If self-hosting, budget the whole job.** HA topology, backups
   with tested restores (see backup-restore), upgrade cadence,
   security patching SLA, monitoring and runbooks, and a named owning
   team. Self-hosted without that budget is not cheaper; it is
   deferred-incident financing.

## Boundaries

- Control-plane outages of a provider are correlated risk you cannot
  engineer away from inside; if that is unacceptable, the answer is
  multi-provider architecture, which costs more than either option
  alone.
- Compliance sometimes decides unilaterally (data residency, audit
  requirements, air-gapped environments); check before running the
  economics.
- This is a per-component decision, not a philosophy; healthy stacks
  mix both and re-evaluate component by component.

Versions

The database has no other skills named managed-vs-selfhosted.

Database snapshot: 13.11.2026 · package version f0f90f47158a (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100managed-services-over-self-hosted
    This skill should be used when the user is choosing between managed and self-hosted services, deciding whether to run Kubernetes or use managed containers, evaluating self-hosted databases vs managed databases, considering self-hosted monitoring or caches, designing for a small…
  • 100selfhosted-env-doctor
    Safe, read-only diagnostic tool for troubleshooting self-hosted stacks, port conflicts, and service failures. Use when: Identify port conflicts between Docker containers and host services; Debug Cloudflare Tunnel configuration and credential path issues; Detect Nginx…
  • 90cloud-architecture
    Designs systems for the cloud's actual shape — regions and availability zones, managed vs self-run tradeoffs, statelessness, failure-domain isolation, and the cost and lock-in consequences of each choice. Use this whenever the user is choosing a region topology, deciding between…
  • 100sentry-selfhosted
    Sentry self-hosted — error tracking, performance monitoring, and crash reporting, hosted on your own infrastructure (no third-party data sharing). Critical for privacy-respecting apps (wallets, healthcare, finance) where exfil to SaaS is unacceptable. Covers Docker Compose…
  • 85multi-cloud
    Covers running across cloud providers on purpose — portability vs managed services, the real operational cost of a second provider, avoiding accidental multi-cloud, and where the abstraction is worth it. Use this whenever the user is considering a second provider, evaluating a…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.