Managing and provisioning computer resources through files (rather than configure in AWS).
Compare AWS CDK (TypeScript) and Terraform (HashiCorp configuration language).
AWS CDK elements should be within App
.
VPC (virtual private cloud)
Isolated network with subnets.
security group
Control IP traffic coming in (ingress) and out (egress).
iam roles
bucket
database
mlflow tracking server
And so on for other components…
output
deployment
AWS CDK
cdk list
cdk bootstrap
cdk deploy <stack-component>
cdk destroy --all
terraform plan
. View what needs to be done
terraform apply
. Apply any changes
terraform destroy
. Destroy any resources once you are done
To deploy in CI/CD: