Configure NCache Servers in AWS Environment
NCache provides Enterprise and Professional server images on AWS for Windows server hosted on Amazon marketplace. In order to deploy and use NCache servers in Amazon environment, you need to host NCache cloud images from AWS marketplace. This section explains the deployment of NCache servers through AWS marketplace and create a cache cluster to connect the client applications with it.
NCache provides images for cache servers on AWS marketplace for Enterprise and Professional editions.
This image is shipped with Windows Server 2019 and .NET Framework 4.7.2
NCache Enterprise is available under the Bring Your Own License (BYOL) model.
Through Alachisoft Website
On the web browser, go to www.alachisoft.com.
Go to Download tab -> NCache.
Under the NCache in the Cloud table, go to Amazon Web Services(AWS) and click on NCache Enterprise.
It takes you to the NCache Enterprise image on Azure marketplace.
It requires you to login with your credentials. Login with your work email and click Continue to Subscribe.
Once subscribed, you will be prompted with a screen showing your current subscriptions. Now, click the Continue to Configure button at the top right corner of the screen.
It takes you to the configurations; fill out the fields required to configure the software and click on Continue to Launch.
A screen showing your configuration details comes next. It further requires you to fill out EC2 Instance Type, VPC Settings, Subnet Settings, Security Group Settings and Key Pair Settings. Fill them out and select Launch.
- Once launched, you will be displayed with a Congratulations screen, confirming the successful deployment of NCache instance.
Through Amazon Marketplace
Sign in to the Amazon AWS Console with your work email.
From the All Services section, chose EC2 under the Compute menu.
- Go to the Launch Instance section and select Launch Instance from the drop down menu.
- On launching instance, a new page is opened. Search NCache from the search bar and from the left sidebar, select AWS Marketplace. It shows NCache Enterprise.
- On clicking Select, you get the pricing details and product description on the page opened. Click on Continue.
- Now choose your desired Machine Type. The least Machine Type supported by NCache is t2.large from the General Purpose family. Once selected your desired machine, select Next: Configure Instance Details.
- After filling out the instance details as per your requirements, select Add Storage. It opens a new page showing the storage details. You can also add tags after adding the storage details.
- Click on Next: Configure Security Group. Select the security group and add rules to allow specific traffic to reach your instance. You need to open the port 3389 to allow communication.
- Once done, select Review and Launch. You get a page displaying the overview of your configurations. Review them and edit if required. Once done, click Launch.
Click on the Launch Instance button and your instance will be created.
You will be prompted with a key pair name. Enter your key pair name and download the key pair.
Your instance may take some time to start running. You can click on the View Instances button at the bottom to view your deployed instances.
- Click on the Connect button once your instance is created and running. It gives you the prompt below:
- Click on Get Password to retrieve the password using the key-pair.pem file.
Login with your credentials to access the remote machine.
- Open PowerShell tool as Administrator to provide NCache evaluation.
You will not be able to use NCache unless you provide the evaluation key. You can get evaluation key from here.
- Run the Register-NCache cmdlet on the PowerShell window with the Evaluation Key to use NCache servers.
Register-NCache -Key your_eval_key -Environment Qa -Clients 6 -FirstName John -LastName Smith -Email email@example.com -Company Alachisoft -server 126.96.36.199
You need to repeat these steps on all machines for all cache servers.
See Configure Cache Cluster in Cloud Environment to create a running cache cluster inside your AWS VM.