Author name: admin

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 »

Reclaim Space in a VM on Thin or Thick VMDKs

Fedora/CentOs/RedHat [root@rac1 ~]$ yum install zerofree updates/metalink | 12 kB 00:00 updates | 4.5 kB 00:00 updates/primary_db | 4.3 MB 00:21 Setting up Install Process Resolving Dependencies Running transaction check Package zerofree.i686 0:1.0.1-8.fc15 will be installed Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: zerofree i686 1.0.1-8.fc15 fedora 20 k …

Reclaim Space in a VM on Thin or Thick VMDKs 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