Installing libreoffice on linux EC2 Instance and accessing it through web browser


I have installed libreOffice on Linux EC2 instance. I am storing my office document files in AWS S3 Storage. I wanted to see these stored files in web browser using LibreOffice. How I can do that?

D S.