개요
Linux
Windows
시작 스크립트는 가상 머신(VM) 인스턴스가 부팅될 때 실행되는 명령어가 포함된 파일입니다. Compute Engine은 Linux VM 및 Windows VM에서 시작 스크립트 실행을 지원합니다.
다음 표에는 시작 스크립트 사용 방법을 설명하는 문서 링크가 포함되어 있습니다.
시작 스크립트 태스크 |
최적의 용도 |
절차 링크 |
시작 스크립트 직접 전달 |
최대 256KB 스크립트 |
|
로컬 파일에서 시작 스크립트 전달 |
최대 256KB 스크립트 |
|
Cloud Storage에서 시작 스크립트 전달 |
256KB를 초과하는 스크립트 |
|
시작 스크립트에서 메타데이터에 액세스 |
동일한 스크립트를 사용하는 각 VM에 다른 값 전달 |
|
시작 스크립트 다시 실행 |
VM을 다시 시작하지 않고 스크립트 실행 |
|
시작 스크립트의 출력 보기 |
스크립트 진행 상태 모니터링 |
|
다음 단계
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-03-22 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"이해하기 어려움"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"잘못된 정보 또는 샘플 코드"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"필요한 정보/샘플이 없음"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"번역 문제"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"기타"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"이해하기 쉬움"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"문제가 해결됨"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"기타"
}]