In my previous blog, I talked about setting up sendmail inside a Docker container. In this blog, we will talk about how to make your Docker containers come up during Auto-scaling of AWS servers, start, and use a service like sendmail inside them. You can make changes to scripts based on your use-case. I just want to make the logic...
In my last blog, we talked about setting up a WordPress site on Docker. I hope you all are now clear on how Docker works & how you can set up your own PHP applications on it. In this blog, we will be talking about how to send emails from your Docker container. My use-case was that, I had a PHP application running inside a Docker...
We come across a lot of instances of Cloud based applications being hit by DDoS attacks. We must accept the fact that most of us are unaware of risks and protection methods available for DDoS protection in the cloud. This blog post emphasizes on understanding DDos attack and providing an approach to prevent unauthorized access and usage...
AWS announced its new database service for customers called "Amazon Aurora" which I have been waiting for since a long time. It delivers up to 5X performance of MySQL with high availability in 3 different regions. As it is new to all of us, so today we will be having hands on experience on AURORA Cluster for MySQL. I have segregated...
AWS has recently launched a new service which is now available generally. AWS CodeCommit is the service we would be talking briefly about in this blog. AWS CodeCommit hosts private Git repositories. You can Store code & any other type of file with AWS CodeCommit. It follows Git standards & can be used with other tools for...
The purpose of this blog post is to acknowledge a use case of AWS autoscaling. During auto-scaling in AWS, we often pass user-data and that user-data keeps growing with time due to which an instance spin time is increased significantly. For that purpose, we need to create latest AMI time to time with all the user-data packages...
In AWS, we can enable ELB logs and save them on S3 bucket. Analysing the ELB logs provide end-to-end visibility of all requests, but it's a quiet big challenge to get a granular detail of each request. Sumo Logic collect logs from various resources and we can analyse these logs with respect to various parameters. It uses log reduce...
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...
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 and...
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 and...
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 Set ? We...
Today we're going to demonstrate the use of switch role feature that AWS has introduced a few months back. This feature enables an IAM user to use switch role directly in AWS Management Console to access resources across multiple AWS accounts. E.g Lets say an IAM user X of Account 1 wants to access resources associated with Account 2....