News for hackers. Stuff that matters.

What are the best books or resources on SRE automation that are also practical?

I’m bought in on the need for automation in SRE, now how do I do it? An SRE team I’m on is making a big push to automate, and I want to make sure we do this right. I also don’t need theoretical SRE books right now, I need some books or resources with case studies of things automated and ideally some code to boot. I’m looking mostly for the “HOW”, but I’m also interested in books to help think about “WHO/WHAT/WHERE/WHEN.” I’m _not_ interested in books that delve deeply into the WHY for either SRE or automation. I’m looking for resources practical applications, ideally with pitfalls to avoid, on how to build a world class DevOps organization and automate the right things on my team. I’m thinking API construction, design patterns to Use/Avoid, fully autonomous systems vs self-service tooling, and SLI construction and measurements. Sorry, this is a lot, but I might be helping to lead this team so I have a lot of questions on the implementation of this (not to mention how to steer office politics) and I’m feeling a bit out of my depth. Any advice on good resources to pursue is most appreciated!!!
( 19 comments | 52 points | on HN )
Re:What are the best books or resources on SRE automation th... by jmillikin on Friday August 05, 2022 @08:38AM (#32355217)
Do you want a book on SRE, or do you want one on systems administration and operations?

SRE is a specialized software engineering discipline, the sort of thing you'd do if you had a team of 20 SWEs and wanted to write something like Kubernetes or Puppet. Good books on SRE (besides the Google book that popularized it) cover UNIX and Linux operating system concepts, low-level networking, and software architecture in general.

On the other hand, if you've got a team that does a lot of operations work by hand -- runbooks, MOPs, checklists, etc -- and want to automate it, then you should be looking for books on modern systems administration. Look for references to specific technologies such as Kubernetes (or Mesos), Terraform (or CloudFormation, or Pulumi), Puppet (or Ansible).

(context: I've been an SRE for ~10 years, first at Google then Stripe)

Re:What are the best books or resources on SRE automation th... by abbadadda on Friday August 05, 2022 @05:18PM (#32362084)
Thank you very much for the recommendations. Do you know of any good books that cover how and what to automate? Let’s say that you have strong SysAdmin fundamentals (Linux, Networking, Python, Etc.), which books would you recommend to learn more about automating in a large organization?
Re:What are the best books or resources on SRE automation th... by tn890 on Friday August 05, 2022 @08:57AM (#32355420)
FYI Mesos is dead.
Re:What are the best books or resources on SRE automation th... by hcrean on Friday August 05, 2022 @06:58AM (#32354340)
The Google SRE books are good, they cover most of the major things. There are then lots of books on specific tooling you might want to use. This is not a one book subject!
Re:What are the best books or resources on SRE automation th... by dev_0 on Friday August 05, 2022 @06:45AM (#32354214)
I don't believe there is a single book on this because of the difference in contexts.

You need to synergize different tools such as Terraform to implement the principles

Re:What are the best books or resources on SRE automation th... by thejosh on Friday August 05, 2022 @06:57AM (#32354332)
Exactly there are so many different contexts and how your deployment works etc. And also the size of your team and the size of your org.
Re:What are the best books or resources on SRE automation th... by game_the0ry on Friday August 05, 2022 @07:56AM (#32354829)
I am not an SRE but I have seen this resource pop up as a recommendation:

https://sre.google/

Re:What are the best books or resources on SRE automation th... by aaroncloud on Friday August 05, 2022 @08:27AM (#32355116)
Definitely start with https://www.amazon.com/Site-Reliability-Workbook-Practical-I... there is also an audible version. It covers just about everything and in detail.

This is DevOps maturity model called DORA: https://sre.google/ Check out CNCF on tooling: https://sre.google/

Useful short reading: https://sre.google/ but make sure you read Site Reliability Workbook... first.

Re:What are the best books or resources on SRE automation th... by abbadadda on Saturday August 06, 2022 @06:32PM (#32372215)
Those last 3 links are all the same, no? Just “https://sre.google/“?
Re:What are the best books or resources on SRE automation th... by aaroncloud on Friday August 12, 2022 @07:56AM (#32437128)
Re:What are the best books or resources on SRE automation th... by aaroncloud on Friday August 12, 2022 @07:57AM (#32437134)
Re:What are the best books or resources on SRE automation th... by sreblog on Friday August 05, 2022 @03:51PM (#32361119)
I've definitely written a bunch for friends asking similar questions. Feel free to reach out (contact info on the website, which is in my hn bio).
Re:What are the best books or resources on SRE automation th... by LaurensBER on Friday August 05, 2022 @07:32AM (#32354644)
The DevOps handbook is great and explains both the why and includes plenty of practical case studies.
Re:What are the best books or resources on SRE automation th... by samuell on Friday August 05, 2022 @06:59AM (#32354348)
Is the SRE workbook (not the main SRE book) also too theoretical?

https://www.amazon.com/Site-Reliability-Workbook-Practical-I...

Re:What are the best books or resources on SRE automation th... by verdverm on Friday August 05, 2022 @07:44AM (#32354732)
They are available free from google

https://sre.google/books/

Re:What are the best books or resources on SRE automation th... by captn3m0 on Friday August 05, 2022 @08:26AM (#32355108)
Re:What are the best books or resources on SRE automation th... by rr888 on Friday August 05, 2022 @08:09AM (#32354932)
Is this a small company or a team in a big one? If you're a team in a corporate its good to talk to other divisions and see what they're up to. There might be company wide tools you dont know about. Usually too you'll see people sitting on a different floor with the same problems and its good to bounce ideas off even if you dont use the same solutions.

Also you'll see ITIL framework, its usually horribly overweight if you're small or even medium sized, but might give you some ideas.

Re:What are the best books or resources on SRE automation th... by vira28 on Saturday August 06, 2022 @05:24AM (#32366445)
Systems performance from Brendan Gregg. Thank me later.
Re:What are the best books or resources on SRE automation th... by abbadadda on Saturday August 06, 2022 @06:33PM (#32372219)
I’ve seen a few of his blog posts but never checked out his book! Thanks for the recommendation.