Repository navigation
dev 앱 서버 보안 그룹 분리 - #1214
Merged
Merged
dev 앱 서버 보안 그룹 분리#1214
Conversation
- dev 전용 보안 그룹 piki-dev-app-sg 를 만들고 piki-dev-app 을 옮김
- 입구는 prod 와 같은 80·443, 나가는 방향 전체
- prod 앱 서버·prod DB 보안 그룹은 그대로
- 결과: prod DB 의 MySQL·Redis 인바운드가 prod 앱 서버에서만 닿음
- 이전: 같은 그룹을 쓰는 dev 앱 서버도 닿음
- 원인: dev 는 자기 서버의 MySQL·Redis 를 씀 (SSM db-host·redis-host 172.17.0.1). prod DB 연결이 필요 없음
- dev 를 옮기고 prod 를 남김
- 대안: prod 전용 그룹을 새로 만들고 prod 를 옮김
- 기각: prod DB·extractor·renderer 참조를 함께 바꿔야 하고 순서가 어긋나면 prod 가 끊김
- 비용: prod 그룹 이름의 team3-dev 는 옛 이름 그대로
Closed
|
Discord 스레드 연동용 메타데이터입니다. discord-pr-bot 워크플로가 자동 생성하며, 수정·삭제하면 PR 과 Discord 알림 연동이 끊깁니다. |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
한눈에
dev 앱 서버를 전용 보안 그룹으로 옮김
Situation
추가
Task
범위
Action
dev 전용 보안 그룹
piki-dev-app-sg를 새로 만들고piki-dev-app에 붙임team3-dev가 옛 이름으로 남음적용 순서
terraform apply -target=aws_security_group.dev_app(새 그룹만 만듦)terraform apply(dev 앱 서버의 그룹 교체)Result
검증
terraform validate통과후속
연관 이슈