AWS Developer Tools Blog
Category: Ruby
Logging Requests
The AWS SDK for Ruby (aws-sdk gem) has some pretty cool logging features. I find them particularly helpful when I need to debug something. I generally jump into an IRB session that has a logger pre-wired for me and then start sending requests. Configuring a Logger To get log messages from the aws-sdk gem, you […]
Fetch Object Data and Metadata from HAQM S3 (in a Single Call)
I came across an excellent question earlier this week on our support forums. The question was essentially, “How can I fetch object data and metadata from HAQM S3 in a single call?” This is fair question, also one I did not have a good answer to. HAQM S3 returns both object data and metadata in […]
IAM Roles for HAQM EC2 Instances (Credential Management Part 4)
This is the fourth and final part (part 1, part 2, part 3) in a series on how to securely manage your AWS access credentials. This week I am focusing on using AWS Identity and Access Management (IAM) roles for HAQM EC2 instances with the AWS SDK for Ruby (aws-sdk). Simply put, IAM roles for […]
Credential Providers (Credential Management Part 3)
In part 1 of this series, I wrote about how to configure your access credentials with the AWS SDK for Ruby (aws-sdk gem). In part 2 we learned how to rotate your access credentials using the aws-sdk gem. This week we explore credential providers and how they can help you keep your secrets safe and […]
Rotating Credentials (Credential Management Part 2)
In a previous blog post I wrote about ways to securely configure your AWS access credentials when using the aws-sdk gem. This week I want to talk about a security best practice, credential rotation. Did you know that AWS recommends that you rotate your access keys every 90 days? Even if you are very careful […]
Faster AWS Tests with VCR
Performing integration testing against a live AWS service can often be inefficient since you are forced to make requests across the network for every test. Fortunately, there are tools that you can use to help reduce the amount of network traffic your tests require and make them run faster in the process. We will look […]
Credential Management – Part 1
When using AWS, it is important to keep your access credentials secure. It can be challenging to make your credentials available to your application securely. The AWS SDK for Ruby provides a number of helpful interfaces for configuring your credentials that help you keep your secrets safe. This blog post focuses on securely configuring the […]
Ruby at re:Invent 2012
Loren and I will be attending AWS re:Invent in Las Vegas next week. I will be presenting a session, and we will both be answering questions in the Developer Lounge, and assisting with the AWS re:Invent Code Challenges. Stop by to say "Hi", get your questions answered, or participate in a Code Challenge. We love […]
Deploying Ruby Applications to AWS Elastic Beanstalk with Git
With the release of Ruby container support on AWS Elastic Beanstalk, it is now possible to deploy Rails (or any Rack-based) applications onto the AWS infrastructure in just a few easy steps. The container is backed by HAQM EC2 and automatically provisions the machines to use Phusion Passenger (with nginx under the hood). You can […]
New Blog, New Org, and New Issue Reporting!
Hey everyone! My name is Loren Segal, and I will be working with Trevor Rowe on our shiny new blog here at HAQM Web Services. We both work on the AWS SDK for Ruby, and over the coming weeks, months, and years, we will be using this spot to post new updates, tips, and tricks […]