open-menu closeme
Engineering
github linkedin rss
  • Speed up building Bottlerocket image in AWS CodeBuild

    calendar Oct 20, 2025 · 4 min read · Bottlerocket Docker  ·
    Share on: twitter copy

    When I first moved building Bottlerocket AMI from an EC2 host to AWS CodeBuild, I was hit by a very slow build. On an EC2 instance, I built both the x86 and Arm versions on x86 instances, and fresh builds finished in 5 minutes. However, on CodeBuild with more vCPU and memory, the build process was painfully slower. The …


    Read More

Peng Zhang

Software Engineer

Recent Posts

  • Mysterious boot hang on Graviton: mitigated but never root-caused
  • What is an ABI? Break one to find out
  • Counting systemd service restarts: NRestarts and the D-Bus API behind it
  • Apply sysctl before systemd: a lesson from reserving ephemeral ports too late
  • Don't hardcode fsync in your library
  • When enforcing OCI image spec broke customer containers
  • Why a Trailing Dot in DNS Can Break Your Customers
  • How cgo silently disables Go's deadlock detector

Tags

LINUX 25 GO 21 BOTTLEROCKET 9 ALGORITHMS 8 INTERVIEW 7 CONTAINER 5 SYSTEMD 4 CONCURRENCY 3 GUIDE 3 AWS 2 CONTAINERS 2 DISTRIBUTED SYSTEM 2 SELINUX 2 WEB 2
All Tags
ALGORITHMS8 AWS2 BOTTLEROCKET9 CONCURRENCY3 CONTAINER5 CONTAINERS2 CRYPTOGRAPHY1 DATABASES1 DISTRIBUTED SYSTEM2 DNS1 DOCKER1 EC21 GO21 GUIDE3 INTERVIEW7 LINUX25 NETWORK1 SELINUX2 SHELL1 SYSTEMD4 TESTING1 WEB2
[A~Z][0~9]
Peng Zhang

Copyright 2022-  PENG ZHANG. All Rights Reserved

to-top