← All writing

devops

9 articles filed under this category.

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 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.