Conversation
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.
❤️ 기능 설명
GCP 이전을 위한 Terraform 인프라 코드 작성
파일 구조
terraform/
├── main.tf # Google / Cloudflare provider 설정
├── variables.tf # 변수 정의 (project ID, API 토큰, SSH 키 등)
├── network.tf # VPC, 서브넷, 방화벽
├── compute.tf # GCP 인스턴스 2개, 고정 IP, Docker 설치 startup script
├── storage.tf # GCS 버킷, 앱 서비스 계정 (ADC 인증)
├── dns.tf # Cloudflare A 레코드 (prod, staging, SSH 전용)
└── outputs.tf # IP, 버킷명 출력
주요 결정 사항
월 예상 비용
e2-medium (prod): ~$18/월
e2-micro (staging): $0/월
GCS: ~$1/월
합계: ~$19/월
연결된 issue
연결된 issue를 자동으로 닫기 위해 아래 {이슈넘버}를 입력해주세요.
close #470
🩷 Approve 하기 전 확인해주세요!
✅ 체크리스트