Below you will find pages that utilize the taxonomy term “AWS S3 Upload”
How to multipart upload to AWS S3
In a previous post, I had explored uploading files to S3 using putObject and its limitations. As recommended by AWS for any files larger than 100MB we should use multipart upload. There are a couple of ways to achieve this. I’ll start with the simplest approach. S3 multipart upload As the name suggests we can use the SDK to upload our object in parts instead of one big request. The AWS APIs require a lot of redundant information to be sent with every request, so I wrote a small abstraction layer.
How to upload to AWS S3
I recently had to work with S3 & AWS Java SDK for a few different file operation scenarios. I was aware of a few different approaces and learnt a few more. Surprisingly there were actually more than one right ways of using the SDK. I’ll be talking about the AWS SDK for Java 2 using Java 11. S3 localstack configurations Localstack is the best tool for working with AWS locally. It provides a local test framework for developing against AWS.