Modify capacity of T* instances on the flight

The T family of instances are the best choice if you run a very small application, but occasionally it can handle sudden traffic spikes. If those spikes are becoming more and more common, your application is consuming the entire host bandwidth and sooner you’ll notice that you application is going to response slower than usual. […]

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

Don’t touch AWS resources you haven’t created!

In this blog post we want to share with you a golden rule we have confirmed recently: don’t touch resources created by other services. Or to be more concrete about our today subject: don’t touch S3 buckets that appear in your console, but which have been created by other services. AWS S3 is one of […]