AWS CloudWatch Tutorial - EC2 Application Monitoring using SSM, RUN Command and Parameter Store

Опубликовано: 07 Январь 2025
на канале: VK Seth - AWS Devops
3,540
85

In this video you will learn

How to Monitor application running inside EC2 using CloudWatch unified agent
How to Install Cloudwatch agent using SSM RUN command
How to create Json Document in SSM, create log group and configure metrics using SSM RUN command
How to Store Documents in Parameter store in System Manager or SSM
How do I add AWS CloudWatch to EC2 instance?
How do I update CloudWatch agent using SSM?
Install cloudwatch agent using SSM and creating document and store in parameter in SSM
How do I install CloudWatch

Just follow the steps given in the video. Do let me know in comments if you face any problem
============================
#aws
#awstutorial
#awstutorialforbeginners
#awstutorials
#vk seth
#cloudwatch
#ssm
#monitoring
#ec2
==========================
Learn
• EC2 Application Monitoring using SSM, RUN Command and Parameter Store

============================
00:00 - Introduction
01:20 - Creating AWS IAM ROLE
03:00 - Creating AWS EC2 Machine/Instance
07:00 - How to install package on EC2 Instance using SSM Run Command
09:40 - Creating Json Document to install cloudwatch configration
15:30 - CloudWatch Logs group
17:30 - Creating Cloudwatch Metrics, Alarms


======================================
Code

{
"logs": {
"logs_collected": {
"files": {
"collect_list": [
{
"log_group_name": "HttpAccessLog",
"file_path": "/var/log/httpd/access_log",
"log_stream_name": "{instance_id}",
"timestamp_format": "%b %d %H:%M:%S"
},
{
"log_group_name": "HttpErrorLog",
"file_path": "/var/log/httpd/error_log",
"log_stream_name": "{instance_id}",
"timestamp_format": "%b %d %H:%M:%S"
}
]
}
}
},
"metrics": {
"metrics_collected": {
"cpu": {
"measurement": [
"cpu_usage_idle",
"cpu_usage_iowait",
"cpu_usage_user",
"cpu_usage_system"
],
"metrics_collection_interval": 10,
"totalcpu": false
},
"disk": {
"measurement": [
"used_percent",
"inodes_free"
],
"metrics_collection_interval": 10,
"resources": [
"*"
]
},
"diskio": {
"measurement": [
"io_time"
],
"metrics_collection_interval": 10,
"resources": [
"*"
]
},
"mem": {
"measurement": [
"mem_used_percent"
],
"metrics_collection_interval": 10
},
"swap": {
"measurement": [
"swap_used_percent"
],
"metrics_collection_interval": 10
}
}
}
}

=====

THINGS YOU NEED TO KNOW

Most Recent Video -    • Python Boto3 - Get AWS EC2 Volume Det...  
Most Trending Video -    • AWS CLI for beginners in hindi | aws ...  

============================================
Playlists

Terraform playlist -    • Terraform Tutorial for beginner  

Python-boto3-AWS playlist -    • Python-Boto3-AWS  

Docker playlist -    • Docker Playlist for Beginners: Your U...  

AWS-EC2 playlist -    • AWS-EC2  

AWS Tutorial playlist -    • AWS Tutorial for Beginner  

Devops with AWS Playlist -    • Devops Tutorial  

AWS IAM Playlist -    • AWS IAM Policy  

AWS-Lambda Playlist -    • AWS-Lambda  

Python playlist -    • Python  

Git playlist -    • Git Tutorial  

===============================================

Thanks for watching!
If you like my content, please subscribe.

============================================


WHO AMI I : I am Vicky Seth, a DEVOPS—AWS—CLOUD Engineer, I use my technical background to make videos about technology that help you to grow.
Email - [email protected]