惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Threatpost
Forbes - Security
Forbes - Security
P
Palo Alto Networks Blog
Scott Helme
Scott Helme
S
Securelist
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Visual Studio Blog
P
Proofpoint News Feed
大猫的无限游戏
大猫的无限游戏
博客园 - 三生石上(FineUI控件)
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
AWS News Blog
AWS News Blog
P
Privacy & Cybersecurity Law Blog
L
LINUX DO - 热门话题
L
Lohrmann on Cybersecurity
Last Week in AI
Last Week in AI
Engineering at Meta
Engineering at Meta
Spread Privacy
Spread Privacy
博客园_首页
T
Tor Project blog
The Cloudflare Blog
博客园 - 聂微东
罗磊的独立博客
Cyberwarzone
Cyberwarzone
腾讯CDC
T
The Exploit Database - CXSecurity.com
Google DeepMind News
Google DeepMind News
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
P
Privacy International News Feed
D
Darknet – Hacking Tools, Hacker News & Cyber Security
U
Unit 42
A
Arctic Wolf
C
Cybersecurity and Infrastructure Security Agency CISA
A
About on SuperTechFans
G
GRAHAM CLULEY
K
Kaspersky official blog
月光博客
月光博客
Microsoft Security Blog
Microsoft Security Blog
T
Tenable Blog
L
LINUX DO - 最新话题
酷 壳 – CoolShell
酷 壳 – CoolShell
IT之家
IT之家
TaoSecurity Blog
TaoSecurity Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
MongoDB | Blog
MongoDB | Blog
T
The Blog of Author Tim Ferriss
C
Cyber Attacks, Cyber Crime and Cyber Security
博客园 - 司徒正美
O
OpenAI News
Recent Announcements
Recent Announcements

Inside Nutrient

