Pular para o conteúdo
LatchkeyLatchkey home

Latchkey vs runners self-hosted: custo, operação e confiabilidade

Runners self-hosted parecem os mais baratos no papel. Aqui está a comparação real quando você conta o tempo de engenharia para operá-los, e como runners gerenciados com autocorreção mudam a conta.

Runners self-hosted dão o menor preço bruto de computação e controle total: você roda o software do runner nas suas próprias máquinas (EC2, Kubernetes, bare metal). O custo oculto é a operação - autoscaling, patching de imagens, isolamento de segurança, limpeza de disco e plantão quando a frota quebra. O Latchkey é gerenciado: você tem preço baixo por minuto e a escolha do tamanho do runner sem ser dono de nada dessa infraestrutura, além de autocorreção em cada job.

Self-hosted vs Latchkey em resumo

Self-hostedLatchkey
Custo bruto de computaçãoO menorBaixo (a partir de $0.0025/min)
Custo realMais tempo de engenharia e plantãoPor minuto, sem tempo de operação
Infraestrutura que você mantémScaling, patching, limpeza, segurançaNenhuma
Inicialização do jobRápida se você os mantém quentesPools quentes (gerenciados)
Isolamento / segurançaSua responsabilidadeGerenciado, isolado por job
Recuperação de falhas instáveisNão (você mesmo faz)Repetição automática com autocorreção
Melhor paraControle total em larga escalaBaixo custo + baixa operação

Onde o self-hosted ganha

Máximo controle e o menor preço de computação por unidade: ideal se você precisa de hardware específico (GPUs, muita memória), colocação de rede estrita, ou você já tem um time de plataforma capaz de operar uma frota de runners em escala.

O custo oculto do self-hosting

Alguém tem que construir e ser dono do autoscaler, aplicar patches e reconstruir imagens de runner, isolar jobs para que um workflow não contamine o próximo, limpar o disco entre execuções e responder quando runners caem no meio do pipeline. Esse tempo recorrente de engenharia é a conta real, e ele não aparece na fatura da nuvem.

Onde o Latchkey ganha

O Latchkey mantém o preço baixo por minuto e a escolha do tamanho do runner, mas o GitHub Actions vê um runner gerenciado e você não mantém nenhuma da infraestrutura. Cada job roda isolado, os jobs iniciam a partir de pools quentes e falhas transitórias ou mecânicas se autocorrigem e repetem automaticamente em vez de acionar um humano.

How to evaluate a managed runner honestly

  • Compare at equal machine shape. A lower rate on fewer vCPUs is not cheaper per unit of work.
  • Check billing granularity: per-minute rounding costs real money across a wide matrix of short jobs.
  • Include queue and boot time. Cheaper per minute but slower to start can cost more per merge.
  • Count your re-runs. Paying twice for the same work is invisible on every rate card.
  • Switching is a one-line runs-on change in both directions, so a two-week trial beats modelling.

O veredito

Escolha self-hosted se controle total e hardware sob medida valem operar uma frota de runners você mesmo. Se o seu objetivo é baixo custo sem a carga operacional, e pipelines que se recuperam sozinhos de falhas instáveis, o Latchkey dá runners gerenciados com preço semelhante ao self-hosted e autocorreção embutida.

Perguntas frequentes

Latchkey vs Self-Hosted Runners: Cost, Ops & Reliability?
Self-hosted runners give you the lowest raw compute price and full control: you run the runner software on your own machines (EC2, Kubernetes, bare metal). The hidden cost is operations - autoscaling, image patching, security isolation, disk cleanup, and on-call when the fleet breaks.
Where self-hosted wins?
Maximum control and the lowest per-unit compute price: ideal if you need specific hardware (GPUs, big memory), strict network placement, or you already run a platform team that can operate a runner fleet at scale.
The hidden cost of self-hosting?
Someone has to build and own the autoscaler, patch and rebuild runner images, isolate jobs so one workflow cannot poison the next, clean up disk between runs, and respond when runners go offline mid-pipeline. That recurring engineering time is the real bill, and it does not show up on the cloud invoice.
Where Latchkey wins?
Latchkey keeps the low per-minute pricing and your choice of runner size, but GitHub Actions sees a managed runner and you maintain none of the infrastructure. Every job runs isolated, jobs start from warm pools, and transient or mechanical failures self-heal and retry automatically instead of paging a human.
Which should I choose?
Choose self-hosted if total control and bespoke hardware are worth running a runner fleet yourself. If your goal is low cost without the operational burden, and pipelines that recover from flaky failures on their own, Latchkey gives you managed runners at self-hosted-like pricing with self-healing built in.

Guias relacionados