0

I have more than 400 images on my account and

client = boto3.client('ec2', region)
images = client.describe_images()

Work too long, more than 10 minutes. How can I get just IDs of list Images one by one without tons of data?

Gulaev Valentin
  • 575
  • 1
  • 7
  • 19

1 Answers1

-1

One architecture pattern is on upload of an object store the meta data of the object in a noSQL database like DynamoDB, then it would be only one query to return all the information about your S3 objects.

Here is an AWS blog post about it

Image describing the process.

enter image description here

Here is a stackoverflow question, asking the same thing with other considerations.

strongjz
  • 4,271
  • 1
  • 17
  • 27