功能简述
在日常对ECS的运维过程中,会有需要排查ECS出现问题前后都做了哪些操作的需求,一点点的蛛丝马迹都有可能对排查的问题带来帮助。实例的操作审计功能,就是希望从ECS实例为入口,对实例及其关联资源的所有操作进行操作审计,并且对操作记录的影响等级进行标注,让那些可能带来重大影响的操作,从众多操作记录中被高亮出来,帮助运维者排查问题。
功能介绍
- 进入控制台后点击实例ID进入实例详情:
- 点击本实例操作记录:
- 默认会列出最近7天,实例及其相关资源所有的操作记录。可以按变更范围和影响等级进一步筛查出关心的记录。
影响范围和影响等级的定义
每个操作记录根据对实例影响的不同,分为3个影响等级分别为高(红)、中(黄)、低(灰)。
配置:
高:
- ModifyInstanceSpec
- ModifyPrepayInstanceSpec
- ModifyInstanceNetworkSpec
中: - RedeployInstance
- InstallCloudAssistant
- InvokeCommand
- StopInvocation
- RunCommand
低: - CancelSimulatedSystemEvents
- CreateSimulatedSystemEvents
- DescribeCloudAssistantStatus
- DescribeCloudAssistantStatus
- DescribeInvocationResults
状态:
高:
- RebootInstance
- StopInstance
- DeleteInstances
- DeleteInstance
中: - StartInstance
低: - RunInstances
- CreateInstance
- DescribeInstanceStatus
- RenewInstance
- ReactivateInstances
属性:
高:
- ModifyInstanceAttribute
- ModifyInstanceAutoReleaseTime
- ModifyInstanceChargeType
中: - AttachInstanceRamRole
- DetachInstanceRamRole
- ModifyInstanceAutoRenewAttribute
- ConvertNatPublicIpToEip
- DetachClassicLinkVpc
- ModifyInstanceVpcAttribute
低: - DescribeInstances
- DescribeInstanceVncUrl
- DescribeUserData
- DescribeInstanceAutoRenewAttribute
- DescribeInstanceRamRole
- DescribeSpotPriceHistory
- DescribeInstanceTypeFamilies
- DescribeInstanceTypes
- ModifyInstanceVncPasswd
- AllocatePublicIpAddress
- AttachClassicLinkVpc
- DescribeBandwidthLimitation
- DescribeClassicLinkInstances
- DescribeEniMonitorData
- DescribeInstanceMonitorData
- GetInstanceScreenshot
- GetInstanceConsoleOutput
安全组类事件影响等级定义:
高
- AuthorizeSecurityGroup
- RevokeSecurityGroup
- JoinSecurityGroup
- LeaveSecurityGroup
- ModifySecurityGroupPolicy
中 - AuthorizeSecurityGroupEgress
- RevokeSecurityGroupEgress
- ModifySecurityGroupEgressRule
2级 - CreateSecurityGroup
- DeleteSecurityGroup
- DescribeSecurityGroupAttribute
- DescribeSecurityGroups
- DescribeSecurityGroupReferences
- ModifySecurityGroupAttribute
- ModifySecurityGroupRule
磁盘类事件影响等级定义:
高
- DeleteDisk
- DetachDisk
- ReplaceSystemDisk
- ReInitDisk
- ResetDisk
- ModifyDiskSpec
中 - AttachDisk
- ModifyDiskChargeType
- ModifyDiskAttribute
- ResizeDisk
低 - CreateDisk
- DescribeDisks
- DescribeDiskMonitorData
弹性网卡类事件影响等级定义:
高
- UnassignPrivateIpAddresses
- DetachNetworkInterface
- ModifyNetworkInterfaceAttribute
中 - AttachNetworkInterface
- AssignPrivateIpAddresses
- DeleteNetworkInterface
- AssignIpv6Addresses
- UnassignIpv6Addresses
低 - CreateNetworkInterface
- DescribeNetworkInterfaces