We can use fake S3 to simulate Amazon S3 service locally.
Use gem to install fakes3
gem install fakes3
Then you can start the fakes3 server
fakes3 --root=/var/tmp/fakes3 --port=10453
that will open port at 10453 and store data at /var/tmp/fakes3
To redirect traffic back to localhost, add the following line:
127.0.0.1 fakes3.local testme.waterworld.com.hk.f