You can release resources that you no longer need to save costs. If you release a resource, an event is generated. This topic provides the log of a sample event in which a resource was released. This topic also describes the key fields involved in the event log.

Note If you release a resource in the Alibaba Cloud Management Console or by calling an API operation, the generated event may have the same name as the relevant API operation. For example, if you release an instance by calling the DeleteInstances operation or in the Alibaba Cloud Management Console, a DeleteInstances event is generated. In most cases, if a subscription or pay-as-you-go resource is automatically released, an event named Release is generated.
The following sample event log shows that the Elastic Compute Service (ECS) instance with the ID of i-bp67acfmxazb4p**** is automatically released at 12:06:36 on August 2, 2021, UTC+8.
{
  "requestId": "2546c4b7-6b56-403e-97d3-500d8d29339a",
  "eventType": "AliyunServiceEvent",
  "userIdentity": {
    "type": "system",
    "userName": "ecs.aliyuncs.com"
  },
  "acsRegion": "cn-hangzhou",
  "eventName": "Release",
  "requestParameters": {
    "RegionId": "cn-hangzhou-dg-a01"
  },
  "eventSource": "ecs.aliyuncs.com",
  "serviceName": "Ecs",
  "eventTime": "2021-08-02T04:06:36Z",
  "referencedResources": {
    "ACS::ECS::Instance": [
     "i-bp67acfmxazb4p****"
    ]
  },
  "userAgent": "ecs.aliyuncs.com",
  "eventId": "2546c4b7-6b56-403e-97d3-500d8d29****",
  "additionalEventData": [],
  "errorCode": "",
  "errorMessage": "",
  "eventVersion": "1",
  "sourceIpAddress": "Internal"
}

The sample event log contains the following key fields:

  • userIdentity.type: the identity type of the requester. The value in this example is system, which indicates that an Alibaba Cloud service initiated the operation to release the ECS instance.
  • eventName: the name of the event. The value in this example is Release, which indicates that a resource was released.
  • referencedResources: the released resources. The value in this example is {"ACS::ECS::Instance": ["i-bp67acfmxazb4p****"]}. i-bp67acfmxazb4p**** indicates the ID of the ECS instance.
  • eventTime: the time when the event was generated in UTC. The value in this example is 2021-08-02T04:06:36Z, which indicates that the event was generated at 12:06:36 on August 2, 2021, UTC+8.