Create your first Elasticache cluster
939 students completed the lab in ~45m
Total available time: 1h:0m
390+ students rated this lab!
Learn how to create and manage a Memcached cluster using Amazon ElastiCache
ElastiCache is a web service that makes it easy to deploy, operate, and scale a distributed in-memory cache environment in the cloud. You can choose from Memcached or Redis protocol-compliant cache engine software, and let ElastiCache perform software upgrades and patch management for you automatically.
Existing applications that use Memcached or Redis can use ElastiCache with almost no modification and, thanks to the ElastiCache Auto Discovery feature, they will identify all of the cluster nodes and connect to them, rather than having to maintain a list of available host names and port numbers.
This lab experience will guide you during the creation, and the scale up and down operations, of your first Elasticache cluster.
You'll build and learn following these steps:
Log In to the Amazon Web Service Console
Your first step to start the laboratory experience
Create a Cache Subnet Group
How to create a subnet group for the ElastiCache nodes
Create a Memcached cluster using AWS Elasticache
Launch your first cache cluster powered by Memcached and AWS ElastiCache
Create an EC2 instance
Launch a new EC2 instance using the management console wizard.
Configure the Security Group for allowing inbound traffic
How to allow inbound traffic for a specific port.
Install ElastiCache Memcached extension for PHP
How to install the official AWS Memcached extension for PHP
Connect to ElastiCache using PHP
Your first connection to ElastiCache using the PHP extension
Destroy an ElastiCache cluster
How to delete a Memcached or Redis cluster