Very informative video, What if there are 100 ec2 instances and i want ec2 instances with specific tags data.. Do we need to install cloud watch agent in all ec2 instances
Hello , If I have already created a instance before and now I want monitor this metrics then ? Can I directly add usr data script and attach the iam role to existing instance will it work? If yes then do I need to reboot or restart that instance?
The init script will only work when the instance is created. If you already have an instance, please run the same scripts as the linux commands one by one and give it a try.
error to connect the instance. The instance does not have a public IPv4 address To connect using the EC2 Instance Connect browser-based client, the instance must have a public IPv4 address.
I am unable to run the CW agent on my ubuntu server using this command, "sudo /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -a fetch-config -m ec2 -c ssm:/alarm/AWS-CWAgentLinConfig -s". I followed every steps carefully. The permissions are right. The naming format is right. I did perform this earlier in my linux machine. No problem with that but when I try to start the CW agent in my ubuntu server, I am getting the below error, "E! Fail to fetch/remove json config: ParameterNotFound:" Seems like it is not able to read the policy stored in parameter store. Please help. I am in middle of something right now.
Are you available for a live debugging session? If so please book a slot here: topmate.io/a_monk_in_cloud It is impossible to just say what could have cause the issue.
Thanks a lot! Got up and running in no time. You saved me a lot of time!
Thank you 🙏
Keep supporting
Clearly explained and straight to point. Well done!
Glad that you enjoyed 🥳
Simple explanation.. easy to understand.. thank you for detailing each.. everyone will find easy to understand..😊
Thank you 🙏
Keep supporting
Good informative video
Glad that it helped
Thanks for your effort. This video is very informative. thanks
Glad that it helped you
Very informative video, What if there are 100 ec2 instances and i want ec2 instances with specific tags data.. Do we need to install cloud watch agent in all ec2 instances
Yes Cloud Watch agent is a must
How can we automate it
Excellent video
Thank you
Keep supporting
Fantastic Video! Please keep making more!!
Thank you. Keep supporting
Awesome explained 🎉
Glad that it helped you 😁
very helpfull
Thank you 🙏
Nice video.. Please do the same for EC2 Windows server.
Thank you 🙏
Do you have a video for Windows?
I haven’t made a video for Windows
Hello ,
If I have already created a instance before and now I want monitor this metrics then ?
Can I directly add usr data script and attach the iam role to existing instance will it work?
If yes then do I need to reboot or restart that instance?
The init script will only work when the instance is created. If you already have an instance, please run the same scripts as the linux commands one by one and give it a try.
Ok thanks
One more question is like...from where you have taken the reference for the metric measurement in config file
@@amankumarpatel1281 did it work?
@@SouravDas-cy6hk yes It is working as expected in manually way!
What happens when the alarm is triggered if I don't add any alarm actions? Can you please clarify it?
It will be in alarm state thats all
Alarm is not getting triggered only once , not on the set frequency.
Please check all the configuration
Can anyone explain how much it cost for 1 instance monthly ?
Check the pricing calculator of aws once
your code and everything is working for Linux Instance but for Ubuntu it didn't work what to do?
The json file for the Ubuntu instance type would be different. Please check the AWS Official documentation
error to connect the instance.
The instance does not have a public IPv4 address
To connect using the EC2 Instance Connect browser-based client, the instance must have a public IPv4 address.
you might have created ec2 as a private one try to change it
can you help me how can i do this in windows server?
Sure
@@amonkincloud please assist me, whenever you are free:)
How we can do this on a Windows Instance, could you please help
The process remains the same. But the configs changes
Hello sir, I want to join your classes. Please drop your mail id.
Thank you 🙏
Email address: amonkincloud at gmail dot com
I am unable to run the CW agent on my ubuntu server using this command,
"sudo /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -a fetch-config -m ec2 -c ssm:/alarm/AWS-CWAgentLinConfig -s".
I followed every steps carefully. The permissions are right. The naming format is right. I did perform this earlier in my linux machine. No problem with that but when I try to start the CW agent in my ubuntu server, I am getting the below error,
"E! Fail to fetch/remove json config: ParameterNotFound:"
Seems like it is not able to read the policy stored in parameter store. Please help. I am in middle of something right now.
Are you available for a live debugging session? If so please book a slot here: topmate.io/a_monk_in_cloud
It is impossible to just say what could have cause the issue.
@@amonkincloud Identified the problem. Well I created the parameter store in another region 😂
@sarvagyamaithani2093 happens 😅
@@amonkincloud what if I want to monitor disk read io & write io. Can I add it in my policy under the "measurement" token ?