S3 for file storage - anyone had success?

I’m trying to dump the file storage to S3, settings in .env file. But having a hard time making it comunicate with Amazon.
Anybody has a successful config for this?