트래픽 이전은 애플리케이션의 서비스 내에서 여러 버전 간에 요청 라우팅을 전환하여 하나 이상의 버전에서 새로운 단일 버전으로 트래픽을 이동하는 기능입니다.
가변형 환경에서는 버전 간에 트래픽이 즉시 마이그레이션됩니다. 표준 환경의 버전과 달리 가변형 환경에서는 점진적 트래픽 마이그레이션이 지원되지 않습니다.
실행 중인 인스턴스 없이 트래픽을 새 버전으로 즉시 이전하면 인스턴스가 생성되는 동안 앱에 지연 시간이 급격하게 늘어납니다. App Engine Admin API를 사용하여 트래픽을 마이그레이션하기 전에 새 앱 버전의 충분한 인스턴스를 프로비저닝하여 대기 시간이 급격히 늘어나는 것을 방지할 수 있습니다.
새 버전의 minTotalInstances를 예상되는 트래픽을 처리하는 데 필요한 수로 설정합니다. 마이그레이션이 완료되면 이 필드를 재설정하여 트래픽이 떨어지면 자동 확장이 수행되도록 할 수 있습니다.
앱 버전 간에 트래픽을 분산시켜 버전에 발생하는 트래픽 양을 단계적으로 늘릴 수 있습니다.
[[["이해하기 쉬움","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-26(UTC)"],[[["Traffic migration in the flexible environment allows you to immediately switch request routing from one or more versions of your application to a single new version."],["To prevent latency spikes, provision sufficient instances of the new version using the App Engine Admin API before migrating traffic, and set `minTotalInstances` accordingly."],["Traffic can be migrated using the Google Cloud console, the `gcloud app services set-traffic` command, or programmatically through the Admin API."],["Gradual traffic migration is an option through the use of the `migrate` flag or the enabling of warmup requests, and can be configured from the console or through the `gcloud` command."],["Ensure your user account has the necessary privileges to configure traffic before you begin migrating traffic to a new version."]]],[]]