Devops/Aws
[aws] aws eb open 명령어 시 Internal server error(503) 에러 해결 방법
Say simple
2021. 2. 13. 00:26
728x90
반응형
계속 서버 내부 에러가 떠서 왜 그런가 구글링 해봤더니 기존 aws에서 알려주는 지침서에서 잘못 적힌게 있었던건가 싶습니다...
option_settings:
aws:elasticbeanstalk:container:nodejs:
NodeCommand: "npm start"
이렇게 적혀있었는데 명렁어가 바뀌었나봅니다...
.ebextentions의 nodecommand.config 의 내용을 아래와 같이 바꿔주시면 해결됩니다.
option_settings:
- namespace: aws:elasticbeanstalk:container:nodejs
option_name: NodeCommand
value: "npm start"
728x90
반응형