Question: how to create hls stream?
Answer: Create the HLS media (segments and manifests). You can do this using an API service like Mux Video or Zencoder, or you can do it by hand with a tool like ffmpeg or Handbrake.
Host the files. Put them on a HTTP server and put a CDN in front.
Load the master manifest in an HLS-compatible player.