跳到正文
Modal 官方工程博客·· 2024-05-07AI 评分42

Modal 产品更新:Cloud buckets、Okta SSO 等新功能上线

Product updates: Cloud buckets, Okta SSO & more

AI 导读

Modal 本月新增 AWS S3 和 Cloudflare R2 存储桶挂载功能,可将桶作为可写文件系统卷挂载到容器中。同时推出 @web_server 装饰器支持非 ASGI/WSGI 协议的 Web 服务器托管,并为企业管理版用户提供 Okta 单点登录。此外还上线了 Volume 文件系统查看器及多项客户端更新。

正文 · 原文

Welcome to another round of Modal Product Updates! Here’s what’s new this month.

🪣 Cloud bucket mounts

You can now mount AWS S3 and Cloudflare R2 buckets into your containers as writable file system volumes.

Read the docs

Example code using cloud bucket mounts

🌪️ @web_server

It is now much easier to host web servers that don’t speak the ASGI or WSGI protocols in Modal. The @web_server decorator lets you directly specify a port that is listening for HTTP requests inside the container.

Read the docs

🔑 Okta single sign-on

Okta is available as an authentication mechanism for enterprise plan users. Please reach out to us if you’re interested in this for your workspace!

Read the docs

📀 Volume viewer

You can explore volume file systems from the web dashboard. To do so, visit the Storage tab.

Screenshot of volume viewer

👩‍💻 Client Updates

pip install --upgrade modal to get the latest client features, including:

For a complete list, check out the changelog.

🥑 Fresh posts

Modal Blender render

As always, if you’ve built anything else using Modal, share it with us on the community Slack!

You can reply to this email with thoughts and feedback, or join our Slack if you haven’t already. We’d love to hear from you.

Missed updates from the previous months? Find them here: February, November, August, July, May.

来源:Modal 官方工程博客 · modal.com