1 Answer
- Newest
- Most votes
- Most comments
2
Please refer this re:Post article
It has step by step guide to achieve the ask here, you can omit the maintenance window part from this doc in your implementation.
If the answer is helpful, please click "Accept Answer" and upvote it.
Relevant content
- Accepted Answerasked 10 months ago
- asked 9 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
Awesome, works like a charm
What do you suggest for this part "Resource": "Instance ARN 1", "Instance ARN 2"; if we have multiple instances, can I just leave it as *?
If there is a pattern common in EC2 instance arn, then you can use that pattern instead of specifying each instance arn. Also ”*” is not recommended as it opens up for all the ec2 instances in the account. If this account is for personal use then "*" is fine as well. Since, instance arn(arn:aws:ec2:<REGION>:<ACCOUNT_ID>:instance/<instance-id>) contains EC2 Instance ids and there is not control on EC2 Instance ID, so either use "*" or each instance id. Hope it helps.