• Monitoring techniques in AWS


    Monitoring techniques in AWS

    1. Amazon Cloud Watch
    2. Amazon Cloud Tail
    3. Amazon VPC flow log

    Why we need Monitoring

    Through the monitoring system we can learn :
    System running status
    Resource utilization
    Application performance
    Security situation
    Costs

    在这里插入图片描述

    Amazon CloudWatch
    https://ap-southeast-1.console.aws.amazon.com/cloudwatch/home?®ion=ap-southeast-1#home:

    1. Collect and track resource metrics
    2. Create alerts and send notifications
    3. Rules can be designed to trigger changes in resource capacity

    Main function:
    Standard: Metric
    Log: Log
    Alarm: Alarm
    Event: Event
    在这里插入图片描述
    在这里插入图片描述
    在这里插入图片描述
    在这里插入图片描述
    ![在这里插入图片描述](https://img-blog.csdnimg.cn/0ac465cce06648b79d521a46520ff158.png

    Amazon CloudTrail

    https://ap-southeast-1.console.aws.amazon.com/cloudtrail/home

    Amazon CloudTrail records all API calls in the account, And store the logs in the AmazonS3 bucket specified

    在这里插入图片描述

    Amazon CloudWatch vs CloudTrail

    |

    AWS CloudWatchAWS CloudTrail
    Focus on what’s happening on AWS resourcesFocus on what is being done on AWS and by whom
    A monitoring service for AWS resources and applicationsLog API activity in the AWS account
    Track metrics and monitor log files, set alerts for various eventsTracking actions to provide greater visibility into user activity
    Can log your applicationProvides information about what is happening in your AWS account
    Indicators are provided in one-minute intervals for detailed monitoring,The 5-minute interval is used for basic monitoringMonitoring is delivered within 15 minutes of the API call
    Store data in your own dashboard in the form of metrics and logsYou can centralize all logs across partitions or even across multiple accounts and store them in S3 buckets
    Free basic monitoring resources such as EC2 instance RDS are provided by defaultCreate an AWS account and work from there

    VPC Flow Log

    1. Capture traffic details in a VPC, including accepted, rejected, or all traffic
    2. Capture is available for VPC, subregion, and ENI
    3. Logs will be published to CloudWatch logs or S3
    4. No impact on performance

    Why use it
    5. Troubleshooting Connection Problems
    6. Tests network access rules
    7. Monitor the flow
    8. Detect and investigate security incidents
    在这里插入图片描述

  • 相关阅读:
    技术前沿|Spark 3.3.0 中 DS V2 Push-down 的重构与新特性
    计算机毕业设计(90)php小程序毕设作品之电影院售票小程序系统
    react钩子函数用法(useState、useEffect、useContext)
    Qt的对象树
    C++ Qt开发:字符串QString容器
    二叉搜索树
    Redis之主从复制
    缓存之缓存简介
    【Python】-- 字典的常用方法
    【附源码】计算机毕业设计java医院预约挂号管理系统设计与实现
  • 原文地址:https://blog.csdn.net/weixin_40426261/article/details/126343543