In my previous post, I discussed NCache Cloud in Azure and how to use it. If you are more of an Amazon lover, then you might have not fancied that post. So, here’s what I’m going to do. I am dedicating this post to NCache Cloud in AWS and the steps required to get there.
NCache, through AWS Web Service, allows you to use NCache as a service with your application to achieve agility, scalability, and better performance numbers. NCache Cloud offers are available on AWS marketplace that allow you to quickly set up your cloud environment and run NCache clusters in it. Getting to use NCache over with your application in cloud just takes a few simple steps, which have been explained for you in this article. Let’s take the tour.
Step 1: Create NCache Cloud Subscription in AWS
To start off, you first need to have NCache Cloud subscription in Amazon Web Services. This subscription process requires you to select one of the NCache Enterprise and Professional offers hosted on AWS marketplace and build your subscription on it. These offers differ based on payment plans, which are:
- Pay as You Go: In this plan, NCache usage is charged on an hourly basis.
- 1-Year Reserved: In this plan, NCache usage is charged yearly.
Your first step is to select an offer from these offers and follow the steps shown in the gif below. I will be demonstrating how to get started with NCache Enterprise Cloud (1-Year Reserved) offer because it is the most convenient offer for the customers.
- NCache Enterprise Cloud (1-Year Reserved)
- NCache Enterprise Cloud (Pay as You Go)
- NCache Professional Cloud (1-Year Reserved)
- NCache Professional Cloud (Pay as You Go)
Step 2: Complete NCache Cloud Service Purchase
When you are redirected to NCache Cloud Portal, you need to purchase licenses against the plans (in case of 1-Year Reserved offer). The basic division of these plans is as follows:
- Server-Only Plan: Purchase servers and connect unlimited clients with them.
- Client-Server Plan: Purchase a specific number of servers and clients to connect with them.
You can purchase licenses against both of these plans, as shown in the gif below, or you can also select either/or depending upon your requirements.
Step 3: Register Account Details
Once you have selected and reviewed your license purchase, you need to register an account with NCache Cloud Portal, which is basically used to log in to your subscription anytime from anywhere. NCache Cloud Portal has an entire form dedicated to registering this user or an already existing user, the details of which you can see below.
Step 4: Select Deployment Method
When you registered yourself on NCache Cloud Portal, your billing started. What’s left to do now is use the purchased licenses to deploy servers. But first, you need to select a deployment method.
- Automatic Deployment: Automatic deployment allows you to auto deploy resources in your subscription through NCache Cloud Portal. This deployment of resources requires you to provide information of a deployment user that has IAM rights on resources in your subscription.
- Manual Deployment: Manual deployment allows you to manually deploy resources in your subscription without any IAM user.
When you have selected a deployment method that suits you best, you can start creating an environment.
Automatic Deployment of Resources
If you chose Automatic Deployment, you will see a form similar to what I have shown below. Through this form, NCache Cloud Portal gains the necessary information about the IAM user and deploys resources against it. In case you do not have a user that has required privileges on your subscription, then don’t worry, NCache portal got you covered. Follow these steps:
Manual Deployment of Resources
Choosing Manual Deployment method means that your information is secured with you while you create and deploy an environment in your AWS subscription. The steps for manual deployment are as simple as this:
Step 5: Connect to Deployed Server
No matter which deployment method you chose, you now have at least one environment that has running servers in it. You can access these servers from AWS EC2 console or you can use NCache Cloud Portal to connect to these machines. Here’s how:
Step 6: Configure NCache Cluster
The deployed servers will have an activated version of NCache that you chose earlier. In case you find out that you do not have an activated version of NCache, you can manually activate NCache in it through the portal. So, now’s the time to configure NCache clusters in your server. In this section, I will show you how to create a cache cluster, perform management operations on it, and monitor its health, all while staying inside the machine.
Create a Demo Cache Cluster
NCache Cloud Portal secretly auto creates cache clusters for you while creating an environment, but in case you missed that option, you can still manually create cache clusters like shown here:
Perform Management Operations on Cluster
In the gif below, I have shown a couple of things you can do when you have a running cache cluster. There’s so much more to it than just this; to know more, please refer to our guide on Management Operations on Cache Cluster.
Monitor health of Cluster
To ensure that everything in your cluster is working perfectly the way you want it to, you can monitor the current behavior of the cache at any time. Follow our documentation on Monitor Caches for a detailed guide or simply do what I’m doing here:
This is it. You have successfully configured a running cache cluster inside your NCache cloud subscription which can now be used to improve your application’s performance tenfold.
Conclude the Blog
Alachisoft is now supporting NCache as a service on your favorite cloud vendors, AWS and Azure. To get started with NCache cloud on these vendors is as easy as ABC, as shown in this article. What you should do now is master NCache Cloud Portal and take hold of your subscription by referring to Administrator’s Guide on NCache Cloud.