Correct S3 Bucket Architecture for Microservices

0

I am building a microservices web application. I want to know the correct S3 structure for storing my data. The web application will have a couple of unrelated microservices and will be used by thousands of users. I don't know if all data should be stored under one single bucket in the format: arn:aws:s3:::my-bucket/service-N/user-M/* or have a bucket for each microservice and a folder for each user: arn:aws:s3:::service-N-bucket/user-M/*. My intuition is to go for the second option since its more decoupled. Is there any best practice regarding this matter?

apssg
demandé il y a un an704 vues
1 réponse
1

Hi,

You could read Best practices design patterns: optimizing Amazon S3 performance before creating your structure additionally I could suggest you to read Organizing objects using prefixes, Performance Guidelines for Amazon S3 and Performance Design Patterns for Amazon S3.

Link - https://docs.aws.amazon.com/AmazonS3/latest/userguide/optimizing-performance.html

Link - https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html

Link - https://docs.aws.amazon.com/AmazonS3/latest/userguide/optimizing-performance-guidelines.html

Link - https://docs.aws.amazon.com/AmazonS3/latest/userguide/optimizing-performance-design-patterns.html

All those information will help you to define your prefix structure to save your data into s3.

AWS
Jorge
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions