We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fdee3b commit 5cd0e31Copy full SHA for 5cd0e31
1 file changed
appspec.yml
@@ -2,19 +2,19 @@ version: 0.0
2
os: linux
3
4
files:
5
- - source: / # S3 zip 내 루트
6
- destination: /home/ubuntu/app # EC2의 app 디렉토리로 압축 해제
+ - source: /
+ destination: /home/ec2-user/app
7
overwrite: yes
8
9
permissions:
10
- - object: /home/ubuntu/app
+ - object: /home/ec2-user/app
11
pattern: '**'
12
- owner: ubuntu
13
- group: ubuntu
+ owner: ec2-user
+ group: ec2-user
14
mode: 755
15
16
hooks:
17
AfterInstall:
18
- - location: scripts/deploy.sh # 루트 기준으로 경로 설정
+ - location: FixLog_Server/scripts/deploy.sh
19
timeout: 180
20
- runas: ubuntu # root 말고 ubuntu 권장 (실행 권한 관리 쉬움)
+ runas: ec2-user
0 commit comments