Does Infra Testing Really Matters?

Story In previous post, I already share my experience when tried to automate manual process by created script to automatically create configs based on the input in requests. We found that the script are useful enough at that time, and reduced number of incidents caused by misconfiguration (yay!). Unfortunately, we faced with issues when the provisioned infrastructure not work as expected which caused by several things, example: invalid port definition which (again) inputted by human. ...

February 23, 2019 · 2 min · 423 words · Me

How Scripting Make My Life Easier

Story Did you ever worked in repetitive tasks? I was worked as an operational cloud infrastructure engineer. Starting from received several ticket from developers who needs infrastructure, gathering informations for their needs, double check the requests, and everything done manually by myself.. Ouch! Even worse if we missed something from the request, ta-daaa! Incident happened and another requests got delayed. It does happened to me (and my team) about past one-half years ago. We already tried to be more details, carefully read the requests, but it doesn’t work. The problem itself come from the very basic actor, human. Luckily, the ticket format and the process itself already standardized. Hmm.. Looked back and compared with current requests and I was thinking and tried to remove manual verification process by human. Why don’t we automate the process? ...

February 23, 2019 · 2 min · 309 words · Me

Stream Twitter Statuses with Tweepy

Flashback to several years ago when I was using Twitter and learn text mining. At that time, I used python to collects twitter statuses with specific keywords / terms defined and then stored all of those statuses to csv as dataset for text mining learning. In this article, I will share how to stream twitter statuses with python using tweepy module but in this article, I only print the status without store it to a file or database. ...

December 15, 2018 · 4 min · 804 words · Me

Test Your Ansible Role with Test Kitchen

Its been a while I am using Ansible as a tool for configuration management. There was some conditions where I created a roles with multiple dependencies, or I have to revisit an ancient roles created by someone else in the past. It doesn’t matter if the roles are well tested, how if its untested or doesn’t have tests at all? In the past, I test ansible role by creating a vagrant box and run ansible playbook in it. After that, re-run the playbook and check by login into the box. The testing are created together with playbook creation. Which for me is very time consuming. ...

July 20, 2018 · 5 min · 906 words · Me

Immutable Infrastructure using Terraform

What is Terraform? Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently. OK, that’s the first answer when you questioning about “what is Terraform”. Terraform is a tool built by Hashicorp for infrastructure management. It’s based on Go, so you can easily install it by downloading the binary into your machine. Why Using Terraform? This is a good question, we know that there are some tools besides Terraform for infrastructure management that commonly used out there like Ansible, Chef, or CloudFormation (if you use AWS). ...

May 12, 2018 · 3 min · 621 words · Me