This is just a reminder to take a backup of your cloud photos and store it locally (or other cloud provider). For example, with Google Takeout you can get a ZIP file with all your photos and videos from Google Photos.
A buddy self-hosts his collection using a free tool called PhotoPrism. It has some auto classification abilities.