Senior
Have you had experience working with storage (S3, MinIO)?
sobes.tech AI
Answer from AI
Yes, I have experience working with storage solutions like S3 and MinIO. For example, I used AWS S3 for storing and managing large volumes of data in the cloud, implementing file uploads and downloads via SDK, configuring access policies, and object versioning.
I used MinIO as a local object storage with an S3-compatible interface, which allowed me to develop and test applications locally before deploying to the cloud.
An example in Java using AWS SDK for uploading a file to S3:
import software.amazon.awssdk.services.s3.S3Client;
import software.amazon.awssdk.services.s3.model.PutObjectRequest;
import java.nio.file.Paths;
S3Client s3 = S3Client.builder().build();
PutObjectRequest request = PutObjectRequest.builder()
.bucket("my-bucket")
.key("example.txt")
.build();
s3.putObject(request, Paths.get("/path/to/local/file.txt"));
This experience enables me to work efficiently with object storage in various projects.