2

我似乎无法制作海王星笔记本,每次尝试时都会出现以下错误:

Notebook Instance Lifecycle Config 'arn:aws:sagemaker:us-west-2:XXXXXXXX:notebook-instance-lifecycle-config/aws-neptune-tutorial-lc' 
for Notebook Instance 'arn:aws:sagemaker:us-west-2:XXXXXXXXX:notebook-instance/aws-neptune-tutorial' 
took longer than 5 minutes. 
Please check your CloudWatch logs for more details if your Notebook Instance has Internet access.

请注意,它建议查看的 cloudwatch 日志不存在。

海王星数据库是使用此 cloudformation 模板创建的:https ://github.com/awslabs/aws-cloudformation-templates/blob/master/aws/services/NeptuneDB/Neptune.yaml

它在默认 VPC 中创建了海王星集群。

笔记本实例是使用此 cloudformation 模板创建的:https ://s3.amazonaws.com/aws-neptune-customer-samples/neptune-sagemaker/cloudformation-templates/neptune-sagemaker/neptune-sagemaker-nested-stack.json

为创建的海王星堆栈传入相关值。

有没有人见过这种类型的错误并知道如何克服它?

4

2 回答 2

2

我必须进入并修改 neptune 使用的预定义安装脚本,并将nohup命令添加到安装的最后部分,如此处所述https://aws.amazon.com/premiumsupport/knowledge-center/sagemaker-lifecycle-script-暂停/

于 2020-03-18T23:12:11.453 回答
0

可能正在发生的事情是您的笔记本实例无法访问互联网。检查您的 VPC 的 NAT 配置,并且它们的安全组已允许所有出站规则

于 2021-06-18T12:16:31.733 回答