infrastructure as code

Autoscaling AWS EKS cluster with custom Gitlab runner configuration

Gitlab offers a robust CI/CD solution suitable for most projects. The documentation depicts the easiest way to connect your Kubernetes cluster to Gitlab. Once connected Gitlab can install and configure Gitlab runner. However, such approach does not allow for many adjustments to Gitlab runner configuration. For example…

Read

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