I’ve just deployed some serverless functions for a Bet Trading app. Everything is fine as it was in development, but I’m getting an error from the trading API regarding the location. It restricts access to only a few locations such as UK, Portugal, Australia, Italy. So I think the serverless functions that reside in the Netlify server must be from a location outside of these regions.
Is there a way to update the server location to a chosen location? Is that a premium feature? It’s important that I am able to do this otherwise I won’t be able to use the service and will probably have to switch to AWS Lambda. I was planning to scale up in the near future - I’m just getting off the ground now though.
I know it is a problem with location as the error code states this:
the account is accessed from a location where betting is restricted
The title is slightly misleading. Netlify servers is not equal to the serverless functions’ locations. Just to clarify, you cannot select the location of the website (this is what is served by Netlify). However, when on a paid plan, you can request a location update for the serverless functions.
@hrishikesh I understand the data center locations you support, as they were listed already above.
Could you clarify where we can set the data center for the site’s functions at the Netlify user interface? I do not find any options for this in the Functions → Settings section.
@hrishikesh Would it be possible to see / show the data region somewhere, so that we could show e.g. auditors where the data is processed?
I don’t know where we can get this information per site / per account?
E.g. if the site’s functions page showed the data center location, it would be really useful. Or if it was possible to set by the user through the functions settings, this would be also useful to get information about the data center location.
Are there any plans to add in a section to manage/view the server location of deployed sites? This is such a basic feature of any legitimate hosting platform, so there’s no reason users should have to go through support just to access that information.
we would love that, @dben89x ! we have an open feature request to make this possible and i’ve added your comment. It would make work much easier for both customers and support staff, I agree.