Problem You would like to upgrade MySQL 5.5 to MySQL 5.6 on an existing server that uses the YUM software package manager. Solution Just enter the following few simple commands and you should be good to go. But, please, do a thorough full backup of your system before you do the upgrade just in case. … Continue reading Upgrade MySQL 5.5 to 5.6 on EC2/CentOS/RHEL
Problem You have create a CloudFront distribution with a custom domain name (such as yourdomain.com). Now if you try to link this distribution to your domain using Route 53, you get the following error message: `No AWS resource exists with the Alias Target that you specified.` Solution Try the following to solve this problem: Make … Continue reading Route 53 Cannot Find CloudFront Distribution
Problem You are trying to create a CloudFront distribution using Amazon's API. You get the error: "One or more of your origins do not exist" Solution In my case, I provided a different value for these two properties: DistributionConfig.DefaultCacheBehavior.TargetOriginId and DistributionConfig.Origins.Items.Id Just make sure that the Id for one of your origins matches the TargetOriginId … Continue reading Solving ‘One or more of your origins do not exist’ for Cloud Front
A quick Google search reveals that there are quite a few different approaches for automatically creating snapshots for EC2 images (such as here, here and here). All of these are rather difficult to do. Thankfully, after some more searching around I found a great way to schedule regular snapshots using AWS CloudWatch. CloudWatch supports a built-in … Continue reading Automatically Make Snapshots for EC2
Today I came across the following exception while working with the AWS SDK for Amazon Lambda: com.amazonaws.AmazonServiceException: Cross-account pass role is not allowed. (Service: AWSLambda; Status Code: 403; Error Code: AccessDeniedException; Request ID: xxx) At first I was a bit puzzled where this exception might come from; but when I found out what the problem … Continue reading AWS Lambda: Cross-account pass role is not allowed.
According to a recent article on the New Stack Blog, the Amazon Serverless Team (responsible for instance for Amazon Lambda) is about to release a new open source product called 'Floruish'. Currently, there are very few details available on this product. These are some points I could find: It will be a platform to manage … Continue reading What is Amazon Flourish (for AWS)