跳到正文
Modal Blog·· 2024-05-07AI 评分20

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

Product updates: Cloud buckets, Okta SSO & more

AI 导读

Modal 本月新增 AWS S3 与 Cloudflare R2 存储桶挂载功能,可将对象存储作为可写文件系统卷挂载进容器。平台同时推出 @web_server 装饰器,支持直接指定容器内 HTTP 监听端口,并为企业在版用户提供 Okta 单点登录。客户端方面,pip install --upgrade modal 可获取多文件应用组合、Dict 迭代、队列多分区等更新。

正文

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 Blog · modal.com