0

Get the size of an S3 bucket with s3cmd

You can get the size of an S3 bucket with s3cmd using the following command: s3cmd du -H s3://<bucket name> It’s as easy as that.

0

Query to Determine Disk Space Usage for AWS MySQL RDS

The following query will show you the disk space usage for an AWS MySQL RDS in MB: SELECT table_schema, SUM(data_length + index_length)/1024/1024 AS Total_GB, SUM(data_length)/1024/1024 AS Data_GB, SUM(index_length)/1024/1024 AS Index_GB, COUNT(*) AS tables, CURDATE() AS today FROM information_schema.tables GROUP BY… Continue Reading

2

Removing the CloudWatch Logs Agent

Amazon provide really detailed instructions for installing the CloudWatch logs agent on existing servers:¬†http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/QuickStartEC2Instance.html. But what they do not provide is instructions for removing it if/when you no longer require it. Therefore I have provided instructions below for removing the… Continue Reading