Site Reliability Engineering (SRE) arises from approaching operations with a software-centric mindset. In essence, it involves utilizing software tools to automate IT infrastructure tasks, such as managing systems and monitoring applications. While SRE as a job role is widely accepted and regularly recruited in the tech industry today, the responsibilities of this role vary from organization to organization. That is, different companies may emphasize different core functions/pillars of SRE. Also, the skill set needed for an SRE role in cloud infra providers (such as AWS and Azure) may differ from that of cloud consumers (such as SaaS companies or IT in non-tech companies). As a practitioner working in a global gaming and entertainment company, my daily jobs primarily consist of the five pillars below.
Cloud Engineering
Most SaaS companies operate on at least one cloud computing platform (AWS, Azure, GCP). Taking my company as an example, we have a hybrid IT architecture that primarily involves on-prem data centers, Azure, and AWS. We are even expanding the horizon of our infra to other cloud providers such as GCP and Oracle Cloud to reduce risk. As a site reliability engineer in such companies, you need to understand the basic components of cloud infrastructure: compute, storage, database, and network, and how they are mapped in different cloud providers. In addition, you must be familiar with at least one provider and how networking, security, and scalability are configured in the cloud environment. Cloud infra provisioning and troubleshooting may take up a significant portion of your work.
If you need to work in multi-cloud environments, the comparison sheets provided by Microsoft and Oracle may help you quickly answer questions like this: “What x in Azure is in AWS?”
Observability and Monitoring
This is probably the first pillar on top of your head regarding SRE. We rely on logs, metrics, and traces to understand system performance and behavior insights. Major cloud platforms have built-in monitoring tools such as AWS CloudWatch or Azure Monitor. If you are looking for cross-platform solutions, there are open-source tools (Prometheus, Grafana, ELK Stack) and SaaS (Datadog, New Relic). Behind the scenes, you need to know the concept of service-level indicators, objectives and agreements (SLI, SLO, SLA), and error budgets. This post from Splunk explains them clearly with concrete examples.
Automation and Tooling
This is where all fancy tools come in, and the concepts of SRE and DevOps intertwine. These two posts from Google, Eliminating Toil and The Evolution of Automation at Google, clearly explain why we have a strong bias toward automation. Ideally, infrastructure provisioning, deployments, and scaling should be automated. There are numerous tools and aspects related to automation. Some common ones include:
- CI/CD pipelines and release engineering (GitHub Actions, Azure DevOps, Jenkins)
- Infrastructure as Code (IaC): Terraform, CloudFormation (AWS), ARM Template (Azure)
- Configuration management (Ansible, Puppet, Chef)
- Containerization (Docker) and orchestration (Kubernetes)
Incident Management and Response
Another typical pillar of SRE. Nobody likes incidents and being on-call (does anyone?), but I try to treat incidents as opportunities for learning, growth, and visibility. Common tasks in this pillar include incident response, postmortems, and root cause analysis (RCA). Communication and coordination during major incidents are also important. We use Opsgenie for alert and on-call management, but there are other alternatives such as PagerDuty or VictorOps.
Security and Compliance
Identity and Access Management (IAM), Cyber Security, and Network are probably the teams you work most closely with. While SRE is usually not the team that defines IAM/security policies, we need to integrate the policies and security best practices into our workflow to protect our systems and data. For instance, our Terraform code for infra provisioning must align with the service control policies of the organization in terms of permission granting. The code may need to pass static analysis to ensure that it complies with our security posture, as well as relevant regulations like how we conduct the Know Your Customer (KYC) process and handle Personally Identifiable Information (PII). In addition, we may need to assist (or sometimes lead) vulnerability assessment and remediation of cloud assets.
More Principles
These pillars not only reflect the focus of my current job but also frequently appear in related job postings. However, these practices are not mutually exclusive or exhaustive. Companies might equally prioritize other practices such as capacity planning, change management, cost optimization, and system administration. Here are some good articles discussing SRE principles or key pillars. You can see many overlaps between the discussions and my list.
