1 Answers
0
Hello,
To start an EC2 instance, the only Action I see that you're missing is ec2:StartInstances
.
In regards to minimum permissions for starting an instance, I would recommend allowing:
ec2:StartInstances
ec2:DescribeInstances
You may also want to grant ec2:StopInstances
if you want to allow a user to also stop the instance.
You could also limit the scope to only the user who created the instance or instances that match a specific tag. See here for additional documentation on that: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_examples_ec2_tag-owner.html
Relevant questions
EC2 instance failure, wont start
Accepted Answerasked 7 months agoIAM role needed to assign a security group to a running EC2 instance
asked 2 months agoConnect to the database in an EC2 instance from the ECS cluster
asked 8 hours agoIf we provision an EC2 windows Instance, will it includes the windows license by default? what are the licensing types available from AWS
Accepted Answerasked 4 months agoAWS cloudshell fails to start!Unable to start the environment. To retry, refresh the browser or restart by selecting Actions, Restart AWS CloudShell.
asked 7 months agoWhat is the minimum interaction per item needed for Amazon Personalize SIMS recipe?
Accepted AnswerWhat is the most effective way to automate the EC2 instance run Python script with a specific argument value?
asked a month agowhat credentials are needed for using only role when reading logs from aws cloudwatch
asked 8 months agoWhat are the minimum permission needed to start an EC2 instance
asked a month agoNot authorized to start new instances
Accepted Answerasked 3 years ago