From 1f4d4e7bfd3c5f42f302c645b6d00729c781b3a0 Mon Sep 17 00:00:00 2001 From: infra Date: Wed, 19 Feb 2025 22:14:09 -0500 Subject: [PATCH 1/4] docs: add langgraph platform ips --- docs/docs/cloud/deployment/cloud.md | 15 +++++++++ libs/cli/langgraph_cli/docker-compose.yaml | 38 ++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 libs/cli/langgraph_cli/docker-compose.yaml diff --git a/docs/docs/cloud/deployment/cloud.md b/docs/docs/cloud/deployment/cloud.md index ddf8e63a5..28c45c3ad 100644 --- a/docs/docs/cloud/deployment/cloud.md +++ b/docs/docs/cloud/deployment/cloud.md @@ -92,3 +92,18 @@ Starting from the `LangGraph Platform` view... 1. Check/uncheck checkbox to `Automatically update deployment on push to branch`. 1. Branch creation/deletion and tag creation/deletion events will not trigger an update. Only pushes to an existing branch will trigger an update. 1. Pushes in quick succession to a branch will not trigger subsequent updates. In the future, this functionality may be changed/improved. + +## Whitelisting IP Addresses + +All traffic from `LangGraph Platform` deployments created after January 6th 2025 will come through a NAT gateway. +This NAT gateway will have several static ip addresses depending on the region you are deploying in. Refer to the table below for the list of IP addresses to whitelist: +| US | EU | +| --- | --- | +|35.197.29.146| 34.13.192.67| +|34.145.102.123| 34.147.105.64| +|34.169.45.153| 34.90.22.166| +|34.82.222.17| 34.147.36.213| +|35.227.171.135| 34.32.137.113| +|34.169.88.30| 34.91.238.184| +|34.19.93.202| 35.204.101.241| +|34.19.34.50| 35.204.48.32| diff --git a/libs/cli/langgraph_cli/docker-compose.yaml b/libs/cli/langgraph_cli/docker-compose.yaml new file mode 100644 index 000000000..72a633953 --- /dev/null +++ b/libs/cli/langgraph_cli/docker-compose.yaml @@ -0,0 +1,38 @@ +services: + langgraph-postgres: + image: postgres:16 + ports: + - "5433:5432" + environment: + POSTGRES_DB: postgres + POSTGRES_USER: postgres + POSTGRES_PASSWORD: postgres + volumes: + - langgraph-data:/var/lib/postgresql/data + healthcheck: + test: pg_isready -U postgres + start_period: 10s + timeout: 1s + retries: 5 + interval: 60s + start_interval: 1s + langgraph-api: + image: postgres:16 + ports: + - "8123:${PORT:-8000}" + depends_on: + langgraph-postgres: + condition: service_healthy + environment: + PORT: ${PORT:-8000} + POSTGRES_URI: ${POSTGRES_URI} + LANGGRAPH_CLOUD_LICENSE_KEY: ${LANGGRAPH_CLOUD_LICENSE_KEY} + healthcheck: + test: python /api/healthcheck.py + interval: 60s + start_interval: 1s + start_period: 10s + env_file: .env +volumes: + langgraph-data: + driver: local From caad15f7aed5b22e0315c9767e49a4db212b4f44 Mon Sep 17 00:00:00 2001 From: infra Date: Wed, 19 Feb 2025 22:14:29 -0500 Subject: [PATCH 2/4] docs: add langgraph platform ips --- docs/docs/cloud/deployment/cloud.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/docs/cloud/deployment/cloud.md b/docs/docs/cloud/deployment/cloud.md index 28c45c3ad..1cb993389 100644 --- a/docs/docs/cloud/deployment/cloud.md +++ b/docs/docs/cloud/deployment/cloud.md @@ -97,6 +97,7 @@ Starting from the `LangGraph Platform` view... All traffic from `LangGraph Platform` deployments created after January 6th 2025 will come through a NAT gateway. This NAT gateway will have several static ip addresses depending on the region you are deploying in. Refer to the table below for the list of IP addresses to whitelist: + | US | EU | | --- | --- | |35.197.29.146| 34.13.192.67| From 3d70a4ed654337f5158276b271529821a47814a1 Mon Sep 17 00:00:00 2001 From: langchain-infra Date: Wed, 19 Feb 2025 22:16:10 -0500 Subject: [PATCH 3/4] Delete libs/cli/langgraph_cli/docker-compose.yaml --- libs/cli/langgraph_cli/docker-compose.yaml | 38 ---------------------- 1 file changed, 38 deletions(-) delete mode 100644 libs/cli/langgraph_cli/docker-compose.yaml diff --git a/libs/cli/langgraph_cli/docker-compose.yaml b/libs/cli/langgraph_cli/docker-compose.yaml deleted file mode 100644 index 72a633953..000000000 --- a/libs/cli/langgraph_cli/docker-compose.yaml +++ /dev/null @@ -1,38 +0,0 @@ -services: - langgraph-postgres: - image: postgres:16 - ports: - - "5433:5432" - environment: - POSTGRES_DB: postgres - POSTGRES_USER: postgres - POSTGRES_PASSWORD: postgres - volumes: - - langgraph-data:/var/lib/postgresql/data - healthcheck: - test: pg_isready -U postgres - start_period: 10s - timeout: 1s - retries: 5 - interval: 60s - start_interval: 1s - langgraph-api: - image: postgres:16 - ports: - - "8123:${PORT:-8000}" - depends_on: - langgraph-postgres: - condition: service_healthy - environment: - PORT: ${PORT:-8000} - POSTGRES_URI: ${POSTGRES_URI} - LANGGRAPH_CLOUD_LICENSE_KEY: ${LANGGRAPH_CLOUD_LICENSE_KEY} - healthcheck: - test: python /api/healthcheck.py - interval: 60s - start_interval: 1s - start_period: 10s - env_file: .env -volumes: - langgraph-data: - driver: local From aacc079eedb753e3870588162285d1c9bc18dc7e Mon Sep 17 00:00:00 2001 From: infra Date: Wed, 19 Feb 2025 22:23:34 -0500 Subject: [PATCH 4/4] fmt --- docs/docs/cloud/deployment/cloud.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/docs/cloud/deployment/cloud.md b/docs/docs/cloud/deployment/cloud.md index 1cb993389..b5510ae68 100644 --- a/docs/docs/cloud/deployment/cloud.md +++ b/docs/docs/cloud/deployment/cloud.md @@ -98,13 +98,13 @@ Starting from the `LangGraph Platform` view... All traffic from `LangGraph Platform` deployments created after January 6th 2025 will come through a NAT gateway. This NAT gateway will have several static ip addresses depending on the region you are deploying in. Refer to the table below for the list of IP addresses to whitelist: -| US | EU | -| --- | --- | -|35.197.29.146| 34.13.192.67| -|34.145.102.123| 34.147.105.64| -|34.169.45.153| 34.90.22.166| -|34.82.222.17| 34.147.36.213| -|35.227.171.135| 34.32.137.113| -|34.169.88.30| 34.91.238.184| -|34.19.93.202| 35.204.101.241| -|34.19.34.50| 35.204.48.32| +| US | EU | +|----------------|----------------| +| 35.197.29.146 | 34.13.192.67 | +| 34.145.102.123 | 34.147.105.64 | +| 34.169.45.153 | 34.90.22.166 | +| 34.82.222.17 | 34.147.36.213 | +| 35.227.171.135 | 34.32.137.113 | +| 34.169.88.30 | 34.91.238.184 | +| 34.19.93.202 | 35.204.101.241 | +| 34.19.34.50 | 35.204.48.32 |