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 126.96.36.199:
<dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk</artifactId> <version>188.8.131.52</version> </dependency>
The following sample Java program creates a S3 bucket called
laurenceluckinbill in the ...