Skip to content
Go back

How Scripting Make My Life Easier

1 min readEdit page

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?

First, previously the required resources definition are written together with the ticket itself. To make the processing easier, we changed the format to machine-friendly format, like CSV, JSON, etc and attach it together with the ticket.

Second, I created script to grab the ‘request file’ and then create configs based on the input (by the way, we used Terraform). Voila! No need to manually create the configs anymore! Just applied, and merged. Done!

Lesson Learned


Edit page
Share this post:

Previous Post
Stream Twitter Statuses with Tweepy
Next Post
Does Infra Testing Really Matters?