Today AWS announced the ability to copy EBS snapshots to other regions, with the ability to copy AMIs coming soon. This is a HUGE improvement, and one that will allow IT architects to create automated DR solutions across AWS regions providing significant resilience against outages. Dear Amazon EC2 Customer, We are delighted to announce the […]
Recently, I had a client site outage. AWS had a major EBS failure on Zone B, and one of the instances never recovered. One of the major issues was the inability to connect to the RDS service:
1
2
3
# mysql -h yourDB.yourRDS.us-east-1.rds.amazonaws.com -u meyadmin -p
Enter password:
ERROR1129(00000):Host'ip-X-X-X-X.ec2.internal'isblocked because of many connection errors;unblock with'mysqladmin flush-hosts'
It turns out two steps were required for resolution: 1. Reboot the instance to get network access […]
AWS Console » CloudFront » Check the box to the left of the desired distribution » Distribution Settings » Invalidations » Create Invalidation » Paste list of files » Click Invalidate
1. You need Ruby, rubygems and the right_aws gem. yum install ruby rubygems gem update –system gem install right_aws 2. Replace any values inside curly braces {} below with real values and remove the curly braces. YMMV
I found a fantastic tutorial on using the W3 Total Cache plugin with Amazon’s S3/CDN that I had to share: http://www.makeuseof.com/tag/give-wordpress-blog-lightning-fast-speeds-w3-total-cache/ The basic gist of the article says to do the following: Install and activate the W3 Total Cache plugin Sign up for Amazon Web Services (AWS) Obtain your AWS Access and Secret key pair […]
Upgraded the OS on one of my Amazon server instances today. After rebooting I had the unpleasant experience of seeing my rpc.rstatd monitoring daemon stop functioning. It turns out that AWS changed the actual kernel version for this release, I guess to “celebrate” the fact that it is no longer “beta”. The difficulty is that […]
http://code.google.com/p/s3fs/wiki/FuseOverAmazon The s3fs password file has this format (use this format if you have only one set of credentials): accessKeyId:secretAccessKey If have more than one set of credentials, then you can have default credentials as specified above, but this syntax will be recognized as well: bucketName:accessKeyId:secretAccessKey
After a recent yum update I started getting the following errors when starting Apache: Warning: SuexecUserGroup directive requires SUEXEC wrapper. It turns out that the permissions for suexec need to be reset: chmod 4111 /usr/sbin/suexec