

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# deploy 속성
<a name="attributes-json-deploy"></a>

**중요**  
이 AWS OpsWorks Stacks 서비스는 2024년 5월 26일에 수명이 종료되었으며 신규 및 기존 고객 모두에서 비활성화되었습니다. 가능한 한 빨리 워크로드를 다른 솔루션으로 마이그레이션하는 것이 좋습니다. 마이그레이션에 대한 질문이 있는 경우 [AWS re:Post](https://repost.aws/) 또는 [AWS Premium Support](https://aws.amazon.com/support)를 통해 AWS Support 팀에 문의하세요.

속성이 [Deploy 이벤트](workingcookbook-events.md) 또는 [레시피 실행 스택 명령](workingstacks-commands.md)에 연결된 경우, `deploy` 속성에는 앱의 짧은 이름으로 명명된, 배포된 각 앱의 속성이 포함됩니다. 각 앱 속성은 다음 속성을 포함합니다.


****  

|  |  |  | 
| --- |--- |--- |
| [애플리케이션](#attributes-json-deploy-app-app) | [application\$1type](#attributes-json-deploy-app-type) | [auto\$1bundle\$1on\$1deploy](#attributes-json-deploy-app-auto) | 
| [데이터베이스](#attributes-json-deploy-app-db) | [deploy\$1to](#attributes-json-deploy-app-deploy-to) | [domains](#attributes-json-deploy-app-domains) | 
| [document\$1root](#attributes-json-deploy-app-root) | [environment\$1variables](#attributes-json-deploy-app-environment) | [그룹](#attributes-json-deploy-app-group) | 
| [keep\$1releases](#attributes-json-deploy-app-keep-releases) | [memcached](#attributes-json-deploy-app-memcached) | [마이그레이션](#attributes-json-deploy-app-migrate) | 
| [mounted\$1at](#attributes-json-deploy-app-mounted) | [purge\$1before\$1symlink](#attributes-json-deploy-app-purge-before-symlink) | [rails\$1env](#attributes-json-deploy-app-ssl-rails) | 
| [restart\$1command](#attributes-json-deploy-app-restart) | [scm](#attributes-json-deploy-app-scm) | [ssl\$1certificate](#attributes-json-deploy-app-ssl-cert) | 
| [ssl\$1certificate\$1ca](#attributes-json-deploy-app-ssl-ca) | [ssl\$1certificate\$1key](#attributes-json-deploy-app-ssl-key) | [ssl\$1support](#attributes-json-deploy-app-ssl-supp) | 
| [스택](#attributes-json-deploy-app-stack) | [symlink\$1before\$1migrate](#attributes-json-deploy-app-symlink-migrate) | [symlinks](#attributes-json-deploy-app-symlinks) | 
| [user](#attributes-json-deploy-app-user) |  |  | 

**애플리케이션**  <a name="attributes-json-deploy-app-app"></a>
`"simplephp"`와 같은 앱의 slug 이름(문자열).  

```
node["deploy"]["appshortname"]["application"]
```

**application\$1type**  <a name="attributes-json-deploy-app-type"></a>
앱 유형(문자열). 가능한 값은 다음과 같습니다.  
+ `java`: Java 앱
+ `nodejs`: Node.js 앱
+ `php`: PHP 앱
+ `rails`: Ruby on Rails 앱
+ `web`: 정적 HTML 페이지
+ `other`: 그 밖의 모든 애플리케이션 유형

```
node["deploy"]["appshortname"]["application_type"]
```

**auto\$1bundle\$1on\$1deploy**  <a name="attributes-json-deploy-app-auto"></a>
Rails 애플리케이션의 경우, 배포 도중 bundler를 실행할지 여부(부울).  

```
node["deploy"]["appshortname"]["auto_bundle_on_deploy"]
```

**데이터베이스**  <a name="attributes-json-deploy-app-db"></a>
앱의 데이터베이스를 연결하는 데 필요한 정보를 포함합니다. 앱에 연결된 데이터베이스 계층이 있는 경우 OpsWorks Stacks는 이러한 속성에 적절한 값을 자동으로 할당합니다.    
**어댑터**  
`mysql`과 같은 데이터베이스 어댑터(문자열).  

```
node["deploy"]["appshortname"]["database"]["adapter"]
```  
**데이터베이스**  <a name="attributes-json-deploy-app-db-db"></a>
`"simplephp"` 등 일반적으로 앱의 slug 이름인 데이터베이스 이름(문자열).  

```
node["deploy"]["appshortname"]["database"]["database"]
```  
**data\$1source\$1provider**  
데이터 원본: `mysql` 또는 `rds`(문자열).  

```
node["deploy"]["appshortname"]["database"]["data_source_provider"]
```  
**host**  <a name="attributes-json-deploy-app-db-host"></a>
데이터베이스 호스트의 IP 주소(문자열).  

```
node["deploy"]["appshortname"]["database"]["host"]
```  
**암호**  <a name="attributes-json-deploy-app-db-pwd"></a>
데이터베이스 암호(문자열).  

```
node["deploy"]["appshortname"]["database"]["password"]
```  
**포트**  
데이터베이스 포트(숫자).  

```
node["deploy"]["appshortname"]["database"]["port"]
```  
**reconnect**  <a name="attributes-json-deploy-app-db-reconnect"></a>
Rails 애플리케이션의 경우, 연결이 더 이상 존재하지 않을 때 애플리케이션이 다시 연결해야 하는지 여부(부울).  

```
node["deploy"]["appshortname"]["database"]["reconnect"]
```  
**사용자 이름**  <a name="attributes-json-deploy-app-db-user"></a>
사용자 이름(문자열).  

```
node["deploy"]["appshortname"]["database"]["username"]
```

**deploy\$1to**  <a name="attributes-json-deploy-app-deploy-to"></a>
앱을 배포할 위치(예: `"/srv/www/simplephp"`(문자열))  

```
node["deploy"]["appshortname"]["deploy_to"]
```

**domains**  <a name="attributes-json-deploy-app-domains"></a>
앱의 도메인 목록(문자열의 목록).  

```
node["deploy"]["appshortname"]["domains"]
```

**document\$1root**  <a name="attributes-json-deploy-app-root"></a>
기본이 아닌 루트를 지정하는 경우에는 문서 루트, 기본 루트를 사용하는 경우에는 null(문자열).  

```
node["deploy"]["appshortname"]["document_root"]
```

**environment\$1variables**  <a name="attributes-json-deploy-app-environment"></a>
앱에 대해 정의된 사용자 지정 환경 변수를 나타내는 최대 20개의 속성 모음. 앱의 환경 변수를 정의하는 방법에 대한 자세한 정보는 [앱 추가](workingapps-creating.md) 단원을 참조하세요. 각 속성 이름은 환경 변수 이름으로 설정되고 해당 값은 변수의 값으로 설정되므로 다음 구문을 사용하여 특정 값 단원을 참조할 수 있습니다.  

```
node["deploy"]["appshortname"]["environment_variables"]["variable_name"]
```

**그룹**  <a name="attributes-json-deploy-app-group"></a>
앱의 그룹(문자열).  

```
node["deploy"]["appshortname"]["group"]
```

**keep\$1releases**  <a name="attributes-json-deploy-app-keep-releases"></a>
 OpsWorks Stacks가 저장할 앱 배포 수(숫자). 이 속성은 앱을 롤백할 수 있는 횟수를 제어합니다. 기본적으로 이 속성은 전역 값인 [deploy\$1keep\$1releases ](attributes-recipes-deploy.md#attributes-recipes-deploy-global-keep-releases)로 설정되며, 기본값은 5입니다. `keep_releases`를 재정의하여 특정 애플리케이션의 저장된 배포 수를 지정할 수 있습니다.  

```
node["deploy"]["appshortname"]["keep_releases"]
```

**memcached**  <a name="attributes-json-deploy-app-memcached"></a>
memcached 구성을 정의하는 두 가지 속성이 포함됩니다.    
**host**  <a name="attributes-json-deploy-app-memcached-host"></a>
Memcached 서버 인스턴스의 IP 주소(문자열).  

```
node["deploy"]["appshortname"]["memcached"]["host"]
```  
**포트**  <a name="attributes-json-deploy-app-memcached-port"></a>
memcached 서버가 수신 대기하는 포트(숫자).  

```
node["deploy"]["appshortname"]["memcached"]["port"]
```

**마이그레이션**  <a name="attributes-json-deploy-app-migrate"></a>
Rails 애플리케이션의 경우, 마이그레이션을 실행할지 여부(부울).  

```
node["deploy"]["appshortname"]["migrate"]
```

**mounted\$1at**  <a name="attributes-json-deploy-app-mounted"></a>
기본이 아닌 마운트 포인트를 지정하는 경우에는 앱의 마운트 루트, 기본 마운트 포인트를 사용하는 경우에는 null(문자열).  

```
node["deploy"]["appshortname"]["mounted_at"]
```

**purge\$1before\$1symlink**  <a name="attributes-json-deploy-app-purge-before-symlink"></a>
Rails 앱의 경우, symlink 생성 전에 삭제할 경로 어레이(문자열의 목록).  

```
node["deploy"]["appshortname"]["purge_before_symlink"]
```

**rails\$1env**  <a name="attributes-json-deploy-app-ssl-rails"></a>
Rails 앱 서버 인스턴스의 경우, `"production"`과 같은 rails 환경(문자열).  

```
node["deploy"]["appshortname"]["rails_env"]
```

**restart\$1command**  <a name="attributes-json-deploy-app-restart"></a>
`"echo 'restarting app'"` 등 앱이 다시 시작될 때 실행할 명령.  

```
node["deploy"]["appshortname"]["restart_command"]
```

**scm**  <a name="attributes-json-deploy-app-scm"></a>
OpsWorks가 소스 제어 리포지토리에서 앱을 배포하는 데 사용하는 정보를 지정하는 속성 세트를 포함합니다. 속성은 리포지토리 유형에 따라 다릅니다.    
**암호**  <a name="attributes-json-deploy-app-scm-pwd"></a>
프라이빗 리포지토리의 경우에는 암호, 퍼블릭 리포지토리의 경우 null(문자열). 프라이빗 Amazon S3 버킷의 경우, 이 속성은 보안 키로 설정됩니다.  

```
node["deploy"]["appshortname"]["scm"]["password"]
```  
**리포지토리**  <a name="attributes-json-deploy-app-scm-repo"></a>
`"git://github.com/amazonwebservices/opsworks-demo-php-simple-app.git"`와 같은 리포지토리 URL(문자열).  

```
node["deploy"]["appshortname"]["scm"]["repository"]
```  
**개정**  <a name="attributes-json-deploy-app-scm-revision"></a>
리포지토리에 여러 브랜치가 있는 경우, 이 속성은 `"version1"`과 같이 앱의 브랜치 또는 버전을 지정합니다(문자열). 그렇지 않으면 null로 설정됩니다.  

```
node["deploy"]["appshortname"]["scm"]["revision"]
```  
**scm\$1type**  <a name="attributes-json-deploy-app-scm-type"></a>
리포지토리 유형(문자열). 가능한 값은 다음과 같습니다.  
+ `"git"`: Git 리포지토리
+ `"svn"`: 하위 버전 리포지토리
+ `"s3"`: Amazon S3 버킷
+ `"archive"`: HTTP 아카이브
+ `"other"`: 기타 리포지토리 유형

```
node["deploy"]["appshortname"]["scm"]["scm_type"]
```  
**ssh\$1key**  <a name="attributes-json-deploy-app-scm-key"></a>
프라이빗 Git 리포지토리에 액세스하는 경우에는 [배포 SSH 키](workingapps-deploykeys.md), 퍼블릭 리포지토리의 경우에는 null(문자열).  

```
node["deploy"]["appshortname"]["scm"]["ssh_key"]
```  
**user**  <a name="attributes-json-deploy-app-scm-user"></a>
프라이빗 리포지토리의 경우에는 사용자 이름, 퍼블릭 리포지토리의 경우 null(문자열). 프라이빗 Amazon S3 버킷의 경우, 이 속성은 액세스 키로 설정됩니다.  

```
node["deploy"]["appshortname"]["scm"]["user"]
```

**ssl\$1certificate**  <a name="attributes-json-deploy-app-ssl-cert"></a>
SSL 지원을 활성화한 경우에는 앱의 SSL 인증서, 그렇지 않은 경우에는 null(문자열).  

```
node["deploy"]["appshortname"]["ssl_certificate"]
```

**ssl\$1certificate\$1ca**  <a name="attributes-json-deploy-app-ssl-ca"></a>
SSL이 활성화된 경우, 중간 인증서 발급 기관 공개 키 또는 클라이언트 인증을 지정하기 위한 속성(문자열).  

```
node["deploy"]["appshortname"]["ssl_certificate_ca"]
```

**ssl\$1certificate\$1key**  <a name="attributes-json-deploy-app-ssl-key"></a>
SSL 지원을 활성화한 경우에는 앱의 SSL 프라이빗 키, 그렇지 않은 경우에는 null(문자열).  

```
node["deploy"]["appshortname"]["ssl_certificate_key"]
```

**ssl\$1support**  <a name="attributes-json-deploy-app-ssl-supp"></a>
SSL이 지원되는지 여부(부울).  

```
node["deploy"]["appshortname"]["ssl_support"]
```

**스택**  <a name="attributes-json-deploy-app-stack"></a>
배포 중에 앱 서버를 다시 로드할지 지정하는 하나의 부울 속성 `needs_reload`를 포함합니다.  

```
node["deploy"]["appshortname"]["stack"]["needs_reload"]
```

**symlink\$1before\$1migrate**  <a name="attributes-json-deploy-app-symlink-migrate"></a>
Rails 앱의 경우, `"link":"target"` 쌍으로 마이그레이션을 실행하기 전에 생성할 symlink를 포함합니다.  

```
node["deploy"]["appshortname"]["symlink_before_migrate"]
```

**symlinks**  <a name="attributes-json-deploy-app-symlinks"></a>
`"link":"target"` 쌍으로 배포의 symlink를 포함합니다.  

```
node["deploy"]["appshortname"]["symlinks"]
```

**user**  <a name="attributes-json-deploy-app-user"></a>
앱의 사용자(문자열).  

```
node["deploy"]["appshortname"]["user"]
```