<p>On CloudTrail, select <strong>Event history</strong>, choose <strong>Event name</strong> from the first drop-down, and <strong>CreateSubnet</strong> from the second. Then fill in your timeframe.</p>
<p>If you don't have CloudTrail enabled, you will probably be out of luck, as I don't see a timestamp field available via the EC2 API.</p>
<p>References:</p>
<p><a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-create-a-trail-using-the-console-first-time.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-create-a-trail-using-the-console-first-time.html</a></p>
<p><a href="https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-subnets.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-subnets.html</a></p>

CC BY-SA 4.0
2020-07-21T16:13:13.397Z
2020-07-21T16:13:13.397Z
Woodland
<p>There's an unexpected subnet that isn't anywhere in my project I think it was created manually but I can't find when it was created to help descover what it is for and if it's still needed?</p>

<amazon-web-services>
How can I check when a subnet was created?
doug
# How can I check when a subnet was created?

(Asked by: username_0 on 2020-07-21)

There's an unexpected subnet that isn't anywhere in my project I think it was created manually but I can't find when it was created to help descover what it is for and if it's still needed?

**Tags:** amazon-web-services


---

## 1 answers

### Answer by username_1 on 2020-07-21. Score: 3 | Accepted answer

On CloudTrail, select **Event history**, choose **Event name** from the first drop-down, and **CreateSubnet** from the second. Then fill in your timeframe.

If you don't have CloudTrail enabled, you will probably be out of luck, as I don't see a timestamp field available via the EC2 API.

References:

<https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-create-a-trail-using-the-console-first-time.html>

<https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-subnets.html>


---

