Nageen
Nageen

Reputation: 1759

AWS S3 Bucket image download in batch using PHP SDK

I am using AWS S3 bucket for file storage and i have more than 10k QR code, i want to download all in my admin panel but problem is that when i download all those images my AWS instance (micro) CPU use 99.76% and system indicate that you can not download number of files. any one have idea about how to download number of images from AWS and what could be possible solution.

Upvotes: 1

Views: 257

Answers (1)

John Rotenstein
John Rotenstein

Reputation: 269141

You can use the AWS Command-Line Interface (CLI).

Install it on your computer, then use a command to download the files:

If you are running it on an Amazon EC2 instance, it will use credentials from the IAM Role that is assigned to the instance. If you are running the command on your on computer, use aws configure to save the credentials.

Upvotes: 0

Related Questions