Many new systems use a hybrid model: the live feed stays local for speed, but timestamped snapshots are sent to AWS S3 or Google Cloud for long-term storage. This gives you the best of both worlds.

Check the resources below for hardware recommendations and configuration scripts to get your live server running in under an hour.