AWS Developer Blog

Tag: Java

Follow up on Base64 Codec Performance

by Hanson Char | on | in Java* | Permalink | Comments |  Share

After we posted the previous blog, A Fast and Correct Base64 Codec, some readers expressed interest in getting more details about the comparison of various codecs’ performance. So this blog post is a quick follow-up with a side-by-side decode/encode performance comparison of various Base64 codec’s, including AWS SDK for Java, DataTypeConverter, Jakarta Commons Codec and […]

Read More

A Fast and Correct Base 64 Codec

by Hanson Char | on | in Java* | Permalink | Comments |  Share

In AWS, we always strive to make our tools and services better for our customers. One example is the recent improvement we made to the AWS Java SDK’s Base 64 encoding and decoding. In essence, we’ve replaced the use of Jakarta Commons Codec 1.x with a different implementation throughout the entire SDK. Why, you may […]

Read More

Amazon S3 Server-Side Encryption with Customer-Provided Keys

by Jason Fulghum | on | in Java* | Permalink | Comments |  Share

Amazon S3 recently launched a new feature that lets developers take advantage of server-side encryption, but still control their encryption keys. This new server-side encryption mode for Amazon S3 is called Server-Side Encryption with Customer-Provided Keys (SSE-C). Using server-side encryption in Amazon S3 with your own encryption keys is easy using the AWS SDK for […]

Read More

Amazon S3 Requester Pays

by Manikandan Subramanian | on | in Java* | Permalink | Comments |  Share

You may have heard about the Requester Pays feature in Amazon S3 that allows bucket owners to pass the data transfer costs to users who download the data. Users can now use the AWS SDK for Java to enable/disable Requester Pays on their buckets. To enable Requester Pays on an Amazon S3 bucket // create […]

Read More

Secure Local Development with the ProfileCredentialsProvider

We’ve talked in the past about the importance of secure credentials management. When your application is running in production, IAM roles for Amazon EC2 are a great way to securely deliver AWS credentials to your application. However, they’re by definition available only when your application is running on EC2 instances. If you’re a developer making […]

Read More

Using Improved Conditional Writes in DynamoDB

by David Yanacek | on | in Java* | Permalink | Comments |  Share

Last month the Amazon DynamoDB team announced a new pair of features: Improved Query Filtering and Conditional Updates.  In this post, we’ll show how to use the new and improved conditional writes feature of DynamoDB to speed up your app. Let’s say you’re building a racing game, where two players advance in position until they […]

Read More

Amazon S3 Client-Side Authenticated Encryption

by Hanson Char | on | in Java* | Permalink | Comments |  Share

Encrypting data using the Amazon S3 encryption client is one way you can provide an additional layer of protection for sensitive information you store in Amazon S3. Now the Amazon S3 encryption client provides you with the ability to use authenticated encryption for your stored data via the new CryptoMode.AuthenticatedEncryption option. The Developer Preview of […]

Read More

Develop, Deploy, and Manage for Scale with AWS Elastic Beanstalk and AWS CloudFormation

by Jason Fulghum | on | in Java* | Permalink | Comments |  Share

Evan Brown is doing a great five part series on the AWS Application Management Blog on developing, deploying, and managing for scale with Elastic Beanstalk and CloudFormation. In each of his five blog posts, Evan breaks down a different topic and explains best practices as well as practical tips and tricks for working with applications […]

Read More

Using AmazonS3EncryptionClient to Send Secure Data Between Two Parties

by Hanson Char | on | in Java* | Permalink | Comments |  Share

Suppose you have a partner who would like to encrypt and upload some confidential data to you via Amazon S3, but doesn’t want anyone other than you to be able to decrypt the data. Is this possible? Yes! That’s a classical use case of Public-key Cryptography, and AmazonS3EncryptionClient makes it easy to do. First of […]

Read More

Using Transfer Manager to Copy Amazon S3 Objects

by Manikandan Subramanian | on | in Java* | Permalink | Comments |  Share

The latest addition to the list of Transfer Manager features is the ability to easily make copies of your data in Amazon S3. The new TransferManager.copy method allows you to easily copy an existing Amazon S3 object from one location to another. Under the hood, TransferManager selects which copy algorithm is best for your data, […]

Read More