Skip to content

Open-source status page, incident response and uptime monitoring

deprecate fly regions ๐Ÿ˜ญ (#1402)

Thibault Le Ouaye6a0d9ae5494
diff --git a/apps/dashboard/src/components/dialogs/export-code.tsx b/apps/dashboard/src/components/dialogs/export-code.tsx
index 8287d4095..1c28d6a85 100644
--- a/apps/dashboard/src/components/dialogs/export-code.tsx
+++ b/apps/dashboard/src/components/dialogs/export-code.tsx
@@ -19,7 +19,7 @@ const YML = `openstatus-marketing:
active: true
public: false
frequency: "10m"
- regions: ["ams", "fra", "gru", "hkg", "iad"]
+ regions: ["ams", "fra", "gru", "sin", "iad"]
kind: "http"
request:
url: https://api.openstatus.dev
diff --git a/apps/dashboard/src/components/forms/monitor/form-scheduling-regions.tsx b/apps/dashboard/src/components/forms/monitor/form-scheduling-regions.tsx
index ad0578616..0bd85d7f5 100644
--- a/apps/dashboard/src/components/forms/monitor/form-scheduling-regions.tsx
+++ b/apps/dashboard/src/components/forms/monitor/form-scheduling-regions.tsx
@@ -36,6 +36,12 @@ import { z } from "zod";
import { IconCloudProviderTooltip } from "@/components/common/icon-cloud-provider";
import { Note, NoteButton } from "@/components/common/note";
import { UpgradeDialog } from "@/components/dialogs/upgrade";
+import {
+ Tooltip,
+ TooltipContent,
+ TooltipProvider,
+ TooltipTrigger,
+} from "@/components/ui/tooltip";
import { useTRPC } from "@/lib/trpc/client";
import { formatRegionCode, groupByContinent } from "@openstatus/utils";
import { useQuery } from "@tanstack/react-query";
@@ -265,6 +271,7 @@ export function FormSchedulingRegions({
: !allowedRegions.includes(
region.code,
) || isMaxed;
+ const deprecated = region.deprecated;
return (
<FormItem
key={region.code}
@@ -273,12 +280,11 @@ export function FormSchedulingRegions({
<Checkbox
id={region.code}
checked={checked || false}
- disabled={disabled}
+ disabled={
+ disabled ||
+ (deprecated && !checked)
+ }
onCheckedChange={(checked) => {
- console.log(
- checked,
- field.value,
- );
if (checked) {
field.onChange([
...field.value,
@@ -293,22 +299,65 @@ export function FormSchedulingRegions({
}
}}
/>
- <FormLabel
- htmlFor={region.code}
- className="w-full truncate font-mono font-normal text-sm"
- >
- <span className="text-nowrap">
- {formatRegionCode(region.code)}{" "}
- {region.flag}
- </span>
- <span className="truncate font-normal text-muted-foreground text-xs leading-[inherit]">
- {region.location}
- </span>
- <IconCloudProviderTooltip
- provider={region.provider}
- className="size-3"
- />
- </FormLabel>
+ {deprecated ? (
+ <TooltipProvider>
+ <Tooltip>
+ <TooltipTrigger
+ disabled={!deprecated}
+ asChild
+ >
+ <FormLabel
+ htmlFor={region.code}
+ className={cn(
+ "w-full truncate font-mono font-normal text-sm",
+ )}
+ >
+ <span className="text-nowrap text-destructive">
+ {formatRegionCode(
+ region.code,
+ )}{" "}
+ {region.flag}
+ </span>
+ <span className="truncate font-normal text-xs leading-[inherit] line-through decoration-foreground/70">
+ {region.location}
+ </span>
+ <IconCloudProviderTooltip
+ provider={
+ region.provider
+ }
+ className="size-3"
+ />
+ </FormLabel>
+ </TooltipTrigger>
+ <TooltipContent>
+ <p>
+ This region is deprecated
+ and will be removed in the
+ future.
+ </p>
+ </TooltipContent>
+ </Tooltip>
+ </TooltipProvider>
+ ) : (
+ <FormLabel
+ htmlFor={region.code}
+ className="w-full truncate font-mono font-normal text-sm"
+ >
+ <span className="text-nowrap">
+ {formatRegionCode(
+ region.code,
+ )}{" "}
+ {region.flag}
+ </span>
+ <span className="truncate font-normal text-muted-foreground text-xs leading-[inherit]">
+ {region.location}
+ </span>
+ <IconCloudProviderTooltip
+ provider={region.provider}
+ className="size-3"
+ />
+ </FormLabel>
+ )}
</FormItem>
);
}}
@@ -325,6 +374,21 @@ export function FormSchedulingRegions({
</FormItem>
)}
/>
+ <Note color="info">
+ <Info />
+ <div>
+ Unfortunately,{" "}
+ <span className="font-medium text-destructive">
+ red regions are deprecated
+ </span>{" "}
+ and will be removed in the future. We are routing traffic to the
+ nearest regions. To compensate for the loss, we have added{" "}
+ <span className="font-medium">
+ new regions from Koyeb and Railway
+ </span>
+ .
+ </div>
+ </Note>
</FormCardContent>
<FormCardFooter>
<FormCardFooterInfo>
diff --git a/apps/web/src/app/api/checker/cron/_cron.ts b/apps/web/src/app/api/checker/cron/_cron.ts
index ace1db796..f4723fffa 100644
--- a/apps/web/src/app/api/checker/cron/_cron.ts
+++ b/apps/web/src/app/api/checker/cron/_cron.ts
@@ -112,6 +112,19 @@ export const cron = async ({
for (const region of row.regions) {
const status =
monitorStatus.data.find((m) => region === m.region)?.status || "active";
+
+ const r = regionDict[region as keyof typeof regionDict];
+
+ if (!r) {
+ console.error(`Invalid region ${region}`);
+ continue;
+ }
+ if (r.deprecated) {
+ // Let's uncomment this when we are ready to remove deprecated regions
+ // We should not use deprecated regions anymore
+ // console.error(`Deprecated region ${region}`);
+ // continue;
+ }
const response = createCronTask({
row,
timestamp,
diff --git a/packages/db/script/region-migration.test.ts b/packages/db/script/region-migration.test.ts
new file mode 100644
index 000000000..722389cd1
--- /dev/null
+++ b/packages/db/script/region-migration.test.ts
@@ -0,0 +1,213 @@
+import { beforeEach, describe, expect, test } from "bun:test";
+import type { z } from "zod";
+import type { monitorRegionSchema } from "../src/schema/constants";
+import { updateRegion } from "./region-migration";
+
+// Import the types we need
+
+describe("updateRegion", () => {
+ let regions: z.infer<typeof monitorRegionSchema>[];
+
+ beforeEach(() => {
+ // Reset regions array before each test
+ regions = ["ams", "hkg", "fra", "lax"];
+ });
+
+ describe("when old region exists in array", () => {
+ test("should replace old region with 'sin' when new region does not exist in array", () => {
+ updateRegion("hkg", "sin", regions);
+
+ expect(regions).toEqual(["ams", "sin", "fra", "lax"]);
+ expect(regions).toHaveLength(4);
+ });
+
+ test("should remove old region when new region already exists in array", () => {
+ updateRegion("hkg", "ams", regions);
+
+ expect(regions).toEqual(["ams", "fra", "lax"]);
+ expect(regions).toHaveLength(3);
+ });
+
+ test("should handle replacing first element", () => {
+ updateRegion("ams", "sin", regions);
+
+ expect(regions).toEqual(["sin", "hkg", "fra", "lax"]);
+ });
+
+ test("should handle replacing last element", () => {
+ updateRegion("lax", "sin", regions);
+
+ expect(regions).toEqual(["ams", "hkg", "fra", "sin"]);
+ });
+
+ test("should handle case where old and new region are the same", () => {
+ updateRegion("hkg", "hkg", regions);
+
+ // Since hkg exists, it should be removed (newRegionIndex !== -1)
+ expect(regions).toEqual(["ams", "fra", "lax"]);
+ expect(regions).toHaveLength(3);
+ });
+ });
+
+ describe("when old region does not exist in array", () => {
+ test("should not modify the array when old region is not found", () => {
+ const originalRegions = [...regions];
+ updateRegion("sin", "syd", regions);
+
+ expect(regions).toEqual(originalRegions);
+ expect(regions).toHaveLength(4);
+ });
+ });
+
+ describe("edge cases", () => {
+ test("should handle empty regions array", () => {
+ const emptyRegions: z.infer<typeof monitorRegionSchema>[] = [];
+ updateRegion("hkg", "sin", emptyRegions);
+
+ expect(emptyRegions).toEqual([]);
+ expect(emptyRegions).toHaveLength(0);
+ });
+
+ test("should handle single element array - replace scenario", () => {
+ const singleRegion: z.infer<typeof monitorRegionSchema>[] = ["hkg"];
+ updateRegion("hkg", "sin", singleRegion);
+
+ expect(singleRegion).toEqual(["sin"]);
+ });
+
+ test("should handle single element array - remove scenario", () => {
+ const singleRegion: z.infer<typeof monitorRegionSchema>[] = ["hkg"];
+ updateRegion("hkg", "hkg", singleRegion);
+
+ expect(singleRegion).toEqual([]);
+ });
+
+ test("should handle array with duplicate regions", () => {
+ const duplicateRegions: z.infer<typeof monitorRegionSchema>[] = [
+ "ams",
+ "hkg",
+ "ams",
+ "fra",
+ ];
+ updateRegion("hkg", "sin", duplicateRegions);
+
+ // Should only replace the first occurrence of hkg
+ expect(duplicateRegions).toEqual(["ams", "sin", "ams", "fra"]);
+ });
+
+ test("should handle multiple occurrences of old region", () => {
+ const multipleOldRegions: z.infer<typeof monitorRegionSchema>[] = [
+ "hkg",
+ "ams",
+ "hkg",
+ "fra",
+ ];
+ updateRegion("hkg", "sin", multipleOldRegions);
+
+ // Should only replace the first occurrence
+ expect(multipleOldRegions).toEqual(["sin", "ams", "hkg", "fra"]);
+ });
+
+ describe("function mutates original array", () => {
+ test("should modify the original regions array reference", () => {
+ const originalReference = regions;
+ updateRegion("hkg", "sin", regions);
+
+ // Should be the same reference (mutated)
+ expect(regions).toBe(originalReference);
+ expect(regions).toEqual(["ams", "sin", "fra", "lax"]);
+ });
+ });
+
+ describe("full migrations", () => {
+ test("should modify the original regions array reference", () => {
+ const newRegions = [
+ "ams",
+ "arn",
+ "atl",
+ "bog",
+ "bom",
+ "bos",
+ "cdg",
+ "den",
+ "dfw",
+ "ewr",
+ "eze",
+ "fra",
+ "gdl",
+ "gig",
+ "gru",
+ "hkg",
+ "iad",
+ "jnb",
+ "lax",
+ "lhr",
+ "mad",
+ "mia",
+ "nrt",
+ "ord",
+ "otp",
+ "phx",
+ "qro",
+ "sin",
+ "scl",
+ "sjc",
+ "sea",
+ "sin",
+ "syd",
+ "waw",
+ "yul",
+ "yyz",
+ ] as z.infer<typeof monitorRegionSchema>[];
+ // Asia Pacific
+ updateRegion("hkg", "sin", newRegions);
+
+ // North America
+ updateRegion("atl", "dfw", newRegions);
+ updateRegion("mia", "dfw", newRegions);
+ updateRegion("gdl", "dfw", newRegions);
+ updateRegion("qro", "dfw", newRegions);
+ updateRegion("bos", "ewr", newRegions);
+ updateRegion("phx", "lax", newRegions);
+ updateRegion("sea", "sjc", newRegions);
+ updateRegion("yul", "yyz", newRegions);
+
+ // Europe
+ updateRegion("waw", "ams", newRegions);
+ updateRegion("mad", "cdg", newRegions);
+ updateRegion("otp", "fra", newRegions);
+
+ // South America
+ updateRegion("bog", "gru", newRegions);
+ updateRegion("gig", "gru", newRegions);
+ updateRegion("scl", "gru", newRegions);
+ updateRegion("eze", "gru", newRegions);
+
+ // Should be the same reference (mutated)
+
+ expect(newRegions).toEqual([
+ "ams",
+ "arn",
+ "bom",
+ "cdg",
+ "den",
+ "dfw",
+ "ewr",
+ "fra",
+ "gru",
+ "iad",
+ "jnb",
+ "lax",
+ "lhr",
+ "nrt",
+ "ord",
+ "sin",
+ "sjc",
+ "sin",
+ "syd",
+ "yyz",
+ ]);
+ });
+ });
+ });
+});
diff --git a/packages/db/script/region-migration.ts b/packages/db/script/region-migration.ts
new file mode 100644
index 000000000..ea5e40c5d
--- /dev/null
+++ b/packages/db/script/region-migration.ts
@@ -0,0 +1,59 @@
+import { z } from "zod";
+import { db, eq, schema } from "../src";
+import { selectMonitorSchema } from "../src/schema";
+import type { monitorRegionSchema } from "../src/schema/constants";
+
+const rawMonitors = await db.select().from(schema.monitor);
+
+const monitors = z.array(selectMonitorSchema).parse(rawMonitors);
+for (const monitor of monitors) {
+ const regions = monitor.regions.slice();
+
+ // Asia Pacific
+ updateRegion("hkg", "sin", regions);
+
+ // North America
+ updateRegion("atl", "dfw", regions);
+ updateRegion("mia", "dfw", regions);
+ updateRegion("gdl", "dfw", regions);
+ updateRegion("qro", "dfw", regions);
+ updateRegion("bos", "ewr", regions);
+ updateRegion("phx", "lax", regions);
+ updateRegion("sea", "sjc", regions);
+ updateRegion("yul", "yyz", regions);
+
+ // Europe
+ updateRegion("waw", "ams", regions);
+ updateRegion("mad", "cdg", regions);
+ updateRegion("otp", "fra", regions);
+
+ // South America
+ updateRegion("bog", "gru", regions);
+ updateRegion("gig", "gru", regions);
+ updateRegion("scl", "gru", regions);
+ updateRegion("eze", "gru", regions);
+
+ const newRegions = regions.join(",");
+ await db
+ .update(schema.monitor)
+ .set({ regions: newRegions })
+ .where(eq(schema.monitor.id, monitor.id))
+ .execute();
+}
+
+export function updateRegion(
+ oldRegion: z.infer<typeof monitorRegionSchema>,
+ newRegion: z.infer<typeof monitorRegionSchema>,
+ regions: z.infer<typeof monitorRegionSchema>[],
+) {
+ const regionIndex = regions.indexOf(oldRegion);
+ if (regionIndex !== -1) {
+ const newRegionIndex = regions.indexOf(newRegion);
+ if (newRegionIndex === -1) {
+ regions[regionIndex] = newRegion;
+ }
+ if (newRegionIndex !== -1) {
+ regions.splice(regionIndex, 1);
+ }
+ }
+}
diff --git a/packages/db/src/schema/plan/config.ts b/packages/db/src/schema/plan/config.ts
index feb05c280..345974a91 100644
--- a/packages/db/src/schema/plan/config.ts
+++ b/packages/db/src/schema/plan/config.ts
@@ -51,7 +51,7 @@ export const allPlans: Record<
"notification-channels": 1,
members: 1,
"audit-log": false,
- regions: ["ams", "gru", "iad", "jnb", "hkg", "syd"] satisfies Region[],
+ regions: ["ams", "gru", "iad", "jnb", "sin", "syd"] satisfies Region[],
"private-locations": false,
},
},
@@ -89,7 +89,7 @@ export const allPlans: Record<
"notification-channels": 10,
members: "Unlimited",
"audit-log": false,
- regions: [...monitorRegions],
+ regions: [...monitorRegions] satisfies Region[],
"private-locations": false,
},
},
@@ -127,7 +127,7 @@ export const allPlans: Record<
"notification-channels": 20,
members: "Unlimited",
"audit-log": true,
- regions: [...monitorRegions],
+ regions: [...monitorRegions] satisfies Region[],
"private-locations": false,
},
},
diff --git a/packages/db/src/schema/plan/schema.ts b/packages/db/src/schema/plan/schema.ts
index 5bba73523..558a88ebb 100644
--- a/packages/db/src/schema/plan/schema.ts
+++ b/packages/db/src/schema/plan/schema.ts
@@ -19,7 +19,7 @@ export const limitsSchema = z.object({
.default("14 days"),
regions: monitorRegionSchema
.array()
- .default(["ams", "gru", "iad", "jnb", "hkg", "syd"]),
+ .default(["ams", "gru", "iad", "jnb", "sin", "syd"]),
"private-locations": z.boolean().default(false),
screenshots: z.boolean().default(false),
"response-logs": z.boolean().default(false),
diff --git a/packages/utils/index.ts b/packages/utils/index.ts
index 8079d227a..19f5e2db5 100644
--- a/packages/utils/index.ts
+++ b/packages/utils/index.ts
@@ -18,6 +18,7 @@ export type RegionInfo = {
location: string;
flag: string;
continent: Continent;
+ deprecated: boolean;
provider: "fly" | "koyeb" | "railway";
};
@@ -37,6 +38,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Amsterdam, Netherlands",
flag: "๐Ÿ‡ณ๐Ÿ‡ฑ",
continent: "Europe",
+ deprecated: false,
provider: "fly",
},
arn: {
@@ -44,6 +46,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Stockholm, Sweden",
flag: "๐Ÿ‡ธ๐Ÿ‡ช",
continent: "Europe",
+ deprecated: false,
provider: "fly",
},
@@ -52,6 +55,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Atlanta, Georgia, USA",
flag: "๐Ÿ‡บ๐Ÿ‡ธ",
continent: "North America",
+ deprecated: true,
provider: "fly",
},
bog: {
@@ -59,6 +63,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Bogotรก, Colombia",
flag: "๐Ÿ‡จ๐Ÿ‡ด",
continent: "South America",
+ deprecated: true,
provider: "fly",
},
bom: {
@@ -66,6 +71,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Mumbai, India",
flag: "๐Ÿ‡ฎ๐Ÿ‡ณ",
continent: "Asia",
+ deprecated: false,
provider: "fly",
},
bos: {
@@ -73,6 +79,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Boston, Massachusetts, USA",
flag: "๐Ÿ‡บ๐Ÿ‡ธ",
continent: "North America",
+ deprecated: true,
provider: "fly",
},
cdg: {
@@ -80,6 +87,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Paris, France",
flag: "๐Ÿ‡ซ๐Ÿ‡ท",
continent: "Europe",
+ deprecated: false,
provider: "fly",
},
den: {
@@ -87,6 +95,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Denver, Colorado, USA",
flag: "๐Ÿ‡บ๐Ÿ‡ธ",
continent: "North America",
+ deprecated: true,
provider: "fly",
},
dfw: {
@@ -94,6 +103,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Dallas, Texas, USA",
flag: "๐Ÿ‡บ๐Ÿ‡ธ",
continent: "North America",
+ deprecated: false,
provider: "fly",
},
ewr: {
@@ -101,6 +111,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Secaucus, New Jersey, USA",
flag: "๐Ÿ‡บ๐Ÿ‡ธ",
continent: "North America",
+ deprecated: false,
provider: "fly",
},
eze: {
@@ -108,6 +119,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Ezeiza, Argentina",
flag: "๐Ÿ‡ฆ๐Ÿ‡ท",
continent: "South America",
+ deprecated: true,
provider: "fly",
},
fra: {
@@ -115,6 +127,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Frankfurt, Germany",
flag: "๐Ÿ‡ฉ๐Ÿ‡ช",
continent: "Europe",
+ deprecated: false,
provider: "fly",
},
gdl: {
@@ -122,6 +135,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Guadalajara, Mexico",
flag: "๐Ÿ‡ฒ๐Ÿ‡ฝ",
continent: "North America",
+ deprecated: true,
provider: "fly",
},
gig: {
@@ -129,6 +143,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Rio de Janeiro, Brazil",
flag: "๐Ÿ‡ง๐Ÿ‡ท",
continent: "South America",
+ deprecated: true,
provider: "fly",
},
gru: {
@@ -136,6 +151,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Sao Paulo, Brazil",
flag: "๐Ÿ‡ง๐Ÿ‡ท",
continent: "South America",
+ deprecated: false,
provider: "fly",
},
hkg: {
@@ -143,6 +159,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Hong Kong, Hong Kong",
flag: "๐Ÿ‡ญ๐Ÿ‡ฐ",
continent: "Asia",
+ deprecated: true,
provider: "fly",
},
iad: {
@@ -150,6 +167,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Ashburn, Virginia, USA",
flag: "๐Ÿ‡บ๐Ÿ‡ธ",
continent: "North America",
+ deprecated: false,
provider: "fly",
},
jnb: {
@@ -157,6 +175,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Johannesburg, South Africa",
flag: "๐Ÿ‡ฟ๐Ÿ‡ฆ",
continent: "Africa",
+ deprecated: false,
provider: "fly",
},
lax: {
@@ -164,6 +183,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Los Angeles, California, USA",
flag: "๐Ÿ‡บ๐Ÿ‡ธ",
continent: "North America",
+ deprecated: false,
provider: "fly",
},
lhr: {
@@ -171,6 +191,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "London, United Kingdom",
flag: "๐Ÿ‡ฌ๐Ÿ‡ง",
continent: "Europe",
+ deprecated: false,
provider: "fly",
},
mad: {
@@ -178,6 +199,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Madrid, Spain",
flag: "๐Ÿ‡ช๐Ÿ‡ธ",
continent: "Europe",
+ deprecated: true,
provider: "fly",
},
mia: {
@@ -185,6 +207,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Miami, Florida, USA",
flag: "๐Ÿ‡บ๐Ÿ‡ธ",
continent: "North America",
+ deprecated: true,
provider: "fly",
},
nrt: {
@@ -192,6 +215,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Tokyo, Japan",
flag: "๐Ÿ‡ฏ๐Ÿ‡ต",
continent: "Asia",
+ deprecated: false,
provider: "fly",
},
ord: {
@@ -199,6 +223,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Chicago, Illinois, USA",
flag: "๐Ÿ‡บ๐Ÿ‡ธ",
continent: "North America",
+ deprecated: false,
provider: "fly",
},
otp: {
@@ -206,6 +231,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Bucharest, Romania",
flag: "๐Ÿ‡ท๐Ÿ‡ด",
continent: "Europe",
+ deprecated: true,
provider: "fly",
},
phx: {
@@ -213,6 +239,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Phoenix, Arizona, USA",
flag: "๐Ÿ‡บ๐Ÿ‡ธ",
continent: "North America",
+ deprecated: true,
provider: "fly",
},
qro: {
@@ -220,6 +247,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Querรฉtaro, Mexico",
flag: "๐Ÿ‡ฒ๐Ÿ‡ฝ",
continent: "North America",
+ deprecated: true,
provider: "fly",
},
scl: {
@@ -227,6 +255,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Santiago, Chile",
flag: "๐Ÿ‡จ๐Ÿ‡ฑ",
continent: "South America",
+ deprecated: true,
provider: "fly",
},
sjc: {
@@ -234,6 +263,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "San Jose, California, USA",
flag: "๐Ÿ‡บ๐Ÿ‡ธ",
continent: "North America",
+ deprecated: true,
provider: "fly",
},
sea: {
@@ -241,6 +271,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Seattle, Washington, USA",
flag: "๐Ÿ‡บ๐Ÿ‡ธ",
continent: "North America",
+ deprecated: true,
provider: "fly",
},
sin: {
@@ -248,6 +279,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Singapore, Singapore",
flag: "๐Ÿ‡ธ๐Ÿ‡ฌ",
continent: "Asia",
+ deprecated: false,
provider: "fly",
},
syd: {
@@ -255,6 +287,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Sydney, Australia",
flag: "๐Ÿ‡ฆ๐Ÿ‡บ",
continent: "Oceania",
+ deprecated: false,
provider: "fly",
},
waw: {
@@ -262,6 +295,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Warsaw, Poland",
flag: "๐Ÿ‡ต๐Ÿ‡ฑ",
continent: "Europe",
+ deprecated: true,
provider: "fly",
},
yul: {
@@ -269,6 +303,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Montreal, Canada",
flag: "๐Ÿ‡จ๐Ÿ‡ฆ",
continent: "North America",
+ deprecated: true,
provider: "fly",
},
yyz: {
@@ -276,6 +311,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Toronto, Canada",
flag: "๐Ÿ‡จ๐Ÿ‡ฆ",
continent: "North America",
+ deprecated: false,
provider: "fly",
},
koyeb_fra: {
@@ -283,6 +319,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Frankfurt, Germany",
flag: "๐Ÿ‡ฉ๐Ÿ‡ช",
continent: "Europe",
+ deprecated: false,
provider: "koyeb",
},
koyeb_par: {
@@ -290,6 +327,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Paris, France",
flag: "๐Ÿ‡ซ๐Ÿ‡ท",
continent: "Europe",
+ deprecated: false,
provider: "koyeb",
},
koyeb_sfo: {
@@ -297,6 +335,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "San Francisco, USA",
flag: "๐Ÿ‡บ๐Ÿ‡ธ",
continent: "North America",
+ deprecated: false,
provider: "koyeb",
},
koyeb_sin: {
@@ -304,6 +343,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Singapore, Singapore",
flag: "๐Ÿ‡ธ๐Ÿ‡ฌ",
continent: "Asia",
+ deprecated: false,
provider: "koyeb",
},
koyeb_tyo: {
@@ -311,6 +351,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Tokyo, Japan",
flag: "๐Ÿ‡ฏ๐Ÿ‡ต",
continent: "Asia",
+ deprecated: false,
provider: "koyeb",
},
koyeb_was: {
@@ -318,6 +359,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Washington, USA",
flag: "๐Ÿ‡บ๐Ÿ‡ธ",
continent: "North America",
+ deprecated: false,
provider: "koyeb",
},
"railway_us-west2": {
@@ -325,6 +367,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "California, USA",
flag: "๐Ÿ‡บ๐Ÿ‡ธ",
continent: "North America",
+ deprecated: false,
provider: "railway",
},
"railway_us-east4-eqdc4a": {
@@ -332,6 +375,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Virginia, USA",
flag: "๐Ÿ‡บ๐Ÿ‡ธ",
continent: "North America",
+ deprecated: false,
provider: "railway",
},
"railway_europe-west4-drams3a": {
@@ -339,6 +383,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Amsterdam, Netherlands",
flag: "๐Ÿ‡ณ๐Ÿ‡ฑ",
continent: "Europe",
+ deprecated: false,
provider: "railway",
},
"railway_asia-southeast1-eqsg3a": {
@@ -346,6 +391,7 @@ export const regionDict: Record<Region, RegionInfo> = {
location: "Singapore, Singapore",
flag: "๐Ÿ‡ธ๐Ÿ‡ฌ",
continent: "Asia",
+ deprecated: false,
provider: "railway",
},
} as const;