Self Hosting Redis, how to do it?

You don’t need shared ip and export http service, it will open the interface to the public network and cause security issues.

You can connect via private network use host your-redis-app.internal

Minimal fly toml:

app = 'your-redis-appname'

[build]
  image = 'redis:7'

# if you need persistence, create volume before launch
# `fly volume create redis_data` 
[[mounts]]
  source = 'redis_data'
  destination = '/data'
  processes = ['app']