Grails

Amazon S3 Bucket Lifecycle

Amazon S3 offers a highly durable, scalable, and secure solution for backing up and archiving your critical data. You can set the lifecycle of the objects stored on the buckets, that will automatically delete or move these objects to the Glacier according to the set rules. Follow these steps to add the lifecycle of an […]

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

Grails

Installing LAMP stack through Chef

Chef as we all know is a Configuration Management Tool. It enables Infrastructure as Code. Recently I had to give a technical presentation on Chef in my current organization which helped me to get some insights into how Chef works & how it eases the deployment process. In this article I would touch upon very […]

ankush
ankush
Read

Grails

Using AngularJS with Grails app… my first impression

In my current grails application, we have started using the AngularJS after realizing that the GSP template engine is a bit slow. Now, I realize how efficient AngularJS can be, and think of sharing my first impressions while using AngularJS with grails app. Following are some of the reasons, that I find, makes AngularJS stands out: The aim […]

AWS

Allow/Reject IP at Varnish Level

I am using Varnish with Apache in one of my projects and i had a use case to allow admin panel only from few IPs. If you are using only Apache, You can easily do this by adding few rules in Apache and limit the access control, but in the case of Varnish, Apache will […]

Technology

Enabling SSO with CQ5 – Part III

In previous part , we discussed protecting CQ5 author instance when CQ5 acts as a service provider (SP). In this blog post, we’ll cover how to protect any published resource/website. We’ll be using Shibboleth SP for the same. Necessary Steps:  Installing LDAP Server. Installing Shibboleth IdP. Installing Apache tomcat on Ubuntu. Configuring Shibboleth IdP. Installation of SP. […]

Grails

jQuery dataTables plugin for pagination of HTML tables

In my project on Angular.js I came across a use case where I needed to paginate the HTML tables . DataTable jQuery plugin is a perfect choice in order to accomplish this task. Let us take a simple example to illustrate the use of dataTable plugin: [js] <html> <head> <style> <link rel="stylesheet" type="text/css" href="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/css/jquery.dataTables.css"> </style> […]

pulkit
pulkit
Read

AWS

EBS Snapshot using Backup_Monkey

Getting EBS Snapshot with BackUp Monkey [ a python utility ] Backup_Monkey : It’s a command line utility written in python that uses boto library. Purpose : To create snapshot of all the Elastic Block Storage volume’s (EBS). Automatically detects the volume in the region and take the backup. It is especially designed for Amazon […]

Vikash Jha
Vikash Jha
Read

AWS

VPC Explained Part -1 : VPC with a Public Subnet Only

A virtual private cloud is a virtual network that is logically isolated from other virtual networks in the AWS cloud. One can launch AWS resources in a virtual network that you define and customize it accordingly at the time of vpc creation. Basically, VPC is a virtual network that resembles a network in your own data center, […]