Preparing the Azure cloud environment
Before you start installing a Kentico project for Microsoft Azure, it can be convenient to configure the cloud environment using the Microsoft Azure Management Portal and create parts of the system you will need. It is not necessary to create all the parts in advance, but doing so all at once can save you time later.
To run a Kentico project on Microsoft Azure, you will need to create:
An Azure project can use either a standard on premise SQL Server or a cloud server. If you want to use a database service hosted on the Microsoft Azure platform, you also need to create an Azure SQL Server and a database
Creating a Microsoft Azure Storage
The Microsoft Azure Storage account serves as a file system for your cloud based project. It provides access to the blob, queue and table services.
- Open the Azure Management portal.
- Click Create a resource -> Storage -> Storage account - blob, file, table, queue.
- Type a URL (name) of your new Azure storage.
- Set your preferred security settings
- Select the Azure subscription under which the storage will be created.
- Select a Resource Group for the storage or create a new one.
- Select the location for your storage. We recommend using the same location for all created services.
- Click Create.
Microsoft Azure creates the storage. You can see it listed in the list of storages.
Creating a Microsoft Azure Cloud service
The Microsoft Azure Cloud Service provides an infrastructure for the code and configuration of your project.
- Open the Azure Management portal.
- Click Create a resource -> Compute -> Cloud service.
- Type a URL (name) of your new Azure cloud service.
- Select the Azure subscription under which the Cloud service will be created.
- Select a Resource Group for the service or create a new one.
- Select the location of your storage. We recommend using the same location for all created services.
- Click Create.
Microsoft Azure creates the cloud service.
Creating a Microsoft Azure SQL Server and a database
The Azure SQL Server is a virtual server you can create in the cloud. You will need the server to create databases for your cloud services.
- Open the Azure Management portal.
- Click Create a resource -> Databases -> SQL Database.
- Fill out the SQL Database form.
- Enter the database name.
- Select the Azure subscription under which the database will be created.
- Select a Resource Group for the database or create a new one.
- Click Server and fill out the SQL server (logical server) form to create a new Azure SQL database server.
Enter the server name.
Specify server admin credentials.
Select the Azure subscription under which the SQL server will be created.
Select a Resource Group for the server or create a new one.
Select the location of your database. We recommend using the same location for all created services.
Ensure that Allow Windows Azure services to access the server is selected.
- This option adds special firewall rules to allow your deployed Kentico project to access the server and its databases.
Create the Azure SQL server
- Select a pricing tier for the database.
- Use the default SQL_Latin1_General_CP1_CI_AS database collation.
- Create the database.
The portal creates a new server and the associated database. If you want to manage this server locally or use a local emulator, add firewall rules for IP ranges of your development and administration machines:
Adding firewall rules for a server
- Select the server.
- Switch to the Firewalltab.
- Create a new access rule for your desired IP range.
You have now configured the server to be locally accessible.
Proceed to Installing Kentico Azure projects.