A guide to the invisible work behind documents Introducing Nutrient Documents for Salesforce: Native document generation and signing Document AI vs. traditional OCR: Choosing between OCR, AI, and hybrid pipelines PDF SDK compliance and security evaluation checklist for enterprise teams (2026) Invariant Corp replaces paper processes with Nutrient Workflow and scales without limits What is process mapping? A complete guide Nutrient vs. Conga Composer for Salesforce document generation (2026) Document routing: How to automate document distribution The CTO’s AI playbook: Why accountability architecture beats orchestration Compliance workflow automation: Why built-in compliance is table stakes Workflow diagrams: Examples, symbols, and how to build one that actually runs Digital forms: Replace paper forms with automated workflows Approval workflow software: How to automate approvals Why document-centric automation is different The CEO’s AI playbook: Why decision architecture beats model selection Nutrient SDK product updates for Q1 2026 PDF redaction verification: How to prove sensitive data is permanently removed What is a VPAT? The complete guide to accessibility conformance reports What is PDF/UA? The accessible PDF standard explained Salesforce eSignatures: Generate, sign, and track documents in one flow Online document viewer: Options, tradeoffs, and how to embed one Document viewer for web apps: React, Vue, Angular (2026) Best document viewers in 2026: A buyer’s guide How to edit a PDF in Python: Add text, images, and annotations Nutrient advances Workflow platform with agentic AI for enterprise-grade speed and consistency in document-heavy operations How to create a Salesforce quote template from opportunity data The business case for accessibility: Five ways it drives enterprise value Python PDF library comparison (2026): 7 libraries for developers Why your AI agent hallucinates PDF table data PDF.js limitations: When to upgrade to a commercial PDF SDK How Subject scaled 5× with Nutrient’s PDF SDK without rebuilding its document layer I replaced our sales training with an AI coach that runs in Slack — here’s what broke Redirecting to: https://securitybuzz.com/cybersecurity-news/why-enterprise-permissions-are-ais-most-dangerous-inheritance/ Nutrient .NET SDK vs. iText Core: Complete comparison for .NET developers DocuVieware: Support’s most frequently asked setup questions Introducing Nutrient Workflow How to convert PDF to Word in C# (.NET) When email and spreadsheets stop working: Work order approval workflows for field teams on the move Compliance with confidence: Why document-centric automation is the foundation of your mission Nutrient expands AI Assistant, automating multistep document workflows inside any application What is document generation? A developer’s guide to PDF generation Document Converter data flow and how real-time watermarks skip the queue PDF/UA compliance guide: Requirements, standards, and best practices Computers still can’t understand you How Athena Intelligence built AI agents for regulated enterprises with Nutrient’s document infrastructure How to convert HTML to PDF (2026): 4 methods from browser print to SDK How to build a document extraction pipeline with Nutrient Vision API OCR vs. intelligent document processing: Choosing the right document extraction engine Beyond OCR: How document intelligence eliminates manual processing in regulated industries Nutrient vs. IronPDF: Complete comparison for .NET developers Nutrient vs. Aspose.PDF: Complete comparison for .NET developers Redirecting to: https://fortune.com/2026/02/19/openclaw-who-is-peter-steinberger-openai-sam-altman-anthropic-moltbook/ Lufthansa Systems uses Nutrient to deliver reliable, scalable PDF rendering for pilots worldwide Nutrient vs. Syncfusion: Complete comparison for .NET developers React’s useTransition: The hook you’re probably using wrong First City Monument Bank streamlines banking processes with Nutrient Workflow Redirecting to: https://www.sdcexec.com/warehousing/automation/article/22957364/nutrient-workflow-automation-the-missing-link-in-supply-chain-efficiency The complete guide to digital signatures: PAdES, CAdES, and XAdES explained Nutrient Python SDK: Production-grade document processing for Python Introducing agentic document editing for web applications with AI Assistant Nutrient vs. QuestPDF: Complete comparison for .NET developers How we fixed the GdPicture license expiration (and what to do if you’re affected) Red team security testing with agentic AI The future of healthcare document automation Best healthcare workflow software compared Nutrient SDK product updates for Q4 2025 How Harvey scaled legal document workflows 50 percent MoM without rebuilding infrastructure HIPAA-compliant document management in hospitals How we optimized rendering performance while handling thousands of annotations in React — Part 2 Automated PII removal with Nutrient API Redirecting to: https://www.devopsdigest.com/2026-low-code-no-code-predictions Redirecting to: https://www.kmworld.com/Articles/Editorial/ViewPoints/Leaders-predict-AI-to-continue-permeating-all-aspects-of-KM-in-2026-172594.aspx What are deep agents and how do they solve complex problems? Whipping up document magic: Your easy-bake recipe for Vue and Nutrient Web SDK 🧁 What I’ve learned about product iteration planning while building SDKs Passwordless document signing: Three-layer security guide New zip folder functionality streamlines file management in Document Automation Server The keyboard shortcuts playbook: Taking control of keyboard events in Nutrient Web SDK From experienced engineer to AI beginner: My unexpected journey AI-assisted manual testing: Handling Safari’s PDF rendering and UI quirks How to keep a 20-year-old SDK up to date How we optimized rendering performance while handling thousands of annotations in React — Part 1 Nutrient announces new executive hires to accelerate next phase of growth High performance UI using web workers Automate document conversion at scale with Python and Nutrient DCS From curiosity to PLG (and AI): My journey to understanding product-led growth Prost to progress: One year as Nutrient Pigeon usage at Nutrient: Bridging native SDKs to Flutter Unix man pages: AI-friendly documentation since 1971 Consistent hashing for even load distribution Best AI redaction APIs: Complete comparison guide for 2025 Why AI document redaction matters for modern security From coding to coordinating: How AI transformed my workflow What is intelligent document processing (IDP)? A complete guide Enterprise PDF SDKs: Best PSPDFKit (now Nutrient) alternatives Nutrient SDK product updates for Q3 2025 GdPicture support best practices Redacting sensitive data with Nutrient AI redaction API How AI is transforming the customer experience at Nutrient: From instant answers to intelligent support How manual QA uses PR testing between releases
Modernizing CI build servers: How to migrate from Chef to Ansible
Hugh Woodfall · 2025-11-26 · via Inside Nutrient

