Mohit Dayal Gupta

Mohit is a techno-freak who loves playing around with everything in AWS and an expert in shell scripting. He is AWS Certified Solutions Architect and AWS Accredited Professional. A blogger maniac who loves playing sports.

AWS, Technology

Auto-Recovery of AWS EC2 instance

You can now Auto-Recover your AWS EC2 instance in the case of failures from Amazon side. Whether it is a hardware problem, underlying host problem or any other problem that occurs from Amazon side to your AWS EC2 instance, the instance can be recovered automatically.  It increases the availability of the instances provided by Amazon to...


AWS, Technology

AWS Step Auto Scaling Policies

Amazon Web Services has introduced Step Autoscaling Policies for the autoscaling of EC2 instances. These policies are much different from the Simple Autoscaling Policies which are being used till the date. The cooldown periods are not supported in the Step Scaling Policies. It let you define lower bound , upper bound for metric values and...



AWS Lambda with new features for Mobile Devs

AWS Lambda has been launched with the new features for Mobile Developers. The service was launched last year with the preview version at AWS re:Invent. We have given the detailed description about AWS LAMBDA in our previous blogs : An Introduction To AWS Lambda and AWS Lambda walk-through. It is a compute service that makes it easy for...



Introduction To Sysdig – System Exploration Tool

  Sysdig is a system exploration tool which can be used for system level monitoring of various machines or EC2 instances. It is an open source tool which captures system state and activity from a running Linux instance. The state is then saved, filtered and analysed to give calculated results. System level troubleshooting is very...



Fail2Ban Port 80 to protect sites from DOS Attacks

FAIL2BAN Port 80 is used to protect sites from DOS Attacks. Fail2ban scans log files (e.g. /var/log/apache/error_log) and bans IPs that show the malicious signs -- too many password failures, seeking for exploits, etc. Generally Fail2Ban is then used to update firewall rules to reject the IP addresses for a specified amount of time,...



HTTP Authentication using Apache Web Server

HTTP Authentication using Apache Web Server is used to give password protected access to the files or folders present in your web server. Using it, you can also decide to whom you want to give the access. If you have information on your web site that is sensitive or intended for only a small group of people, the techniques in this...



Building Parameterized Script in Jenkins

Jenkins is an extensible open source continuous integration server. Using Jenkins we can perform the tasks automatically from our server or localhost. A script is created and built just once . Then, you can run the script by just clicking on Build link in Jenkins. The scripts can be scheduled using Jenkins. You can visit the following...



AWS CodeDeploy Using S3

AWS has great set of tools which helps simplify the deployment process in their cloud and one such tool is AWS CodeDeploy.  In this blog, we will deploy the application using AWS CodeDeploy using S3. Read our blog on: AWS CodeDeploy – A Sample Walkthrough Consider a use case where you have 20 instances and you want to deploy...