Book Study: The Practice of Cloud System Administration — Part 1

Microsoft

 

As published on my blog: https://medium.com/@shehackspurple/book-study-the-practice-of-cloud-system-administration-part-1-68c...

 

The Practice of Cloud System Administration was written by Thomas A. Limoncelli, Strata R. Chalup, Christina J. Hogan.

I’m reading this book in hopes that by understanding the art of being an amazing Cloud SysAdmin, it will help me become an excellent Cloud Security Architect, Incident Responder, and teacher on these topics.

The introduction chapter lists several ideas and ideals that might not be new, but they are certainly helpful. I’m going to define them here, hoping that it will be helpful for the future as I continue through the book. All of these ideas will be discussed in-depth as the book continues.

Architecture

  1. Treat failures as an expectation, something that will happen for sure. Prepare accordingly. If we all did this, all of the time…
  2. Everything requires an API (programmable interface to allow for automation). If there’s no API, it’s no good.
  3. Large systems are made up of smaller services. Everything is a service. There are many tiny pieces that that work together, so that if one fails the entire thing does not fail. This is called a Service Oriented architecture (SOA). Each service can be individually enabled or disabled.
  4. Infrastructure must be automatically created, not manually. This means it needs to be saved that way, so that it can be created by machines, in seconds, instead of minutes or or even weeks. Also known as “infrastructure as code”, we can (and should!) automate all of it.
 
Image Credit #WOCinTechChat

Release Process

  1. Don’t do mega-releases (many changes in a single release), that’s creating serious risk. Instead improve and automate your release process (using a pipeline/packaging system), and do it more often, for reduced risk.
  2. Practice the release automation until it’s perfect. Make it a habit to spend time improving your release process regularly.
  3. Ideally, you perform security testing as well as every other type of testing, using automation, as part of your release cycle.
  4. Only if it passes all the tests is code released.
  5. If code is released and it has serious issues, this means you need to fix your release pipeline. This means you need to add more tests.
  6. Once you have this rolling, you should spend more time improving the release process rather than doing the work of the release process.
 
Image Credit #WOCinTechChat

Operations

  1. All software must be created so that it can be monitored and logged. Not just for security (my obvious bias) but for all forms of performance.
  2. Measure everything. Use this information to find problems when they are small, before they cause outages or incidents. Even measure your counter measures, to understand when it’s time to automate.
  3. People who are oncall are alerted via automation, this can be the Ops or the Incident Response (IR) team.
  4. Being on call should not be hell. It should be planned in advance, with a realistic amount of alerts, with a backup person, and help in case the person oncall can’t handle what is thrown at them.
  5. Playbooks (automated if possible) should exist for everything. If an alert or incident happens, your team should know exactly what to do, and what is expected of them. Hmmmm, who has said that before?
  6. Test your counter measures by causing failures. That’s right, cause problems, on purpose! Paging the Red Team. This also means we should do security incident simulations.
  7. Implement auto-scaling. Up and down. Why pay for what you are not using?
  8. Release new features for users a few at a time, to allow for A/B testing. This means you can figure out if users like or dislike the new feature before the big announcement that it’s been released.
  9. Always have good hygiene. Regularly update documentation, tune your alerting, review post mortem findings and analyze your findings to create improvements.
  10. Dev and Ops are not two teams but one team that perform a variety of functions. *Everyone* participates in oncall duties.

So far I am liking this book.

Up next! Design: Building It

1 Reply

I'd love to hear any thoughts you may have!