Reader small image

You're reading from  AWS CDK in Practice

Product typeBook
Published inJun 2023
PublisherPackt
ISBN-139781801812399
Edition1st Edition
Right arrow
Authors (2):
Mark Avdi
Mark Avdi
author image
Mark Avdi

Mark Avdi is an Engineer, Solutions Architect and currently the CTO of Westpoint Software Solutions. He has gained his invaluable experience through decades of coding programs, designing software, and managing complex cloud infrastructures in multiple industries with different sets of challenges using a variety of solutions. Mark is a technologist; he keeps up with the trends and believes in the power of technology as an ultimate tool to help businesses prosper and tackle problems our world currently faces.
Read more about Mark Avdi

Leo Lam
Leo Lam
author image
Leo Lam

Leo Lam is an AWS Certified Solutions Architect and the COO of Westpoint Software Solutions. While having detailed knowledge of the vast array of services AWS currently provides, he maintains the close relationship between AWS & Westpoint as partners. Leo comes from a sporting background and uses his experience to effectively integrate the dynamics of sporting philosophy into day-to-day software development to build teams and workflows that constantly deliver.
Read more about Leo Lam

View More author details
Right arrow

What this book covers

Chapter 1, Getting Started with IaC and AWS CDK, will cover setting up your local machine for CDK development, introduce you to AWS CDK, and dive into its inner workings.

Chapter 2, A Starter Project and Core Concepts, will cover CDK integration using the monorepo model and core CDK concepts such as constructs, creating custom constructs, and community-maintained and construct libraries.

Chapter 3, Building a Full Stack Application with CDK, will guide you through building a full stack application using AWS CDK, Node.js, Express.js, React, ECS, and DynamoDB. You’ll learn how to create a backend API with Express.js, connect it to a React frontend, and deploy it using AWS CDK. Additionally, you’ll see how AWS CDK simplifies the process of building and deploying Docker images to AWS ECS.

Chapter 4, Complete Web Service Deployment with AWS CDK, will cover how to set up DNS for frontend and backend URLs with Route 53, create an AWS RDS MySQL database using AWS CDK and secure endpoints with AWS ACM TLS certificates, and set up CloudFront distribution for frontend assets.

Chapter 5, Continuous Delivery with CDK-Powered Apps, will provide an introduction to CI/CD and AWS’s toolset, creating different environments for our application, and using AWS’s CodeBuild and CodePipeline to implement a robust CI/CD process. We will also go over running the build for various branches and getting notifications of the build status.

Chapter 6, Testing and Troubleshooting AWS CDK Applications, will cover automated testing for AWS CDK applications. We’ll cover different types of tests, strategies for writing effective tests, and best practices for integrating testing into your AWS CDK development workflow.

Chapter 7, Serverless Application Development with AWS CDK, will cover creating a serverless application using AWS CDK. Topics include setting up an API Gateway, Lambda functions, a Step Functions state machine, and a DynamoDB table.

Chapter 8, Streamlined Serverless Development, will cover common serverless development issues and explore solutions for running Lambda application logic and AWS services locally. We’ll use tools such as LocalStack to simulate AWS services and integrate our Lambda functions with a local express server.

Chapter 9, Indestructible Serverless Application Architecture (ISAA), will talk about the Indestructible Serverless Application Architecture (ISAA), which uses AWS CDK to create highly resilient, scalable, and maintainable cloud applications. The principles of ISAA include a fuller stack, a serverless architecture, simplicity, a single-table design, and an event-driven architecture. This chapter is mostly theoretical and covers the principles of ISAA, technical requirements, and example scenarios.

Chapter 10, The Current CDK Landscape and Outlook, will give you an idea of the current landscape and outlook for AWS CDK, including how it has revolutionized the IaC landscape and enabled dynamic provisioning. This chapter also covers the use of AWS CDK in large organizations and explores CDK alternatives, such as Pulumi and CDKTF, as well as CDK-inspired projects such as CDK8S.

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
AWS CDK in Practice
Published in: Jun 2023Publisher: PacktISBN-13: 9781801812399

Authors (2)

author image
Mark Avdi

Mark Avdi is an Engineer, Solutions Architect and currently the CTO of Westpoint Software Solutions. He has gained his invaluable experience through decades of coding programs, designing software, and managing complex cloud infrastructures in multiple industries with different sets of challenges using a variety of solutions. Mark is a technologist; he keeps up with the trends and believes in the power of technology as an ultimate tool to help businesses prosper and tackle problems our world currently faces.
Read more about Mark Avdi

author image
Leo Lam

Leo Lam is an AWS Certified Solutions Architect and the COO of Westpoint Software Solutions. While having detailed knowledge of the vast array of services AWS currently provides, he maintains the close relationship between AWS & Westpoint as partners. Leo comes from a sporting background and uses his experience to effectively integrate the dynamics of sporting philosophy into day-to-day software development to build teams and workflows that constantly deliver.
Read more about Leo Lam