September 2023 Summaries
8 posts from Pulumi
Filter
Month:
Year:
Post Summaries
Back to Blog
Bicep, a domain-specific language developed by Microsoft, aims to simplify the authoring of Azure Resource Manager (ARM) templates with a more concise and readable declarative syntax. To leverage the familiarity of general-purpose programming languages in Infrastructure-As-Code, a new Pulumi converter plugin has been introduced, allowing Bicep code to be converted into any supported Pulumi language, including TypeScript, C#, Python, Go, Java, and YAML. The plugin, built using .NET in F#, transforms Bicep code into Pulumi's internal Configuration Language (PCL) and then generates the target language code, facilitating integration with Pulumi's features such as Pulumi Deployments and Organization Access Tokens. In addition to the Bicep converter, an ARM to Pulumi converter has been developed by first decompiling ARM templates to Bicep and then using the Bicep conversion process, potentially streamlining ARM to Pulumi transformations. The converter is still in its early stages, with ongoing improvements and tests being conducted to enhance its functionality and support for real-world applications.
Sep 29, 2023
2,577 words in the original blog post.
Pulumi has introduced a range of updates and features to improve cloud development, including AI Resource Search and AI Assist, which enable natural language queries for infrastructure management. Pulumi Insights and AI have been integrated into the CLI, enhancing resource search capabilities. Notifications have been improved with Slack and Microsoft Teams integrations, facilitating streamlined communication and deployment monitoring. New admin-level access tokens and stack restoration features have been added to Pulumi Cloud, along with ephemeral Review Stacks for efficient code reviews. Enhanced property search allows for in-depth exploration of resource properties across over 100 cloud providers. The platform now supports Go generics for better type safety and has introduced a pulumi convert feature for seamless migration from Terraform. Additionally, support for Scala has been added, and major updates to AWS, Azure, and Kubernetes providers have been released, alongside new community providers, to ensure a comprehensive and efficient cloud development experience.
Sep 29, 2023
2,120 words in the original blog post.
Pulumi recently improved the performance of its Python programs by addressing a bug related to the Python default future executor, which was limiting the concurrency of resource provisioning. After implementing a custom ThreadExecutor to respect user-defined parallelism settings, Pulumi Python programs experienced a significant speedup, achieving performance parity with Pulumi Node.js. Experimental tests showed that after the patch, Pulumi Python ran over three times faster than before, and slightly outperformed Pulumi TypeScript in similar benchmarks. The fix was introduced in Pulumi v3.44.3, ensuring that Python users automatically benefit from enhanced parallel execution without any additional configuration.
Sep 28, 2023
1,369 words in the original blog post.
Pulumi has introduced preview support for Go generics in its core and AWS Go SDKs, enhancing type safety and reducing the reliance on runtime type matching, which has been a source of potential errors. This update follows the publication of a public RFC and involves the introduction of the "pulumix" subpackage, which leverages Go's generics to provide a more type-safe and concise API experience. Previously, Pulumi's Go SDK used heavily untyped operations, relying on the interface{} type, which could lead to runtime panics if type mismatches occurred. By adopting generics, the new API reduces excessive code generation and allows developers to write code that is checked for type correctness at compile-time. Additionally, Pulumi plans to extend generics support to provider SDKs through a subpackage structure, allowing for a gradual transition to the new system. The integration of generics is being carefully phased in to avoid breaking changes, and Pulumi encourages user feedback as they refine this feature.
Sep 20, 2023
2,574 words in the original blog post.
Pulumi has enhanced its Pulumi Insights feature set by integrating Pulumi AI and Pulumi Resource Search directly into the Pulumi CLI, making cloud infrastructure management more accessible through the terminal. This integration introduces new commands such as "pulumi org search" and "pulumi ai," enabling users to efficiently search and interact with their cloud resources using natural language and generative AI. The updates include AI Assist for complex query formulation and fine-grained resource property searches, allowing users to perform tasks like identifying untagged resources or launching deployment instructions in a browser. These advancements aim to streamline cloud management tasks and are part of ongoing improvements to the Pulumi platform, with further developments anticipated in the near future.
Sep 13, 2023
539 words in the original blog post.
The blog post explores the innovative use of Artificial Intelligence in creating a Vue.js chatbot frontend that integrates with a chatbot API powered by LLaMA models, emphasizing the importance of seamless infrastructure integration. It highlights the challenges of building end-to-end AI/ML applications, which involve complex infrastructure layers beyond just algorithms and models, and introduces Pulumi as a tool to orchestrate the deployment of these components efficiently. The process involves using Python and Pulumi to deploy the Vue.js application to Vercel, showcasing the setup from cloning the repository to configuring deployment credentials and deploying the app. The post also offers insights into the Pulumi code used for Vercel deployment, providing a detailed breakdown of the code components and their functions. It invites readers to engage with the Pulumi community to share experiences and ideas for future AI projects, emphasizing that this journey is a part of the broader Pulumi Python + MLOps series.
Sep 13, 2023
1,472 words in the original blog post.
Deploying Hugging Face models on Amazon SageMaker using Pulumi for Infrastructure as Code (IaC) offers a streamlined and efficient approach to managing AI/ML services. This tutorial guides users through deploying a Meta AI LlaMa 2-based model from Hugging Face on SageMaker by leveraging the sagemaker-aws-python Pulumi template. This template helps bootstrap projects by automatically setting up necessary components such as IAM roles and CloudWatch alarms, simplifying the setup process. By writing infrastructure code in Python, users can easily manage both application and infrastructure requirements. After deploying the model, users can test it using a simple Python script that interacts with the SageMaker endpoint. Pulumi provides an accessible way to handle AI/ML deployments, making it easier for developers to engage with these technologies and clean up resources when tasks are completed.
Sep 11, 2023
863 words in the original blog post.
Pulumi has streamlined the process of integrating notifications into Microsoft Teams for organizations using Pulumi Cloud, allowing them to set up notifications for their stacks and organizations with fewer steps and without hosting infrastructure. Previously, users had to configure generic JSON webhooks, but now they can create Microsoft Teams-formatted webhooks by simply providing an incoming webhook URL. This integration facilitates centralized visibility and collaboration by providing detailed notifications about stack updates, including which operations were run, who initiated them, and the number of resources affected. To cater to organizations managing numerous stacks, Pulumi has introduced REST API endpoints and Pulumi Service Provider support to automate the creation and management of webhooks, enhancing efficiency and integration scalability.
Sep 11, 2023
1,428 words in the original blog post.