App Engine 앱은 CPU, 메모리, 네트워크 및 디스크 리소스, 확장, 환경 변수를 비롯한 기타 일반 설정이 포함된 app.yaml 파일을 사용하여 구성됩니다.
app.yaml 파일 정보
app.yaml 파일에서 버전과 URL을 포함한 커스텀 런타임 앱의 런타임 구성을 지정할 수 있습니다. 이 파일은 특정 서비스 버전의 배포 설명자 역할을 합니다.
추가 서비스를 위해 app.yaml 파일을 만들고 배포하려면 먼저 default 서비스의 app.yaml 파일을 만들어야 합니다.
runtime:customenv:flex
앱 서비스의 복잡성에 따라 해당 app.yaml 파일에 몇 가지 요소만 정의해야 할 수 있습니다. 다음 예는 가변형 환경에서 커스텀 런타임 앱의 요구 사항이 얼마나 간단한지 보여줍니다.
app.yaml 파일에 고유한 이름을 지정할 수 있습니다. 하지만 이렇게 하면 배포 명령어에도 파일 이름을 지정해야 합니다. 예를 들어 app.yaml 파일의 이름을 service-name-app.yaml이나 app.flexible.yaml로 지정한 후 다음 중 하나를 사용하여 앱을 배포해야 합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-03-07(UTC)"],[[["The `app.yaml` file configures an App Engine app, defining resources like CPU, memory, network, disk, scaling, environment variables, and general settings."],["It serves as a deployment descriptor, defining runtime configurations, versions, and URLs for a specific service version within your app."],["The `app.yaml` file for the `default` service must be created first before other `app.yaml` files for additional services."],["You can use a unique name for `app.yaml` files, but you must specify this file name in the deployment command, such as `gcloud app deploy service-name-app.yaml`."],["The flexible environment allows for custom runtime configuration in the `app.yaml` file, and its complexity determines how many elements you need to specify."]]],[]]