When creating the Simple Web Service in the CDK we got an output that was API Gateways unique random domain. This is not a useful domain for a production system as we often want to place the API’s behind a… Read More ›

AWS
The Simple Web Service in AWS CDK
The Simple Web Service is one of the best simple patterns that you will often see in a serverless architecture. Coined by Jeremy Daly – https://www.jeremydaly.com/serverless-microservice-patterns-for-aws/#simplewebservice this stack is a great one to build for a fundamental web application. The… Read More ›
Catch DynamoDB TTL Events
DynamoDB, AWS’s fast, flexible NoSQL serverless database service that provides single-digit millisecond performance at any scale, has many useful built-in features. In this article we are going to look at how the Time to Live (TTL) feature can be enable… Read More ›
AWS CDK Costs to Slack
Want to know what your daily spend is on AWS but don’t want to have to log into the console every day? Aws costs to slack is what you need! This project is built from the simple Lambda Scheduler and… Read More ›
AWS CDK Lambda Scheduler Write to DynamoDB
The following stack will be a simple example of a triggered schedular that will call a lambda function that writes to a DynamoDB table. The stack, seen below, contains 3 main elements. Starting at the bottom; The first element comes… Read More ›
AWS CDK – Serverless Website Monitoring
I recently have been playing around with some tools for monitoring websites but with these tools they can be an unnecessary expense for a start-up. So, I went and built my own monitoring stack in AWS CDK to monitor if… Read More ›
Why go serverless?
Introduction Serverless computing is a new way of building and running applications. It promises to reduce cost, improve speed and simplify maintenance, making it easier for developers to build better apps faster. Reduce cost and increase speed There are a… Read More ›
Setting Minimum Protocol Version for HttpsRedirect in CDK
To change the minimum protocol version when using Https redirect route 53 patterns you must first find the RedirectDistribution and then in that the defaultChild then you can add a poroperty override for the DistributionConfig.ViewerCertificate.MinimumProtocolVersion property, setting the tls version…. Read More ›
AWS CDK Fargate Schedular Write to DynamoDB
In this post I’ll show you how to create a scheduled Fargate task, in this case a locally developed node js Docker container that can push items to DynamoDB on a 1-minute timer. A simpler architecture can be developed using… Read More ›
Deploying a site to AWS with the CDK
In the following we will create a CloudFront, s3 with lambda@edge based website. AWS is not free and you may be charged for services used. So, I got through a renewal email for some hosting I had with GoDaddy and… Read More ›