Author: Katapult Cloud

The post presents a possibility to centralise Lambda@Edge logs into one place. As an architect and troubleshooter of a serverless application utilising Lambda@Edge, I find it difficult to access logs produced by Lambda@Edge when users experience issues. This is due to the fact that Lambda@Edge utilises CloudFront edge locations to distribute your Lambda functions across the whole AWS world, and when a user accesses your...

Read More

This post describes a tool that I have created for calculating monthly price for used and unused EBS volumes per EBS type. The reason for creating this tool is that AWS' Cost Explorer did not provide necessary information for me to utilise it.   Background My company has asked me to estimated monthly price of our application in one region, as we are about to deploy the application...

Read More

[qodef_blockquote text="Have you ever experienced the need to resize an EBS volume and did all or half of the steps manually? What if I told you, you don't have to do anything manually now. Terraform and Ansible can do it all for you!" title_tag="h3" width="90"]   Seriously, we all have experienced a flashing red light on our monitoring solutions notifying us that a partition will soon be...

Read More

  During my experience with both Terrform and Ansible it became apparent to me that all available Ansible modules for Terraform do not include functionality to combine two the two automation tools together. We produce Terraform infrastructure on AWS. We try to automate absolutely everything from EC2 instances to DNS records and security groups using Terraform and then provision the servers using Ansible with required software...

Read More

  This post focuses on automating deployment of wildcard Lets Encrypt SSL certificates on Amazon EC2 instances with DNS domain validation utilising Ansible. The post expects basic understanding of Docker, Ansible, AWS IAM and EC2 services. The content of this post describes how to utilise Ansible, Docker and Lets Encrypt technologies to provision valid wildcard LetsEncrypt SSL certificates for an EC2 web server. The automation ensures...

Read More

  This post focuses on describing my approach to create a backend for Terraform backend. The problem is that Terraform is unable to utilise backend before it's created. Let's explain the problem in practice. I have created a small Terraform project below.   provider "aws" { shared_credentials_file = "../credentials" region ...

Read More