November 2015
Intermediate to advanced
194 pages
4h 16m
English
AWS S3 is highly scalable and durable object storage. You only have to pay for the storage you actually use. S3 replicates data in multiple data centers within the region. Further, AWS S3 introduces cross-region replication that replicates your data across AWS regions. In this recipe, we cover both uploading objects to and downloading objects from AWS S3.
In your Maven dependency section, add the following dependency for AWS Java SDK Version 1.9.28.1:
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk</artifactId>
<version>1.9.28.1</version>
</dependency>The following sample Java program creates a S3 bucket called laurenceluckinbill in the ...