I have a free MinIO instance with mounted persitent volume to which I would like to connect with rails aws-sdk-s3 client. It looks like the instance is not responding at all, as the call is timing out each time. This is my config:
When I try to run something as simple as client.list_buckets, I receive error: [...] Connection reset by peer - SSL_connect (Seahorse::Client::NetworkingError)
Is there something that I’m missing in my config, or am I not understanding how the free plan works on fly.io? I would be really greatful for help, pointing to some good resource would also be much appreciated.
PS: Even fly logs for this machine look like the S3 API service is listening on 9000 port to which I’m trying to connect:
Hm, looks like I don’t have either of those. As I understand these will be needed to connect to my instance from my local environment, however if I’d like my two fly.io instances (one of them being the MinIO instance) to talk to each other, I would need to follow this private network guide, is that right?
Yea, our 6pn will do magic with minio-app-name.internal for you.
Assuming you don’t want your MinIO reachable from the outside internet for security reasons, you could remove public IPs so only apps in your org can talk to each other and when you want to connect via your personal machine you could use fly proxy command
Thank you for your help @lubien. I know it’s not even a basic networking, but for future readers the solution was to just use internal 6PN and setting <app-name>.internal:9000 as an endpoint.