instead of manual process. Going throug the AWS Console to create one EC2 instance is tiring enough, imagine doing it for 50 EC2 Instances, a Load Balancer, API Gateways and much much more. Hence, it’s just easier to write down what you want and have AWS do it automatically. 4 4
to write JSON or YAML files 2. The power of a programming language is not utilized Enter CDK, a software development framework with support for Python, Java, JS, TS etc. Better than just declarative config files 7 7
CDK applications. Can be a single resource; AWS S3 bucket. Can be higher level abstraction consisting of multiple resources, like Lambda linked to DynamoDB More details and info here and here A construct represents a cloud component and encapsulates eveything AWS needs to create the component 8 8
a stack. A CDK stack is a combination of all the constructs we have defined in our application. cdk ls Allow us to manage all cloud components (ie constructs) as a single unit CDK App <— entrypoint for CDK Stacks <— contain all the constructs (components) 10 10