Code Sniffer

PHP Code Sniffer breaks apart in tokens PHP, JavaScript and CSS files and detect violation of coding standards. Installing Code Sniffer Let’s start with Installation step and then Netbeans configuration On Linux (tested only on Ubuntu) sudo pear install –alldeps php_codesniffer On Mac (with brew) brew install php-code-sniffer You can install brew by going to http://brew.sh/ On


Change Instance Type in AutoScaling

AWS does not allow to edit launch configuration. If you notice, we define instance type at time of launch configuration. So if you want to change instance type in Auto Scaling group than you need to create new launch configuration for that. Following are the step to edit AutoScaling group. Note: This does not apply


Auto Scaling

AutoScaling allow you to automatically add or remove your EC2 instances according to your defined condition. To setup autoscaling we create autoscaling group and defined launch configuration for that group so, whenever any instance added in to group it will use that launch configuration . Following are the step to setup auto scaling on AWS