All rapyuta.io docs are open source. See something that's wrong or unclear? Submit a pull request.
Make a contributionIn the rapyuta.io console, on the left navigation bar, click Networking > Static Routes.
Click Add New Static Route.
Enter the Static Route URL.
The name of a static route has lowercase alphanumeric characters, or a hyphen, and must begin and end with an alphanumeric character, and must not be certain keywords, and it must be at least 4 characters and less than 64 characters long.
Click CONTINUE. The static route is created.
To bind a static route to an externally exposed endpoint defined in a package, during deployment:
Click Add Static Route.
Select an external network endpoint from the drop-down list.
Select a static route from the drop-down list.
This creates a mapping between an external network endpoint and a static route.
You can unbind a static route from a network endpoint by clicking on the delete icon.
Below is an example of the static route my-example-server which is bound to the network endpoint server_endpoint.
On deploying the package after binding a static route, the network endpoint URL address becomes deterministic and is a constant. It implies that even if the deployment is stopped and provisioned again with the same static route, the network endpoint URL address remains the same.
A package deployment can have multiple static routes. However, a single static route is used for a single deployment.
Refer to billing and usage to understand the limits applied on static routes for different subscription plans.