Million Dollar Lines of Code: An Engineering Perspective on Cloud Cost Optimization

A single line of code can shape an organization's financial future. Drawing inspiration from five real examples of million-dollar lines of code, we will challenge conventional views on engineering's pivotal role in cloud cost optimization.

Prepare for a plot twist, however: premature cost optimization can become a distraction and inadvertently hinder innovation. While unchecked cloud costs can cause another kind of distraction (one where you run out of money), pursuing cost reduction incorrectly or at the wrong time can be fatal to market growth and finding that elusive product-market fit.

Done right, success lies in cultivating a deeper understanding of the economic implications of our efforts as engineers, allowing us to find the balance between user delight, innovation, and cost-efficient code. By venturing into the heart of these million-dollar lines of code and the forces that created them, we uncover the right timing and approach for engineering cost optimization and how to use cost efficiency metrics as powerful constraints that drive innovation, accelerate growth, and engineer profit.


Erik Peterson

CTO & Founder @CloudZero, Engineering-Led Cloud Cost Optimization Pioneer & 23-Year Software Startup Veteran

Erik Peterson is the Founder and CTO of CloudZero and a pioneer in engineering-led cloud cost optimization. He has been building in the cloud since its arrival and has over two decades of software startup experience, with a passion for cost-efficient engineering and excellent margins. Erik is also a believer in Serverless computing, an AWS Ambassador, and a recovering application security survivor. He is an active contributor to the FinOps and Serverless communities and frequently shares his thoughts on cloud economics, DevOps, and security.

Read more
Find Erik Peterson at:


Wednesday Oct 4 / 11:45AM PDT ( 50 minutes )


Ballroom BC


Cloud FinOps Cost Optimization DevOps Cloud Engineering


From the same track

Session Architecture

Understanding Architectures for Multi-Region Data Residency

Wednesday Oct 4 / 02:45PM PDT

Making your app multi-cell/multi-region can have a number of benefits in compliance, scaling and even marketability. There are a number of challenges, from cross-region access and trust to defining sources of truth across the globe. We’ll focus on:

Speaker image - Alex Strachan

Alex Strachan

Staff Software Engineer, Performance & Architecture @Rippling

Session Serverless

Lessons from Leading the Serverless First Journey at CapitalOne

Wednesday Oct 4 / 10:35AM PDT

Going serverless? Worried about challenges with performance, cost, and scale? At CapitalOne, we embraced a serverless first mentality across thousands of applications live today. This talk covers our journey into serverless, the best practices we picked up, and the lessons learned along the way.

Speaker image - George Mao

George Mao

Senior Distinguished Engineer @Capital One Leading All Things Serverless, Ex-AWS WW Serverless Tech Lead

Session Architecture

Durable Execution for Control Planes: Building Temporal Cloud on Temporal

Wednesday Oct 4 / 01:35PM PDT

A great SAAS service requires a robust Control Plane as its brain. The Control Plane automates infrastructure provisioning, deployments, configuration, monitoring, fleet management, capacity allocation to customers,  and so forth.

Speaker image - Sergey Bykov

Sergey Bykov

SDE @Temporal Technologies

Session Cellular Architecture

Architecting for High Availability in the Cloud with Cellular Architecture

Wednesday Oct 4 / 03:55PM PDT

With the explosion in the usage of cloud computing and microservices, blast radius underpins highly availability systems.

Speaker image - Chris Price

Chris Price

Software Engineer @Momento, Previously Launched New Video Streaming Services @AWS, 10+ Years in Engineering Leadership at Software Startups