Skip to main content
onext technology
DevOps November 11, 2025 - 9 min read

From 2 deploys/week to 15 deploys/day: anatomy of a real DevSecOps transformation

Case study: a Series B fintech that accelerated its delivery 50x without compromising security

onext team
Cloud & DevOps Specialists
Automated CI/CD pipeline with DevSecOps

Tuesday, 10:00 AM. The engineering team at FinPay (name anonymized) gathers for the weekly deploy. 47 commits accumulated since the previous Tuesday's deploy. A 2-hour maintenance window. A 34-step runbook in Notion. Three senior engineers dedicated exclusively to the process.

Thursday, 10:00 AM. Second deploy of the week. This time only 21 commits, but one of them breaks production. Manual rollback. 4 hours of downtime. Corporate clients (a B2B payments-management SaaS) with no access to their dashboards. €18k in SLA penalties.

Eight weeks later: 15 deploys a day. Zero downtime. Critical vulnerabilities caught in CI before reaching production. The same team, a completely different architecture.

This is the full case study of how a Series B fintech (€3.2M ARR, 18 engineers) transformed its delivery process by implementing a DevSecOps Center of Excellence in 8 weeks.

Context: the problem wasn't technological

When FinPay contacted us in March 2024, the initial diagnosis seemed clear: "We need CI/CD." But after 3 days of technical audit, we discovered the problem ran deeper.

Existing stack (pre-transformation):

  • Application: Node.js monolith + PostgreSQL + Redis
  • Infrastructure: AWS EC2 (manually managed instances)
  • Deploy: A custom bash script run over SSH
  • Testing: Unit tests run locally, no CI
  • Monitoring: Basic CloudWatch + PagerDuty
  • Security: Manual dependency scans 1x/month

The symptoms they reported:

  1. Slow, risky deploys: Only Tuesdays and Thursdays, a 2-4 hour window each
  2. Frequent rollbacks: 1 in every 4 deploys failed and required a manual rollback
  3. Vulnerabilities in production: Dependencies with critical CVEs discovered after the deploy
  4. Human bottlenecks: Only 2 senior engineers could deploy (knowledge hoarding)
  5. Sky-high lead time: From commit to production: 3-7 days on average

Opportunity cost: Critical features delayed for weeks because "we can't do more than 2 deploys/week." A roadmap paralyzed by process, not by development capacity.

The root cause (what we found in the audit):

The problem wasn't "a lack of CI/CD." It was a delivery system designed to minimize risk through manual control, not to minimize risk through automation and fast feedback.

Symptoms of a "gatekeeper" vs. "guardrails" approach:

  • A deploy required manual CTO approval (an organizational bottleneck)
  • Tests ran only locally, there was no automated pre-merge validation
  • Infra configuration lived in the heads of 2 senior engineers (tribal knowledge)
  • Rollback was manual because there was no configuration versioning or infra-as-code
"We knew we needed CI/CD, but every time we tried to implement it, the team would say 'we don't have time, we're putting out fires.' It was a vicious circle: slow deploys generated more bugs, more bugs generated more fear of deploying, more fear slowed the deploys down even further."

— CTO of FinPay

The transformation: an 8-week framework

We implemented a DevSecOps Center of Excellence with one non-negotiable premise: 0 sprints lost. The team had to keep shipping features while we transformed the process.

Weeks 1-2: Foundations + Quick Wins (basic CI)

Goal: Demonstrate immediate value and build momentum.

Actions:

  • GitHub Actions setup: A basic pipeline that runs tests on every PR
  • Branch protection: No merge without tests passing + 1 approval
  • Docker containerization: The app containerized to eliminate "works on my machine"
  • Staging environment: A replica of production to validate deploys

Week 2 result:

  • ✅ 100% of PRs validated with automated tests
  • ✅ 3 critical bugs caught in CI that used to reach production
  • ✅ Code review time reduced 40% (automated tests = confidence)
  • ✅ An energized team: "For the first time in months we didn't have an emergency rollback"

Critical quick win: In Week 1, CI caught a critical vulnerability (CVE-2024-XXXX in an authentication dependency) that was in a PR pending merge. We prevented a security incident that would have cost weeks of remediation + reputation with B2B clients.

