A helping tool to choose EC2 instance type

Whenever we have to make a choice, it’s difficult. But when you have hundreds of available options, the mission is even harder. It’s the same situation when you have to choose hardware type for a service: there are many EC2 host families, generations, number of cores, amount of RAM and so on. Moreover, some instances […]

Multiple SSH sessions on EC2 instances in a single place

Recently we changed the audit log format and the old schema became incompatible. The solution acceptable for us was to truncate existing log files instead of making an entire transition with an intermediary step, a cleanup step and so on. Well, this approach seems to be a simple one, but the question is: how to […]

Simple script we use to connect to Beanstalk host

The title of this post is self explanatory and it explains perfectly what we want to share today with you: a basic script we have in our home directory and we use it each time we want to ssh on a host from a Beanstalk environment. The script is: #!/bin/sh RANDOM=$$$(date +%s) PEM_FILE=${*: -1} hosts=”” […]