DevOps

“Foolproof Your Bash Script” – Some Best Practices

I am a DevOps practitioner and a lazy one too, so whenever we come across any task that needs to be repeated, we create a bash script. I have been doing this for a long time and after doing a lot of mistakes, I figured that if we follow some basic rules we can make our script more […]

DevOps

Daemonizing a Process in Linux

Most of the times when we need to run some Java, Node.js or python program in background, so it could stay running even after you leave console all we do is put “&” in the end of the command. $java -jar SimpleService.jar & The problem here is that when you leave the bash shell your […]

Technology

How to see GUI on Remote (Linux) Machines?

It rarely happens that we need to see GUI for the Linux based remote servers. But what if you need to see that. The purpose of this post is to walk you through the software/steps required to fulfill this requirement. Here is how we can enable the GUI First of all we have to install […]

AWSDevOpsTechnology

User Mangement using CHEF and AWS OpsWorks

CHEF is the most popular configuration management tool in the market these days as CHEF turns infrastructure into code and you can do almost anything using it. Recipes are the heart of CHEF. OpsWorks has been gaining a lot of momentum for last few months, the major factor being its support for CHEF. So, in this […]

AWSDevOps

Migrate PostgreSQL on Linux server to AWS PostgreSQL RDS using Londiste (Skytools 2)

PostgreSQL is another SQL. It is the second most popular Structured Query Language after MySQL. The steps discussed in the blog can be used for any kind of migration of PostgreSQL. From on-premise to cloud or on-premise to on-premise or cloud to on-premise. Use-case I had to migrate my PostgreSQL running on an EC2 server […]

AWSDevOps

Unifying control of multiple AWS accounts by using AWS STS

Recently, we came across a scenario where we need to create AMIs of multiple production servers running in four different AWS accounts. One solution was to create an automation script to be run on an AWS EC2 instance running in each aws account which would create AMI of all production servers running in each account. […]

AWS

SSH tunneling with AWS private subnet

It has been a long time while I was working over the project where we required accessing Rabbit MQ dashboard. I know accessing the Rabbit MQ is not the difficult task but my scenario was bit complex. Scenario: I was supposed to access Rabbit MQ dashboard from AWS Linux machine which is placed in the […]

Grails

SSH Tunneling through a secure box

Hi, many of us must have landed into a situation which I faced recently, the issue was with one of the new features deployed to PRODUCTION environment in the latest release not working as expected, but I was unable to reproduce this on Local or QA environments. So to debug it quickly, I tried something […]

Node.jsTechnology

PHP to Node.JS Migration – Retaining Your Cpanel E-Mail Account While DNS Migration

Hello folks, If you are here on this blog, you might be searching for the ways to migrate your existing PHP website to Node.js. In this blog i will try to explain, how you can point your existing domain to nodejs hosting and keep using the cpanel hosting for managing emails for your domain. To […]