Application Regions
By default, applications and all their associated tasks are deployed to the closest region of the deploying user. For example, a user in San Francisco can expect its applications to be deployed in San Jose (SJC) our closest data center to San Francisco.
However, you can override this behavior by adding a single line to your
main.py
file, or any other file that you designated as the main project file
containing the app.run()
command as defined in the pyproject.toml
file.
from seaplane.apps import App
from seaplane.config import config
# set the region
config.set_region('jfk')
# create your app
app = App(app-name)
# tell seaplane to run the app
app.run()
We are working on smart region placement and multi-region support, where apps are automatically deployed where needed based on end-user traffic patterns. Keep an eye on this page for updates or contact support@seaplane.io for early access.
Available Regions​
Seaplane supports the following regions and data centers.
Code | Region |
---|---|
blr | Bengaluru, India (BLR) |
fra | Frankfurt, Germany (FRA) |
jfk | John F. Kennedy International Airport, New York City, United States (JFK) |
lga | LaGuardia Airport, New York City, United States (LGA) |
lhr | London Heathrow Airport, United Kingdom (LHR) |
nrt | Narita International Airport, Tokyo, Japan (NRT) |
sin | Singapore Changi Airport, Singapore (SIN) |
sjc | San Jose International Airport, California, United States (SJC) |
We are always adding new regions and locations. Contact support@seaplane.io to request a specific new region.