AWS Developer Tools Blog
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 […]
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 […]
Iterating Over Your Objects with Amazon S3
There are a lot of hidden gems inside the AWS SDK for Java, and we’ll be highlighting as many as we can through this blog. Today, we look at how to interact with paginated object and version listings from Amazon S3. Normally, when you list the contents of your Amazon S3 bucket, you’re responsible for […]
Sending Email with JavaMail and AWS
The Amazon Simple Email Service and the JavaMail API are a natural match for each other. Amazon Simple Email Service (Amazon SES) provides a highly scalable and cost-effective solution for bulk and transactional email-sending. JavaMail provides a standard and easy-to-use API for sending mail from Java applications. The AWS SDK for Java brings these two […]