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. […]
Category: Tips and tricks
Use IAM conditions to restrict access
Most probably, if you have completed the AWS sign up for more than 2 hours, you have heard about AWS IAM. This service it’s the solution offered by AWS to create users, to assign users to groups and to manage policies, credentials and permissions to others AWS resources. In this post, we want to present […]
Endpoints to access AWS services from VPC
Especially for security reasons, most production applications run inside a VPC. But now let’s image such an application that calls S3 or another AWS service. In this case, the call leaves the AWS network and reaches the public Internet, returning back to the AWS service endpoint. Nowadays, VPC supports a very nice feature: you can […]
Good practice to manage secrets for AWS CLI
I don’t know about you, but we really love AWS CLI. We are far from being scripting experts, but we consider AWS CLIs the simplest way to interact with the AWS services and we are trying to involve these tools as much as possible in our daily work. Until recently, it was an aspect that […]
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=”” […]
Tunnel to your Redis cluster
A while ago, we wrote a post describing how to protect your service with a throttling mechanism. That mechanism uses Redis database to synchronize statistics between service’s hosts. Redis is offered by AWS as part of AWS ElastiCache Service. If you remember, we promised you that we’ll describe how to connect to an AWS Redis […]
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 […]
Alarming on low traffic
Today we are going to tell with a real story from which we learned something: recently, one engineer from our team changed how client profiles are loaded from database. It doesn’t matter how, but a bug was introduced and a premium client was affected, being classified as free tier client. The result: almost 80% of […]