//Karthik Srinivasan

Product Engineer, CTO & a Beer Enthusiast
Experiments, thoughts and scripts documented for posterity.

Quirky Personal Projects

LinkedIn

Email me

Trivial bash Script to restart services in AWS

May 16th, 2015

Too many aws servers? Been there and I hate it. Following is a simple script that I use to restart services running on EC2 instances. Using AWS CLI to get the ip address based on tag names and then ssh into the box and run the command. Note that the tag names are the same as service names in my case.