用户管理的笔记本自动关机

huangapple go评论61阅读模式
英文:

User Managed Notebook Auto Shut Down

问题

我一直在研究,寻找跨多个项目可用且可扩展的功能,以自动关闭Vertex AI中用户管理的笔记本,以降低闲置成本。我看到这个功能的“官方”解决方案仅适用于托管笔记本(https://cloud.google.com/vertex-ai/docs/workbench/user-managed/shut-down)。在过去,曾有类似问题引起了一些关注(https://issuetracker.google.com/issues/237305892),但被标记为“不会修复”。

是否有人有建议来建立一个适用于Vertex AI用户管理的笔记本的自动关闭策略,对于任何建议或变通方法,我都非常感激。

我看到有一些功能可供使用Python/Shell脚本来强制关闭VM,但正如我所说,我担心在生产环境中使用可靠的解决方案。

英文:

I have been researching to find a suitable and scalable functionality accross multiple project to auto-shutdown user managed notebook in Vertex AI to reduce the idle costs. I saw that "official" solution for this feature is only available for managed notebooks(https://cloud.google.com/vertex-ai/docs/workbench/user-managed/shut-down). In past some concerns has been raised for the similar issue (https://issuetracker.google.com/issues/237305892) which was marked as won't fixed.

Does anyone have any recommendation to establish a auto-shutdown policy for vertexAI user managed notebooks, any suggestions or workarounds are highly appreciated.

I have seen there are some functionalities available to use python/shell script for brute forcing to shutdown VM but as I said my concern of using reliable solutions at production level

答案1

得分: 2

官方答案是使用Workbench Instances。 Workbench实例包括空闲关闭功能。 Workbench实例现在已经在公共预览中可用。

在过去,我们有一个脚本用于使用CPU利用率,但现在不建议使用,因为现在空闲关闭逻辑与笔记本执行活动相关。

英文:

The official answer is to use Workbench Instances. Workbench instances include idle-shutdown functionality. Workbench instances are now available in Public Preview.

In the past we had an script that used CPU utilization, but is not recommended anymore as now Idle Shutdown logic is tied to Notebook execution activity.

huangapple
  • 本文由 发表于 2023年7月20日 20:35:26
  • 转载请务必保留本文链接:https://go.coder-hub.com/76729946.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定