Weeks 3-4: Continuous Deployment + Infra as Code

Goal: Automate the full deploy to staging and set up reproducible infra.

Actions:

  • Terraform setup: All AWS infra codified (VPC, RDS, ECS, ALB, CloudFront)
  • ECS Fargate migration: From manual EC2 to managed containers
  • Auto-deploy to staging: Every merge to main → automatic deploy to staging
  • Post-deploy smoke tests: Automatic validation of critical endpoints

Week 4 result:

  • ✅ Staging always up to date with the latest version of main
  • ✅ Infra 100% reproducible: a new environment spun up in 12 minutes
  • ✅ Deploy to staging: from 2 manual hours to 8 automated minutes
  • ✅ Zero manual server configuration

Weeks 5-6: Security Shift-Left + Continuous Deployment to production

Goal: Integrate security into CI/CD and enable daily deploys to production.

Actions:

  • Integrated SAST: SonarQube in CI to detect vulnerabilities in the code
  • Dependency scanning: Snyk automatically on every PR for vulnerable dependencies
  • Container scanning: Trivy to scan Docker images pre-deploy
  • Secrets management: AWS Secrets Manager + automatic rotation
  • Blue-green deployment: Deploy to production with instant rollback
  • Feature flags: LaunchDarkly to decouple deploy from release

Week 6 result:

  • ✅ First production deploy with the complete pipeline: 12 minutes from commit to live
  • ✅ Vulnerabilities caught in CI: 9 critical/high CVEs blocked pre-merge
  • ✅ Rollback tested in staging: 47 seconds (vs 1-2 hours before)
  • ✅ Feature flags operational: deploys without activating features (risk mitigation)

Weeks 7-8: Observability + On-call Automation + Enablement

Goal: Close the feedback loop and scale knowledge to the whole team.

Actions:

  • Datadog APM: Distributed tracing + custom business metrics
  • Intelligent alerting: Alerts based on SLIs (p99 latency, error rate, throughput)
  • Incident response automation: Automated runbooks in PagerDuty
  • Self-service deploys: Any developer can deploy with a Slack command
  • Internal docs: A Confluence playbook with architecture, runbooks, troubleshooting
  • Enablement sessions: 4 sessions of 90 min for the whole team

Week 8 result:

  • ✅ 100% of the engineering team can deploy (vs 2 people before)
  • ✅ Mean Time to Detection (MTTD): from ~40 min to <3 min
  • ✅ Mean Time to Recovery (MTTR): from ~2 hours to <5 min
  • ✅ Complete documentation: 0 critical tribal knowledge

Quantified results: 12 weeks post-transformation

Three months after the Go-Live of the new DevSecOps process, we measured the real impact:

Delivery speed (Deployment Frequency):

  • Before: 2 deploys/week = ~8 deploys/month
  • After: 15 deploys/day on average = ~450 deploys/month
  • Improvement: 56x more deploys

Lead Time (commit → production):

  • Before: 3-7 days (average 5 days)
  • After: 12-45 minutes (average 28 minutes)
  • Improvement: 257x faster

Change Failure Rate (% of deploys that fail):

  • Before: 23% (almost 1 in every 4 deploys required a rollback)
  • After: 2.1% (1 in every 48 deploys)
  • Improvement: 91% reduction in failures

Time to Restore (MTTR):

  • Before: 1-4 hours (average 2.3 hours)
  • After: <5 minutes (automatic blue-green rollback)
  • Improvement: 27x faster to recover

Security (vulnerabilities in production):

  • Before: 7 critical/high CVEs discovered in prod in 3 months
  • After: 0 critical/high CVEs in prod (all blocked in CI)
  • Improvement: 100% of critical/high vulnerabilities prevented

Infrastructure costs:

  • Before: €4,200/month (over-provisioned EC2 + RDS + CloudFront)
  • After: €3,100/month (ECS Fargate auto-scaling + optimized RDS)
  • Savings: 26% reduction (~€13k/year)

Project ROI: Total investment €28k (8 weeks of DevSecOps CoE). Break-even: 4.2 months. Year 1 ROI: 340% factoring in infra savings + reduced downtime + developer productivity.

