Repository navigation
chore(deploy): 운영 DB 를 서버 루프백에만 열어 SSM 포트 포워딩으로 접속한다 - #45
Merged
Merged
Conversation
- deploy/compose.yaml postgres 에 127.0.0.1:5432 를 연다 — 보안 그룹은 그대로 - DeployFilesTest 가 DB 포트가 루프백 하나뿐인지 검사한다 - deploy/README 에 DBeaver 등 로컬 DB 도구 접속 절차를 적는다 - ADR-191 · docs/README 결정 기록 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



왜
운영자가 작업 · 호출 기록 · 반영 내역을 DB 로 보고 튜닝하는데(ADR-089 · ADR-121), 지금은 SSM 셸 안
docker exec … psql로만 접속할 수 있어 조회가 불편하다. DBeaver 같은 로컬 DB 도구로 접속할 수 있게 한다.무엇을
deploy/compose.yaml— postgres 에127.0.0.1:5432:5432를 연다. 서버 밖에서는 닿지 않고 보안 그룹은 그대로(80 · 443 만, 22 · 5432 닫힘).DeployFilesTest— 「DB 포트 없음」 검사를 「DB 는127.0.0.1:5432하나만」으로 바꿨다.deploy/README.md— 「로컬 DB 도구로 접속(DBeaver 등)」 절: Session Manager 플러그인 ·AWS-StartPortForwardingSession명령(로컬 15432) · DBeaver 설정(Production 연결 종류 · 읽기 전용) · 손으로 고치기 전 백업. 서버 구성 표의 호스트 포트 칸.docs/ADR.mdADR-191 ·docs/README.md결정 기록.배포 때 주의
AWS-StartPortForwardingSession문서의ssm:StartSession이 필요하다(저장소 밖 IAM — 확인하지 않았다).검증
./backend/gradlew -p backend test전체 통과(바꾼 테스트가 compose 변경 전 실패하는 것 먼저 확인)spotlessCheck·checkstyleTest통과🤖 Generated with Claude Code