Azure Media Services Transfer Encoded Files to Amazon S3 -
over @ https://docs.microsoft.com/en-us/azure/media-services/media-services-deliver-asset-download stated "you can send media content application or content provider."
so if "another content provider" includes amazon s3, need. basically, want upload file azure media services, have file encoded, , have resulting encoded files (plural) transferred (uploaded) s3 bucket.
the web page referenced earlier doesn't discuss option further (it discusses downloading files). furthermore, code sample seems use c# azure sdk , able use rest api only.
given scenario, transferring encoded output files azure s3 possible, , if so, how can done?
it's not first party feature in ams api @ time. output of azure media services encoding job set of files in container in azure storage. have full access storage account, storage api operations move file out of storage account supported.
there couple of recommendations make automating movement of content out of storage , on s3.
1) azure functions - write azure function triggered via webhook azure media services account. when job completes, azure function need asset id, storage account container url , http copy s3. problem route functions have 5 minute operational limit, time out on large file transfers. can around using function put work onto azure queue, , have pool (k8) of docker containers running in azure container waiting long-running transfers based on data in queue. more scalable , manageable long term.
2) use 1 of various open source projects on github capable of copying azure containers on s3.
3) (?) haven't tried 1 myself - have seen references using azure storage data movement library this, see examples of coming in s3, not going out. [edit - take 1 out! took , not support upload s3]
finally, know roadmap - working on adding support ingest directly s3 , upload s3 in our media services api. great feedback on requirements have upload s3 (what authentication need, restrictions, encryption support, etc.)
Comments
Post a Comment