Building VPC with Terraform in Amazon AWS
Terraform is a tool for automating infrastructure management. It can be used for a simple task like managing single application instance or more complex ones like managing entire datacenter or virtual cloud. The infrastructure Terraform can manage includes low-level components…
Using data source to mitigate lack of intermediate variables and interpolation
Just something I dug out in the Terraform forum and would like to keep as a reminder for the future. Terraform will not allow us to do something like this: variable project_name { default = “ane” } variable some_name {…
Managing system resources with Cgroups and Ansible
Sometimes we need to limit particular resource usage for some process, utility or group of processes in order to prioritize or limit their usage. One way to achieve this in the modern Linux kernel is via Cgroups. They provide kernel…
Building custom Docker images and configuring with Ansible
Due to ever rising popularity of Docker this page will provide a walk through process of building custom Encompass Docker images and creating containers. The image configuration will be executed with our existing Ansible repository. We will store this images…
IPSEC VPN tunnel setup between two Amazon VPC’s with OpenSwan and EC2 NAT instances’
With services running in multiple VPC’s sooner or later a need will arise for secure clustering of instances across regions. This is especially important in case when such services do not have built in SSL/TLS support or when the services…
IPSec VPN server setup in Amazon VPC with OpenSwan
The access to our Amazon VPC’s atm is based on ssh key pairs. While this is working fine and is pretty much secure it requires though each EC2 instance having public subnet interface which is not always desired. Usually the…