AWS

Mongo Monitoring Service to ensure uptime of MongoDB

Mongo Monitoring Service(MMS) is a service that ensures that the MongoDB is up and running and can alert us when the service is stopped/restarted.It can be run on an on-premise architecture or in the cloud like AWS. Use Case We have multiple servers running MongoDB service and they are present in different environments as Production, […]

AWS

AWS OpsWorks: PHP App Deployment using Git

AWS OpsWorks is a service which can be used to manage applications and can be used to operate applications of all shapes and sizes. In this blog we will discuss steps to automate a PHP app using AWS OpsWorks and Git. OpsWorks is an AWS service that can be used to automate the different kinds […]

AWSTechnology

Ansible – Configuration Management System

Purpose: We have seen various instances of manual configuration on multiple servers which are similar and repetitive. When it comes to automate such tasks an easy process comes in mind – Configuration Management. There are several such tools available for this purpose. Ansible is one such tool that can be used for configuration management tasks, […]

AWSGrails

Cloud Infrastructure Monitoring Using Datadog

Infrastructure monitoring in the cloud is the topmost priority for any application running in the cloud. This includes monitoring the web servers, databases, applications & various tools being used. Datadog not only provides monitoring but also has alerts integrated so that you get notified for certain type of issues which occur. For example a lot […]

AWSTechnology

Jenkins Parameterized Remote Trigger Plugin

At times you encounter a use case where you need to run a Jenkins job remotely from another Jenkins instance. Well, there is a way to achieve this by using Parameterized Remote Trigger plugin. Let’s see how we can trigger parameterized or non-parameterized jobs on remote Jenkins server from another Jenkins server. Demonstration Lets say we […]

AWSTechnology

Managing AWS resources using Puppet

This post showcases the latest functionality added to puppet resource library to manage AWS resources. Various AWS resources like EC2 instances, route53, RDS and ELB etc. can be managed, described and created using this module. This will also help to keep track of launching an instance in a new security group or an existing one […]

AWSTechnology

Register chef-client in AWS Autoscaling

Recently, I was trying to implement a use case wherein, the server launched by an autoscaling group should automatically connects to chef server and register itself as node. The Problem Statement: How to install Chef Client on a node launched by aws autoscaling group? Step 1. Prepare AMI with chef-client installed To install chef-client on […]

AWSTechnology

Alarms on custom metrics in Autoscaling group

Recently, I came across an interesting use case i.e to put alarms on custom metrics of autoscaling instances. Lets consider there is an autoscaling group for production environment and you need to put alarm on disk and memory utilization custom metrics. To accomplish that you need to follow the steps described below: 1. Create disk […]

AWS

How to Setup Replica Sets in Mongo DB (AWS EC2)

MongoDB is a popular NoSQL database that stores data in JSON like documents dynamic schemas instead of storing your data in tables and rows as you do with a relational database. In this blog we will setup Mongo DB replication on single node to demonstrate high availability and failover mechanism. What is a MongoDB Replica […]

Services