Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bjw4
· 2y ago · 0 comments
Any tips on how to do the same for EC2 instances? Am aware of one that’s allegedly joined to our domain but can’t find it in any owned accounts
Comments
[–]
vegardx
2y ago
If you're lucky and it has a instance profile attached with appropriate role/policy attached you can use get caller identity to see what account it's running in:
https://docs.aws.amazon.com/cli/latest/reference/sts/get-cal...