Member-only story
This article is part of my web research to prepare the development of a new feature using Amazon S3 Webservices.
I have to develop a new feature that is using Amazon S3 services. The first thing, we discussed with the customer was how to get an access to an S3 AWS Account to write my features. Since it was rather complicated, I had to look for some alternative solutions.
These are my finds.
Using Amazon AWS 3 with Java
First, to manipulate S3 resources, I am writing a Java microservices. I have been looking for Java S3 Libraries and some interesting links :
- Github official link to the Amazon AWS SDK
- Description of the API
- How to upload an Object using the AWS SDK For Java
- Some more examples
- Amazon S3 with Java
- Another example using Amazon S3 and Java
Mocking Amazon S3 Server with a Local server
if you desire to develop on your laptop and solely rely on the local resources, you can use a mock server to emulate a S3 API.
I found many different implementations :
- Minio : Minio is an open source object storage server compatible with Amazon S3 APIs
- Docker
- s3mock library : S3 Mock library for Java/Scala
- Java
- python s3mock : Embedded S3 server for easy mocking