Skip to content

Instantly share code, notes, and snippets.

View kadito's full-sized avatar
💻

Ricardo Bernardes kadito

💻
View GitHub Profile

Switching to an isolated package-by-package pipeline is an excellent choice for scaling a monorepo. In this setup, you create separate Amplify Apps in the AWS Console for each individual web component.

When a developer changes the code for the button component, only the button's CI/CD pipeline fires. The navbar pipeline stays completely idle. Each package contains its own isolated infrastructure code but can deploy to a shared, highly customized S3 + CloudFront setup.


1. The Isolated Monorepo Structure

Each web component package now completely encapsulates its own source code, its own compilation settings, and its own unique Amplify infrastructure configurations.