DEV Community

y m
y m

Posted on

Building a Local S3 Environment with MinIO: AWS SDK for Java V2 Migration Guide

Ever faced this warning when starting Spring Boot?
warning: The AWS SDK for Java v1.11.x has been marked as maintenance mode...
Are you developing applications that use Amazon S3? Setting up a local development environment can be tricky. In this guide, I'll show you how to use MinIO as a local S3-compatible storage solution, with a special focus on AWS SDK for Java V2 implementation.
This article was originally published on KINTO Technologies Blog.

What you'll learn:

  • Setting up MinIO with Docker Compose
  • Implementing AWS SDK for Java V2
  • Handling GitHub Actions integration
  • Best practices and troubleshooting tips

Here's a quick look at what we'll build:

services:
  minio:
    container_name: minio_test
    image: minio/minio:latest
    command: ['server', '/data', '--console-address', ':9001']
    ports:
      - "9000:9000"
      - "9001:9001"
Enter fullscreen mode Exit fullscreen mode

The complete guide includes working examples and code snippets that you can use right away in your projects.
Read the full tutorial (English) → https://blog.kinto-technologies.com/posts/2023-12-21-minio_amazons3_compatible/

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

Top comments (0)

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more