I started working with SciSpace a few weeks ago. We are working on a way to create research papers that let you focus totally on the content while leaving the formatting to us. In my first few weeks, I wanted to setup some basic tools that make us developers more efficient.
We are an early stage startup. Being able to make changes as fast as possible is what would keep us afloat.
I happened to come across this beautifully written piece on javascript-scene . It describes how agility or high velocity can be achieved by eliminating fear of change in the development team. My attempts and the title of this post are inspired from the same.
We automate because we want to remove the fear of missing out on a crucial step. We write scripts and tools because we want to eliminate the fear of spending a lot of time in doing things when we are pressed for time. I think the engineering of tools and automation is really about ensuring you can get the right answers with minimal effort and without unwittingly affecting anyone.
Some of the tools we worked on are described below.
Server names
We are targeting AWS as a deployment platform. All our servers have IP addresses. IP addresses are difficult to remember for uses like ssh or browsing. Usually, one keeps a lookup table or sets up a DNS server.
We tried setting up a DNS server, but what if that server went down? A manual lookup table is easy to access offline, but hard to keep updated and would also require you to lookup IP addresses before entering it into the browser or terminal.
To address this, we created a configuration file tracked in git that maintained a map from our given server name to its current IP address. We also have a small that uses this map to modify the `/etc/hosts` file on Unix like OSes. All you have to do is clone this repo and run a script once in a while or every time there is an update. This script will pull the latest configuration from your github or somebody’s git repo and update `/etc/hosts`. This let’s you have tab-completion on the command line and memorable names for your servers.