Table of contents

    Modernizing CI build servers: How to migrate from Chef to Ansible

    TL;DR

    • Learn why we migrated from Chef to Ansible configuration management for our continuous integration (CI) build servers.
    • Discover practical strategies for gradual migration without disrupting existing pipelines.
    • Understand cost comparisons and hosting considerations for build servers.
    • Compare Chef and Ansible to make informed decisions for your infrastructure.

    What happens when your infrastructure configuration management system becomes a bottleneck? When deploying a single continuous integration (CI) server takes more than an hour and only one team member (barely) understands how it works, it’s time for a change.

    This blog post explores our journey from Chef to Ansible for managing CI build servers — critical infrastructure supporting daily developer operations. It covers how we improved team maintainability, cut our configuration codebase by more than 99 percent, greatly improved scaling capabilities, and transformed our deployment process.

    Why now?

    Ever since I joined Nutrient in late 2023, I wanted to modernize our CI build servers (running as self-hosted Buildkite agents(opens in a new tab)) and the Chef cookbooks behind them responsible for their configuration. Working with them daily was challenging; dead code, minimal documentation, and my own limited Ruby and Chef expertise made maintenance and any new development difficult.

    To be frank, we let our Chef ecosystem rot. Documentation was minimal or non-existent, key team members who understood the system had left, and previous upgrade attempts had failed. The infrastructure worked, but it had become a black box we could barely maintain and that we found impossible to develop new features with.

    And while our fleet of bare-metal Linux servers on Debian 10 Buster from Hetzner Dedicated Server was functioning adequately, with Debian 10 reaching end-of-life (EOL) on 30 June 2024, we faced growing security and compliance risks — making the impending deadline a clear catalyst for change.

    This deadline created the perfect opportunity to reassess our configuration management strategy and transition away from Chef, which had become a maintenance bottleneck.

    Core issues identified

    We identified several critical problems that made migration necessary:

    • Security risk — Running an unsupported OS created compliance issues and security vulnerabilities.
    • Knowledge gap — Chef became a black box for our Platform team, with failed previous upgrade attempts.
    • Complexity — Critical environments and variables were intertwined in unknown ways, with nested cookbooks referencing decommissioned components written more than a decade ago.
    • Outdated technology — Chef lagged behind modern DevOps tools, while Ansible offered greater flexibility and ease of use.
    • Scaling difficulties — Our Chef setup required significant time to deploy individual servers or make configuration changes.

    Chef vs. Ansible: A practical comparison

    When evaluating configuration management tools, we compared Chef and Ansible across several dimensions relevant to our infrastructure needs.

    AspectChefAnsible
    LanguageRuby-based DSL — full programming language enables complex logic and sophisticated abstractionsYAML-based playbooks — declarative and human-readable
    Learning curveSteep — involves learning Ruby and Chef’s architectureGentle — human-readable YAML, easier for teams to learn
    Infrastructure requirementsRequires Chef server, database, and associated tooling — provides centralized management, reporting, and compliance trackingAgentless — runs over SSH, no dedicated server, simpler initial setup but no native reporting or auditing
    Deployment modelPull-based — agents check in with Chef server and pull configurations, similar to GitOps workflowPush-based — configurations are pushed from control node to target servers on demand
    Code complexityComplex nested cookbooks with dependencies — powerful abstractions and reusable code patternsSimple, modular playbooks with minimal dependencies — easier to understand at a glance
    Online documentationExtensive, mature documentation with deep technical coverageStraightforward, task-oriented documentation
    Community and ecosystemMature ecosystem, albeit declining relative to modern toolsActive, growing community with strong support and modern integrations
    IdempotencyRobust idempotency when properly designed, with comprehensive resource managementNative idempotency by default with clear task execution
    DebuggingCentralized logging and reporting through Chef server, but can be challenging with nested dependenciesEasier with clear task execution and verbose output, but requires manual log aggregation
    Multi-server deploymentBuilt-in orchestration through Chef server with centralized control and reportingNative parallel execution capabilities with flexible ad-hoc execution

    Why move away from Chef?

    Chef was an industry standard for configuration management, but our experience revealed significant limitations beyond the core issues we faced:

    • High learning curve — Requires Ruby knowledge and understanding of Chef’s architecture, which the current Platform team does not have
    • Infrastructure overhead — Maintaining the Chef server, database, and associated toolset created ongoing costs and complexity
    • Declining ecosystem — Community and industry support declined relative to modern tools like Ansible
    • Technical debt — The time required to refactor and document our legacy cookbooks would be enormous

    These factors, combined with our immediate challenges, made migrating to a more modern, approachable configuration management tool a faster and safer long-term strategy than maintaining our Chef infrastructure.

    Requirements for CI server migration

    We established clear criteria for our migration, outlined below, to ensure success.

    Must-have requirements

    • Minimal disruption — Existing pipelines remain functional, with developer teams unable to notice any transition
    • Current OS — Stay up to date to meet security practices and compliance requirements
    • Team maintainability — New setup must be understood and managed by current team members
    • Clear documentation — Eliminate undocumented knowledge with easy-to-follow runbooks
    • Bare-metal servers — Support specialized workloads like Android emulation requiring low-level hardware access
    • Rapid, automated deployment — Reduce time to deploy new servers and eliminate as many manual steps as possible

    Nice-to-have features

    • Single infrastructure provider — Simplified management with consolidated hosting
    • Vendor-neutral tooling — Avoid lock-in with CloudFormation or ARM templates to enable provider flexibility
    • Cost optimization — Maximize value and minimize infrastructure expenses
    • Elastic scaling — Support easy scaling up or down as requirements change

    Solution options explored

    We evaluated multiple approaches to find the best fit for our requirements.

    Configuration management tools

    Packer — Excellent for image-based scaling in cloud environments like AWS EC2, but not suitable for our bare-metal requirements.

    Ansible — Simple, readable playbooks with no dedicated server or database requirements. Offered better flexibility for our specific infrastructure needs.

    Hosting considerations

    We then compared three hosting options for our specialized requirements.

    Hetzner Dedicated Server

    • Bare-metal servers perfect for Android builds
    • Proven reliability with existing infrastructure
    • Hardware-level access for emulation workloads
    • Manual scaling and no possibility of IaC

    Hetzner Cloud

    • Virtualized environment with good flexibility
    • Integrated support for Packer, Ansible, and Terraform
    • Limited by vertical scalability constraints

    AWS EC2

    • Comprehensive auto-scaling capabilities
    • Provider consolidation benefits
    • Significantly higher costs and complexity

    Cost comparison analysis

    ProviderServer/instance typeTypespecificationsStorageMonthly cost*Autoscaling
    Hetzner Dedicated ServerAX52Bare-metalAMD Ryzen 7 7700, 64GB DDR5, 8 cores2×1TB Gen4 NVMe SSD$65 + $43 one-off setup feeNo autoscaling
    AWS EC2c5.metalBare-metal96 vCPU, 192GB RAMEBS gp3: $8/100GB$2,980 + storageAvailable with AWS autoscaling groups (ASG)
    Hetzner CloudCCX33Virtualized8 vCPU, 32GB RAM240GB SSD$63Supported
    AWS EC2m5.2xlargeVirtualized8 vCPU, 32GB RAMEBS gp3: $8/100GB$280 + storageFull autoscaling capabilities

    *Pricing at time of evaluation in USD, hosted in European data centers. AWS costs exclude EBS storage, data transfer, and other fees.

    Note: For bare-metal comparisons, Hetzner Dedicated Server (AX52) and AWS EC2 (c5.metal) represent the closest comparable server specifications available from each provider.

    Each hosting option has tradeoffs:

    • AWS offers comprehensive auto-scaling and managed services albeit at significantly higher costs. Scaling and replacing individual servers is automatic and painless.
    • Hetzner Cloud provides good flexibility and IaC support but has vertical scalability constraints.
    • Hetzner Dedicated Server offers great value for bare-metal servers, but lacks any autoscaling capabilities and requires fairly meticulous scripts to configure. Contacting Hetzner support is often required to debug any hardware issues.

    Decision: Hetzner Dedicated Server offered the best value for our bare-metal requirements, aligning with our existing infrastructure expertise. The cost savings and proven reliability outweighed the lack of autoscaling capabilities.

    The path forward: Ansible on Hetzner Dedicated Server

    We chose to modernize our configuration management with Ansible while maintaining our proven Hetzner Dedicated Server infrastructure. Our strategy focused on three key principles: replacing Chef cookbooks with Ansible playbooks, executing a gradual transition to minimize risk, and documenting processes for team maintainability.

    Implementation plan

    Once we decided what to do, we structured our migration as a four-phase process to minimize risk and ensure success.

    Phase 1: Proof-of-concept development

    Develop initial Ansible playbooks to configure Linux servers with essential components:

    • Buildkite Agent — Complete installation and configuration setup
    • Android CI support — Testing capabilities for specialized build requirements
    • Essential tooling — Docker, Git, Vim, curl, TLS certificates, and development dependencies
    • Authentication systems — Repository access and HyperDX Agent integration for observability
    • Hetzner-specific features — Rescue mode access and disk encryption configuration

    Phase 2: Validation and testing

    Comprehensive testing to ensure reliability before production deployment:

    • Pipeline validation — Execute major pipelines, including monorepo and website builds, on test nodes
    • Health monitoring — Verify server status through Buildkite, SSH access, and essential mount points for disk drives
    • Performance benchmarking — Compare deployment times and resource utilization against Chef baseline

    Phase 3: Gradual production rollout

    Risk-minimized migration strategy executed over a two-week period:

    • Sequential migration — Take agents offline individually, remove from Chef state, add to Ansible inventory
    • Continuous monitoring — Apply configurations, monitor stability, and iterate based on findings
    • Rollback preparation — Maintain Chef configurations as backup during transition period

    Phase 4: Infrastructure cleanup

    Finalize migration and establish sustainable practices:

    • Legacy removal — Eliminate obsolete Chef artifacts, deprecated automation, and outdated runbooks
    • Documentation creation — Develop comprehensive playbook documentation and maintainable runbooks
    • Knowledge transfer — Train team members on new Ansible workflows and troubleshooting procedures

    Migration results and lessons learned

    Our Chef-to-Ansible migration delivered significant improvements across multiple dimensions.

    Quantifiable improvements

    The migration delivered measurable results that transformed our infrastructure operations:

    Deployment time

    • Before — Manual, error-prone process requiring significant time to deploy each server.
    • After — Automated, consistent process with Ansible able to scale multiple servers simultaneously.
    • Improvement — Dramatic reduction in deployment time, operational stress, and human error.

    Documentation quality

    • Before — Minimal documentation, heavy reliance on undocumented knowledge and outdated runbooks.
    • After — Comprehensive, clear documentation for Ansible playbooks and server configurations.
    • Improvement — Vastly improved documentation quality, enabling easier onboarding and maintenance.

    Team productivity

    • Before — Only a single team member could understand Chef cookbooks, leading to bottlenecks.
    • After — Entire platform team can maintain Ansible configurations, and the entire engineering team can contribute, as it’s simply human-readable YAML.
    • Improvement — Higher speed of development and reduced reliance on specific individuals.

    Configuration management complexity

    • Before — Complex, nested Chef cookbooks with multiple dependencies, forgotten servers, more than five repositories, and dead code.
    • After — Simple, modular Ansible playbooks with minimal dependencies and no external servers, all hosted in a single code repository.
    • Improvement — Substantial reduction (more than 99 precent) in lines of code (LoC), from several hundred thousand lines to less than 2,000.

    Key takeaways for infrastructure modernization

    Our migration taught us several valuable lessons:

    • Tool selection isn’t everything — Building systems your team understands and can maintain matters more than choosing the “best” tool
    • Documentation is critical — Clear documentation and maintainability equal raw technical capabilities in importance
    • Alignment matters — Choose configuration management and hosting solutions that match your team’s skills, operational needs, and budget constraints
    • Iterative approach reduces risk — Well-documented, phased migrations provide better foundations for scalability and resilience
    • Deadlines can be catalysts — The Debian 10 EOL deadline forced us to address technical debt we might have otherwise deferred

    What’s next?

    Our migration to Ansible represents more than a tool change — it’s a shift toward simplicity and maintainability over legacy complexity. This foundation enables:

    • Improved deployment speed — Deploy new CI agents in minutes, not hours
    • Improved reliability — Reduced single points of failure in our infrastructure
    • Enhanced collaboration — Multiple team members can contribute to infrastructure management
    • Future flexibility — Vendor-neutral approach enables easier provider migrations if needed

    By prioritizing team understanding and operational simplicity, we’ve established a sustainable platform for our growing development needs.

    If you want to learn more about our historical approach to CI, be sure to check out these posts:

    Explore related topics

    Try for free Ready to get started?

    Related Development articles

    Explore more