Depot Deployments and CDK
Depot environments are built and managed using Infrastructure-as-Code (IaC). Depot uses AWS' aws-cdk (CDK) for it's IaC solution. In your own project codebase you install our custom Depot CDK library and define your environments and resources using TypeScript code. Behind the scenes, this code is transformed into the relevant cloud resources required to form your environment.
There are two different areas (components) when it comes to Depot in terms of CDK.
- A user facing library, published to the GitHub NPM package manager (Depot CDK)
- A "behind-the-scenes" CDK library (Depot Platform CDK) that underpins the bootstrap and deployment process for Depot environments.
As a user of Depot, the main concern for you will be the Depot CDK library @stage-tech/depot-cdk.
Sometimes as a developer who wishes to see how things work, or potentially troubleshoot and dive deeper into deployments for your environment and resources, you may wish to find out more about the Platform CDK side of things. You can find information on both topics in the documentation under this section.