AWS, Chef

AWS OpsWorks Best Practices

We, the DevOps team at TO THE NEW have been practicing the DevOps Methodology from the last few years. We call ourselves DevOps architects, who love to do automation irrespective of the scripting language or cloud platform. As a DevOps architect, I have been using OpsWork from quite a long time. Hence, today I thought of sharing few of...

by Prashant Sharma
Tag: Amazon EC2
30-Jun-2016

AWS

Attach and Detach Elastic Load Balancers from Auto-Scaling Groups

Recently AWS started a new feature of attaching and detaching the Load Balancer in an Auto-Scaling Group. If we attach a load balancer to an auto-scaling group it allows the load balancer to send traffic to the EC2 instance in the group. And when we are detaching a load balancer from a group stops it from sending traffic. I have 2...

by Aakash Garg
Tag: Amazon EC2
22-Jun-2015

AWS

Migrate Elastic IP Address from EC2-Classic to EC2-VPC

In my recent use case , I thought of migrating EC2 classic elastic IP from EC2 classic to EC2-VPC. So now Amazon does provide this feature to migrate Ip form EC2 classic to EC2 VPC but not sure when it was released. As of know it can be only done using EC2 Query API or AWS CLI. Moreover there are some key points needs to be focused are...

by Prashant Sharma
Tag: Amazon EC2
19-Jun-2015

AWS

Creating AMIs based on Tags

You must be wondering how to make AMI of the Web Server(EC2 instance) in which you have made some changes. In this blog I will walk you through a script that will ease up your work and make AMI of instances with user specified tags. Consider a use-case where user has made some changes to the Web Server and he wants to take AMI...

by Aakash Garg
Tag: Amazon EC2
26-Mar-2015

AWS, Technology

Launching Infrastrucure using Terraform (Infrastructure as Code)

Terraform is a tool for creating, managing and versioning the infrastructure effectively. Terraform provides a common configuration to launch infrastructure of physical servers, DNS, Email Servers. With terraform, we will be launching servers using simple file based configuration ( JSON based ) and maintain versioning for each launch on...

by Vikash Jha
Tag: Amazon EC2
26-Dec-2014

AWS

Deploy ASP.NET application on Amazon EC2

This article is a step by step guide to deploy an ASP.NET MVC application by using Web Deploy on IIS server, running on  Amazon EC2 Windows server. Step 1: Launch Instance Once you have logged in to AWS console, Go to EC2 -> Instances, then launch instances and select Microsoft Windows Server 2012 Base and follow the...

by Vikash Jha
Tag: Amazon EC2
30-May-2014

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

by Vikash Jha
Tag: Amazon EC2
24-Mar-2014

Database

Mounting an EBS Volume to an Instance and Soft Linking a Growing Directory to it

We were having a crisis on our project the other day. The VPS on which we were running our application had some issues with kernel and Tomcat, for that matter, any java process was running unpredictably. Tomcat would explode the WAR file once in a while and even if it did, it would just pause at "Deploying app.war" forever. After spending...

by Vivek Krishna
Tag: Amazon EC2
05-May-2011