Configure Environment Activation Options in Cloud Portal
To create an environment in NCache Cloud Service, you need either of the following:
An account for role-based access for deployment of servers through NCache Cloud Portal.
An activation key for manual deployment of servers in the environment.
Both of these requirements can be found on the Environment Activation Options page.
Configure Account for Deployment Through NCache Cloud Portal
A Deployment User is a role-based user required to deploy resources in the NCache Cloud environment. This user is configured in your Azure/AWS subscription that has the following roles assigned to it.
Note
In case you do not want to provide this information to Alachisoft, then you will not be able to deploy servers through NCache Cloud Portal while creating an environment. However, you can manually deploy machines your cloud portal and add it to NCache cloud subscription. For that, you will need an Activation Key that is mentioned in the section below.
Link Deployment User for Azure
To add a deployment user for Azure subscription, follow these steps:
Add the name of your deployment user in the Account Name box.
A deployment user in Azure is a user that has the following roles assigned to it. If you do not have a deployment user configured in Azure, you can create one on Azure by using the following JSON file in the steps mentioned in the Azure Create Azure Custom Roles.
Note
- The
roleName
must be kept asNCache SaaS Permissions
otherwise the user will not be recognized as a deployment user. - Replace the
{subscriptionid}
placeholder with the id of the subscription on which you would like to grant Alachisoft access.
{
"properties": {
"roleName": "NCache SaaS Permissions",
"description": "Minimum set of permissions required by a deployment user on the NCache SaaS portal.",
"assignableScopes": [
"/subscriptions/{subscriptionid}"
],
"permissions": [
{
"actions": [
"Microsoft.Authorization/roleAssignments/read",
"Microsoft.Compute/virtualMachines/read",
"Microsoft.Compute/virtualMachines/write",
"Microsoft.Compute/virtualMachines/delete",
"Microsoft.Compute/virtualMachines/start/action",
"Microsoft.Compute/virtualMachines/restart/action",
"Microsoft.Compute/virtualMachines/deallocate/action",
"Microsoft.Compute/virtualMachines/instanceView/read",
"Microsoft.Compute/disks/delete",
"Microsoft.Network/networkInterfaces/read",
"Microsoft.Network/networkInterfaces/write",
"Microsoft.Network/networkInterfaces/delete",
"Microsoft.Network/networkInterfaces/join/action",
"Microsoft.Network/networkSecurityGroups/write",
"Microsoft.Network/networkSecurityGroups/delete",
"Microsoft.Network/networkSecurityGroups/join/action",
"Microsoft.Network/publicIpAddresses/read",
"Microsoft.Network/publicIpAddresses/delete",
"Microsoft.Network/publicIpAddresses/write",
"Microsoft.Network/publicIPAddresses/join/action",
"Microsoft.Network/virtualNetworks/read",
"Microsoft.Network/virtualNetworks/subnets/read",
"Microsoft.Network/virtualNetworks/subnets/join/action",
"Microsoft.Resources/subscriptions/read",
"Microsoft.Resources/subscriptions/locations/read",
"Microsoft.Resources/subscriptions/resourceGroups/read"
],
"notActions": [],
"dataActions": [],
"notDataActions": []
}
]
}
}
Click on the Link Azure Deployment User button to authenticate and link your Azure deployment user.
On this, you will be prompted to provide permissions to NCache Cloud Service by your cloud vendor. Click on Accept to allows permissions to NCache Cloud Server. A Deployment User Added notification will confirm that the user you added has been successfully deployed as a Deployment User in NCache Cloud Portal.
Link Deployment User for AWS
To link a deployment user for an AWS subscription, follow these steps:
Add a name of your deployment user (in this case, your AWS IAM user) in the Account Name textbox.
If you do not have a configured IAM user for AWS, you can create one by using the following JSON file in the steps mentioned in the AWS Create IAM User Role.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "ec2Access",
"Effect": "Allow",
"Action": [
"ec2:DescribeInternetGateways",
"ec2:DescribeNetworkAcls",
"ec2:DescribeVpcs",
"ec2:DescribeSubnets",
"ec2:DescribeTags",
"ec2:DescribeSecurityGroups",
"ec2:DescribeNetworkInterfaces",
"ec2:DescribeRouteTables",
"ec2:CreateRoute",
"ec2:DeleteRoute",
"ec2:DetachInternetGateway",
"ec2:CreateTags",
"ec2:AuthorizeSecurityGroupIngress",
"ec2:AuthorizeSecurityGroupEgress",
"ec2:DeleteKeyPair",
"ec2:AttachInternetGateway",
"ec2:CreateKeyPair",
"ec2:RunInstances",
"ec2:DescribeInstanceStatus",
"ec2:DescribeInstances",
"ec2:TerminateInstances",
"ec2:StopInstances",
"ec2:StartInstances",
"ec2:RebootInstances",
"ec2:DescribeImages"
],
"Resource": "*"
},
{
"Sid": "iamAccess",
"Effect": "Allow",
"Action": [
"iam:GetUser",
"iam:ListAttachedUserPolicies",
"iam:GetPolicy",
"iam:GetPolicyVersion",
"iam:ListEntitiesForPolicy",
"iam:ListPolicies",
"iam:SimulatePrincipalPolicy"
],
"Resource": "*"
}
]
}
Enter the account's access key in the IAM Access Key textbox.
Enter your account's secret key in the IAM Secret Key textbox.
Click on the Link AWS Deployment User button to link the provided AWS IAM user as a deployment user for deployment of servers through NCache Cloud Portal.
Get Activation Key for Manual Creation
Note
You do not need this key if you are deploying your servers through NCache Cloud Portal.
The Manual Creation section provides you with an activation key that is used to manually activate your machines for when you deploy machines manually through your cloud platform.
Note
The Regenerate button allows you to regenerate the activation key. If you regenerate the activation key, you will have to manually reactivate all those machines whose license has expired, with the new activation key.
Click on Close to go to the Subscription Dashboard (Home Page) of NCache Cloud Portal.
The next step is creating an environment in NCache Cloud Portal. To create an environment using an Azure subscription, follow the steps mentioned in this chapter and to create an environment using an AWS subscription, follow this chapter.
See Also
Register Account Details
Create Deployment Environment for Azure Subscription
Create Deployment Environment for AWS Subscription