everythingpossible - Fotolia
Serverless infrastructure calls for updated IT ops expertise
IT ops participation is necessary for successful serverless infrastructure management, but operations pros will need to sharpen their skills in systems engineering and infrastructure as code.
Serverless deployment has caught on in the enterprise, but to advance this technology beyond the trial stage, companies will need the help of their IT operations pros.
So far most enterprise serverless deployments are limited to small IT teams that work on early or experimental apps. For companies to adopt serverless infrastructure for their most important business applications, they'll need IT operations expertise.
This stands in contrast with early serverless community conversations that focused on "NoOps" and envisioned a future where serverless applications ran without help from IT ops specialists. Some startups function that way, but NoOps is a no-go for established companies, even in serverless infrastructures.
"The unit of compute is a lot smaller [in serverless infrastructure] but the problems still remain -- you still have to monitor it, and someone's still going to get a call at two in the morning if [something] goes wrong," said Brian LeRoux, co-founder and CTO of Small Wins Inc., makers of Begin, an app for managing projects and tasks in Slack. "Measurability, SLAs, contracts -- all of these are things that are not going to go away with the cloud."
As applications grow and mature, the scope of those problems will change as well. They will move from the creation of individual code functions to understanding how functions connect across multiple cloud services, and how all those pieces function as a whole. For complex serverless apps, open source frameworks such as the Serverless Framework and Sparta, and proprietary platforms such as the Serverless Application Model and AppSync on AWS, have sprung up to help coordinate the many moving parts.
That's where IT ops will come in, but they'll need to update their skills.
Serverless infrastructure requires refocused ops skills
In a world of serverless infrastructure, IT ops must think about systems-level engineering rather than server-level tasks.
"The idea of running Nagios or updates for OpenSSL will fade away, because those problems don't exist anymore," said Matt Weagle, director of infrastructure and operations at ShiftLeft.io, a security software startup in Santa Clara, Calif., and the creator of Sparta, a framework that transforms apps into AWS Lambda-based microservices.
Instead, the concern for IT ops pros might be how to optimize serverless infrastructure to reduce bottlenecks, such as by sharding traditional databases, or to convert to more modern database systems that better support serverless traffic patterns, Weagle said.
Systems-level architecture isn't the only new focus for IT ops pros in a serverless world. Infrastructure automation skills, especially the ability to write infrastructure as code, will also be mandatory.
"The serverless side is all about infrastructure as code, whether you're using [AWS] CloudFormation or something like [HashiCorp] Terraform," said Dave Townsend, principal software engineer at Matson Inc., a cargo shipping company in Honolulu. "We're using CloudFormation for everything."
The company's ops team must deepen its knowledge of CloudFormation to help Townsend's architecture and innovation team secure and troubleshoot its serverless mobile app. Townsend's team found that its app needs a web application firewall to block malicious traffic, and wants the ops team to learn how to deploy that with CloudFormation, as well as add it to the build pipeline for other apps.
"Observability and monitoring are also going to be key," Townsend said. Matson uses a tool by IOpipe to monitor serverless infrastructure metrics, which the ops team can access but has yet to exploit.
The Matson ops team also runs the company's Splunk environment for log monitoring, which Townsend would like them to bring into the serverless fold.
"I'm looking to them to get [Amazon] CloudWatch logs into a Splunk dashboard so we have a nice view of the serverless world and all the health of all the components, and they seem pretty excited about that," Townsend said.
Serverless infrastructure shifts troubleshooting approach
The ability to observe and monitor any infrastructure is only as useful as its contributions to meaningful incident response, and serverless infrastructures require IT ops to shift its approach there as well.
Serverless infrastructure isn't as transparent as other cloud infrastructures, where users have visibility into the underlying container or host, but it lends itself to rapid deployment. Thus a grasp of immutable infrastructure concepts, in which systems are continually redeployed rather than updated to make changes, will come in handy for IT ops pros who work with serverless platforms.
"If you're having a problem and your logging is terrible, you can push out a new function with better logging in a matter of minutes, rather than having to go through a much larger, heavier process for a monolithic app," said Ernest Mueller, director of engineering operations at AlienVault, an IT security firm based in San Mateo, Calif. "To a degree, the speed of change allows us to compensate for the lack of introspection that serverless has."
Ops pros who can code may do that redeployment, or they may develop a set of overall logging strategy guidelines and let developers do the implementation, Mueller said, which puts ops into a more consultative role than it's had historically.
"I could scale my team up with our growth, but I don't think that's responsible nowadays," Mueller said. "I'd much rather equip developers to write their own infrastructure code, their own monitoring as code, and the expert consulting and tooling to make that work."