• 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
    在这里插入图片描述

  • 相关阅读:
    牛客小白月赛77
    小白学习 Python 时会遇到哪些很常见的问题?
    HTML网上书店静态HTML网页作业作品 大学生三联书店网页设计制作成品 简单DIV CSS布局网站
    有哪些快速翻译英文的软件推荐
    Linux 简介
    Redis哨兵机制.主库挂了,如何不间断服务
    中国大模型语料数据联盟迎来9家新成员,开源第二批语料数据
    vue 刷新当前页面的方式
    Quantlab整合Alpha158因子集,为机器学习大类资产配置策略做准备(代码+数据)
    cpu性能分析工具
  • 原文地址:https://blog.csdn.net/weixin_40426261/article/details/126343543