All case studies
Capillary
Self-ServiceStandardization

How Capillary made a new region a single click: 4 person-weeks instead of 64

Capillary Technologies runs loyalty and customer engagement software for more than 250 brands in more than 30 countries, and every new region or private deployment used to take 64 person-weeks of effort. With Facets, Capillary's Ops team turned its automations into one standard that developers self-serve: a new environment with existing workflows launches with a single click, a recent US region took 4 person-weeks, and Ops tickets fell 95%.

At a glance

  • 64 to 4
    person-weeks to launch a new region
  • 95% reduction
    in Ops tickets
  • 20% boost
    in developer productivity (30 to 40 hours saved per scrum team per sprint)
  • 99.99%
    uptime
Customer
Capillary Technologies: loyalty, customer engagement, customer data and e-commerce software, with clients such as Tata Group, Asics, Shell, Hoya and PUMA
Scale
250+ brands in 30+ countries; about 875M consumers and 1.95B+ transactions a year; 200 developers; 5 non-production and 10 production environments in different regions, on AWS (including AWS China)
The moment
New regions and up-market deals asked for local or private deployments, and every change reached the same lean Ops team as requests grew
What changed
Capillary's Ops team turned its automations into one standard on Facets and owns the IaC as well as the guardrails: the capabilities it publishes, the same workflows in every environment, and a single click to launch a new one. Developers self-serve inside it
Time frame
Results as of March 2023; the 20x scale-up for a large client was in March 2022

The moment

Capillary was growing into new regions and moving up-market, and large deals now came with a question. As Goel P, SVP of Engineering, put it: "Business conversations start at the time of sales: Do you have a local region or can you deploy on our private cloud?" Each new production environment took a large share of developer and Ops time to set up, and slowed every change after it. A lean Ops team handled migrations, upgrades, cost, security, compliance and service issues, and every developer request on top.

Before: how work flowed

Diagram: before Facets, every change waited in the DevOps queue. Capillary's 200 developers add new services and setups and send tickets to a ticket queue, where requests wait their turn for a lean DevOps team. Releases go through supervised automation that needs specialist skills and Ops supervision. DevOps partly automates the regional and private AWS environments, which got harder to predict as the system grew.

Every infrastructure change passed through a lean Ops team, and the automation it built needed that team to run it.

  • Every change was a ticket. Product groups wanted to add services, try new frameworks and change existing setups, and each request went to Ops. As requests grew, so did the queue, the wait for developers and the load on a small Ops team.
  • Automation built for specialists. Most automation needed specialist skills and supervision to trigger, so it stayed with Ops. Each part of the system was known best by the people who built it, and keeping it predictable got harder as it grew.
  • New regions were projects. Each new production environment consumed developer and Ops time at setup and slowed the pace of change after it. Before Facets, a launch took 64 person-weeks of effort.

What they tried first

The Ops team first absorbed the growth with process and more automation, which worked at a smaller scale. As requests multiplied, the ticket queue grew with them, and the automation needed constant refresh to keep pace and stayed in Ops hands.

Why Facets

Capillary decided to change the model: developers would own their code and infrastructure, and the Ops team would focus on enabling them. The key problem was the dependency between Dev and Ops, so the first goal was to turn the Ops automations into a product that developers could use on their own.

Two points mattered. Facets does not replace the DevOps team; it automates repeated tasks so the team has time for business problems. And it is built on well-known technologies, shows how it uses them, and is extensible, so the Ops team can build on top of it.

How it worked

Timeline: a new region went from 64 person-weeks to 4. Four phases in order, not to scale. Before Facets: a ticket queue for every change, automation that needs Ops skills to run, and 64 person-weeks for a new region. Onto Facets: Ops automations become a product and developers self-serve. 2022 to early 2023, proof under load: a 20x scale-up for a large client in March 2022 in a small window, and a recent US region in 4 person-weeks. March 2023, steady state: 95% fewer Ops tickets, 99.99% uptime, 15 environments run by 6 people, and releases that run unattended.

Capillary's Ops team turned its automations into one standard first; with it, a new environment became a single click, proven when a 20x scale-up (March 2022) and a new US region each fit a short window.

One standard for every team. Capillary's Ops team set up standard workflows in Facets that every team understands: how you build, deploy and monitor, and how you read metrics.

“Everyone speaks the same language and could easily comprehend their own and dependent services.”

Piyush KPiyush KCTO, Capillary Technologies

A new environment in a single click. Facets holds everything needed to launch an environment, so a new one with existing workflows launches with a single click. The same holds across geographical and private deployments: US, China, Asia and the Middle East. Facets also automates upgrades such as Kubernetes across all environments, including AWS China.

Ops publishes the capabilities. The Ops team owns the IaC as well as the guardrails: for a completely new type of resource, it builds a Terraform extension on top of Facets and makes it available.

“Ops teams control what capabilities are available for Devs. But once done, Dev teams make their own choices.”

Piyush KPiyush KCTO, Capillary Technologies

Developers self-serve. A Capillary product team that wants a new module with extra services, databases and credentials sets it up itself, with less room for errors.

Releases run unattended. About 40 major and hundreds of minor releases a month go out without anyone sitting through them.

After: how work flows now

Diagram: developers change infrastructure inside rules DevOps writes. A DevOps team of 6 people owns the IaC and the guardrails and publishes capabilities and Terraform extensions to Facets. Capillary's 200 developers self-serve services, databases and credentials through Facets inside the rules, and releases run unattended, about 40 major and hundreds of minor releases a month. Both paths reach the AWS environments, 5 non-production and 10 production by region, which run the same workflows in every environment.

Every environment runs the same standard workflows, so a new region is a copy of the ones already running. The Ops team owns the IaC as well as the guardrails; developers make their own choices inside the capabilities it publishes, and releases move through the environments unattended. A six-member team runs 15 environments because it enables developers to manage them instead of managing them itself. Its time goes to developer experience and to extending Facets.

Results

64 to 4person-weeks to launch a new regionEverything an environment needs is held centrally, so a launch is a single click
95% reductionin Ops ticketsOps publishes standard capabilities, and developers self-serve inside them
20% boostin developer productivity (30 to 40 hours saved per scrum team per sprint)Standard workflows and self-service remove the wait on Ops
99.99%uptimeAutomated releases and upgrades

In their words

“Nothing is dependent on Ops team any more. If the Devs want to use a completely new type of resource, Ops team build Terraform extension on top of Facets and make it available to them. Hence, we call them SRE & DevTools Teams now. We have 15 environments run by only a 6-member team because they don't manage them but rather empower Devs to manage them.”

Piyush KPiyush KCTO, Capillary Technologies

“Facets helped us achieve 99.99% of availability, higher release frequency, while sustaining the cloud cost.”

Goel PSVP of Engineering, Capillary Technologies

“In March 2022, one of our large clients wanted to scale up by 20x for one of the largest gaming events in India. We had a small window to scale up. It would have been unimaginable without Facets.”

Goel PSVP of Engineering, Capillary Technologies

What's next

In early 2023, Capillary was preparing to expand in the US and Europe, and expected the same framework to carry the infrastructure changes that would need. It had already deployed in AWS China with Facets, and new acquisitions with completely different tech stacks had adopted Facets.

The idea this story proves

When every environment comes from the same definition, a new region stops being a project and becomes a request. Capillary can answer "Do you have a local region?" in the sales conversation, because a new environment reuses the workflows of the ones already running. Why Facets calls this environments as a commodity.

Related stories