My requirement is to have a global cluster (Europe, USA, Asia for example) but to restrict some databases to only USA region servers, for example. I'm using 5.13 on AWS using my own EC2s running Enterprise edition.
Using AWS peering connection and deploying to different regions I have a cluster working globally. New databases get globally replicated. This is all good.
To restrict a database to a specific region, I read I can use the server settings initial.server.allowed_databases and initial.server.denied_databases in the neo4j.conf. This allows me to specify at a server level which databases each server can (or cannot) host. This would work but it's a lot of admin when new databases are created.
I see that servers can also be tagged with region information: initial.server.tags=eu,eu-west
I would like to use this and restrict a database to only get hosted on servers with specific region tags. I'm thinking this might be performed with the ALTER DATABASE foo SET OPTIONS command but I can't see any options which would restrict the database to specific server tags. How do I utilise the server tags? I see the tags can be used for load balancing but I also read they can be used for allocation. Am I wrong?
Thank you