Create a Deployment Environment for Azure Subscription
Follow the steps mentioned in this chapter to create a new environment in NCache Cloud Portal.
From the NCache Cloud Portal, go to Subscription Dashboard by clicking the Home button.
Click on Deployment Environments. You will see the following screen:
Click on the Create New Environment option.
This will open up a Create New Environment form.
While creating an environment, you have two choices: whether you want to create an environment and deploy NCache activated machines in it all through the NCache Cloud Portal or you want to create an environment through NCache Cloud Portal but want to deploy machines manually. The Deploy Servers section of the form shown above is where you can choose from these two options.
- Go to Environment Creation for Auto deployment of Servers if you want NCache cloud server to automatically deploy NCache activated machines in your environment or follow the steps in Environment Creation for Manual Deployment of Servers if you want to manually deploy servers through Azure.
Environment Creation for Auto Deployment of Servers
Prerequisite:
To create an environment for auto deployment of servers in Azure, you have to accept legal terms on your subscription for programmatic deployment of NCache image. To accept these terms, you need to go to Azure portal and follow these steps:
From Azure's marketplace, go to NCache Enterprise .NET/Enterprise .NET Core/Professional image.
Under the Create button, click on the Get started link. This will lead you to the Configure Programmatic Deployment page.
The Configure Programmatic Deployment page will show you a list of subscriptions in the Choose the subscriptions section.
Select the Enable option against the subscription under which you want to deploy servers.
Click on the Save button.
Once you have enabled these terms, you will be able to auto deploy servers through NCache Cloud Portal.
When you get back on the portal, you will find the Create New Environment form.
Fill out the Environment Name, Environment Type, and License Type fields in the Create New Environment form.
For Deploy Servers Now, select Yes to deploy servers through NCache Cloud Portal.
Select the Region in which you want to deploy the servers.
Select the Subscription under which you want to deploy NCache servers.
All resource groups that fall under the selected Azure subscription will be listed in the Resource Group dropdown list. Select the desired resource group.
Select your VNET and Subnet from the populated lists.
Select the latest NCache Version and NCache Image.
Add the Number of Servers and Number of Clients (in case of Client-Server license type) that you want to deploy in your environment.
Note
For Client-Server license type, the number of clients must be greater than 2.
Select the Server Size.
Check the Assign Public IP To Servers checkbox if you want to automatically assign public IP addresses to the deployed machines.
- Click on Review + Create to review the basic information of the environment to be created. Click on Create.
This will create a deployment environment with the servers deployed in NCache cloud server. These deployed servers already have latest NCache version installed in them.
You can go to Deployment Environments to view your newly created environment.
Tip
To increase the number of servers, go to your environment and click on Edit Environment.
Access Auto Deployed Servers
Access your deployed machine from Azure portal by following Microsoft's guide on Connect and Sign On to an Azure Machine.
Connect to the machine by providing the login credentials. You will find these credentials from the NCache Cloud Portal. Follow these steps to get the credentials:
- From NCache Cloud Portal, go to your environment's details.
- Under the Servers tag, find your machine's IP and go to its details by clicking the See Details button.
- Among the shown information, you will find User name and Password. These are the credentials that are required to remote access the machine.
Note
If you change the login credentials of an auto deployed machine, this change will not be reflected on NCache Cloud Portal.
Once you have access to your machine, you can start creating NCache clusters in it, the steps of which are explained in Configure NCache in Deployed Machine.
Environment Creation for Manual Deployment of Servers
Fill out the Environment Name, Environment Type, and License Type fields in the Create New Environment form.
For Deploy Servers Now, select No to opt for manual deployment of servers. Selecting No will disable all other fields as they are not needed for manual deployment.
- Click on Review + Create to review the basic information of the environment to be created. Click on Create.
You can go to Environments > View All to view your newly created environment.
You next step is to manually deploy your server machines through Azure portal, which is explained in the Manually Create VM in Azure chapter.
See Also
Create NCache Cloud Service in Azure
Manually Create VM through Azure Portal
Manually Activate NCache on Deployed Machine