Recently Amazon AWS EC2 started to charge for public IPv4, so I removed my IPv4 to avoid that.
However, I found that my Nextcloud cannot access S3 storage anymore.
I use S3 as my primary storage, and it has been running well since 2019.
My config setting (related to S3) is as follows:
If I assign a public IPv4 to the instance, then the service would be back to normal.
Please help me find the correct settings so that I can access S3 without a public IPv4.
Very appreciate!
Thanks for this information. I read these articles, but I still don’t know how to apply them correctly.
I was trying to use the following instructions: # Configuring Object Storage as Primary Storage
In this article, I learned that Nextcloud can access Non-Amazon hosted S3.
So I tried to treat Amazon S3 as Non-amazon hosted S3, and revised the setting as follows:
I still cannot access the files, however, some funny things happened.
With my original setting, Nextcloud would crash the php-fpm service and run very slowly.
With the above setting, Nextcloud can run faster (but still with no access to files: there is no file here).