TerraConstructs - AWS Intro Workshop
- 1. TerraConstructs - AWS Intro Workshop: not reached (this page)
- 2. Prerequisites: not reached
- 3. AWS CLI: not reached
- 4. AWS Account and User: not reached
- 5. Node.js: not reached
- 6. IDE for your programming language: not reached
- 7. CDKTN CLI Toolkit: not reached
- 8. Terraform CLI: not reached
- 9. TypeScript Workshop: not reached
- 10. New Project: not reached
- 11. CDKTN init: not reached
- 12. Project structure: not reached
- 13. TerraConstructs: not reached
- 14. CDKTN synth: not reached
- 15. CDKTN deploy: not reached
- 16. Hello, CDKTN!: not reached
- 17. Cleanup sample: not reached
- 18. Hello Lambda: not reached
- 19. Optional - Watch: not reached
- 20. API Gateway: not reached
- 21. Writing constructs: not reached
- 22. Define the HitCounter API: not reached
- 23. Hit counter handler: not reached
- 24. Define resources: not reached
- 25. Use the hit counter: not reached
- 26. CloudWatch Logs: not reached
- 27. Granting permissions: not reached
- 28. Test the hit counter: not reached
- 29. Using construct libraries: not reached
- 30. Learning about the Table Viewer construct: not reached
- 31. Installing the library: not reached
- 32. Add the table viewer to your app: not reached
- 33. Exposing our hit counter table: not reached
- 34. Deploying our app: not reached
- 35. Extra credit: not reached
- 36. Clean up: not reached
- 37. Advanced Topics: not reached
- 38. Testing Constructs: not reached
- 39. Assertion Tests: not reached
- 40. Congrats!: not reached
Welcome Developers!
Hey there, and thanks for joining us! Hope you can't wait to play with this new thing we call "TerraConstructs" inspired by AWSCDK and built on top of "Cloud Development Kit for Terraform" or in short, CDKTN!
Combined, this is a new software development framework with the sole purpose of making it fun and easy to define cloud infrastructure in your favorite programming language and deploy it using Terraform.
So what are we going to build? Nothing too fancy...
We'll spend some time setting up your development environment and learning a little about how to work using CDKTN in combination with TerraConstructs to deploy your app to an AWS environment.
Then, you'll write a little "Hello, world" Lambda function and front it with an API Gateway endpoint so users can call it via an HTTP request.
Next, we'll introduce the powerful concept of CDK Constructs. Constructs allow you to bundle up a bunch of infrastructure into reusable components which anyone can compose into their apps. We'll walk you through writing your own construct.
Finally, we'll show you how to use a construct from a pre-packaged library in your stack.
By the end of this workshop, you'll be able to:
- Create new CDKTN applications.
- Define your app's infrastructure using the TerraConstructs library
- Deploy your CDKTN apps to your AWS account
- Define your own reusable constructs
- Consume constructs published by other
Every construct in the library is documented on Construct Hub — a useful tool for all future endeavors with the CDKs.
See Also
- CDKTN Documentation
- TerraConstructs
- AWS CDK User Guide (TerraConstructs is heavily based on AWS CDK.)
- AWS CDK Reference