Azure Container Apps Dynamic Sessions Generally Available |
Written by Kay Ewbank | |||
Monday, 02 December 2024 | |||
Dynamic Session support has been added to Azure Container Apps. Azure Container Apps is a serverless platform for running containerized applications, and dynamic sessions is designed to provide fast access to secure sandboxed environments. Azure Container Apps dynamic sessions are isolated from each other and from the host environment, and each session runs in its own Hyper-V sandbox. Sessions are accessed through a REST API, and the platform fully manages a session's lifecycle. Sessions are automatically cleaned up when no longer in use. Microsoft has announced the general availability of a Python code interpreter and custom container dynamic sessions, along with a public preview of JavaScript code interpreter dynamic sessions. Azure Container Apps supports two types of sessions, code interpreter and custom container. The two session types that have just been announced are code interpreter sessions that can be used to code in a sandbox that is preinstalled with popular libraries. Microsoft says these sessions are ideal for running untrusted code, such as code provided by users of your application or code generated by a large language model (LLM). Custom container sessions allow you to run your own container images in secure, isolated sandboxes. You can use them to run a custom code interpreter for a language that isn't supported out of the box, or to run workloads that require strong isolation. The new Python code interpreter and custom container sessions are now generally available. The sessions can be used to extend the large language model agent for tasks such as solving mathematical and reasoning problems, analyzing data, and generating graphics and charts. Microsoft says the dynamic sessions can be used in LangChain, LlamaIndex, and Semantic Kernel agents by adding a few lines of code, or in other applications that need to run untrusted Python code, you can integrate with Python code interpreter sessions using an HTTP API. In addition to Python, Microsoft also announced a new built-in JavaScript code interpreter sessions in public preview, and said developers can use JavaScript code interpreter sessions in their applications to run untrusted code on the Node.js runtime. Both sessions are available now. More InformationAzure Container Apps dynamic sessions overview Related ArticlesMicrosoft Introduces Dev Box and Azure Deployment Environments Azure Data Box Improves Offline Data Migration Microsoft Releases Azure AI Inference SDK For .NET To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
Comments
or email your comment to: comments@i-programmer.info |