Elastic BeansTalk을 사용 한다면 배포할 때 타임존을 설정해주는 방법이 있다.
1. 디렉토리 생성
프로젝트 최상위 경로에 .ebextensions 디렉토리 생성 후 config 파일 생성
2. config 파일에 내용 추가
아래의 내용을 추가해주면 한국시간으로 바껴있는걸 볼 수 있다.
commands:
set_time_zone:
command: ln -f -s /usr/share/zoneinfo/Asia/Seoul /etc/localtime
'AWS' 카테고리의 다른 글
[AWS] Elastic Beanstalk에 https 적용하기 (2) (2) | 2023.01.30 |
---|---|
[AWS] Elastic Beanstalk에 https 적용하기 (1) (0) | 2023.01.29 |
[AWS] Mac EC2 ssh 접속 하기 (0) | 2023.01.26 |
Elastic BeansTalk + GitHub Action CI/CD 설정 (0) | 2023.01.20 |
[Nginx] 413 Request Entity Too Large 에러 해결 방법 (0) | 2023.01.15 |