abhishek.tomar

Technology

LXC – Linux Containers

"Linux containers, Its an operating system based virtualization method, you can run your multiple isolated instances on a single host. It is similar to chroot(File system isolation) but it offers a lot. You can zip an LXC container and move it to any other host with the same processor architecture. LXC is the part of mainline Kernel it...

25-Sep-2014

AWS

AWS ELB Monitoring with Cloud Watch

AWS ELB (Elastic Load Balancing) allows you to distribute the requests automatically to multiple instances that could be in different AZs. You can use it to manage your large auto-scaled environment. So by using it you can save your infrastructure from failing. And for monitoring the same we can use the ELB - CloudWatch metrics. By...

01-Jul-2014

AWS

Cloud Watch Custom metrics for monitoring Apache Workers

In my last blog, I shared how to setup custom Cloud Watch metrics for memory and disk usage. In this blog, I'll discuss how to monitor Apache Worker connections in Cloud Watch. Few days back We got a requirement to monitor Apache Worker connections. For that We decided to use Cloud Watch to monitor the "Busy Workers" and "Idle Workers"...

31-May-2014

AWS

Enabling Slow Query Log in AWS RDS

By default The MySQL slow query logs are disabled in AWS RDS, To enable the same you have to made changes in your DB parameter group. Following are the steps to enable the Slow query logs. Prerequsites: AWS CLI Tools (You can install it using this link.) First we will create a parameter group, (this is not necessary to create you...

31-Mar-2014

AWS

Caching Multiple Domain with Varnish

Varnish is an in-memory web accelerator server which helps  Apache/Nginx server to run 10-300 times faster without spending anything on procuring hardware. Besides this It can also be used as a reverse proxy server. In our projects we are using Varnish to cache the static content and in some cases we are also using it for caching...

24-Mar-2014

AWS

Increasing EBS Volume Performance

EBS (Elastic Blog Storage) is a virtual Hard drive which one can attach to an EC2 Instance. By default Amazon provides standard EBS with 100 IOPS (Input Output operation per second) which is equivalent to our normal hard-drive (7200 RPM), used at our homes. That works fine in a lot of cases but sometimes if we have a server with high I/O...

25-Feb-2014

Grails

S3 Bucket Permission

Amazon's Simple Storage Service (S3) allows its customer to maintain full control over who has access to their data with the help of its Identity Access Management (IAM) service and S3 bucket policies. For example, using Bucket Permission, one can give only reading access to one user, whereas using same permission/policy options, he...

24-Feb-2014

AWS

Mounting S3 bucket into an EC2 instance

One of our clients has hosted his application on AWS and it uses EC2 instances behind the load balancer. The application provides an interface where users are suppose to upload files. For saving the same on centralize location we use S3 bucket and mount the same on the EC2 instances. Following are the step which we follow to get the...

27-Jan-2014

AWS

Setup custom CloudWatch metrics on EC2 instance

AWS provides its user the Cloud Monitoring service which is used to keep a check on the resources being used. It can be a great tool for developers and system administrators for cases like: Monitoring data/graphs Setting up alarms Identify trends Take actions based on the state of cloud environment But AWS does not provide...

17-Jan-2014

AWS

Beginner’s guide to AWS auto-scaling

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...

17-Dec-2013