보안 업데이트를 계속 받고 기술 지원을 받으려면 애플리케이션을 지원되는 최신 런타임 버전으로 업그레이드해야 합니다.
기존 앱을 업그레이드하는 프로세스는 앱에서 현재 사용하는 런타임 버전에 따라 다릅니다.
Python 2.7(1세대 런타임): 지원되는 최신 Python 버전으로 앱을 마이그레이션해야 합니다. Python 2.7 지원은 2024년 1월 31일에 종료되었습니다. 기존 Python 2.7 애플리케이션을 계속 실행하고 트래픽을 받을 수 있습니다. 그러나 App Engine에서 지원 종료 날짜 이후에 런타임을 사용하는 애플리케이션의 재배포를 차단할 수 있습니다.
Python 2.7에서 지원되는 최신 Python 버전으로 마이그레이션하려면 Python 3 런타임으로 마이그레이션을 참조하세요.
Python 2세대 런타임(지원 종료 후): 지원되는 Python 버전으로 업그레이드하려면 앱에서 실행할 Python 버전을 지정하여 app.yaml 파일을 업데이트합니다. 예를 들면 다음과 같습니다.
runtime:pythonVERSION
여기서 VERSION은 Python MAJOR 및 MINOR 버전 번호입니다.
예를 들어 최신 Python 버전인 Python 3.13를 사용하려면 313를 지정합니다.
자세한 내용은 Python 런타임 개요를 참고하세요.
[[["이해하기 쉬움","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-09-04(UTC)"],[[["\u003cp\u003eUpgrading to the latest supported runtime version is crucial for ongoing security updates and technical support eligibility.\u003c/p\u003e\n"],["\u003cp\u003ePython 2.7 applications must be migrated to a supported Python version, as Python 2.7 reached its end of support on January 31, 2024, and redeployment may be blocked after the support end date.\u003c/p\u003e\n"],["\u003cp\u003eFor upgrading apps on second-generation Python runtimes, the \u003ccode\u003eapp.yaml\u003c/code\u003e file must be updated with the desired supported Python version, such as specifying \u003ccode\u003e312\u003c/code\u003e for Python 3.12.\u003c/p\u003e\n"]]],[],null,["# Upgrade an existing application\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\nYou must upgrade your applications to the [latest supported runtime version](/appengine/docs/standard/lifecycle/support-schedule#python) to continue receiving security updates and be eligible for\ntechnical support.\n\nThe process of upgrading an existing app depends on the runtime version that\nyour app currently uses:\n\n- **Python 2.7 (first-generation runtime)** : You must migrate your app to the [latest supported Python version](/appengine/docs/standard/lifecycle/support-schedule#python). Python 2.7 has reached [end of support](/appengine/docs/standard/lifecycle/runtime-lifecycle#end_of_support) on January 31, 2024. Your\n existing Python 2.7 applications will continue to run and receive traffic. However,\n App Engine might block re-deployment of applications that use runtimes\n [after their end of support date](/appengine/docs/standard/lifecycle/support-schedule#python).\n To migrate from Python 2.7 to the latest supported version of Python, see\n [Migrate to the Python 3 runtime](/appengine/migration-center/standard/migrate-to-second-gen/python-differences).\n\n- **Python second-generation runtimes (after end of support)** : To upgrade to a\n [supported version of Python](/appengine/docs/standard/lifecycle/support-schedule#python),\n update the `app.yaml` file by specifying a version of Python that you\n want your app to run. For example:\n\n runtime: python\u003cvar translate=\"no\"\u003eVERSION\u003c/var\u003e\n\n Where \u003cvar translate=\"no\"\u003eVERSION\u003c/var\u003e is the Python `MAJOR` and `MINOR` version numbers.\n For example, to use the latest Python version, Python 3.13,\n specify `313`.\n For more information, see the\n [Python runtime overview](/appengine/docs/standard/python3/runtime)."]]