Last week, I got into a situation where I had to scale the application to store unpredictable user sessions in Memcached. The vertical scaling could be extended up to a limit but to meet the application requirements, I had to go with horizontal scaling. AWS does not provide any service to autoscale Memcached nodes according to the...
In my previous blog, I talked about setting up sendmail inside a Docker container. In this blog, we will talk about how to make your Docker containers come up during Auto-scaling of AWS servers, start, and use a service like sendmail inside them. You can make changes to scripts based on your use-case. I just want to make the logic...
The purpose of this blog post is to acknowledge a use case of AWS autoscaling. During auto-scaling in AWS, we often pass user-data and that user-data keeps growing with time due to which an instance spin time is increased significantly. For that purpose, we need to create latest AMI time to time with all the user-data packages...
Recently, I was trying to implement a use case wherein, the server launched by an autoscaling group should automatically connects to chef server and register itself as node. The Problem Statement: How to install Chef Client on a node launched by aws autoscaling group? Step 1. Prepare AMI with chef-client installed To install...
Recently, I came across an interesting use case i.e to put alarms on custom metrics of autoscaling instances. Lets consider there is an autoscaling group for production environment and you need to put alarm on disk and memory utilization custom metrics. To accomplish that you need to follow the steps described below: 1. Create disk and...
AWS provide some intensive services and these are easily manageable and as being admin there is less overhead to scale up your application infrastructure. In automated deployments if we are planing to horizontally scale your database, with help of a single click we can populate read replica of our running database. But to handle large...
Recently, we’re about to launch a new app but we did not have any idea about the traffic we’ll get. It could have been in hundreds or even thousands. So, we decided to go for Amazon’s Auto Scaling feature. Auto Scaling is the appropriate solution for your app when you are not certain about your app’s traffic or in cases where the...