2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Do you currently have an IAM role attached to your EC2 Instance? One possible issue is that your EC2 instance does NOT have permissions to write data to CloudWatch, which is one of the reasons that the Memory metric would be stuck in the Insufficient state. If you don't currently have a Role assign,
- Go to IAM and click on Roles.
- click on Create Role
- Select type of trusted entity 'AWS service, EC2, Lambda and others'
- For Choose the service that will use this role, click on 'EC2'
- Click on button Next: Permissions
- In Filter policies, enter 'CloudWatchFull'
- Click the checkmark box next to 'CloudWatchFullAccess'
- Click Next: Tags
- Click Next: Review
- In Role name, enter 'EC2_CloudWatch'
- Click on Create Role
- Go back to your EC2 Dashboard
- Select your Running Instance
- Select 'Actions->Instance Settings->Attach/Replace IAM Role'
- Select the newly created IAM role
- Hit Apply button
Hope this helps
Edited by: rtakeshi on Jul 31, 2019 11:26 AM - Removed the brackets which were causing formatting issues
répondu il y a 5 ans
0
Its name space issue, we have to exact name space which AWS provides. I changed name space, now its working fine
répondu il y a 4 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a 6 mois
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 8 mois
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an