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 […]

An interesting library to extract metrics for AWS calls

Probably you know that we published a library that can be used to fetch some basic stats about AWS calls. That library uses an AWS request handler to build metrics that are later published in a text file, in various formats. Recently we found an interesting library that does almost the same things, in a […]

What Beanstalk environment tier is the best?

Recently we were involved in a debate: if my service processes messages from a queue, is it better to create a worker environment or a web tier environment? Without pretending that there is only one correct answer, we argued that is better to create from the beginning an environment that has a web server behind. […]

Integrating localstack in your Sprint Boot application

A while ago we presented localstack: a framework that mocks many AWS services allowing you to develop cloud application even when you don’t have Internet connection and without spending any cent. Starting from that, we discovered recently a pretty nice library that can be used to integrate a Spring Boot application with localstack. In that […]

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 […]

Tool to analyze AWS costs interactively

Recently we discovered a solution that could help you monitor and analyze AWS costs in a very nice manner, providing more details than the default AWS billing console. The tool is named Total Cloud (https://totalcloud.io). First of all, it takes only 2 minutes to sign up. After that you have to create a read-only AWS […]

Scale up & down your Beanstalk environment according to a schedule

Beanstalk launched long time ago support for scaling your environment according to a defined schedule. For some unknown reasons, we discovered this feature is known by very few people. We use it in 2 scenarios: To scale up one environment when we expect a high load To completely close our staging environments out of office […]

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=”” […]