How to Open Port in Amazon EC2 instance
By default Amazon EC2 only allow port 22 (SSH) on Linux servers and port 3389 (RDP) on Windows Instances. All
Whitelist an IP in Amazon AWS security group from command line
To white list an IP in Amazon AWS security group using aws command line tool, run Example
Amazon S3 CORS
To enable CORS for Amazon S3 bucket, add
Resize Amazon EC2 Boot Disk
Once you resize the disk in the Amazon AWS console, it gets auto resized on reboot. Sometimes this won’t happen,
Enable Gzip in Amazon Linux
To verify Apache module is loaded, run Create file Add following content Restart Apache with To verify gzip is working,
Configure Postfix to use Amazon SES
Install postfix with Update postfix config with Edit Add to end of the file In the above, replace SMTP_SERVER_NAME with
Create Dummy Data in Amazon EFS
Disk read/write speed in Amazon EFS depends on how much data you have on the file system. Amazon EFS have
Amazon AWS (awscli) command line interface
awscli is a command line tool for Amazon AWS. To install, run If python 2, you need to install package
Cpanel Server Behind NAT – Amazon EC2
When your cpanel server is behind nat, for example Amazon EC2 where you have an internal IP and External IP.
Amazon Elastic IP The maximum number of addresses has been reached.
When assigning Elastic IP in Amazon AWS, I get an error The maximum number of addresses has been reached. This