Local Deployment using Infrastructure as Code¶
This guide describes how to deploy a two-party Carbyne Stack Virtual Cloud onto local kind cluster using CDKTF.
Setup¶
-
Clone the carbynestack/carbynestack repository
-
Change into the
carbynestack
directory -
Checkout the tag
sdk-v0.5.0
-
Change directory to the
deployments
folder -
Install npm dependencies:
-
Generate CDKTF provider bindings and import modules (located in the
.gen
folder):
Deploy¶
In the ./deployments
folder:
-
Deploy the stack using
Destroy and Clean Up¶
If you no longer need the stack or want to tear it down to apply changes to the infrastructure as code, run the following command:
Alternatively, you can use:
And delete the CDKTF state files (like terraform.local-kind.tfstate
) manually.