Search⌘ K
AI Features

Code

Explore how to build and manage code for distributed systems including the importance of version control, secure dependency management, and using immutable infrastructure to ensure reliable deployments. Understand practices that maintain chain of custody from development to production and support system stability.

Building the code

Even before we get to questions about containers versus VM images, we should look at some things about the code. Developers naturally pay a lot of attention to their code. As a result, we have great tools at our disposal to build, house, and deploy code. There are some important rules to follow, though. These are mostly about making sure that we know exactly what goes into the code on the instance. It is vital to establish a strong chain of custody that stretches from the developer through to the production instance.

It starts at the desktop. Developers should work on code within a version control system. There’s simply no excuse not to use version control today. Only the code goes into version control, though. Version control doesn’t handle third-party libraries or dependencies very well.

Developers must be able to build the system, run tests, and run at least a portion of the system ...