Using Terraform with Kubernetes

Terraform is an extremely flexible framework that allows for intent-based resource management. Its commonly used to provision various types of infrastructure as well as services and applications. Terraform also has a number of official and unofficial providers that can be used to manage workloads inside Kubernetes clusters. This posts captures…

Running (and debugging) iptables inside a Docker container

Sometimes there's a need to run iptables inside a Docker container. The most common scenario is probably when the container is attached not to a standard Docker bridge (which provides network connectivity using iptables) but to a network configured using macvlan or ipvlan driver. In that scenario the container is…

Automatically mounting an EBS volume using Ansible

When creating new EC2 instances that require persistent EBS volumes there's a number of steps that have to be carried out before the disk can be used. This post shows how to automate them. Definitions of the tasks presented below are also in https://github.com/pshemk/ec2-base. Please note…

Enabling IPv6 in AWS using CloudFormation

This post shows how to set up various VPC-related resources using CloudFormation to enable IPv6 for them. Components Diagram below shows all the components described in this post. VPCIPv6 requires one additional resource - AWS::EC2::VPCCidrBlock to request an /56 block of addresses from AWS. rVPC: Type: "AWS::EC2:…