Posts Cancel

Introduction: You can create a CloudWatch alarm that monitors an Amazon EC2 instance and automatically recovers the instance if it becomes impaired due to an underlying hardware failure or a proble...

What break does is it will break/stop the loop or code from continuing down when certain condition is met! This is very important and helpful cause when in a loop, if code is not break when condit...

The initial request was to show private server IP on CLI prompt and derived to apply on server with public IP. The steps for server with private IP are: Use command hostname to get server’s pri...

Basic usage of CentOS command, seq To print numbers in sequence from A to B seq 8 11 Print numbers in sequence with equal width, try seq -w 7 9 and seq -w 9 101 to see the differences seq -w 8 ...

Basic usage of CentOS command, dig, provided by package bind-utils Find A record of a domain name with current DNS set dig example.com Find A record of a domain name with specified DNS, 1.1.1.1...

Basic usage of CentOS command, awk Find the total data sent by web server from access log cat access.log | awk -F" " '{sum += $10} END {print sum}' Where -F ; field separator ” “ ; space is t...

Introduction Steps to create auto scaling (A.S), two main concepts Configuration What to scale out Instance settings related Scaling groups Where to scale o...

Introduction Steps to create EFS from console and mount EFS in EC2, main focus will be on EFS Create security group for EFS EFS is using NFS version 4.0 and 4.1, so we must create a security gr...

When Nginx is using socket to communicate with PHP-FPM, in the PHP-FPM configuration file, the section below must be configured. Assuming that Nginx is running with user nginx, the socket file must...

AWS Organization Introduction Account management service to consolidate multiple AWS accounts into an organization Benefits Centrally manage access policies acro...