AWS Developer Tools Blog
Category: Programing Language
AWS SDK for Ruby Release v1.8.3
We just published version 1.8.3 of the AWS SDK for Ruby (aws-sdk gem). This release adds support for AWS OpsWorks and resolves a number of customer reported issues. require ‘aws-sdk’ opsworks = AWS::OpsWorks.new resp = opsworks.client.describe_stacks resp #=> { :stacks => [] } You can view the AWS::OpsWorks::Client API documentation here. Take it for a spin […]
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 […]
Managing Multiple AWS Accounts with the AWS Toolkit for Eclipse
When you’re building the next great application with AWS services, you’ll probably end up with several different AWS accounts. You may have one account for your production application’s resources, another for your development environment, and a couple more for personal testing. It can be really helpful to switch between these various accounts during your development, […]
Fetch Object Data and Metadata from Amazon 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 Amazon S3 in a single call?” This is fair question, also one I did not have a good answer to. Amazon S3 returns both object data and metadata in […]
Working with AWS CloudFormation in Eclipse
One of the latest features we’ve added to the AWS Toolkit for Eclipse is support for working with AWS CloudFormation. If you’re not familiar with AWS CloudFormation yet, it gives developers and systems administrators an easy way to create and manage a collection of related AWS resources, provisioning and updating them in an orderly and […]
Understanding Auto-Paginated Scan with DynamoDBMapper
The DynamoDBMapper framework is a simple way to get Java objects into Amazon DynamoDB and back out again. In a blog post a few months ago, we outlined a simple use case for saving an object to DynamoDB, loading it, and then deleting it. If you haven’t used the DynamoDBMapper framework before, you should take […]
Subscribing Queues to Topics
Amazon Simple Notification Service (Amazon SNS) is a terrific service for publishing notification messages and having them automatically delivered to all your subscribers. You simply send a message to your SNS topic, and it gets delivered to all the subscribers for that topic. Amazon SNS supports many different types of subscribers for topics: HTTP/HTTPS endpoints […]
IAM Roles for Amazon 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 Amazon 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 […]
AWS Java Meme Generator Sample Application
If you couldn’t make it to AWS re:Invent this year, you can watch all of the presentations on the AWS YouTube channel. My talk was about using the AWS Toolkit for Eclipse to develop and deploy a simple meme generation app. The application uses a common AWS architectural design pattern to process its workload and […]