DevOps Posts - Page 8

Provisioning Custom AWS CloudFormation Resources With AWS Lambda Functions

AWS CloudFormation is the foundation of operational excellence on AWS. We code our infrastructure as JSON or YAML templates and test it as much as we need before deploying to production. We manage our infrastructure as code.

However, some new AWS resources may not be supported by AWS CloudFormation at the time they are launched. As of today, an example of this is the Elastic GPU resource. The solution is to define a custom CloudFormation resource and attach it to an AWS Lambda function which launches these resources. The Lambda function should also be in the same template. So let’s talk about how to do this in this blog post.

Continue reading the Provisioning Custom AWS CloudFormation Resources With AWS Lambda Functions blog post.

Transferring Domain Registrations from GoDaddy to Amazon Route 53

Amazon Route 53 offers domain registration services, and if you would like to keep your domains together as I do, you can easily transfer your current domain names to Route 53.

In the past, I bought some domains from GoDaddy, and today, I generally use Amazon Route 53 as my DNS service. It is time to renew some of our domain names, and I decided to move them to AWS as they are extended one year automatically after the transfer. This will allow me to manage my domain names and the services behind them all together on AWS. I will describe the process as a reference.

Continue reading the Transferring Domain Registrations from GoDaddy to Amazon Route 53 blog post.

Storing and Monitoring Rails Logs on Amazon CloudWatch

If you deploy any type of application on AWS, such as a Ruby on Rails web app; then your application will generate large amounts of logs. Hence, you will need to store and monitor these logs somewhere to understand what is going on when an unexpected event occurs. A central log server may be a choice; however, Amazon CloudWatch offers an alternative way without maintaining your log servers and with lots of capabilities.

In today’s blog post, I will describe how you can start storing your application logs on Amazon CloudWatch by using a Ruby on Rails web application as an example. The same principles here would apply to other types of application logs as well.

Continue reading the Storing and Monitoring Rails Logs on Amazon CloudWatch blog post.