QuestionQ42

VerifiedNetwork Design

A real estate company is developing an internal application that lets real estate agents upload photos and videos of different properties. The application will store the photos and videos as objects in an Amazon S3 bucket and will store related metadata in Amazon DynamoDB. The S3 bucket will be configured to publish every PUT event for new object uploads to an Amazon Simple Queue Service (Amazon SQS) queue.

A compute cluster of Amazon EC2 instances will poll the SQS queue to learn about newly uploaded objects. The cluster will retrieve the new objects, perform proprietary image and video recognition and classification, update metadata in DynamoDB, and replace the objects with new watermarked objects. The company does not want the EC2 instances to have public IP addresses.

Which networking design solution will satisfy these requirements in the MOST cost-effective way as application usage grows?

Explanation

Amazon SQS requires an interface VPC endpoint for private connectivity from resources in a VPC. Amazon S3 and Amazon DynamoDB support gateway VPC endpoints, which provide private connectivity without an internet gateway or NAT device and have no additional charge. Using an interface endpoint for SQS plus gateway endpoints for S3 and DynamoDB keeps the EC2 instances private while avoiding NAT gateway costs and unnecessary billed interface endpoints as usage increases.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!