Getting Started with Alibaba Cloud ApsaraDB for Memcache SDK with NodeJS

Installing Memcache SDK with NodeJS

Preparatory Steps

  • You’ll need an Alibaba Cloud VPC and VSwitch CIDR block.
  • You’ll need an Alibaba Cloud ECS instance on the VPC where you can install an ApsaraDB instance.

Creating an ApsaraDB Memcache Instance

Setup Ubuntu OS, npm, and the Alibaba SDK

apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get install nodejs
apt-get install npm
npm install aliyun-sdk

Setup the Memcache Instance

Memcache Hello World

Backup Memcache

Summary

Original Source:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alibaba Cloud

Alibaba Cloud

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website:https://www.alibabacloud.com