Hands-On AWS CDK - Helion

ISBN: 9781098158736
stron: 258, Format: ebook
Data wydania: 2025-04-14
Księgarnia: Helion
Cena książki: 194,65 zł (poprzednio: 226,34 zł)
Oszczędzasz: 14% (-31,69 zł)
Looking to accelerate development and build cloud native applications with AWS Cloud Development Kit? Through hands-on projects, you'll learn the basics of AWS CDK, the tool of choice for many of the world's largest technology companies.
Informed by real case studies and years of work with enterprise-scale cloud architectures, this book will benefit both novice and advanced cloud developers. It's complete with step-by-step explanations of essential concepts, practical examples, and self-assessment questions to help you build a shareable portfolio of completed projects, demonstrating your ability to build cloud infrastructure at scale.
You'll explore:
- Basic cloud computing concepts, including the AWS Well-Architected Framework
- End-to-end cloud native software and infrastructure as code
- The benefits of a reusable code library to accelerate your projects
- Functional modules of code that can stand alone or build toward an integrated cloud application
Osoby które kupowały "Hands-On AWS CDK", wybierały także:
- Windows Media Center. Domowe centrum rozrywki 66,67 zł, (8,00 zł -88%)
- Ruby on Rails. Ćwiczenia 18,75 zł, (3,00 zł -84%)
- Efekt piaskownicy. Jak szefować żeby roboty nie zabrały ci roboty 59,50 zł, (11,90 zł -80%)
- Przywództwo w świecie VUCA. Jak być skutecznym liderem w niepewnym środowisku 58,64 zł, (12,90 zł -78%)
- Scrum. O zwinnym zarządzaniu projektami. Wydanie II rozszerzone 58,64 zł, (12,90 zł -78%)
Spis treści
Hands-On AWS CDK eBook -- spis treści
- Preface
- How This Book Is Structured
- Why CDK?
- Why We Wrote This Book
- Who This Book Is For
- How to Use This Book
- Why Projects First?
- Documentation
- Testing
- What You Will Build
- End of Chapter Organization
- Getting Unstuck
- Chapter Synth
- Review
- Discussion
- Extension Activities
- Conclusion
- Conventions Used in This Book
- Using Code Examples
- OReilly Online Learning
- How to Contact Us
- Acknowledgments
- 1. Getting Started with CDK
- What You Will Build
- Project 1: The Shared Project
- Project 2: The Portfolio Project
- Prepare Your Learning Environment
- Set Up Your Cloud Development Environment
- Set Up Your AWS Account
- Set Up Your AWS Budgets
- Create an Admin IAM User
- Sign In and Generate Keys for Your CDK Developer User
- Set Up the AWS CLI
- Set Up Your Local Development Environment
- Set Up Visual Studio Code
- Set Up Git and GitHub
- Install Prerequisite Packages and Software
- Install Node and npm
- Install CDK
- Infrastructure as Code and Automation
- How Infrastructure as Code Works
- How CDK Works on AWS
- AWS CloudFormation, AWS CDK, and Terraform
- Getting Unstuck
- Chapter Synth
- Discussion
- Extension Activities
- What You Will Build
- 2. Hello, CDK!
- Project Architecture: Build a Hello, CDK Lambda Function
- Generate a New CDK Application
- The Structure of a CDK Application
- Understanding Application Stacks
- Installing Dependencies
- Building a CDK Application
- Bootstrap Your CDK Application
- Synthesize Your CDK Application
- Project Tutorial: Deploy a Hello, CDK Lambda Function
- Define Your Lambda Function Infrastructure
- Define Your Lambda Function Application Logic
- Deploy Your Function
- Test Your Function
- CDK Documentation
- Basic CDK Commands
- CDK to CloudFormation
- Getting Unstuck
- Chapter Synth
- Discussion
- Extension Activities
- 3. Introducing CDK and AWS Constructs
- Project Architecture: Greeting S3 Bucket
- Defining L1, L2, and L3 Constructs
- Project Tutorial: Deploy an S3 Bucket
- Project Preparation
- Level 1 Construct
- Level 2 Construct
- Level 3 Construct
- Why Use L1, L2, and L3 Constructs?
- Documenting Your Code
- Getting Unstuck
- Chapter Synth
- Discussion
- Extension Activities
- 4. Integrating CDK Constructs
- Project Architecture: Dynamic Lambda Greeting
- Add an S3 Event Notification
- Using Parameters and Overrides
- Getting Unstuck
- Chapter Synth
- Discussion
- Extension Activities
- Project Architecture: Dynamic Lambda Greeting
- 5. Building Multistack CDK Applications
- Project Architecture: Data Pipeline Microservice
- Create a Shared Resources Stack
- Rename Your CDK Application
- Redefine the Application Entry Point
- Restructure Your Application for Multiple Stacks
- Create a Shared Resources Stack
- Build Your Data Pipeline Stack
- TypeScript features
- CDK features
- Check Your Work
- Getting Unstuck
- Chapter Synth
- Discussion
- Extension Activities
- Project Architecture: Data Pipeline Microservice
- 6. Packaging and Deploying Lambda Functions
- Project Architecture: Package and Deploy Lambda Functions with CDK
- Create a Lambda Function to Transform CSV to JSON
- JavaScript features
- AWS SDK features
- Create a Lambda Function to Calculate Energy Use and Notify
- JavaScript features
- AWS SDK features
- Test, Deploy, Modify, and Destroy
- Create a Lambda Function to Transform CSV to JSON
- Getting Unstuck
- Chapter Synth
- Discussion
- Extension Activities
- Project Architecture: Package and Deploy Lambda Functions with CDK
- 7. Extending CDK Constructs
- Project Architecture: Custom S3 and Lambda Constructs
- Create a Custom Lambda Function
- Understand the CDK Features
- Define Props
- Define Your Construct
- Document Your Construct
- Use Your Construct
- Create a Custom S3 Bucket Construct
- Deploy Your Custom Constructs
- Modify Your Application to Use the New Constructs
- Test Your New Application
- Getting Unstuck
- Chapter Synth
- Discussion
- Extension Activities
- Project Architecture: Custom S3 and Lambda Constructs
- 8. Creating New Custom CDK Constructs
- Project Architecture: Package and Deploy a Serverless API
- Why REST API and Why Serverless?
- Case Study
- Go Build!
- Create a Blank Construct
- Test Your Custom Serverless API Construct
- Getting Unstuck
- Chapter Synth
- Discussion
- Extension Activities
- Project Architecture: Package and Deploy a Serverless API
- 9. Working with CDK Custom Resources
- Project Architecture: Deploy Amazon Q Business Application
- CDK Custom Resources
- AWS Custom Resources
- Choosing the Right Custom Resource Type
- Go Build!
- Test, Deploy, Modify, and Destroy
- Test Your API
- Getting Unstuck
- Chapter Synth
- Discussion
- Extension Activities
- Project Architecture: Deploy Amazon Q Business Application
- 10. Working with Third-Party CDK Constructs
- Project Architecture: Extend Functionality of CDK Constructs
- Go Build!
- Do Your Research
- Use the Amplify Web Application Construct
- Test, Deploy, Modify, and Destroy
- Getting Unstuck
- Chapter Synth
- Discussion
- Extension Activities
- 11. Testing CDK Applications
- Project Architecture: Extend Functionality of CDK Constructs
- Precommit Hooks
- Handle Secrets and Sensitive Data
- Prettier, TSLint, and Other Formatting Tools
- Prettier
- TSLint
- Infrastructure Tests with Jest
- Write Your Own Jest Tests
- Custom Commands
- Getting Started with CDK-Nag
- Integrating CDK-Nag with Your Manual Tests
- Integrating CDK-Nag with Your CI/CD Pipelines and GitHub Actions
- Remediating cdk-nag Errors and Warnings
- Using custom constructs
- Using suppressions
- Documenting Your CDK-Nag Remediations and DevOps Integrations
- Getting Unstuck
- Chapter Synth
- Discussion
- Extension Activities
- 12. Automating DevSecOps for CDK
- Project Architecture: Automating Testing and Deployment
- Precommit Hooks
- Install Husky
- GitHub Actions for CDK
- Create Your Workflow
- Provide Secure Permissions
- Create Your GitHub Actions Workflow
- Deploy to Test
- Test
- Deploy to Staging and Production
- Document Your Deployment
- CI/CD Concepts in CDK
- Writing Deployment Scripts
- Setting Up GitHub Actions
- Integrating GitHub Actions for Deployment
- Deploying with Git
- Getting Unstuck
- Chapter Synth
- Discussion
- Extension Activities
- 13. Contributing to CDK
- Anatomy of an npm Library
- Document and Publish Your Constructs
- Contributing to CDK
- What About Terraform?
- Developer Collaboration with CDK
- Architecting for Multicloud Environments with CDK
- Blue/Green and Canary Deployments
- Blue/Green Deployment
- Canary Deployment
- Comparing Blue/Green and Canary Deployments
- Managing Configuration Settings for Different Environments
- Getting Unstuck
- Chapter Synth
- Discussion
- Extension Activities
- 14. Architecting, Building, and Publishing a Portfolio CDK Application
- Into the Working Backward Process
- Step 1: Understanding the Core Problem
- Step 2: Defining the Customer and Their Needs
- Step 3: Defining Ideas and Solutions
- Step 4: Validate and Establish Success Metrics
- Step 5: Go Build!
- Building Well-Architected Applications
- Using the Well-Architected Framework with CDK
- Operational Excellence for CDK
- Security for CDK
- Reliability for CDK
- Performance Efficiency for CDK
- Cost Optimization for CDK
- Sustainability for CDK
- Thank You!
- Into the Working Backward Process
- Index