brunch

395. ElastiCache : Windows

by Master Seo

목표

ElastiCache 생성 하고 , 서버에서 원격 접속해 캐슁되는지 테스트 해보자.


10 cache.png

<1> ElastiCache 생성

<2> ElastiCache 보안 그룹 허용

<3> EC2 연결

<4> ElastiCache 앤드포인트 확인

<5> Windows EC2 에서 IE 실행



<1> ElastiCache 생성


Service > ElastiCache > Redis > 작성

seocache

notetype

t3.micro

저장

복제본수 0

서브넷 그룹 선택

보안그룹 편집

저장

작성



<2> ElastiCache 보안 그룹 허용


Service > EC2 > 보안그룹 > 인바운드

tcp 6379

규칙규가

RDP

어디에서나 접속

규칙저장



<3> EC2 연결


EC2 > connect

donwload remote desktop file

descript 해서 나오는 패스워드 복사해 놓는다.

getpassword

decrypt password 해서 나오는 패스워드 복사 해 놓기

// 암호 복사

dns확인


ec2-34-208-27-182.us-west-2.compute.amazonaws.com



RDP파일 클릭해서 원격연결




<4> ElastiCache 앤드포인트 확인


ElastiCache > redis > mycache > action > copy node endpoint 엔트포인트 확인


mycache.xxxxxxxxxxx.usw2.cache.amazonaws.com:6379 형식





<5> Windows EC2 에서 IE 실행


1

server manager > local > IE Enhaceded Security Configure : admin / user OFF로 변경


10 admin.png


2

ie 실행

redis desktop manager 다운로드

https://github.com/uglide/RedisDesktopManager/releases/download/0.9.3/redis-desktop-manager-0.9.3.817.exe


3

redis서버 연결

서버 이름 : mycache

ip : 2에서 확인한 엔드포인트로 접속 한다.

mycache.xxxxxx.0001.usw2.cache.amazonaws.com 형식이다.

확인


4.

테스트

set a "hello"

get a

get b

set b "bbbb"

get b


100 elasticache.png


감사합니다.



keyword
매거진의 이전글 10탄-ECS 시작