+1 vote
in Amazon Elastic Compute Cloud EC2 by

Your organization has four instances for production and another four for testing. You are asked to set up a group of IAM users that can only access the four production instances and not the other four testing instances. How will you achieve this?

1 Answer

0 votes
by

We can achieve this by defining tags on the test and production instances and then adding a condition to the IAM policy that allows access to specific tags.

Related questions

0 votes
asked Dec 4, 2020 in Amazon Elastic Compute Cloud EC2 by sharadyadav1986
0 votes
asked Oct 13, 2022 in Google Cloud by AdilsonLima
...