AWS, Technology

Autosigning of Puppetmaster and agents

This blog deeply discusses the autosigning feature of Puppet. During my journey to implement auto sign in our production environment, I came across various challenges related to security and making it as tight as possible and I was finally reached the last resort to achieve autosigning as per my requirement. Autosign is a feature of...

by Sharad Aggarwal
Tag: aws
07-Jun-2015

AWS, Grails

AWS Elastic Beanstalk ( Grails Application )

Ever wondered what to do if you have to make a very quick deployment of an application on the AWS Cloud ? You would launch servers, make an infrastructure and then Install applications which is somewhat a tedious process. How would it sound if the deployments are made in seconds ? Here is an AWS service for all the developers and the...

by Ranvijay Jamwal
Tag: aws
03-Jun-2015

AWS, Technology

Puppet manifests to change pem key of running ec2 instances

This blog is in continuation to our previous blog. The focus of this blog is to enable AWS professionals to change pem of running servers or to add a new user with sudo privileges to an EC2 server farm using Puppet. Similar use case of performing the same task using CHEF has been discussed here. So lets start. First of all, a test setup...

by Sharad Aggarwal
Tag: aws
01-Jun-2015

AWS, Technology

Python Interface for Pingdom REST API

Pingdom is a tool which is used for monitoring websites’ availability in real time. Now we can interact with pingdom using its REST API with the help of python scripts. Every time, a deployment is made on production servers, the pingdom tool throws a downalert because several services like tomcat, apache etc need to be restarted....

by Tarun Saxena
Tag: aws
25-May-2015

AWS, Technology

Installing latest Puppet master and agent setup on ubuntu14.04

This blog post focuses on installation and configuration of two node Puppet setup, i.e. a Puppetmaster (or master) and an agent. Puppet is an open source configuration management tool used for automation of administration jobs across big server farms. It is written in ruby and uses DSL (Domain specific language) to write codes known as...

by Sharad Aggarwal
Tag: aws
21-May-2015

AWS

Continuing with Boto: Find security group having port 22 open for all

Consider a use case where in any team members have opened port 22 for 0.0.0.0/0 inside an EC2 security group and forgot, which is a big security concern for the Instances. So I have written a script using python boto library which scans all the security groups of running / stopped instances and sends an email to all stakeholders on...

by Vikash Jha
Tag: aws
05-May-2015

AWS

Varnish

Varnish is an open source, free and flexible software which is used accelerate the speed of website by caching webpage contents in memory. Varnish caches content using hash-tables which are key-value store where URL is usually taken as key. Scenario Set up varnish to serve only specific pages of your website from cache. The webpages...

by Navjot Singh
Tag: aws
02-May-2015

AWS

EC2 Backup Manager : Python Scripts

EC2 Backup Manager : Python Scripts One of the most important requirements in any projects is regular backups. On one of our projects we were using Netflix's backup monkey and graffiti monkey combined to take snapshots of all the volumes in the account. But this deviated slightly from our requirement, we only required the backups of...

by Hitesh Bhatia
Tag: aws
24-Apr-2015

AWS

IAM user’s access key last used information

Yesterday AWS rolled out the new feature to enhance security for IAM user Access and Secret Key.Going forward now, IAM reports the time stamp when access keys were last used along with the region and the AWS service that was accessed.All these details can be seen from the IAM console, programmatically via the API/CLI/SDK, or in the...

by Prashant Sharma
Tag: aws
23-Apr-2015

AWS, Technology

AWS Lambda Invocation using Amazon S3

To start, we create a Lambda function to consume events published by Amazon S3. For any object uploaded to a bucket, S3 will invoke our Lambda function by passing event information in the form of function parameters. AWS Lambda executes the function. As the function executes, it reads the S3 event data, logs some of the event information...

by Ankit Giri
Tag: aws
10-Apr-2015

AWS, Technology

Continuing with Boto : Delete EBS snapshot which is 30 days older

In continuation with my previous blog "Getting Started with Boto ( python Interface for AWS )",  today we are going to discuss one of the use case that we used to do daily. Deleting EBS Snapshot which is N days older. We'll be writing python script using Boto library to delete EBS snapshots which is 30 days older. For this we will be...

by Vikash Jha
Tag: aws
31-Mar-2015

AWS

Connect cdrom with AWS EC2 or google cloud instances

This blog post refers to the limitation of not being able to directly spin an instance using an ISO image and to connect a virtual CD ROM with AWS instances. Till date, only workaround for this problem is to create an on-premise virual machine on some hypervisor such as VMware esxi or Cetrix Xen etc. and then import VMDK or VHD image of...

by Sharad Aggarwal
Tag: aws
30-Mar-2015