DevOps Posts - Page 7

Copying S3 Bucket Objects to Another AWS Account

Moving your S3 objects to another AWS account

In some cases, you may need to transfer your objects in one of your Amazon S3 buckets to a different AWS account. AWS CLI provides high-level commands on S3 to move objects between two buckets. By also using Amazon S3 bucket policies, you can perform this even if the destination bucket is in another AWS account. Today, I will talk about the steps you need to do along with a few explanation on bucket and object level permissions. Read more at Copying S3 Bucket Objects to Another AWS Account post.

Increasing Email Deliverability When Using Amazon SES

Increasing Email Deliverability When Using Amazon SES

Amazon Simple Email Service (SES) is one of the first AWS services I started using. It allows you to send automated emails without maintaining your email servers. It is scalable, easy to use with AWS SDKs and cost-effective.

However, you need to do more than verifying your domain on Amazon SES for your emails not to end in your users’ spam folder. In this blog post, I will discuss how you can increase the deliverability of your emails by setting DKIM and SPF authentications on Amazon SES. Read more at Increasing Email Deliverability When Using Amazon SES post.

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. Read more at Provisioning Custom AWS CloudFormation Resources With AWS Lambda Functions 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. Read more at Transferring Domain Registrations from GoDaddy to Amazon Route 53 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. Read more at Storing and Monitoring Rails Logs on Amazon CloudWatch post.