본문 바로가기

⭐ AWS/AWS ElastiCache

Local 환경에서 Elasticache CLI 접속하기

# Windows Local 환경에서 Elasticache 접근 하기

1. redis cli 설치

https://github.com/microsoftarchive/redis/releases/tag/win-3.2.100

 

Release 3.2.100 · microsoftarchive/redis

This is the first release of Redis on Windows 3.2. This release is based on antirez/redis/3.2.1 plus some Windows specific fixes. It has passed all the standard tests but it hasn't been tested in a...

github.com

위의 url 이동  Redis-x64-3.2.100.msi 파일을 다운로드 및 실행

2. 접속 하기

실행하는 프로그램은 몇가지 존재, windows는 cmd나 powershell을 통해 접근 하는것이 보편적 방법임

만약 aws sso 및 vpn이 있으면 아래의 절차 추가

aws configure sso 접근
vpn 접속
local에서 아래의 접속하기 명령어를 통해 elasticache cli 접속 하기

- powershell 실행

cd (directory) 명령어를 이용하여 redis 폴더로 이동한다.

일반적으로 아래와 같이 C:\Program Files\Redis 로 되어 있다.

  - 접속하기

명령어 : ./redis-cli -h {엔드포인트 주소} -p {port번호}
명령어 windows : redis-cli -h {엔드포인트 주소} -p {port번호}

3. 접속 확인

접속 확인

 

- 끝 -

'⭐ AWS > AWS ElastiCache' 카테고리의 다른 글

ElastiCache Parameter Group  (0) 2024.02.01