Cloud

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 »

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”: “*” } ] }

Setup AWS Cloudwatch Memory and Drive Monitoring on RHEL

Download Scripts https://aws.amazon.com/code/8720044071969977 Install Prerequisite Packages sudo yum install wget unzip perl-core perl-DateTime perl-Sys-Syslog perl-CPAN perl-libwww-perl perl-Crypt-SMIME perl-Crypt-SSLeay Install LWP Perl Bundles Launch cpan sudo perl -MCPAN -e shell Install Bundle install Bundle::LWP6 LWP YAML Install Script wget http://aws-cloudwatch.s3.amazonaws.com/downloads/CloudWatchMonitoringScripts-1.2.1.zip unzip CloudWatchMonitoringScripts-1.2.1.zip -d /opt rm -f CloudWatchMonitoringScripts-1.2.1.zip Setup Credentials API Access Key (Option 1) This is …

Setup AWS Cloudwatch Memory and Drive Monitoring on RHEL Read More »

Microsoft Azure Set a Static Internal IP Address for a VM

Verify that a specific IP address is available Before you specify a static IP address from your address pool, you may want to verify that the IP address has not been already assigned. In the example below, we’re checking to see whether the IP address 10.1.61.140 is available in the TestVNet virtual network. Test-AzureStaticVNetIP –VNetName …

Microsoft Azure Set a Static Internal IP Address for a VM Read More »

Scroll to Top