Add S3, GCS, and B2 regional storage endpoints

Remove DigitalOcean. Add B2, 7 S3 endpoints across all continents
(Cape Town, London, Bahrain, Tokyo, Sydney, Oregon, São Paulo), and
4 GCS locational endpoints (Iowa, Belgium, Singapore, Sydney) for
cross-provider latency comparison.
This commit is contained in:
Jeffrey Paul 2026-02-23 00:35:07 +07:00
parent 14764a79ad
commit 94169b8d65
2 changed files with 50 additions and 3 deletions

View File

@ -51,8 +51,10 @@ code lives in `src/main.js` with a class-based architecture:
### Monitoring targets
- **11 WAN hosts**: datavi.be, Anthropic API, OpenAI API, AWS, GCP, Azure,
DigitalOcean, Cloudflare, Fastly, Akamai, GitHub
- **22 WAN hosts**: datavi.be, Anthropic API, OpenAI API, AWS Console, GCP
Console, Azure, Cloudflare, Fastly, Akamai, GitHub, B2, 7 S3 regional
endpoints (Cape Town, London, Bahrain, Tokyo, Sydney, Oregon, São Paulo), 4
GCS locational endpoints (Iowa, Belgium, Singapore, Sydney)
- **Local CPE**: Cable modem at 192.168.100.1 (always monitored)
- **Local Gateway**: Auto-detected on startup by probing common default gateway
addresses (192.168.1.1, 192.168.0.1, 192.168.8.1, 10.0.0.1); first responder

View File

@ -31,11 +31,56 @@ const WAN_HOSTS = [
{ name: "AWS Console", url: "https://console.aws.amazon.com" },
{ name: "Google Cloud Console", url: "https://console.cloud.google.com" },
{ name: "Microsoft Azure", url: "https://portal.azure.com" },
{ name: "DigitalOcean", url: "https://www.digitalocean.com" },
{ name: "Cloudflare", url: "https://www.cloudflare.com" },
{ name: "Fastly CDN", url: "https://www.fastly.com" },
{ name: "Akamai", url: "https://www.akamai.com" },
{ name: "GitHub", url: "https://github.com" },
{ name: "B2", url: "https://api.backblazeb2.com" },
{
name: "S3 af-south-1 Cape Town (Africa)",
url: "https://s3.af-south-1.amazonaws.com",
},
{
name: "S3 eu-west-2 London (Europe)",
url: "https://s3.eu-west-2.amazonaws.com",
},
{
name: "S3 me-south-1 Bahrain (Middle East)",
url: "https://s3.me-south-1.amazonaws.com",
},
{
name: "S3 ap-northeast-1 Tokyo (Asia)",
url: "https://s3.ap-northeast-1.amazonaws.com",
},
{
name: "S3 ap-southeast-2 Sydney (Oceania)",
url: "https://s3.ap-southeast-2.amazonaws.com",
},
{
name: "S3 us-west-2 Oregon (North America)",
url: "https://s3.us-west-2.amazonaws.com",
},
{
name: "S3 sa-east-1 São Paulo (South America)",
url: "https://s3.sa-east-1.amazonaws.com",
},
// GCS locational endpoints — compare GCP routing vs AWS per-continent
{
name: "GCS us-central1 Iowa (North America)",
url: "https://storage.us-central1.rep.googleapis.com",
},
{
name: "GCS europe-west1 Belgium (Europe)",
url: "https://storage.europe-west1.rep.googleapis.com",
},
{
name: "GCS asia-southeast1 Singapore (Asia)",
url: "https://storage.asia-southeast1.rep.googleapis.com",
},
{
name: "GCS australia-southeast1 Sydney (Oceania)",
url: "https://storage.australia-southeast1.rep.googleapis.com",
},
];
// The cable modem / CPE upstream of the local gateway — always monitored.