A collection of AWS CDK code samples crafted in TypeScript, featured on my blog at https://towardsthecloud.com/blog
Tip
AWS Done Right: Ship Faster, More Securely, at Lower Cost! Our AWS CDK Landing Zone Service helps B2B startups & enterprises achieve SOC 2 compliance 90% faster, reclaim 30% of developer capacity for product innovation while eliminating six-figure Cloud Engineering costs.
Discover how we deliver 10x AWS infrastructure value while cutting costs.
☁️ Learn more how we help businesses succeed on AWS Cloud...
AWS promises simplicity but delivers complexity. Businesses struggle with security risks and compliance requirements that divert developers from core product work.
Without AWS expertise, you face vulnerabilities, technical debt, and market delays while competitors race ahead.
Traditional consultancies worsen this by prioritizing billable hours over outcomes.
We take the opposite approach, focusing exclusively on business outcomes by eliminating AWS complexity, accelerating your developers, and securing your infrastructure through:
Deploying a Secure Landing Zone
- Multi-account architecture with strict security boundaries
- 100% score on CIS AWS Foundation Benchmark
- 96% rating on AWS foundational security best practices
- Manage user access securely on AWS via Single Sign-On (SSO)
- Full AWS CDK implementation (Infrastructure as Code)
- Multi-region deployments supported
- Cross-account monitoring and security alerts
- View our Roadmap for all implemented and upcoming features
- They get access to our production-ready, security-hardened AWS CDK components
- They receive AWS best practices guidance to prevent technical debt
- Landing Zone gets updates and security patches
- Priority Slack/Teams support for infrastructure challenges
- Quarterly security and cost optimization assessments to stay compliant and reduce AWS costs
- 30% Lower TCO: Cut Total Cost by 40% through right-sized resources while eliminating the $150K+ cost of a specialized AWS hire.
- Accelerate Development: Redirect 30% of engineering time from infrastructure to revenue-generating features with pre-built, compliant CDK components.
- Compliance-Ready Infrastructure: Meet security requirements from day one with architecture that speeds up audit preparation by 90% for SOC 2, HIPAA, and other security frameworks.
All of this is included in a fixed monthly subscription. No lock-in, no large upfront costs, just predictable monthly pricing.
Book a free call to see how we deliver 10x AWS infrastructure value at a fraction of a Cloud Engineer's cost.
To run a Typescript example, execute the following:
$ npm install -g aws-cdk
$ cd EXAMPLE_DIRECTORY
$ npm install
$ cdk synth
$ cdk deploy
Then, to dispose of the stack/s afterwards
$ cdk destroy
AWS CDK Example | Description | Blogpost link |
---|---|---|
application-load-balanced-fargate-service | Create an Application Load Balanced Fargate Service in AWS CDK | Click here |
cloudfront-s3-origin | Create a CloudFront distribution with an S3 bucket as origin | . |
custom-role-lambda-function | Create a custom IAM role for an AWS Lambda function | Click here |
aws-cdk-dependson-relation | Create a DependsOn relation between resources in AWS CDK | Click here |
openid-connect-bitbucket | Create a Bitbucket OpenID Connect (OIDC) provider in AWS CDK | Click here |
openid-connect-github | Create a GitHub OpenID Connect (OIDC) provider in AWS CDK | Click here |
rds-with-cloudwatch-alarms | Create an Amazon RDS instance with custom CloudWatch alarms | . |
scheduled-fargate-task | Create a Scheduled Fargate Task example in AWS CDK | Click here |
scheduled-rds-stop-and-start | Create a Scheduled stop and start function for an Amazon RDS Instance | Click here |
share-resources-across-stacks | Create a stack where you share resources to another stack | Click here |