Загрузка страницы

AWS Lab ElastiCache Memcached | AWS Hands On | AWS DIY | AWS By Doing

This is an episode of the educational video series 'AWS By Doing' wherein you can learn AWS Cloud Computing by following along with an AWS certified Solutions Architect. Expect new episodes every Monday and Thursday!

This is a hands-on lab on: AWS ElastiCache Memcached

Create a Security Group for your EC2 Instance
Create a Security Group for your ElastiCache cluster
Create a Subnet Group for your ElastiCache cluster
Create an ElastiCache for Memcached cluster
Find and copy the endpoints for your Memcached cluster
Create a Key Pair to SSH into your instance
Create and launch an EC2 instance
SSH into your EC2 instance and install telnet
From your EC2 instance, connect to your Memcached cluster node
Delete all created resources

Please give a thumbs up to this video to encourage us and share this video with your friends and colleagues! Also, subscribe to this channel 'AWS By Doing' and we will update you regularly with our LATEST and GREATEST offerings! Write in a comment of what you liked and how we can improve!

Link to our Playlist:
https://www.youtube.com/watch?v=bpjtOFoOiVw&list=PLisYSIHvE9qPL6a-nx4sgoJ3dbgrwoEuV

We acknowledge and thank the official AWS Documentation material which we have used to produce this educational video.
Link to AWS documentation:
https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/deploy-cluster.html


Links/Commands/Code Snippets:

On a macOS or Linux computer, set the permissions of your private key file so that only you can read it:
From a terminal, navigate to the folder where you saved the private key file
And Run this command:
chmod 400 my-key-pair.pem
(Replace my-key-pair.pem with your key file name)

To connect to your instance using SSH
From a terminal window, navigate to your key pair folder
and run the ssh command:

ssh -i my-key-pair.pem my-instance-user-name@my-instance-public-dns-name


Commands to Install telnet and connect to your ElastiCache Memcached Cluster:
From a terminal or windows PowerShell:
sudo yum install telnet -y
telnet mycachecluster.eaogs8.0001.usw2.cache.amazonaws.com 11211
telnet Memcached commands to test your ElastiCache Memcached Cluster:

set key1 0 0 5 // Set key "key1" with no expiration and 5-byte value
hello // Set value as "hello"
STORED
get key1 // Get value for key "key1"
VALUE a 0 5
hello
END
get key2 // Get value for key "key2" results in miss
END
set key2 0 0 5 // Set key "key2" with no expiration and 5-byte value
hello // Set value as "hello"
replace key2 0 0 11 // Replace key "key2" with no expiration and 11-byte value
Hello World // Set value as "Hello World"
get key2 // Get value for key "key2"
Hello World
END
delete key1 // Delete "key1"
get key1 // Get value for key "key1" results in miss
END

stats // Memcached server statistics
stats items // Memcached server statistics

quit // End session and disconnect

Видео AWS Lab ElastiCache Memcached | AWS Hands On | AWS DIY | AWS By Doing канала PROJECTS By Doing
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
20 августа 2020 г. 10:00:05
00:37:17
Яндекс.Метрика