We made our infrastructure read-only and never looked back
devcenter.upsun.com·16h·
Discuss: r/programming
Flag this post

If you’ve used Upsun, you’ve likely noticed something unusual when SSH’ing into your container: the filesystem is read-only. You deploy an application, log in to investigate, attempt to create a directory, and encounter this error:

This can be frustrating at first. What kind of platform won’t let you create folders?

The answer lies in a deliberate architectural decision. Read-only infrastructure provides significant security, reliability, and compliance benefits that outweigh the operational adjustments required. Let’s examine these benefits and the trade-offs involved.

Security: eliminating entire attack vectors

Read-only filesystems eliminate entire classes of security vulnerabilities. Common attack patterns become impossible:

Consider CMS vulnerabilities where attackers up…

Similar Posts

Loading similar posts...