CDN, HA in multiregional environment

Hello!

Could you please help me understand how I can realize CDN and HA for users sitting in 3 geografically different locations (offices) but in one corporate network? I installed already 3 PeerTube server - 1 in each location, and configured cross-federation between them.

  • But, how properly realize CDN for storing all video files on each locations?
  • And, how to realize HA with alone virtual DNS-name but transferring users to nearest server?

Please see my scheme for visual understanding of my needs: