Writing

Articles on distributed systems, software, and life.

Test Terraform Modules With Terratest

Testing with terratest Several years ago, I wrote a blog post about how to test your AWS infrastructure using Test Kitchen and AWSpec. Many things have changed since then, like for instance, I haven’t used AWS since mid-2019, Hashicorp released their first Terraform’s stable release, and I completely forgot what Test Kitchen was in the […] The post Test Terraform Modules With Terratest appeared first on Davide Di Mauro.

Odysseus – Your Friendly DNS Pathfinder.

Like most people I know, one day I decided to buy a Raspberry Pi and just like [some of] those people, I had no idea what I should do with it. I guess that the desire of a small computer to place to the remote corner of my desk […] The post Odysseus – Your Friendly DNS Pathfinder. appeared first on Davide Di Mauro.

AWS Auto Scaling in with CloudWatch CPU and Memory metrics using Go

In the last four years, I worked mostly with applications deployed directly on AWS EC2 instances, usually LEMP or LAMP stacks, with some Node.JS flavours in some cases. When it came to auto-scaling it was pretty easy to identify bottlenecks/weaknesses of our services, […] The post AWS Auto Scaling in with CloudWatch CPU and Memory metrics using Go appeared first on Davide Di Mauro.

Test Terraform with Kitchen and AWSpec

In an ideal world, you write code and then test it, period. Doesn’t matter what kind of code, you just test it, even if it’s Terraform we’re talking about. One might say that Terraform is not a real language and I can’t argue with that but its code, manifest, […] The post Test Terraform with Kitchen and AWSpec appeared first on Davide Di Mauro.

Slack + Codedeploy = ❤️

We all know Slack, right? Have you ever thought about using it to deploy your code by just typing /deploy? I did and this is what I designed and developed for a team that was sick and tired of dealing with the poorly designed AWS Codedeploy UI. Context Our stack […] The post Slack + Codedeploy = ❤️ appeared first on Davide Di Mauro.

AWS, Application Load Balancers, Target groups and CodeDeploy

Originally posted on Medium Reliability, high availability, and uptime are the most important things for a DevOps Engineer; as soon as new technology is released, though, we tend to put our hands on it before anyone else does. What’s the price to pay for that? Just the […] The post AWS, Application Load Balancers, Target groups and CodeDeploy appeared first on Davide Di Mauro.

Test Kitchen – Let’s shake this role up!

Originally posted on Medium Test Kitchen Test Kitchen is a test tool used to, indeed, test your own work before going live! It’s quite amazing how easily you can spin up your test environment - using AWS EC2, Vagrant, Rackspace and so on - and deploy your […] The post Test Kitchen – Let’s shake this role up! appeared first on Davide Di Mauro.

Let’s build an Ansible Role

Originally posted on Medium Our first task Here is where the fun begins! First thing we want to do is to create our file and we’ll call it config.yml. It’s a YAML file so… be careful with your spaces and tabs! As every yml, let’s not forget to add --- […] The post Let’s build an Ansible Role appeared first on Davide Di Mauro.

Ansible — Getting Started

Originally posted on Medium What is Ansible? When I started my career as a DevOps, the approach to the Configuration Management scared me quite a lot. I was introduced to the magnificent and powerful Chef (and Ruby, of course), which gave me the hell of a headache. I remember that the […] The post Ansible — Getting Started appeared first on Davide Di Mauro.