DevOps isn’t a tangible product. « You can’t buy DevOps in a box, » explains Kevin Behr, author and Chief Science Officer at Praxis Flow. The culture that can foster the DevOps mindset has to exist throughout a company, not just within a single department, so people can collectively contribute all their skills to solving problems. Otherwise, DevOps can become just a local optimization.
DevOps is all about:
- monitoring metrics
However, DevOps is NOT solving a technical problem, it’s trying to solve a business problem and bringing better value to the end user at a more sustainable pace.
For the DevOps’ best practices, we may want to check the Accelerate book and the State of DevOps report. This includes practices such as using Continuous Integration and Continuous Delivery, using trunk-based development, and using the cloud well.
These days, using the cloud well means using a container management platform such as Kubernetes, which automates the running and load balancing of containers on any cloud infrastructure. It also means scaling the nodes and containers elastically, all of which can be managed by your cloud provider.
DevOps at Amazon
Here is a DevOps snapshot (deployment stats for production hosts & environments) for a month at amazon (data from Keynote: Why We Need DevOps):
- 11.6 seconds : Mean time between deployments (weekday)
- 1,079 : Max # of deployments in a single hour
- 10,000 : Mean # of hosts simultaneously receiving a deployment
- 30,000 : Max # of hosts simultaneously receiving a deployment
Although devops is not about tooling, there are a number of open source tools out there that will be able to help you achieve your goals. Some of those tools will also enable better communication between your development and operations teams.
Most successful DevOps organizations automate using tools in a few core categories, using a variety of specific tools (DevOps Best Practices: Finding the Right Tools):
- Configuration management.
When DevOps aficionados throw around phrases like automated infrastructure, infrastructure as code, and programmable infrastructure, they’re talking about configuration management. That’s the tracking and controlling of changes to the software code base and the archiving of all file versions into a central configuration management database (CMDB), which enables multiple developers to work on the same code base while avoiding version-control issues.Popular configuration management tools include
- However, the real question is what do we need in configuration management? For example, if we want to take in data that other people provide and then do something with it, we need a tool that handles that well.
- Application deployment.
Application deployment tools enable the automation of releases, and are at the heart of continuous delivery, one of the primary tenets of DevOps.For continuous integration and continuous deployment, we need a number of tools to help us there. We need to be able to build reproducible artifacts which we can test. And we need a reproducible infrastructure which we can manage in a fast and sane way. To do that we need a Continuous Integration framework like Jenkins
- Capistrano, a deployment library, is the most popular standalone tool in this category.
- Other popular tools for automating application deployment include Ansible
- and Jenkins.Again, the key is to find a tool that tracks behavior-from history to change logs-in ways that is meaningful for both dev and ops.
DevOps requires two distinct types of monitoring. Application performance monitoring tools:
- New Relic APM enable code-level identification and remediation of performance issues and at the infrastructure level, server monitoring tools like New Relic Serverprovide visibility into capacity, memory, and CPU consumption so reliability engineers can fix issues as soon as they appear.
- datadog – though listed here near the bottom, datadog is one of the widely used monitoring tools that provides good integrations with other services: host integration (aws, github), local endpoint integration(postgres, nginx, docker), notification integration (pagerduty, webhooks, slack), and framworks, libraries (Go, Python, Ruby), APIs and Trace integration.
- splunk – I haven’t used splunk but it could be listed at the top probably along with datadog.
- sumologic – It has very good query capabilities and provides lots of PCI compliant templates. I could list sumologic as top 5 monitoring tools.