로컬에서 배포서버의 redis를 편하게 보는 방법 #53
kindsmell
started this conversation in
아키텍처 및 가이드
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🚀 로컬에서 배포 서버 Redis 접속 가이드
배포 서버의 Redis는 보안을 위해 Private Subnet에 위치하고 있어 직접 접속이 불가능합니다.
따라서 SSH 터널링을 통해 접속해야 합니다. 아래 두 가지 방법 중 편한 방법을 선택하세요.
공통 정보 (서버 정보)
211.188.55.17510.0.2.6(Port:6379)root/설정한 비밀번호방법 1: RedisInsight 사용 (⭐️추천!)
Redis 공식 GUI 도구로, 키를 폴더 구조(
:)로 시각화해 줍니다.10.0.2.66379codejam-redisUse SSH Tunnel활성화211.188.55.175(사진이랑 다릅니다 변경되었어요!!!)root서버 관리자 비밀번호방법 2: VS Code Redis Extension 사용
기존 VS Code 환경에서 터미널을 이용해 접속하는 방법입니다.
1단계: SSH 터널링 활성화 (터미널)
내 컴퓨터의 터미널을 열고 아래 명령어를 실행합니다. (접속 상태 유지 필요)
설명: 내 로컬의 6379 포트를 배포 서버의 Redis로 직접 연결합니다.
2단계: VS Code에서 연결
127.0.0.1(또는localhost)6379💡 주의사항
Beta Was this translation helpful? Give feedback.
All reactions