OpsCanary
Learn/AWS/CDK & CloudFormation
AWS

CDK & CloudFormation

13 articles from official documentation

Practitioner13 articles
awscdk cfnPractitioner

AWS CDK Mixins: Composable Infrastructure Made Easy

AWS CDK Mixins revolutionize how you compose and reuse infrastructure abstractions. By allowing you to apply modular capabilities to constructs after creation, they streamline your cloud resource management. Imagine effortlessly adding features like bucket versioning or public access blocks to your S3 buckets with minimal code.

  • Leverage CDK Mixins to apply modular capabilities to AWS constructs after creation.
  • Use the fluent .with() syntax for seamless integration of features like bucket versioning.
5 min read·AWS DevOps Blog
Read article
awscdk cfnPractitioner

Streamlining Cross-Account and Cross-Region References with Fn::GetStackOutput

Managing resources across multiple AWS accounts and Regions can be a headache. With the new Fn::GetStackOutput function, you can directly reference stack outputs without the hassle of complex imports. This simplifies your CloudFormation templates and CDK applications significantly.

  • Utilize Fn::GetStackOutput for cross-account and cross-Region stack output references.
  • Specify RoleArn to access outputs in different AWS accounts.
5 min read·AWS DevOps Blog
Read article
awscdk cfnPractitioner

Scaling Application Modernization with Strands and AWS Transform

Modernizing applications at scale is a daunting challenge, but Strands and AWS Transform custom make it manageable. This powerful combination leverages multi-agent systems to automate code transformations across large portfolios, ensuring consistency and control.

  • Leverage Strands Agents to build multi-agent systems for complex transformation workflows.
  • Utilize AWS Transform custom for reusable, CLI-driven code transformations across large portfolios.
5 min read·AWS DevOps Blog
Read article
awscdk cfnPractitioner

Mastering AWS Transform Custom: The Learn-Scale-Improve Flywheel

Unlock the potential of enterprise code modernization with AWS Transform custom. This service tackles the coordination challenges of large-scale transformations through intelligent learning and automation. Dive into how the Learn-Scale-Improve Flywheel can revolutionize your deployment processes.

  • Leverage AWS Transform custom to tackle enterprise coordination challenges.
  • Start with a focused learn pilot using 2-3 representative repositories.
5 min read·AWS DevOps Blog
Read article
awscdk cfnPractitioner

Mastering CloudFormation: Best Practices for Real-World Applications

CloudFormation is a powerful tool for managing AWS infrastructure, but its complexities can trip you up. Learn how to effectively use cross-stack references and StackSets to streamline your deployments. Discover the importance of drift detection to maintain resource integrity.

  • Use cross-stack references to share outputs between stacks with `Fn::ImportValue`.
  • Leverage CloudFormation StackSets for multi-account and multi-region deployments.
5 min read·AWS Docs
Read article
awscdk cfnPractitioner

Mastering Drift Detection in AWS CloudFormation: What You Need to Know

Drift detection is crucial for maintaining the integrity of your AWS stacks. It identifies when actual configurations diverge from expected ones, ensuring your infrastructure remains consistent. Learn how to leverage this feature effectively in your production environment.

  • Understand drift detection to maintain configuration integrity in AWS stacks.
  • Explicitly set resource property values to enable accurate drift detection.
5 min read·AWS Docs
Read article
awscdk cfnPractitioner

Mastering AWS CDK: Best Practices for Cloud Infrastructure

Unlock the full potential of AWS CDK for your cloud infrastructure. Learn how constructs and stacks work together to streamline your deployments and ensure best practices. This article dives into the nuances that can make or break your CDK experience.

  • Understand constructs as reusable modules that encapsulate resources.
  • Use stacks to deploy resources cohesively in AWS CDK.
5 min read·AWS Docs
Read article
awscdk cfnPractitioner

Streamlining Compliance with CDK Aspects at GoDaddy

Cloud compliance is a critical challenge for organizations, and CDK Aspects provide a robust solution. By leveraging the Visitor Pattern, you can enforce security rules and tagging standards across your infrastructure seamlessly.

  • Leverage CDK Aspects to enforce organization-wide compliance policies across your infrastructure.
  • Utilize the Visitor Pattern to traverse and modify constructs without altering them directly.
5 min read·AWS DevOps Blog
Read article
awscdk cfnPractitioner

Streamline Your AWS CDK Constructs with Property Injection

Tired of repeating configuration in AWS CDK? Property Injection automates the application of organizational defaults to your constructs. This feature, introduced in CDK v2.196.0, can save you time and reduce errors in your infrastructure code.

  • Implement IPropertyInjector to define default properties for constructs.
  • Leverage Property Injection to reduce repetitive configuration in your CDK code.
5 min read·AWS DevOps Blog
Read article
awscdk cfnPractitioner

AWS CloudFormation 2025: Major Enhancements You Need to Know

AWS CloudFormation has undergone significant enhancements in 2025, focusing on improving infrastructure management. The new change set validation catches errors before deployment, streamlining your workflow and reducing troubleshooting time.

  • Utilize change set validation to catch errors before deployment.
  • Leverage unique operation IDs for quick troubleshooting.
5 min read·AWS DevOps Blog
Read article
awscdk cfnPractitioner

Streamline Your AWS SDK Upgrade: Automate v1 to v2 with AWS Transform

Upgrading from AWS SDK for Java v1 to v2 can be daunting, but AWS Transform simplifies this process. With a single command, you can modernize your codebase and reduce technical debt effectively.

  • Use the AWS Transform CLI to automate the upgrade from AWS SDK v1 to v2.
  • Run `atx custom def exec` with the appropriate parameters to initiate the transformation.
5 min read·AWS DevOps Blog
Read article
awscdk cfnPractitioner

Accelerate Your CI/CD with AWS CodeBuild-hosted Runners: Lessons from Kaltura

Kaltura transformed its CI/CD process by switching to AWS CodeBuild-hosted runners, enhancing security and performance. This shift reduced operational overhead and streamlined deployments significantly.

  • Migrate from self-managed EKS runners to AWS CodeBuild-hosted runners for improved performance.
  • Leverage AWS's security features to enhance your CI/CD pipeline.
5 min read·AWS DevOps Blog
Read article
awscdk cfnPractitioner

Unlocking AWS Infrastructure with AI: The MCP Server Advantage

Tired of wrestling with AWS infrastructure? The AWS Infrastructure as Code MCP Server is here to streamline your workflow. It offers nine specialized tools that enhance your CDK and CloudFormation experience without sending your code to external services.

  • Leverage the MCP Server to streamline AWS infrastructure management.
  • Utilize the nine specialized tools for effective documentation and troubleshooting.
4 min read·AWS DevOps Blog
Read article
DigitalOceanSponsor

Simple, affordable cloud — VMs, Kubernetes, and managed databases in minutes. Trusted by 600,000+ developers. Spin up a Droplet in 60 seconds.

Try DigitalOcean →

Get the daily digest

One email. 5 articles. Every morning.

No spam. Unsubscribe anytime.