[cdk] 00 - Introduce to CDK
to 00
2023-09-27 14:23:23 时间
Ref: https://www.youtube.com/c/PahudDev/videos
Ref: Getting Started with AWS CDK
【Pahud Dev】EP04 - Getting Started with AWS CDK - 入門篇(4K 2160p)
构架 Cloudformation。
[Python]
【06】Getting Started with AWS CDK in Python
$ cdk init sample-app --language python
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
(.venv) ubuntu@ip-172-30-0-93:~/cv-training$ cdk bootstrap ⏳ Bootstrapping environment aws://071223775123/ap-southeast-2... Trusted accounts for deployment: (none) Trusted accounts for lookup: (none) Using default execution policy of 'arn:aws:iam::aws:policy/AdministratorAccess'. Pass '--cloudformation-execution-policies' to customize. CDKToolkit: creating CloudFormation changeset... ✅ Environment aws://071223775123/ap-southeast-2 bootstrapped.
npm install -g aws-cdk@1.165
Ref: https://github.com/aws-samples/aws-cdk-examples/tree/master/python
试验成功,之后需要一步一步深究。
Todo list
Useful commands
cdk ls
List all stacks in the appcdk synth
Emits the synthesized CloudFormation templatecdk deploy
Deploy this stack to your default AWS account/regioncdk diff
Compare deployed stack with the current statecdk docs
Open CDK documentationcdk destroy
Destroy all resources created easier
相关文章
- How to make a user a local admin on just one computer
- Failed to load session “ubuntu” -- 12.04
- Call to ‘super()‘ must be first statement in constructor body
- you are not currently on a branch.Please specify whic branch you want to merge with
- Craft App Height and Width expressions to create responsive canvas apps
- [Argo] 00 - Introduction to Argo
- [Kubeflow] 00 - Introduction to Kubeflow
- ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
- How to install the NVIDIA drivers on Ubuntu 18.04 Bionic Beaver Linux
- To LACP or not to LACP (on a 5.1 vDS)
- Optional int parameter 'pId' is present but cannot be translated into a null value due to being declared as a primitive type.
- QT5.3.1成功安装Failed to create OpenGL context错误解决方法
- 【问题记录】RuntimeError: `loss` passed to Optimizer.compute_gradients should be a function when eager exe
- ModuleNotFoundError: No module named ‘pip ERROR: Could not install packages due to an OSError
- 8 ways to improve ASP.NET Web API performance
- Python Pandas pandas.DataFrame.to_html函数方法的使用
- 《模型思考者》(The Model Thinker: What You Need to Know to Make Data Work for You)笔记
- LINQ系列:Linq to Object分区操作符