HackerNoon

How to Secure a Self-Hosted CI/CD Runner on a VPS Without Turning It Into a Backdoor (opens in new tab)

A self-hosted CI/CD runner on a VPS should be treated like part of your production delivery chain, not just a build machine. Before using it, harden the server, disable risky SSH access, limit inbound traffic, isolate runners by trust level, keep secrets out of the VPS, avoid giving Docker jobs excessive privileges, monitor disk/CPU/memory, plan Docker cleanup, and document recovery steps. The core rule is simple: never let untrusted code run on a runner that can access production secrets or ...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help