The qualitative impact (what the metrics don't measure)

Beyond the DORA KPIs, there were cultural and product changes that transformed the business:

1. A mindset shift: from "deploys are risky" to "deploys are routine"

Before, every deploy was a stressful event that required coordinating several people. Now, deploying is as common as making a commit. The result: developers experiment more, iterate faster, learn faster.

"We used to plan features thinking 'this has to be perfect because we can only deploy twice a week.' Now we think 'let's deploy an MVP and adjust tomorrow if needed.' That completely changed how we design product."

— Product Manager at FinPay

2. Democratization of technical knowledge

They went from having 2 "deploy guardians" (a human bottleneck) to the whole engineering team being able to deploy. This eliminated the bus factor risk and distributed responsibility.

3. Recruiting advantage

In their updated job posting, they now mention: "Full CI/CD with GitHub Actions, IaC with Terraform, blue-green deployments, feature flags, comprehensive observability." The result: 3x more senior applicants over the last 6 months.

4. Product experimentation speed

With feature flags and daily deploys, they now run A/B tests of new features in production with real clients. A recent example: they tested 3 versions of an onboarding flow in 2 weeks (it would have taken 2 months before).

Mistakes we avoided (and you should too)

Not everything was perfect. These were the anti-patterns we identified and corrected:

  1. Trying to change everything at once
    Initial mistake: They wanted to migrate to microservices + implement CI/CD + change the stack all at the same time. Solution: Focus only on CI/CD first, keep the monolith. Microservices can come later if it makes business sense.
  2. Not involving developers in the pipeline design
    If you impose a pipeline from the top, no one will adopt it. We ran collaborative workshops where the team designed their own ideal workflow, and we implemented it.
  3. Chasing perfection before the first automated deploy
    Better a "good" pipeline working in Week 2 than a "perfect" pipeline in Week 8. Iterating on something that works is easier than building in a vacuum.
  4. Not measuring before starting
    If you don't measure the current state (lead time, deploy frequency, MTTR), you can't demonstrate improvement. Baseline metrics are critical.
  5. Forgetting documentation and enablement
    A technical transformation without knowledge transfer is a consultancy that turns into dependency. The goal is for the team to be autonomous.

Is it replicable in your startup?

This case is from a Series B fintech with 18 engineers. But the framework scales both up and down:

If you're smaller (5-10 developers):

  • The same process takes 4-6 weeks instead of 8
  • You can start with GitHub Actions + Vercel/Railway/Fly.io (no Terraform/ECS)
  • Less focus on governance, more on automation quick wins

If you're bigger (30-100 developers):

  • The process takes 10-14 weeks (more stakeholders, more legacy, more compliance)
  • You need a dedicated platform team post-transformation
  • More focus on multi-environment strategy, RBAC, audit trails

The non-negotiables (regardless of size):

  1. Automate testing: Without automated tests, CI/CD is just "Continuous Disaster"
  2. Infra as Code: Without IaC, there's no reproducibility or reliable disaster recovery
  3. Security shift-left: Catch vulnerabilities in CI, not in production
  4. Observability: If you don't measure, you don't know if it improved or when something breaks
  5. Team enablement: Technical transformation requires cultural transformation

Is your team in FinPay's situation from March 2024?

If deploys are stressful events instead of a daily routine, if vulnerabilities are discovered in production instead of CI, if only 2 people can deploy, you're not alone.

73% of Series A-B startups in Spain have delivery processes similar to FinPay's pre-transformation. Not because they don't know DevOps matters, but because they don't know how to implement it without paralyzing deliveries for weeks.

At onext we implement DevSecOps Centers of Excellence specifically for tech startups. In 6-10 weeks, we transform your delivery process from "manual and risky" to "automated and reliable."

Without stopping deliveries. Without rewriting your application. Without hiring a platform team.

Written by
Equipo onext
onext technical team

Written by the technical team at onext, a Spanish applied-AI consultancy. It reflects the team's practice in transforming development teams, cloud, DevSecOps and quality: 12 teams transformed and 0 sprints lost.

Are your deploys still stressful events?

Let's talk about how to implement DevSecOps in your startup without stopping deliveries. A first 30-minute diagnostic conversation, no commitment.