Skip to content

Commit d30b711

Browse files
Added note about Modal static IP limitation
1 parent 29d47e5 commit d30b711

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/deployment.qmd

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ doctl databases firewalls append <database-cluster-id> --rule <type>:<value>
6969

7070
where `<type>` is `ip_addr` and `<value>` is the IP address of the application server. See the [DigitalOcean documentation](https://docs.digitalocean.com/reference/doctl/reference/databases/firewalls/append/) for more details.
7171

72-
**Note:** You can only complete this step after you have deployed your application layer and obtained the IP address of the application server.
72+
**Note:** You can only complete this step after you have deployed your application layer and obtained a static IP address for the application server.
7373

7474
## Deploying and Configuring the FastAPI App
7575

@@ -80,8 +80,9 @@ The big advantages of deploying on Modal.com are:
8080
2. that it's a very user-friendly platform.
8181

8282
The disadvantages are:
83-
1. that Modal is a Python-only platform and cannot run the database layer, so you'll have to deploy that somewhere else, and
84-
2. that you'll need to make some modest changes to the codebase to get it to work on Modal.
83+
1. that Modal is a Python-only platform and cannot run the database layer, so you'll have to deploy that somewhere else,
84+
2. that you'll need to make some modest changes to the codebase to get it to work on Modal, and
85+
3. that Modal offers a [static IP address for the application server](https://modal.com/docs/guide/proxy-ips) only if you pay for a higher-tier plan starting at $250/year, which makes securing the database layer with a firewall rule cost prohibitive.
8586

8687
#### Getting Started
8788

0 commit comments

Comments
 (0)