2

I'm currently running an icecast server for streaming audio on an EC2 Instance.

Currently all my .mp3 files are stored on the EC2 instance and I want to move them to AWS S3 for storage. So far I've been able to find scripts that will update the playlist but will not make the server request external sources.

Is it possible to setup this architecture? Any help would be appreciated.

Renato Francia
  • 803
  • 1
  • 12
  • 23

1 Answers1

3

How about mounting the S3 bucket as a directory and just using that?

As you only read the files, this should be without major issues.

TBR
  • 2,790
  • 1
  • 12
  • 22
  • 1
    Thanks a lot! I used s3fs at it worked like a charm! – Renato Francia Apr 04 '18 at 18:29
  • 1
    I've used this exact method, and it does work reasonably well. Beware though, you need to handle the cases when it stops working correctly. The FUSE driver will cache directory listings, but sometimes the resources will be unavailable and just hang. You have this same problem with any non-local FS, just be sure to handle it on the source end. – Brad Apr 07 '18 at 18:31