Deploy aws-cdk app to different environments

Infrastructure as a code greatly improves traceability, repeatability and thus overall quality of the software systems built with it. With a correct setup development teams can now more easily spin up short-lived clones of systems or their parts. This gives a profound boost in both productivity but also ability to run…

Read

Combine AWS Step Functions with CloudWatch Events using aws-cdk

AWS Step Functions allow one to execute & coordinate long-running processes. Step Functions fall into serverless AWS services, and the platform manages the function execution state completely. In the example below we will use the following AWS services: aws-cdk Step Function Lambda The example demonstrates how Step…

Read

HTTPs on CloudFront using Certificate Manager and aws-cdk

The static website deployed with aws-cdk to CloudFront post shows how to deploy static content with aws-cdk. We still miss a custom domain configuration for our website though. The following example shows how to: setup a custom domain name for a CloudFront distribution enable https using AWS issued trusted certificate…

Read

Deploy fast, static website to AWS like a pro

In this post we’ll see how to create and deploy a static website using IaC using the following technologies: aws-cdk AWS CloudFormation AWS Lambda AWS S3 Have a static website For the sake of simplicity we’ll use Create React App in a directory called : Create the static website content inside directory with: Add aws…

Read

How to convert an express app to AWS Lambda?

In this post we will see how to convert an existing express application to AWS Lambda. This can help reduce AWS bill even by an order of magnitude. We will also use cloudform to describe the CloudFormation stack. An express app For our example to be complete we need an express application. Let’s use a single file to…

Read

TypeScript tips from Kotlin developer - const

Nowadays I mostly code in Kotlin programming language. I got interested in it when I started working on a Java 7 codebase and quickly got fed up with the language. At Bright Inventions we often use TypeScript for both back-end, front-end and mobile development so I thought I would share some thoughts and tips for…

Read