java - How to zip files in Amazon s3 Bucket and get its URL -
i have bunch of files inside amazon s3 bucket, want zip file , download contents via s3 url using java spring.
s3 not file server, nor offer operating system file services, such data manipulation.
if there many "huge" files, best bet
- start simple ec2 instance
- download files ec2 instance, compress them, reupload s3 bucket new object name
yes, can use aws lambda same things, lambda bound 300 seconds execution time.
traffics s3 local region ec2 instance , etc services free.
if purpose read file within same aws region using ec2/etc services, don't need step. read file.
Comments
Post a Comment