[박태원] sprint10#156
Open
taiwon1 wants to merge 1 commit intocodeit-bootcamp-nodejs:박태원from
Hidden character warning
The head ref may contain hidden characters: "sprint10-\ubc15\ud0dc\uc6d0"
Open
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.
🌐 API Endpoint
🚀 개요
✅ 주요 구현 사항
EC2 (Ubuntu 24.04): Node.js 서버 배포 및 운영
RDS (PostgreSQL): 안정적인 데이터베이스 운영 환경 구축
S3: 정적 파일(이미지) 업로드 및 스토리지 활용
Nginx: 리버스 프록시 설정을 통해 80포트 서비스 제공
PM2: 프로세스 매니저를 통한 무중단 서버 운영 및 자동 재시작 설정
Environment: NODE_ENV 분기 처리를 통한 환경별(Local/Production) 업로드 로직 분리
🛠️ 트러블슈팅 요약
Nginx: 기본 default 설정 파일의 80포트 선점 문제 해결
Security Group: EC2/RDS 보안 그룹 인바운드 규칙 충돌 및 접근 제어 설정
PM2: startup 및 save 명령어를 통한 인스턴스 재부팅 시 자동 실행 설정
📁 infra 파일 구조