Select Page

Intro to Terraform Modules

Description Modules in the Terraform ecosystem are a way to organize the code to: be more reusable avoid code duplication improve the code organization and its readability If we compare them to a programming language, writing a Terraform module is the equivalent of...

Setup AWS VPC Peering

Purpose This article gives the steps to setup Amazon Web Services Virtual Private Cloud Peering. This can be good for the need to give another VPC access to EFS, RDS etc. during a migration. Prerequisites Must have different CIDR Blocks that do not conflict. Create...

Convert JSON to YAML Using Ruby

Purpose This article gives options for converting JSON to YAML using Ruby. Prerequisites Ruby CLI ruby -ryaml -rjson -e 'puts YAML.dump(JSON.parse(STDIN.read))' < file.json > file.yaml 1 ruby -ryaml -rjson -e 'puts YAML.dump(JSON.parse(STDIN.read))' <...

Mount AWS S3 Bucket on CentOS EC2 Instance

Purpose This article gives the steps to mount an Amazon Web Service Simple Storage Service on CentOS or RHEL 6 over a VPC Endpoint. Create IAM User Create an IAM user that will be used to access S3 from your EC2 instances. Login to AWS web console Open IAM | Users...