If you want to place web service source data on Microsoft Azure, create a Microsoft Azure SQL Database or a SQL Server database on Microsoft Azure using the Azure portal, and register this database with your ArcGIS Server site on Microsoft Azure using ArcGIS Enterprise Cloud Builder for Microsoft Azure.
If you want to use geodatabase functionality in the registered database, choose to create a geodatabase when you register the database using ArcGIS Enterprise Cloud Builder for Microsoft Azure.
Create a database
Create the Azure SQL Database or SQL Server instance in the Azure portal. Create it in the same subscription and location (region) as your ArcGIS Server site or ArcGIS Enterprise deployment on Microsoft Azure.
If you create a SQL Server instance, do the following to allow communication with the instance:
Register the database
- Start ArcGIS Enterprise Cloud Builder for Microsoft Azure.
- Sign in to Microsoft Azure.
If you want to use the Microsoft Azure Government cloud and have an Azure Government subscription, check U.S. Government account.
- Choose the Azure subscription that contains the ArcGIS Server site to which you want to add a registered database and click next.
- In the Site Deployments list, click the database icon for the site with which you want to register a database.
The database icon is only enabled for ArcGIS Server deployments.
- Specify which type of database to use: Microsoft Azure SQL Database or Microsoft SQL Server.
- Choose what to register: either a database to store simple source data to be used with an ArcGIS Server site or ArcGIS Enterprise deployment or a managed database for your ArcGIS Server site's feature services.
Note that only one managed database is allowed per ArcGIS Server site.
- If you choose to register a database for source data (in other words, if you unchecked As a Managed Database) and you want geodatabase functionality in the registered database that stores your simple source data, check Enable As Geodatabase.
- Click next.
- Provide information for the database you are registering:
- Choose your existing Database server.
- Choose the existing database you want to register.
- Type the user name and password of the database server administrator.
- Type the user name and password of the database administrator.
- Type a user name and password for the database user you want to connect to the database for data loading. You can specify the name and password of an existing user or, if the user does not exist, ArcGIS Enterprise Cloud Builder for Microsoft Azure creates the user for you. If you are registering a managed database, the user will own the data that gets copied to the database when you publish a feature service.
- Click next to register the database with an ArcGIS Server site.
Load data to the database
You can connect from your on-premises ArcGIS Desktop client to the Azure SQL Database or SQL Server database on Azure to load data, or use data loading methods recommended by Microsoft Azure.
To connect to an Azure SQL Database from an on-premises ArcGIS Desktop client, configure the firewall on the Azure SQL Database machine to allow your client machine to communicate with the database.
Another option to get data into the Azure SQL Database or SQL Server database on Azure is to register the database as the ArcGIS Server site's managed database. When you publish feature services to the ArcGIS Server site, the data is copied to the managed database and the feature services read the data from there.