
Sign up to save your podcasts
Or


Matty talks security with Tanya Janca, a cloud advocate at Microsoft who went from software developer to security person to cloud advocate, doing web app hacking and incident response along the way. The episode covers threat modeling, the Pushing Left blog series, serverless security, what developers and ops people should know, and the Mentoring Monday hashtag. The cold open is Tanya's invitation to developers: "Come on over, bring coffee, we will worship you."
Tanya first saw threat modeling when the CISO brought Tanya, newly on the security team, to a meeting with the business about what kept them up at night, and found the business worried about completely different things than a developer who just wants the app to stay up. The idea is to work out the threats to your system, then fix or protect against them, or accept the small ones. Formal frameworks like STRIDE and PASTA exist, but an informal conversation works as a warm-up, such as asking how you would hack your own app. Tanya tells of a friend with an IoT app whose view of the threats changed when Tanya asked about the users, and says it's "basically evil brainstorming, and the more point of views you have, the better."
Tanya suggests a half-hour to hour meeting with someone from the business, someone from tech and a security person, asking about confidentiality, integrity and availability: how sensitive the data is and where it's stored, what happens if something changes it, and what could knock it down and what you can tolerate, from a pacemaker to a neighborhood flower shop. Don't start with attack trees and a long formal process, which can scare people away. Mistakes include thinking threat modeling is the only thing needed, using a heavy process, and starting late: doing it at the end beats not at all, but it's "so much cheaper to find a design flaw really early than at the end." The OWASP application threat modeling wiki page is a good place to start.
If you draw the system development lifecycle left to right, from requirements and design to coding, testing and release, left is earlier. Shifting left, Tanya says, implies everyone's on board, while at previous workplaces Tanya and a friend from the Canadian government had to fight to start security earlier, so it was pushing. The blog series runs 14 posts because the fifth one was going to be 20 pages: a security activity at each stage, such as security requirements like HTTPS-only and key strength, secure design principles and threat modeling, secure coding and code review, static analysis and dynamic scanning. Tanya writes it as what Tanya wished someone had said two years earlier. Matty says we learn by teaching, and adds the swing-dance saying that "advanced dancers take beginner classes," so experts should read beginner material and just absorb it.
Matty asks whether serverless is Amazon's problem. "No, serverless is not Amazon's problem." It's still an app, and functions appear and disappear, so a function that runs five minutes a week can be missed in testing, while malicious actors don't punch a clock. OWASP has a Top 10 for serverless risks, nearly the same as for web apps, and injection is still possible if a function talks to the operating system or a database. Keep an inventory, since "if you don't know you have them, how can you secure them?" Tanya has responded to an incident for an app no one knew the company had. Logging matters even when functions are fast, since without it there's nothing to investigate. Tanya says to log usernames and failed-login bursts, not social insurance numbers or dates of birth. Matty adds you can't log retroactively, and recalls an application error that simply said something has happened, and Tanya recalls apps that sent a daily ping to an inbox that everyone ignored. Matty calls it normalization of deviance.
Tanya wishes developers knew the CIA triad, which isn't taught in school, and that the security team wants to help: "keep annoying us till you get what you need because that's our job is to help you." Tanya tells of a design that called double Base64 encoding encryption, and said another team had already built the real thing, but nobody knew who to ask. For searching, Tanya says "Whatever is at the top is the worst in regards to security every time," and recommends searching for OWASP cheat sheets for what you're trying to do, which surface the right answer. Matty adds that being good at searching has always been the secret, recalling using AltaVista in 1998.
For ops, Tanya says ops people get beaten up for unpatched systems though they work in slow waterfall settings, and that smaller, more frequent changes make emergency patches quicker. Security teams should buy ops people licenses and training for scanners like Nessus, and add container and VM scanning to pipelines. Tanya says assume breach and zero trust, recalling a network that drew zones on paper and was one flat network, and says a database should talk only to the app and its administrators, with the perimeter gone.
Tanya mentors a few people and couldn't take on more, so started a #MentoringMonday tweet that thousands answered, now a weekly hashtag where people post what they want help with and others respond. Tanya retweets it, and women can also get a retweet from the WoSec account. It isn't only for infosec: Python, blockchain, project management and startups are welcome, since "Everyone is welcome." Tanya says to consider mentoring after two years in an industry, even if it's just naming the first book. Tanya recommends The DevOps Handbook, The Phoenix Project and Accelerate, and Matty says telling people to read those is most of Matty's job.
Trevor catches up with Steven Murawski at Microsoft Build 2019, the first appearance since Ignite. Steven is a cloud advocate at Microsoft focused on the operations side of DevOps, site reliability engineering and cloud-native operations, and the two worked together at Chef. They first met on an early episode about PowerShell Desired State Configuration, when Steven was at Stack Overflow. Trevor is still at Chef and has a workshop, a session and a keynote demo coming at ChefConf. The cold open is Steven joking about a movie scene where someone is taken out back and "you'd hear a bang."
Ignite the Tour is Microsoft's 17-city, six-month, two-day event with Microsoft 365 content and Azure learning paths for migrating apps, running services in the cloud and hybrid operations. Steven's team ran the modern operations track: infrastructure as code, instrumenting applications, troubleshooting in the cloud when you can't crawl under the floor, scaling and global resilience. A favorite session, with input from Jason Hand, was about responding to and learning from failure. A colleague, David Blank-Edelman, coined the phrase "you cannot fire your way to reliable": if people fear for their jobs they'll minimize their part and stop sharing what happened, so the question becomes what about the system allowed the failure and how to engineer it out. For bad actors, Steven says to minimize the opportunity with a just culture, and recognizes that HR or the law may be involved.
Steven says a core SRE question is the appropriate level of reliability. Some software, like airplane systems or pacemakers, needs better than five nines, while others don't, and incidents can show that the impact on users is lower than expected, so a service might need four nines. Trevor's example is a coffee shop site that only matters from 9 to 5. Fail gracefully in dependent apps, or invest more where a service is critical.
At Build, Steven's session was on infrastructure as code in a pipeline, focused on testing, because Steven likes code that does what it says. Steven has spent a lot of time on integrations with Ansible, Terraform, Jenkins and Spinnaker. People at Build see Azure and DevOps signs together and assume Azure DevOps is the only way to deploy to Azure, which isn't so. "We don't want you to have to change your toolchain just to be successful in Azure," whether it's Habitat, Chef, Ansible, Jenkins or Octopus Deploy. For people with nothing yet, Steven recommends Azure DevOps, but otherwise keep what works. Steven says a service company has to keep earning business: "If we can't make it easy and effective for you to consume our services, we're going to have a bad day," which Steven also liked at Chef's transition to services, unlike the old enterprise model of a pile of money up front.
Steven is excited about PowerShell 7, the next open source drop, moving from PowerShell Core to just PowerShell, built on .NET Core 3, with expected compatibility of 70 to 90% with Windows PowerShell and a path forward from PowerShell 5.1 to bring back into Windows. Steven notes AWS bakes PowerShell into its Linux images, and describes PowerShell Summit the previous week, with a new on-ramp track and scholarships. The biggest thing for Steven is Windows Terminal, which can host WSL, command.exe and multiple side-by-side PowerShell versions, making it possible to test across versions without a box per release. It was due in June, and Steven said "I want it now." They also talk about Cortana as a framework automakers build assistants on.
Steven says a trend from the tour is interest in site reliability engineering, because operations people find its definitions more prescriptive than DevOps, which can feel fuzzy, like having a CI/CD pipeline. People ask whether SRE has to look like the Google book, and Steven says Microsoft is figuring out its own practice, and that service level indicators, objectives and error budgets give useful language for negotiating reliability. Monitoring also shifts: black-box monitoring of CPU and memory infers application behavior in a known environment, but in the cloud you need application performance metrics and the business drivers behind them. Trevor says the same question about DevOps having a uniform shape has the same answer: a core set of structures, and you figure out which fits.
Trevor chats with Steven Murawski of Microsoft about Azure DevOps, Windows Terminal and all the cool things from Microsoft Build 2019.
Matty and Jessica Kerr talk with Silvia Botros of Twilio SendGrid about what it means to be a principal engineer. Silvia started as a Python developer at a since-gone CDN in New York, tripped over the database when it had issues and never left, and has been at SendGrid for about seven years, which grew from about 60 people to 500 and was acquired by Twilio about two months before. As of the Monday before recording, Silvia is a senior principal engineer, which mostly means "a lot more meetings." Silvia's org, SendGrid engineering, is about 130 engineers. The cold open is Silvia's line about being the org's archaeologist: "Table X, what does that do? I'll be like, let me tell you a story."
Silvia says nobody grows up wanting to manage databases, since people trip on them and never come out, and Matty adds that nobody wants to be a sysadmin either, though an intern once said so and was hired. Silvia started with the DBA title at SendGrid, which changed to DBE as the role involved more code, and now works to expand beyond MySQL.
In Silvia's org, the role "is not like a senior, senior engineer." It is more strategic and business-oriented, built on influence without a manager's title or performance review authority. Silvia says a principal must be a force multiplier: Silvia's own shift over about a year and a half was from writing code to teaching others how to write it without trouble down the line, and in a large org principal engineers write design documents and help the team build, with mentoring the biggest part of the job. They can have a home area of the stack and still need to be T-shaped.
The skill Silvia calls most controversial is learning to talk to people other than engineers: product managers, finance and security. Principal engineers answer security and compliance questions about encryption and backups. Silvia says it would be a red flag for a principal not to understand what problem is being solved for customers.
The process at SendGrid starts with a product canvas that lays out the problem and customer type, followed by solution validation with engineers, where principal engineers come in and explain, in English, what a request will cost, like a multi-region consistent database requiring Spanner and a large budget. Silvia dislikes the tech community's dismissiveness toward "just the product person," who is the voice of the customer. Silvia admits it didn't come naturally, having once been a DBA who got cranky at customers who called an API too often, until realizing that the company let them. Rate limits are an example: if you allow a behavior, you need to support it. Jessica calls it setting expectations. Silvia says "That's the biggest part of a principal engineer's job, is to make sure that what we're promising is what we're building."
Once product settles on what to solve, the delivery team writes a blueprint in a Google Doc covering what they're building, which helps onboarding and lets changes be explicit, with product able to see and comment on technical limits such as a service's SLA. An architecture team made of senior principal engineers reviews blueprints for one-way doors, decisions that can't be undone. It's a gate to production but not to proof-of-concept work. Silvia says the process can look waterfall-ish but tries to keep it fast, because customers build businesses on the product, and it shouldn't reach production by accident. Jessica says rewrites are appealing because it's the only time requirements are nearly complete, and Silvia adds that rewrites need a higher bar than Go being cool. Silvia notes that SLA math starts early: a service promising four nines in one region gives fewer nines across regions, and the more components, the lower the overall SLA.
Asked about misuse, Silvia says "All over Silicon Valley," a title lottery, and "Staff engineer at Google does not equal principal engineer or architect at a company that's 18 months old." Jessica says it's about salary bands. The biggest challenge is the calendar, and finding the middle ground, since senior people become aware of other limits such as customer revenue, deadlines and security risks. Silvia's team motto is "strong opinions, loosely held," and Silvia used to be a no person earlier at SendGrid and earned flak for it. Jessica says the job is not to say no but "how do we get to yes?" Silvia also names the calendar as the best part, since it lets Silvia swap the DBA hat for a product or security one. Principal engineers partner with engineering managers, who are less in tune with the technical implementation.
SendGrid hires principal engineers from outside, and onboarding is a team exercise, like Support Bootcamp, a four-day course where the support team teaches how to use every part of the product. Silvia, with the longest history, is one of the org's archaeologists who can explain what a table does. Jessica says to find such people and make friends with them. Silvia is now learning data stores beyond MySQL, and is a pragmatist: none will work all the time, and the question is whether somebody else found the sharp edges. Matty jokes that Silvia disrupts electronics, and Silvia tells of a hotel booking that failed twice and then said it was already booked, "I'm a living Jepsen," and a network flap at a Chicago data center the moment Silvia landed in Denver.
Silvia's advice for aspiring technical leaders: strong opinions loosely held, be an enabler, not the person who always says no, expect to spend a good chunk of time mentoring, and learn why things work the way they do, with healthy skepticism of new tools. Silvia is "very much of the Dan McKinley school of like, use boring tools to build cool things." Silvia recommends a talk by Tanya Reilly on glue work, and says "the internet is duct taped together with Bash."
On being a principal engineer - blog post by Silvia
Silvia's talks
Image credit
Velocity San Jose June 10-13 2019 - discount code "ADO2019" gives 20% off for Gold, Silver, and Bronze passes.
For any devopsdays, try the discount code ADO2019!
CFP for devopsdays Chicago: open until May 3rd
Silvia: the Beyoncé movie came out on Netflix: Homecoming
Jessica: Do something outside! It’s spring!
Matty: Stocksy - for affordable stock imagery that benefits the artists and Super Team Deluxe for great pins and stuff
Matty talks with Arup Chakrabarti, a director of engineering at PagerDuty who previously worked at Amazon and Netflix, about guiding DevOps transformations. Both work at PagerDuty, and Arup says a draw of the job was helping customers reach the business results the large consumer companies got. The cold open is Matty: "The real world will destroy all your plans."
Arup's step zero is to start small, with one team, project or codebase instead of a 10,000-person department, then find champions, meaning people who reply to your emails about change with enthusiasm, or build them by giving context. Arup says the journey gets lonely, and allies make it easier. Matty compares it to making a movie, since there are days you hate it. Arup adds that leaders should expect some short-term negative business impact, such as more incidents, before long-term gains, and that conviction tends to spread.
Arup likes number of deploys as a metric, because it is a proxy for operational maturity, including incident response and end-to-end ownership, and suggests moving from yearly to quarterly, not straight to continuous deployment. After that comes SLAs, SLOs and SLIs, and the Google SRE book. Arup describes a previous company that tracked revenue no longer lost to downtime, reviewed weekly with the question of whether the team had done something to change it. Matty says "you can't know if you're moving the needle if you don't have a needle," and stresses there's no magic number of deploys, so Amazon's frequency isn't a target. Arup says there is a lot of DevOps FOMO, and "you're not PagerDuty. You're not any of the companies that you saw at a conference," and quoting another company's way alienates stakeholders.
Matty adds that stage talks are success stories, because speakers feel better telling them and PR departments block failure stories. Arup says a bank has constraints but can use its customers' priority of an accurate ledger as an advantage. Matty recalls listening to sales calls at Apartments.com after an office move, learning the value of a lead, and says to learn how your company makes money. Arup says to talk to finance and product managers. Arup's examples of a right metric: Amazon's order graph, Netflix's stream starts per minute, and three at PagerDuty, endpoint availability, time from event to incident to notification, and web experience, which took years to settle. Metrics are proxies, so halving incidents doesn't double the customer experience, "but we know we've made it better."
Matty says to question metrics, asking why, and to avoid targets like "not slower than last month." Arup says to set metrics early, then "question the crap out of it" a month or two in, and tells a story of measuring availability as the percentage of 200 responses, when an engineer served every 500 from the load balancer as an empty 200, and the team congratulated itself until the manager asked what happened. Matty cites Andrew Clay Shafer on people working to metrics to the organization's detriment, and Jez Humble's story of a goal of one test per sprint that produced assert-equals-true tests. Matty says "There's a difference between being committed and being compliant," and that people usually just lack the why. Arup compares intent of a metric to the intent of a law. Arup tracks median pull request duration but sets no goal on it, so it stays a temperature reading, though an engineer noticed it could be gamed. Matty says don't litigate severity in an incident call, and that when teams are measured on counts of Sev 1s, the metric becomes "mean time to innocence."
Arup says a common mistake is expecting a transformation in months: "if it took you a decade to get into a problem, it's going to take at least a year to get out of it," and you're never done. Matty adds the urge to plan everything first, recalling a large insurance company that took six months to plan a first change with Chef. Arup says rigid plans and assuming no risk are dangerous, and starting small accepts a bit of risk that de-risks later.
Matty draws the parallel to chaos engineering: a hypothesis, a limited blast radius, known measures and a learning experience, though the word experiment may unsettle stakeholders. Arup likes the word because it implies humility, and tells stakeholders Arup will be first to acknowledge a failure. Arup describes PagerDuty's introduction of Chef about seven years earlier as an experiment at the lower levels of the organization that over about a year and a half became the way. Another customer of around 5,000 engineers feared engineers would quit if everyone went on call, and so tracked the number who quit and slowed the rollout if it rose, and the number went down as they invested in explaining why. Matty warns about mistaking correlation for causation, such as an acquisition happening alongside.
Arup's tactic for any leader who can't say how the business makes money is to go talk to the CFO's finance team, who are transparent, and jokes "Can't boil everything down to a single shell script, unfortunately." Matty says to find a buddy if you're not good at selling change, and to make the tent big, including testers, product and FinOps, since DevOps is unfortunately named. Arup says DevOps means pulling in whatever stakeholders you need and owning the problem, not throwing it over the fence, including to product management.
Velocity San Jose June 10-13 2019 - discount code "ADO2019" gives 20% off for Gold, Silver, and Bronze passes.
For any devopsdays, try the discount code ADO2019!
Jessica Kerr hosts Mark Hibberd, head of technology at Kinesis, a small company building software products that help cities with climate change. Mark has dabbled in distributed systems, security, cryptography and more recently data and machine learning systems, and the common thread is building complex systems that work: reliability, and how you change systems with many users that can't break. The episode's theme, as Jessica puts it in the opening, is making positive change in the world with DevOps.
Mark says complex systems are always failing, and failures become big problems when they cascade. If failures are independent, the probability of a combined failure drops, and change breaks independence: version 1 and version 2 of a service are coupled through their data, and clients couple through interfaces. With two versions of every client and service but one version of the data, everything is coupled to everything. So "your reliability is particularly dependent on how good your deployment process is," which Jessica promises to quote.
Mark says a deployment process needs a full feedback loop, where production tells you whether it's working and the process adapts, citing an AWS talk on closing loops and opening minds. Jessica compares it to test-driven development, asking "how will I know it works?" in terms of users, not just not crashing. Concrete examples: running old and new services in parallel, using only the old results, and comparing performance. Jessica calls it a shadow deployment, and mentions progressive delivery, a term from RedMonk. Mark says rewrites create a cliff, temporal coupling that removes independence, and that a deployment can carry its own checks, such as verifying that the first 100 queries to a spatial service return sensible shapes.
Mark's three topics are building, operating and changing systems. On building, accidental coupling happens at design time, and Mark cites Michael Nygard's entity service anti-pattern, which Mark says describes nearly every microservices tutorial, with a service per noun that makes everything chatty. A smell is a state field describing which part of the system is using the object. Using an order moving from cart to shipping to archive, Mark argues for services around lifecycle stages with handoffs, which Jessica ties to bounded contexts in Domain-Driven Design. Mark's chess example: in-flight games need a fast database for 5,000 games, while 5 million historical games suit a slower searchable one, instead of a Cassandra cluster with hundreds of nodes for terabytes of data when only a fast fraction needed speed. Toy examples in tutorials teach small systems, which isn't a problem unless people assume they scale.
On operating, Mark says health checks are commonly coupled so that one service's failure makes everything report unhealthy, and the cluster shuts production down. Jessica says as soon as you automate around diagnostics, "that's production code." Serving some requests beats serving none, which means aggressive timeouts, and Mark recalls a licensing system for a large antivirus product with 40 million clients where fast checks shared a server with 45-megabyte update downloads over dial-up.
Mark prefers a positive spin on reliability: "unreliable things are often the most valuable things," especially early in a product. Mark works with data scientists, and instead of handing their work off to programmers who take six months, ships their code to production independently, so that if it crashes it can't break the rest of the system. A similar approach works for feature spikes shipped in an afternoon, with the caveat that customers may come to expect a feature. Jessica notes that programmers take six months because of guidelines built for systems that can't fail, and calls it disposable code until it succeeds and needs hardening. Mark says reliability techniques can enable experiments as well as defend.
For change, Mark says developers who know the operational environment should write a production check with each feature. Mark cites GitHub's Scientist library and Facebook's Hack language, where a programmer adds an indicative type and ships it, production monitors whether it's ever wrong, and after weeks of consistent data it raises a change request to enforce it. Jessica summarizes it as making a prediction, injecting an observation so you can be surprised, then escalating the consequences of surprise. Mark likens it to pair programming with the user, and Jessica mentions Dark, a language and environment for changing a running system. Jessica says this works for teams evaluated on how successful users are, not on cards completed. Jessica connects Safety II, which asks what causes success, to Mark's point that we should sell these techniques for what they enable, not only what they prevent.
Kinesis brings together urban datasets, from weather and mobility to land use and electricity consumption, for analytics and predictions, such as the impact of a building standard on cost and greenhouse gas emissions. Mark describes a Sydney tower, where solar panels created excess power, which feeds a recycled water plant, which needed a way to use the water, so plants were grown up the side, which shades the building and reduces air conditioning. Kinesis found up to a 7 degree Celsius difference between parts of Sydney on a hot day, tied to tree canopy cover, and helped a government change policy on where to plant trees, correlating hot zones with at-risk populations. Competing customers share data in building partnerships that cut carbon footprints more than other buildings, and Mark says the work is "definitely better than selling ads."
Velocity San Jose June 10-13 2019 - discount code "ADO2019" gives 20% off for Gold, Silver, and Bronze passes.
For any devopsdays, try the discount code ADO2019!
Matty and Jay Gordon, on the show for the second time since the punk rock episode about a year earlier, have what Matty calls an eavesdroppable Zoom coffee about certifications, hiring, and on-call war stories. Jay works at Microsoft and recently earned an Azure certification. Matty, in Chicago, works at PagerDuty and opens with the line "I used to say that I had a lot of respect for MCSEs until I became one." Jay also hosts the On-Call Nightmares podcast.
Jay needs to speak to an Azure audience credibly, and wanted a new way to learn, so returned to the certifications that Jay used in youth, having come into technology without college or an internship. The exam covered the big picture, like governance, subscriptions and business units within a subscription, and a certification was a check on what Jay did and didn't know. Jay's view: "I like them as a way to do some self-check. I don't like them as a way to justify whether or not you really do know something." Jay adds that Microsoft lets employees take the exams for free, and suggests taking a vendor's test if you can afford it.
Matty got into the Microsoft world doing Apple field service for prepress shops whose RIP stations ran NT 3.51, then took a job at a systems integrator that needed staff to be Microsoft Certified Professionals within 60 days. Matty failed the first exam by one question, developed a method of marking questions known to be right and counting up to a passing score, and later collected an MCP+I and an MCSE of six exams, retaking only Networking Essentials, which had a slightly higher passing score. A coworker once passed all of the MCSE exams in a single day, and Matty once bet a senior sysadmin over who could pass more exams at TechEd and won, despite the sysadmin being a better engineer. Matty last certified on Microsoft in 2003 and was among the first Chef Certified Developers, an exam that was mostly lab.
Jay says between about 1999 and 2006 IT recruiters believed certifications were the bellwether of a good technologist, which Jay thinks was mostly memorization, and for-profit schools promised day-one jobs. Matty says the exams taught "the way that that vendor wanted you to answer the question," a stamp of approval as their representative, and that without a college degree the certs gave hiring managers reassurance. Matty adds that later exams, like the CCIE lab and Chef's, became hands-on. Jay notes interviews moved from paper credentials to practice.
Matty argues tests that forbid Google are flawed, since work involves API docs, a search window and an editor. Matty prepared for a coding interview by writing a little Go against the company's API, and the interviewers were happy to let Matty pull up the existing code. Matty says "if you want to understand how someone is going to work, you need to replicate the conditions upon where they will work," and praises an old interview where three team members posed a real problem and asked the candidate to lead. Jay says they should expect people to build things, not repeat information, and Matty adds that it's about being able to "synthesize information and not just memorize information."
Jay says learning new things as a 40-year-old is worth continuing, through video tutorials, better documentation, and the cert as a self-check, and that tools change, noting Corey Quinn's comment that Kubernetes won't matter in five years, even if every company keeps a legacy thing. Matty says a certificate is "a nice carrot," and what matters is that you care about it. Matty recalls rereading old Outlook email from a network engineering job about frame relay, knowledge now irrelevant.
Jay says on the podcast Jay tells old-days stories without glorifying them. Jay's worst on-call moment, around 2005 or 2006, was a Saturday-evening storm when the automatic transfer switch at a New Jersey data center failed to move to the UPS and generator, taking down about 2,600 servers, followed by a night of fsck and repairs. Jay's reflection: "I didn't learn a damn thing," except that the company hadn't made the right decisions. Matty describes patching SQL Slammer by logging into thousands of servers in different domains, which wasn't a battle scar worth being proud of. Matty tells of a night early in a career when a mail server went down and the boss and owner, who had said to leave it alone, took the server completely apart on the floor overnight, so the informal postmortem lesson was "keep the boss away from things that are broken." Matty also recalls a change request rejected for lacking a backup plan for turning a server off, where the answer was to turn it back on.
Jay hopes the episode said something about learning: some certifications are worth it, Amazon's for example, for certain roles, as a way to test yourself, not as a mark of being good at a job. Matty has been relearning incident management through PagerDuty training and is taking an incident commander rotation, carrying a pager again, and jokes about an Arrested DevOps Listener Certification, with questions about Bridget's preferred airline and Trevor's favorite anime.
Previous episode: Punk Rock DevOps
Oncall Nightmares Podcast
Image credit: aesthetictech.net
Velocity San Jose June 10-13 2019 - discount code "ADO2019" gives 20% off for Gold, Silver, and Bronze passes.
For any devopsdays, try the discount code ADO2019!
Bridget talks with Jessie Frazelle and Andrew Clay Shafer in what the show notes call the unofficial pilot of their new podcast, weird trick mafia. Andrew's pitch for it came from watching Jessie have adventures: "a weekly podcast where Jess could explain computers and I could explain feelings." Jessie is between jobs, bored, and spent the week job shadowing, so the conversation wanders from the Pentagon to an operating room to organization design, with Andrew applying CAP theorem to people. The cold open is Jessie on reaching a level where "you're just one amongst the dipshits."
Jessie ran out of New York museums and went to Washington, where a friend at the US Digital Service gave about half a day's tour of the Pentagon, including an office called Protocol that reminded Jessie of Parks and Recreation. The next day Jessie shadowed a friend who is a surgical resident and watched a liver procedure, finding it less dramatic than Grey's Anatomy. The takeaways: the military is an intense authoritarian system, which the US Digital Service is trying to shake up with support from the Secretary of State, and a childhood wish to be a doctor gave way to being far more interested in computers. Jessie liked how respectful the residents, nurses and attending doctors were, and how knowledge moves between them by doing your time and getting promoted.
Andrew points to the book Team of Teams, by General McChrystal of the Joint Task Force, which has DevOps themes: empower the edge to make decisions, and avoid silos that deprive people of context. Jessie says the USDS practice of bureaucracy hacking is like cold-emailing another team across an organizational boundary.
Andrew says the CAP theorem papers say nothing about computers, only nodes passing messages, which applies to humans, except that humans will acknowledge writes that never happened. A designed organization must choose consistency or availability, and partitions get injected through acquisitions and personalities. Bridget wonders about speculative execution, with many similar initiatives running in a large organization. Jessie says weird organizational structures keep coming up, such as laptop firmware teams at big vendors that apparently don't talk to each other, and Andrew says "It's almost like Conway's Law is true."
Andrew, whose wife is a doctor, calls residency a medieval system and an extended hazing ritual not optimized for learning or patient care, with 80-hour weeks. Jessie agrees tech stakes are lower since no life is on the line. Andrew notes that experienced doctors feel less pressure because they've run the procedure a hundred times, while tech pressure comes from anomalies nobody has practiced, for which there aren't good algorithms. Bridget adds that anything easy has been automated, leaving only mysterious corner cases.
Andrew raises the geopolitics of Huawei and chips, and Bridget the difficulty of sourcing parts locally. Andrew says the price of computers and clothing rests on a chain of human suffering that cost-externalizing hides, and doesn't have an answer. Bridget says every choice has an impact and suggests looking at the carbon footprint of computing, such as cloud providers moving toward carbon-neutral data centers and the CoEd Ethics conference in London, while Andrew says to skip Bitcoin. Bridget mentions Astrid Atkinson leaving Google for a clean energy startup.
Asked to imagine being the CEO, Jessie says Jessie hates titles and career ladders, like the military's authoritarian rule, and cites a talk by Bryan Cantrill about everyone having the same title. Purpose and mission motivate people more than climbing a ladder. Jessie describes the n+1 shithead problem: the person one level up is a shithead, so why climb. Andrew and Bridget note incentive structures like OKRs get gamed, and Andrew says the industry's state of the art is Taylorism, which doesn't unlock the creative potential software needs.
Andrew describes the cube-square law: an ant, with an exoskeleton and no lungs, can lift 50 times its weight, while an elephant has the highest bone-to-mass ratio, and an ant scaled to elephant size would suffocate and crush its own organs. So "the majority of the DevOps presentations" from cat-pictures companies "are the equivalent of ants explaining how they can lift 50 times their body weight." You can't copy what someone did without the context of why, and an organization should evolve for its habitat: "if you have an undifferentiated mass in a human body, then that's a tumor," but an amoeba-sized organization looks like one, and that's fine. Andrew's goal is that "leaders should make more leaders, not leaders should have followers," and there's no magic formula, since scale breaks culture in phase shifts. Andrew recalls Brian Foote's talk on the Ball of Mud, asking what to call people who build such architectures: "Millionaires."
Andrew will speak at devopsdays Atlanta, starting with chess puzzles to argue that seeing the board, as Wardley maps emphasize, isn't enough without understanding its dynamics, with John Boyd in the mix. Jessie is speaking at QCon on Intel SGX, where new information from experts changed Jessie's mind, and at dotGo on eBPF in Linux and Go, which Jessie would like to see replace iptables, which is "just archaic," though eBPF is hard to debug. Jessie explains SGX, built first as DRM for Netflix, then used for running code in enclaves in a cloud you don't trust, which just shifts trust to the hardware provider, and Andrew says "All security starts with physical security."
This is the unofficial pilot for their new podcast: weird trick mafia
Jessie's job-shadowing blog posts: Government. Medicine. Capitalism? (Wednesday, February 27, 2019) and Trust and Integrity (Friday, March 1, 2019)
Andrew mentions a book: Team of Teams
Jessie wrote a blog post about Intel SGX.
Image credit: oldpatterns
Jessie: QCon London, dotGo Paris
Andrew: devopsdays Atlanta
Velocity San Jose June 10-13 2019 - discount code "ADO2019" gives 20% off for Gold, Silver, and Bronze passes.
For any devopsdays, try the discount code ADO2019!
Jessica Kerr hosts for the first time, alongside Matty, with Baron Schwartz, founder and CTO of VividCortex, whose QCon San Francisco talk opened the DevOps track Jessica chaired. Baron started as a developer into extreme programming, moved to databases and consulting around performance, and founded VividCortex, which monitors MySQL, Postgres, Redis, MongoDB and Aurora and RDS by combining database signals, operating system data and a measurement of every query from network traffic. The cold open is Jessica's line "to be present with your data in all its persistence," and Baron's "And mindful of your queries."
Baron says DevOps is something you live, hard to put in words, and that the core community, by not defining it, unintentionally gatekept while vendors like AWS, Microsoft and New Relic wrote decent definitions. Baron once wrote on O'Reilly that a manifesto might help. Matty says the official definition is CALMS, culture, automation, lean, measurement and sharing, which is a starting point for conversation and not a definition. Jessica offers one: DevOps "is not a thing, capital T. It's a situation," where operations and development responsibility sit with the same people, which gives them more options. Matty adds that a DevOps team or engineer can be "an organizational smell," since it's often an automation team, and Baron suggests calling it a team that supports DevOps outcomes.
Baron cites Charity Majors: the first age of DevOps was operations people writing infrastructure as code, and the second is developers owning things in production, accountable for performance, operability and observability. For databases, Baron sees DBAs automating away manual work, but less often developers owning database performance. In a survey Baron tweeted, developers owning database performance of their code ranked only about halfway, which surprised Baron, who would put it at the top. Customers that succeed with VividCortex are in the second age, with developers engaged daily and DBAs having moved from guarding a walled garden to running a self-service platform, while some companies declined to replace a departing DBA. VividCortex can't push a company there, but it helps when a company is going anyway.
Matty asks how to avoid assuming software engineers know everything, citing the islands and bridges metaphor from the Effective DevOps book in place of silos. Jessica says developers have respect for DBAs that they didn't always have for ops people, and Baron says the database is scary because we push statefulness down the stack so the upper layers can be stateless, and "It's terrifying down there," with logs, file systems and RAID controllers turning into distributed systems on one server. Baron says everyone needs to model data well, and 80% of indexing and schema design is reachable by developers, who then need specialists for hard cases and to "make friends with the optimizer." Jessica says making friends with the DBAs early in a career earned query permissions. Baron adds that SQL hides intent, so as a consultant, Baron would ask what a query is trying to do.
The first thing is that "you can't bring in a vendor to solve a culture problem." Baron thinks culture is "emergent from the ways that things are done," from incentives and what is praised, so changing incentives or making things easier changes culture, and no vendor can be asked to create culture change. Matty agrees a good vendor helps you see what to change, though you can't just rub DevOps on it, and uses the Switch story of a machine redesigned so both hands had to be away from the blade, the right way being the easy way. Jessica says Agile's manifesto was co-opted by vendors selling culture change, which Jessica calls garbage. Baron notes cloud providers sell a new way of life, like Google's customer reliability engineering team, and that professional services or customer success matter in early markets, so Baron wants customers to learn from each other.
Baron groups what's correlated with success in four buckets, people, culture, structure and process, and tooling, which align with CAMS and CALMS: deploy and release tooling, monitoring and observability that make you a better programmer, and shared knowledge and process, such as deploy confidence dashboards linked from deploy tooling. Baron mentions the full-cycle developer idea from Netflix, and Matty prefers full-cycle to full-stack, being involved through the whole cycle without being responsible for all of it. Baron says it's more important to be present with what you built and shipped and your customers' experience through time, not through layers of the stack.
According to...
Matty, Trevor, Bridget and Joe record the 2018 wrap-up, with Joe hosting for the one time a year Joe does, and with questions Joe wrote. They cover favorite episodes, the one million listens milestone, what each did in 2018, predictions, travel, a round of conference rants and what they're looking forward to in 2019. Matty calls 2018 "a race condition" and Bridget says it never had a starting or an ending point. The cold open is Trevor: "I am the 25th best shuffleboarder in Chicago."
Matty picked three and then noticed that all of them were recorded solo. Let's Be Careful Out There with J. Paul Reed and Mary Thengvall is about resilience of organizations, people and teams, recorded before their Redeploy conference. Punk Rock DevOps with Jay Gordon was mostly about punk and metal, and comes with a playlist for DevOpsing. Shouting at the DevOps, a crossover with Corey Quinn's podcast, is about getting started with conference talks, and Matty heard from listeners who went on to submit abstracts.
Bridget's pick is the GOTO Chicago episode, a panel of the speakers from the distributed systems track Bridget curated, which was "like fanfic": getting speakers to discuss each other's talks. Trevor, who did five episodes, liked the theater episode, the DevOpsDays Chicago episode, and the Ignite interviews with Microsoft people about the history of Git and TFS and why Azure DevOps exists in its form. Joe picks the theater episode and again favors live episodes for being easier to edit. This year's live episodes came from Amsterdam, Minneapolis, Kansas City, Chicago and Salt Lake City, with Jessica DeVita and Nicole as guest hosts.
Trevor pitches revisiting old episodes the way Alton Brown revisits Good Eats, with commentary on what was wrong, like Trevor having Googled the definition of DevOps for the first episode. Matty suggests a riff-track crossover with Software Defined Talk. Matty also mentions a two-hour crossover episode with hosts from the Ship Show, Food Fight and Software Defined Talk that proved "mostly unlistenable," and jokes about putting it behind Patreon.
The only figure Matty wants to share is that the show passed one million listens, "a big number that has two commas in it." The most listened-to episode of 2018 was Punk Rock DevOps, and second was Theatre Geeks Unite and Tech Over the World, which Matty says keeps coming up in Twitter threads from people who came to tech from acting.
Bridget joked that airline status is "the gamification of poor life choices," and after cutting back in 2017, said yes to too much and is Diamond on Delta again. The year included fewer talks but more Kubernetes workshops with Jerome Petazzoni and more involvement with the product side. Matty traveled about 135 days out of roughly 200, visited more countries for the first time than in all previous years combined, went to Australia and to Amsterdam twice, finished the first full year at PagerDuty, where the advocacy team grew from one to three with a developer advocate being hired, and moved from Chicago to San Francisco. Trevor spent the year as a Chef partner architect with Microsoft, launched the Chef Automate managed service for Azure preview on stage at Ignite, started learning guitar properly, and played the Chicago House of Blues with the Chef band. Joe followed Bridget around the world, with Norway the new country, noting that "the secret pipeline is me" for getting Bridget to say yes to a conference.
Joe asks what the talks will be after Docker and Kubernetes. Bridget expects service mesh, noting that Kubernetes, Prometheus and now Envoy are CNCF graduated projects, and hopes for unvarnished experience reports on gluing Envoy to Kubernetes. Matty says DevSecOps will be a consistent theme and that business response matters as well as technology. Trevor predicts "the minimum viable application modernization project," where an old application shoved into the cloud gets optimized without a rewrite. Bridget says it's a familiar pattern: "You put your data center in the cloud and you wonder why the cloud is expensive." Bridget expects customers to tell these stories on stage at vendors' first-party events first.
Bridget listens to Pod Save America, Matty to Hidden Brain, Trevor watches Techmoan on YouTube, and Joe's only podcast is Extra Hot Great. Matty's favorite trip is a tie between Sydney and Helsinki, where the organizers took speakers to a cabin two hours away for a sauna and dinner, and speakers warned Matty that Finns don't ask questions. Bridget recommends taking the Eurostar between Paris and London, with terrible Wi-Fi all the way. Trevor went to Tokyo for fun and to Las Vegas for Inspire, which went as badly as expected. Joe's highlight is DevOpsDays Amsterdam and HashiDays, including a dinner that grew from 10 people to about 45 and a restaurant that seemed glad to see them leave.
Trevor wants to get deeper into product ownership, do more speaking, and play in a shuffleboard tournament in St. Petersburg, Florida, having placed 25th of 64 in Chicago. Bridget plans more product work, including helping PM the Helm 3 release, and significantly less travel, which Joe doubts. Matty plans more targeted travel and more writing, including on burnout and psychological safety. Joe wants to be prepared for a fat bike race in March and for guitar lessons, and sums up the job: "I look at PowerPoint professionally, and then I get on a plane and I go look at PowerPoint recreationally."
Matty talks with Jessica Kerr, a developer for 19 years living in St. Louis, who works at Atomist and co-hosts the Greater Than Code podcast. The two met at re:Deploy, where Jessica spoke on symmathesy, and the episode follows a week when Jessica was track chair for the DevOps track at QCon San Francisco and Matty sat on a panel there. The cold open is Jessica: "I have opinions about DevOps."
Jessica wanted a steady paycheck and the ability to work in any city, and a college internship at FedEx in operations research, programming in ArcInfo to make maps, showed programming was doable, with no homework at 5:30. Grad school in physics offered a long road to job security, while a developer could earn more right away. The motives were selfish, Jessica says, but now software and automation are what Jessica thinks about in spare time.
At Atomist, which Jessica joined almost two years earlier, the work is development automation, in which Jessica studies the domain of software development itself. Jessica is reading the Domain-Driven Design book. Everyone needs their own delivery automation, but not everyone can have a team devoted to it like Netflix, Stripe or Facebook, and Atomist's service does triggering and event correlation for event-driven delivery choreography. Matty likes the word choreography, which Matty once suggested on the show in place of orchestration, and Jessica says "when the world is ready for an idea, it doesn't come to just one person."
Asked how the practice of software could be better, Jessica says "we don't know what we're doing yet," and there are no universal laws or silver bullets: not everyone is Netflix, so not everyone should use Spinnaker, but everyone needs their own automation system. Teams learn by asking better questions. From re:Deploy, Jessica takes the safety questions: not only what made this fail, but "what made this succeed? What made it not worse? What keeps this system together at all?" Also who keeps it running and what matters to them. Matty adds the question of how your company makes money, and Jessica adds that staying profitable is a necessary condition, but "Profit as an aim is not interesting or useful." Matty says deploying 13,000 times a minute is no use if the business isn't changing at that rate, and Jessica adds that software shipped as a part may be updated every few years. Jessica cautions against asking how to go faster, since "that's a destructive question," and asking how to go smoother instead.
Jessica says the industry is thinking about systems and teams, and excitedly notes non-software businesses learning from Agile: letting a team become a learning system and influence the organization turns paperwork into knowledge work. Software lets us create, modify and study very complex systems in days and weeks, not lifetimes, which makes us better at systems thinking. Jessica adds that humans are wired to track relationships, and we're learning to do that with software.
Matty asks Jessica to explain the word from the re:Deploy talk. Symmathesy, Jessica says, is more specific than system, which suggests a mechanical thing that could in principle be predicted: it is "a learning system made of learning parts," where the relationships between the parts keep changing because the parts learn from each other and the whole. An ecosystem is one, as is a team or an organization, and a learning team can't avoid influencing the organization. Jessica has a short blog post with the summary.
Jessica was track chair for QCon's DevOps track, after an earlier experience hosting the frontend track, which felt awful because Jessica is a backend developer. Jessica says "Software delivery is not a nuisance. It's not something that's in the way of your job. It is your job," and "We don't write code. We operate useful software." Jessica compares QCon, structured and practical, with Code Mesh in London, which is informal and opinionated and curated by the program committee. Matty, at a first QCon, says some of the theme language like engineers over evangelists felt exclusionary, and Jessica agrees it's the "tech rules the world thing." Matty praises the track, including the opening keynote by Nicole Forsgren and Jez Humble, and Jessica notes QCon speakers are invited, so tweeting about wanting to speak got Baron Schwartz into the track with a talk on DevOps for the database.
Jessica says the podcast is "we talk to technologists about things more important than technology." It started when the panel of a Ruby podcast lost its editor, Mandy, and started a new show around Mandy, aiming for a more diverse set of panelists. Matty notes Mandy was the first editor of Arrested DevOps. Jessica says all episodes are transcribed, and being a panelist means showing up for an hour and a half to talk to someone interesting. Matty says Arrested DevOps is more like putting on a podcast in the barn with no schedule, and Jessica calls that continuous delivery: "you make a podcast when you have a podcast."
Jessica's career took off seven years earlier with speaking. Jessica liked being on stage but didn't feel like an expert, then learned "you don't have to be an expert in anything. You just have to learn enough to talk about it for an hour." Jessica's advice is to pick several topics you'd like to learn, submit abstracts, and build only the ones accepted, giving you a deadline and incentive, or give them at user groups first. Blogging stays around and lasts longer. "Learning begets community, which begets learning and new ideas," and the sharing makes it geometric instead of logarithmic.
Greater Than Code podcast