Docker has revolutionized application development and deployment, but slow builds hinder productivity. Blacksmith guides you through setting up a remote BuildKit on AWS to accelerate Docker builds for your organization by using powerful hardware, layer caching, and Dockerfile optimization. BuildKit’s client-server architecture lets you offload builds to a remote server, improving performance. Blacksmith provides a Terraform configuration to automate setting up a remote BuildKit on AWS, utilizing a compute-optimized EC2 instance and shared build cache for small teams. While scalability and cost are concerns, this approach can boost build times significantly and is a simple yet effective solution for improving performance.
https://www.blacksmith.sh/blog/faster-docker-builds-using-a-remote-buildkit-instance