Hello nadha
Welcome to Microsoft Q&A Platform, thanks for posting your query here.
Yes, it is possible to create a jump server in one subscription and allow access to SQL servers in another subscription in a hub and spoke network topology.
One option is to create the jump server in the hub subscription and configure it to allow access to the SQL servers in the spoke subscription. This can be done by configuring the appropriate network security group (NSG) rules and firewall rules to allow traffic between the jump server and the SQL servers.
Another option is to create the jump server in the spoke subscription where the SQL servers are located. This can be done by configuring the appropriate NSG rules and firewall rules to allow traffic between the jump server and the SQL servers, as well as between the spoke subscription and the hub subscription.
Both options are valid and can work depending on your specific requirements and security needs. However, the recommended design would depend on your specific use case and security requirements.
If you have strict security requirements and want to minimize the attack surface, it may be better to create the jump server in the spoke subscription where the SQL servers are located. This would limit the exposure of the SQL servers to the hub subscription and reduce the risk of unauthorized access.
On the other hand, if you have a large number of SQL servers in different spoke subscriptions and want to centralize management and monitoring, it may be better to create the jump server in the hub subscription and configure it to allow access to the SQL servers in the spoke subscriptions. This would allow you to manage and monitor all the SQL servers from a central location and simplify administration.
Hope that helps.