

# 从开发端点迁移到交互式会话
<a name="development-migration-checklist"></a>

 使用以下清单确定从开发端点迁移到交互式会话的适当方法。

 **您的脚本是否依赖于 AWS Glue 0.9 或 1.0 的特定功能（例如，HDFS、YARN 等）？** 

 如果答案是肯定的，请参阅[将 AWS Glue 作业迁移到  AWS Glue 版本 3.0](https://docs.aws.amazon.com/glue/latest/dg/migrating-version-30.html)，以了解如何从 Glue 0.9 或 1.0 迁移到 Glue 3.0 及更高版本。

 **使用哪种方法访问开发端点？** 


| 如果您使用此方法 | 然后执行此操作 | 
| --- | --- | 
| SageMaker AI 笔记本、Jupyter 笔记本或 JupyterLab | 通过在 Jupyter 上下载 .ipynb 文件迁移到 [AWS Glue Studio notebook](https://docs.aws.amazon.com/glue/latest/dg/interactive-sessions-gs-notebook.html)，并通过上传  .ipynb 文件创建新的 AWS Glue Studio notebook 作业。或者，您也可以使用 [SageMaker AI Studio](https://aws.amazon.com/blogs/machine-learning/prepare-data-at-scale-in-amazon-sagemaker-studio-using-serverless-aws-glue-interactive-sessions/) 并选择 AWS Glue 内核。 | 
| Zeppelin notebook | 通过复制和粘贴代码或自动使用第三方转换器（如，ze2nb）将 notebook 手动转换为 Jupyter notebook。然后，在 AWS Glue Studio 笔记本或 SageMaker AI Studio 中使用笔记本。 | 
| IDE |  请参阅[使用 PyCharm 并使用 AWS Glue 交互式会话编辑 AWS Glue 作业](https://aws.amazon.com/blogs/big-data/author-aws-glue-jobs-with-pycharm-using-aws-glue-interactive-sessions/)，或 [Microsoft Visual Studio Code 与交互式会话配合使用](https://docs.aws.amazon.com/glue/latest/dg/interactive-sessions-vscode.html)。 | 
| REPL |   在本地安装 [https://docs.aws.amazon.com/glue/latest/dg/interactive-sessions.html](https://docs.aws.amazon.com/glue/latest/dg/interactive-sessions.html)，然后运行以下命令： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/glue/latest/dg/development-migration-checklist.html)  | 
| SSH | 交互式会话中没有相应的选项。或者，您可以使用 Docker 映像。要了解更多信息，请参阅[使用 Docker 映像进行开发](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-etl-libraries.html#develop-local-docker-image)。 | 