Playground for AWS
- from ~aws git clone https://github.com/obrienmikej/amazon-aws-playground.gitamazon-aws-playground
- aws cli setup with credentials and region set to us-east-1
- run aws cloudformation create-stack --stack-name myvpc --template-body file://myvpc.json
- run aws cloudformation create-stack --stack-name myvpc --template-body file://myvpc.yaml
- run aws cloudformation delete-stack --stack-name myvpc
- run aws cloudformation delete-stack --stack-name myvpc
Plarground for using the AWS CDK with python
- AWS CLI
- AWS CDK
- PIP
- Create a virtual environment and activate it to use the repo within VSCode.
- Install the dependencies via the
requirements.txt
file using. - Active the environment
source .venv/bin/activate
-
from the directory where the python file exists
-
list all stacks in the app
cdk list
- deploy the stack
cdk deploy
- deploy the stack
cdk destroy