Segregation for mutually-exclusive systems/environments

0

One thing that bothered me right from the beginning learning about X-Ray is no native construct to define segregated whole systems and environments. An AWS account can be used to host multiple non-related or mutually-exclusive entire systems, and other services like VPC, EC2, S3, etc provide the necessary "fencing" features to keep them cleanly apart and secure.

X-Ray on the other hand, seems to just want to collect traces from all sources and dump everything into a single "bucket". Even if we define highly elaborate annotation protocols to clearly differentiate the systems/environments, what's to stop a team from looking at another team's traces and possibly sensitive data?

icelava
질문됨 3년 전190회 조회
4개 답변
0

Hi icelava,

AWS strongly recommends the usage of separate accounts for systems that are unrelated, especially if users of one system should not have visibility into another because of data sensitivity. See this article for a more in-depth explanation of multi-account architectures: https://aws.amazon.com/organizations/getting-started/best-practices/

One alternative that you alluded to for viewing different collections of traces separately within the same account is X-Ray Groups: https://docs.aws.amazon.com/xray/latest/devguide/xray-console-groups.html

Using X-Ray groups, you can pre-define a filter expression to view the service map and trace list for only traces with a certain attribute, like an annotation or segment name. This way as long as all of your subsystems are sending data to the same account with some distinguishing attribute, each team can have a Group that filters only for the traces of their subsystem/environment. As you pointed out though, this does NOT prevent teams from potentially seeing each other's groups, so if data sensitivity is a major concern then multi-account architecture is the best approach.

AWS
답변함 2년 전
0

I don't know; when one looks at the highly elaborate and flexible feature set of IAM policies and permissions in conjunction with other AWS services, a one-size-fits-all X-Ray service really appears like a product that was rushed to market.

Does it make sense to state anybody with access to an AWS account should be able to read/write to all S3 buckets and files?

Edited by: icelava on Nov 10, 2021 4:46 AM

icelava
답변함 2년 전
0

Hi icelava,

Thank you for the feedback, we understand the current architecture of X-Ray has limitations around fine-grained control for accessing data and the workarounds I described are not sufficient for cases involving sensitive data. I will file a formal feature request for this use case so our product team has it in on their radar, and update this issue if it is on our roadmap.

AWS
답변함 2년 전
0

"Wait for roadmap"

icelava
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