S sbstjn.dev
Topics About

Topic: AWS CDK

  • AWS CDK: Serverless WebService Blueprints

    Jan 19, 2025 · 1 min read · 124 words
    The past days have been full of content about serverless workloads with AWS AppSync, Amazon Cognito, and AWS Fargate. This guide wraps up all scenarios and is your starting point if you want to build modern serverless applications with AWS using the Cloud Development Kit (CDK).
  • AWS CDK: AppSync Events API with Cognito for WebSockets and React

    Jan 19, 2025 · 6 min read · 991 words
    The Amazon AppSync Events API was recently announced and is a new feature to use a WebSocket API for real-time communication. Based on the Amazon Cognito User Pool with Managed Login and guide for GraphQL Data API in Amazon AppSync, this guide shows you how to add real-time communication to your React application using WebSockets and the Amazon AppSync Events API with Amazon Cognito.
  • AWS CDK: AppSync GraphQL API with Cognito and Apollo Client in React

    Jan 19, 2025 · 6 min read · 903 words
    The Amazon Cognito User Pool with Managed Login is a great baseline to start a new project. This guide adds an AWS AppSync GraphQL Data API to the project and shows you how to use the Amazon Cognito Access Token to authenticate against the GraphQL API using the Apollo Client in React.
  • AWS CDK: Cognito Managed Login with Custom Domain

    Jan 17, 2025 · 6 min read · 1,015 words
    Just before AWS re:Invent 2024, Amazon Cognito released a new feature called Managed Login. Using this, Amazon Cognito will provide the fully-managed, hosted sign-in and sign-up experience for your users. This guide will show you how to configure an Amazon Cognito User Pool with a custom domain and Managed Login; all done with the AWS Cloud Development Kit (CDK).
  • AWS CDK: Deploy Fargate service with EventBridge, CodePipeline, and ECR

    Jan 12, 2025 · 5 min read · 859 words
    Amazon Fargate is great for running containers without having to manage the underlying infrastructure. Using AWS Code Pipeline, you can update your running Fargate service whenever you push a new container version to the Amazon Container Registry.
  • AWS CDK: Route 53 DNS Failover with Fargate on ECS and CloudFront

    Jan 12, 2025 · 5 min read · 892 words
    Based on running a serverless container with Fargate, we want to add automated DNS failover handling with Route 53. Whenever the health check for the Fargate service on Amazon ECS fails, the DNS records point to a static website on Amazon S3; served with CloudFront.
  • AWS CDK: Serverless Container with Fargate

    Jan 6, 2025 · 7 min read · 1,219 words
    With AWS, there are many ways to get something done; finding the perfect solution is one of the challenges. A simple task, like deploying a container, can be done in many ways; this guide will show you how to deploy an application in a Docker container using AWS Fargate and AWS Cloud Development Kit.
  • AWS: Serverless Extended Validation (EV) Code-Signing with KMS

    Sep 26, 2024 · 18 min read · 3,207 words
    The AWS Key Management System can manage FIPS 140-2 Level 3 compliant private keys for Extended Validation (EV) Code Signing Certificates. Using AWS KMS and AWS Fargate for Amazon ECS, you can build a serverless Code Signing Service for Microsoft Windows binary files.
  • bunq API: Callback Integration with Amazon EventBridge

    Dec 10, 2023 · 7 min read · 1,148 words
    The weekend was nice; I had some fun using the bunq API and configure webhooks for account activities and explained how to use Amazon EventBridge Pipes to process and transform messages from SQS. Now, it’s time to combine both and get bunq events to Amazon EventBridge!
  • AWS CDK: Amazon EventBridge Pipes and SQS

    Dec 10, 2023 · 3 min read · 378 words
    When managing continuous events, Amazon EventBridge is a powerful and fully managed service. With Amazon EventBridge Pipes it’s easy to organise, structure, and transform incoming data messages. Using the AWS Cloud Development Kit, this guide will configure an Amazon SQS Queue and use Amazon EventBridge Pipes for data processing and transformation.
  • AWS CDK: API Gateway Service Integrations for Amazon EventBridge

    Oct 31, 2023 · 4 min read · 555 words
    The previous post described how to create an Amazon EventBridge Event Bus with Amazon CloudWatch Log forwarding using the AWS CDK. Publishing events works fine with the AWS Management Console or the AWS CLI, but you can also use Service Integrations for Amazon API Gateway; this works for HTTP and Rest API Gateways.
  • AWS CDK: Amazon EventBridge and CloudWatch Logs

    Oct 31, 2023 · 4 min read · 613 words
    Amazon EventBridge is a powerful service to build event-driven applications at scale across AWS. To get started with EventBridge, you just need to create an Event Bus; for example, using the AWS Cloud Development Kit. Next, forwarding all events to an Amazon CloudWatch Log group enables basic insights into all processed events.
  • AWS CDK: AppSync GraphQL API for Amazon Bedrock

    Oct 30, 2023 · 2 min read · 343 words
    Based on invoking Amazon Bedrock with AWS Lambda and Amazon API Gateway, you can adapt the AWS Cloud Development Kit example code to use AWS AppSync and GraphQL for accessing Amazon Bedrock.
  • AWS CDK: Use Amazon Bedrock with AWS Lambda & API Gateway

    Oct 30, 2023 · 3 min read · 363 words
    After using Amazon Bedrock Generative AI with the AWS CLI and AWS JavaScript SDK, this guide will explain how to create an Amazon API Gateway and use the AWS Cloud Development Kit and AWS Lambda to invoke Amazon Bedrock.
  • AWS CDK: Configure Alternative Operations & Security Contacts using StackSets

    Oct 22, 2023 · 5 min read · 753 words
    To maintain a common foundation of resources across a complex AWS Organization, CloudFormation StackSet is the perfect companion. Usually, you want to deploy a common baseline of AWS resources and additionally specificy custom deployments; like setting custom contact information for billing, operations, or security communications.
  • AWS CDK: Cross-Region S3 Replication with KMS

    Jun 6, 2021 · 6 min read · 1,004 words
    AWS has everything you need for secure and reliable data storage. With Amazon S3, you can easily build a low-cost and high-available solution. Together with the available features for regional replication, you can easily have automatic cross-region backups for all data in S3.
  • AWS CDK: Use Lambda with Application Load Balancer

    Mar 11, 2021 · 3 min read · 368 words
    When coming from a serverless perspective, setting up an Application Load Balancer with VPC sounds like much to do for just invoking an AWS Lambda function. Thanks to the AWS CDK, it’s not that complex.
  • AWS: Encrypted SQS with SNS Subscription using KMS

    Dec 17, 2020 · 3 min read · 499 words
    To decouple services on AWS, it’s a common pattern to use Amazon SQS and Amazon SNS. With AWS Key Management Service, you can encrypt the messages stored in the SNS topic and SQS queue. For the AWS Cloud Development Kit using TypeScript, you can easily create an architecture for secure message processing.
  • AWS: CloudFormation StackSet IAM Roles

    Dec 11, 2020 · 2 min read · 282 words
    With AWS CloudFormation StackSets you can deploy a CloudFormation template to multiple AWS Accounts or AWS Regions. You can use the AWS Management Console, the AWS CLI, or CloudFormation to use StackSets. Before using StackSets, you need to configure specific IAM roles to be used with CloudFormation StackSets.
  • AWS CDK: Amazon API Gateway integration for SQS

    Dec 7, 2020 · 2 min read · 335 words
    Most people know Amazon API Gateway from using it to build HTTP interfaces for AWS Lambda functions. But, in general, you can use API Gateway to call a variety AWS APIs using HTTPS. This post shows how to create an HTTPS interface for Amazon SQS using the AWS Cloud Development Kit.
  • AWS CDK: State Machine with Step Functions

    Dec 6, 2020 · 3 min read · 444 words
    With AWS Step Functions, you can easily orchestrate serverless functions and sequence them with other AWS services to a bundle application. You can create AWS Step Functions with CloudFormation, the AWS Cloud Development Kit, or - of course - using the visual interface available in the AWS Management Console. This post shows how to orchestrate AWS Lambda functions to a simple State Machine using AWS Step Functions.
  • AWS CDK Construct: Lambda Fleet for Dockerfile

    Dec 6, 2020 · 3 min read · 476 words
    Using the AWS Cloud Development Kit, deploying a AWS Lambda function using Docker container images is pure gold. The installation of dependencies for Lambda functions always stressed me out. Regardless of using Node.js or Python, managing dependencies for AWS Lambda was never fun.
  • AWS CDK: Deploy Lambda with Docker

    Dec 5, 2020 · 2 min read · 202 words
    The AWS Cloud Development Kit supports building docker images for AWS Lambda. With the most recent version, the CDK builds your docker images if needed and can push the image directly to AWS Elastic Container Registry. Personally, I think this is a great feature. With supporting docker images, AWS Lambda has immutable deployment artifacts!
  • AWS CDK: Read data from AWS Parameter Store

    Feb 11, 2020 · 1 min read · 107 words
    When you orchestrate an architecture von AWS, you’ll often end up with the need to read information like hostnames, identifiers, resource names or ARNs from somewhere for further processing. CloudFormation Stacks can have configured Outputs and Parameters, but using the AWS Parameter Store proved to be a more flexible solution. Using the AWS Cloud Development Kit in TypeScript, you can easily read data from AWS Parameter Store.
  • AWS CDK: Store data in AWS Parameter Store

    Feb 11, 2020 · 1 min read · 135 words
    When you orchestrate an architecture von AWS, you’ll often end up with the need to store information like hostnames, identifiers, resource names or ARNs somewhere for further processing. CloudFormation Stacks can have configured Outputs, but using the AWS Parameter Store proved to be a more flexible solution. Using the AWS Cloud Development Kit in TypeScript, you can easily store data like an S3 Bucket domain name in AWS Parameter Store.
  • React SPA with server-side rendering on AWS Lambda

    Feb 5, 2020 · 8 min read · 1,385 words
    React is great for creating websites and writing applications using JavaScript. But, whenever the use of React is rejected, one of the most common reasons is the lack of a simple implementation for server-side rendering (SSR). When you search on Google for this topic, you’ll find various approaches and most of the time, people will tell you it’s complicated. But Why?
  • AWS CDK: Deploy AWS Lambda function

    Feb 3, 2020 · 1 min read · 142 words
    AWS Lambda functions are great. Using the AWS Cloud Development Kit in TypeScript, you can easily deploy files to AWS Lambda functions and configure an AWS Lambda Layer in the same CloudFormation Stack. After the deployment is done, the AWS Lambda function name to invoke the uploaded sources will be exposed as a CloudFormation Stack Output.
  • AWS CDK: Deploy static files to an Amazon S3 Bucket

    Feb 1, 2020 · 1 min read · 144 words
    You can easily deploy static files stored in a folder to an Amazon S3 Bucket. If you configure your S3 Bucket for static website hosting, you can access all files via HTTPS from any browser or tool. Using the AWS Cloud Development Kit in TypeScript, your CloudFormation Stack can look like this. After the deployment is done, the domain name to access the uploaded content will be exposed as a CloudFormation Stack Output.
  • Deploy React SPA with CodePipeline and CodeBuild using AWS CDK

    Jan 23, 2020 · 7 min read · 1,115 words
    There are plenty of tools and services for continuous delivery available. Most of them are either directly built into the source code management tools you already use, or perfectly integrate with them. You might be familiar with CircleCI, Travis CI, GitLab CI, or GitHub Actions.
S sbstjn.com

All things Cloud Computing, Serverless, GraphQL, and Software Engineering.

Blog

  • Archive
  • Topics
  • RSS Feed

Projects

  • heft.io
  • 68keys.io
  • jwkserve.com
  • keffeine.com

Legal

  • Privacy
  • Impressum

© 2026 sbstjn.com — All rights reserved.

Made with 🍟 in Hamburg