Create New Environment in AWS
In this chapter, you will find the steps required to create an environment in your AWS subscription. But before you start creating a new environment in your AWS subscription, please consider the following points:
In case you linked an IAM deployment user, only then will be able to automatically deploy resources in your AWS subscription. See the section Environment Configuration for Automatic Deployment.
In case you have not linked an IAM user, you will only be able to create an environment manually, the steps of which have been explained in the Environment Configuration for Manual Deployment section.
Environment Configuration for Automatic Deployment
Note
You can only deploy resources in your AWS subscription through Automatic Deployment if you have linked an IAM deployment user with your cloud subscription.
Fill out the Environment Configuration form with the required fields to create and configure an environment in your AWS subscription for auto deployment of resources.
Give your environment a name against Environment Name.
Select the desired Environment Type, License Type, and License Plan from the dropdown menus.
Enter the Number of Servers you need to deploy in this environment.
Select NCache Version and Server VM Size from the dropdown lists.
Select Region, VPC, Internet Gateway, and Subnet in which you want these servers to be deployed.
Note
NCache servers will be deployed in the VPC you provide here.
Select Assign Public IP to Servers if you want these servers to have a public IP.
Select Create 'demoCache' cluster option if you want these servers to form a cluster.
- Click on Next: Review & Create to review environment details and then the Create button to create the environment.
The next step in this process is to connect to the deployed servers.
Environment Configuration for Manual Deployment
If you decide to manually deploy all resources in your subscription, you can create an environment for this in the following way:
From Choose a deployment method popup, select Manual Deployment and click on Next: Deploy Environment which leads you to an Environment Configuration form.
In the Environment Configuration tab, you have two options:
- Existing Environment: If you want to add servers in an existing environment.
- New Environment: If you want to create a new environment altogether.
To create a new environment, check the New Environment option and fill out the required fields i.e. Environment Name, Environment Type, and License Type.
Note
- In case of Client-Server license type, you will have to provide the No. of Clients as well.
- In case you want to simply add more servers in an existing environment, select the Existing Environment option and select the Environment Name which you want to modify from the dropdown menu. Add the number of clients required in the No. of Clients box.
Click on Finish if you want to skip resource deployment in your created environment. This will take you to the Deployment Environments page where you can see your environment listed with its details. This created environment will not have any servers deployed in it. To manually deploy servers, refer to Manually Create VM through Azure Portal.
Click on the Next: Resource Configuration button will take you to a resource configuration form to proceed with deploying resources in your environment. Also AWS CLI script is generated for resource deployment in your AWS subscription.
Resource Configuration
Enter the Number of Servers that you require for this environment.
Select NCache Version and Server VM Size of the servers to be deployed.
Enter Key Pair Name to associate with the deployed servers.
Important
The entered Key Pair Name should exist in your AWS account. If you do not have a Key Pair Name, you can add it by following the steps mentioned in the AWS Amazon Guide.
- Enter the Stack Name, Region, VPC ID, and Subnet ID in which you want these servers to be deployed.
Note
- To access your VPC ID, refer to Amazon VPC and to access Subnet ID, refer to View your subnet sections of AWS documentation.
- NCache servers will be deployed in the VPC you provide here.
- When done, review the deployment details and click on Next: NCache Deployment button.
NCache Deployment
On the next NCache Deployment tab, you will find an auto generated user script that is to be used to create a cluster of NCache servers in your environment. Follow the steps mentioned below to know how to use this script.
Copy the user script by clicking on the Copy button.
Launch AWS CLI by clicking on the > Launch CLI button.
Paste and run the copied script here.
Once successfully executed, go back to the NCache Deployment tab on NCache Cloud Portal and select I have copied and executed above script through CLI checkbox.
On clicking Finish button after script execution, user is redirected to Deployment Environments page where user can see the environment created. When done, you can connect to the deployed server(s) by following steps provided in Connect to Server section.
See Also
Select Deployment Method
Create Deployment User in AWS
Connect to Deployed Server
Manually Create VM in AWS