EC2 Start and Stop Policy for user

0

As I said Above, I want to create a policy which lets the tagged IAM user to stop and start any EC2 running instance in any region, is it possible

Rao G
preguntada hace 10 meses496 visualizaciones
1 Respuesta
1

You can use an identity-based policy to do that. Here is an example that only allows users who have their username as the Owner of the instance to start\stop instance. https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_examples_ec2_tag-owner.html

profile pictureAWS
EXPERTO
respondido hace 10 meses
profile picture
EXPERTO
revisado hace 10 meses
profile picture
EXPERTO
revisado hace 10 meses
profile pictureAWS
EXPERTO
kentrad
revisado hace 10 meses
  • "aws:ResourceTag/Owner": "${aws:username}"== I unable to understnad this line, rest all json i understood, please explain the above line indetail to me

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas