본문 바로가기
AWS

[AWS] Elastic BeansTalk Timezone 설정

by meetyou 2023. 1. 12.

Elastic BeansTalk을 사용 한다면 배포할 때 타임존을 설정해주는 방법이 있다.

 

1. 디렉토리 생성

프로젝트 최상위 경로에 .ebextensions 디렉토리 생성 후 config 파일 생성

 

2. config 파일에 내용 추가

아래의 내용을 추가해주면 한국시간으로 바껴있는걸 볼 수 있다.

commands:
  set_time_zone:
    command: ln -f -s /usr/share/zoneinfo/Asia/Seoul /etc/localtime