Heres my setup; - I have a local PC running ffmpeg with output configured to h.264 and aac - and S3 bucket created at AWS
what i need to do is, use ffmpeg [local] ou
You can:
Mount the S3 bucket using S3FS FUSE and then you output directly to it.
How to Mount S3 Bucket on CentOS/RHEL and Ubuntu using S3FS
Segment the media for HTTP streaming and upload each segment and playlists using the S3 API and a script of your choice.
I'd go with 1 for a live stream.