Chapter 57. The Cloud Doesn’t Care if It Works on Your Machine
Alessandro Diaferia
If your code successfully compiled and all the tests passed on your machine, you’re only a tiny bit closer to success. The increasing complexity of the production environments in the cloud is rendering our development machines an ever less accurate representation of the context our code is going to run in. For this reason, testing a local machine is not enough to build confidence in the code you write. We, as engineers, need to widen our mindset and go outside the comfort zone of our IDEs or our development machines by deploying the software we build. This is the only way we can understand the implications of running our code in a complex environment like the cloud.
As the markets become more competitive and the frequency of change of customer needs increases, companies need to stay agile at delivering value to their client base. Deploying software can’t be an afterthought. It can’t be a painful and error-prone activity that gets left as a last necessary evil, maybe delegated to an entirely different team. Running the software in a production-like environment should be incorporated into every development cycle. This is the only way issues can be surfaced and tackled before it’s too late. People writing code should also deploy it, understand what the implications ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access