From 8d195df6f7955627c64f48d41caea60061a5c2c8 Mon Sep 17 00:00:00 2001 From: Yoshiyuki Mineo Date: Thu, 1 May 2025 19:25:49 +0900 Subject: [PATCH] Fix a missing link (#65) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0e6cdab..7a3732e 100644 --- a/README.md +++ b/README.md @@ -83,8 +83,8 @@ the function AmazonEC2MachineID that returns the lower 16-bit private IP address It also works correctly on Docker by retrieving [instance metadata](http://docs.aws.amazon.com/en_us/AWSEC2/latest/UserGuide/ec2-instance-metadata.html). -[AWS VPC](http://docs.aws.amazon.com/en_us/AmazonVPC/latest/UserGuide/VPC_Subnets.html) -is assigned a single CIDR with a netmask between /28 and /16. +[AWS IPv4 VPC](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-cidr-blocks.html) +is usually assigned a single CIDR with a netmask between /28 and /16. So if each EC2 instance has a unique private IP address in AWS VPC, the lower 16 bits of the address is also unique. In this common case, you can use AmazonEC2MachineID as Settings.MachineID.