AWS

Send Mail Using Amazon EC2 Instance

Prerequisites Before we get started, you will need the following: Step 1: Install Postfix Postfix is an open-source mail transfer agent that can be used to send emails from a Linux machine. To install Postfix on your Amazon EC2 instance, run the following command: After the installation is complete, edit the Postfix configuration file /etc/postfix/main.cf and add […]

Send Mail Using Amazon EC2 Instance Read More »

How to Find Server Public IP Address in Linux Terminal

root@test:/var/log/nginx# wget -qO – icanhazip.comwww.xxx.yyy.zzzroot@test:/var/log/nginx# wget -qO- http://ipecho.net/plain | xargs echowww.xxx.yyy.zzzroot@test:/var/log/nginx# wget -qO – icanhazip.comwww.xxx.yyy.zzzroot@test:/var/log/nginx# curl icanhazip.comwww.xxx.yyy.zzzroot@test:/var/log/nginx#

How to Find Server Public IP Address in Linux Terminal Read More »

AWS RDS IAM Policy for Read Only Access and DB Logs Download

{ “Version”: “2012-10-17”, “Statement”: [ { “Action”: [ “rds:Describe*”, “rds:ListTagsForResource”, “rds:Download*”, “ec2:DescribeAccountAttributes”, “ec2:DescribeAvailabilityZones”, “ec2:DescribeSecurityGroups”, “ec2:DescribeVpcs” ], “Effect”: “Allow”, “Resource”: “*” }, { “Action”: [ “cloudwatch:GetMetricStatistics”, “logs:DescribeLogStreams”, “logs:GetLogEvents” ], “Effect”: “Allow”, “Resource”: “*” } ] }

AWS RDS IAM Policy for Read Only Access and DB Logs Download Read More »

Scroll to Top