Book Image

AWS CDK in Practice

By : Mark Avdi, Leo Lam
3.5 (2)
Book Image

AWS CDK in Practice

3.5 (2)
By: Mark Avdi, Leo Lam

Overview of this book

As cloud applications are becoming more complex, multiple tools and services have emerged to cater to the challenges of running reliable solutions. Although infrastructure as code, containers, and orchestration tools, such as Kubernetes, have proved to be efficient in solving these challenges, AWS CDK represents a paradigm shift in building easily developed, extended, and maintained applications. With AWS CDK in Practice, you’ll start by setting up basic day-to-day infrastructure while understanding the new prospects that CDK offers. You’ll learn how to set up pipelines for building CDK applications on the cloud that are long-lasting, agile, and maintainable. You’ll also gain practical knowledge of container-based and serverless application development. Furthermore, you’ll discover how to leverage AWS CDK to build cloud solutions using code instead of configuration files. Finally, you’ll explore current community best practices for solving production issues when dealing with CDK applications. By the end of this book, you’ll have practical knowledge of CDK, and you’ll be able to leverage the power of AWS with code that is simple to write and maintain using AWS CDK.
Table of Contents (17 chapters)
1
Part 1: An Introduction to AWS CDK
4
Part 2: Practical Cloud Development with AWS CDK
9
Part 3: Serverless Development with AWS CDK
12
Part 4: Advanced Architectural Concepts

Summary

When writing this chapter, we were hoping to close the loops around a production-grade AWS CDK setup. In this chapter, we learned how to purchase domains in Route 53 and create hosted zones for them. We then went on a (necessary) wild goose chase validating a DNS to issue ACM certificates. We then realized how CDK saves us time by doing most of the work of DNS validation for us. We configured an RDS MySQL database for our TODO application, and we also learned about the importance of storing secrets safely and how to do that with CDK apps.

There are six more chapters in this book. That said, if you’ve gotten this far, you have the general knowledge to start creating awesome DevOps automations with AWS CDK. We hope the game-changing characteristics of CDK are becoming as evident to you as they are to us. In the next chapter, we will cover how to build bulletproof CI/CD pipelines for CDK applications. See you there!