<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: aaronkao</title>
    <description>The latest articles on Forem by aaronkao (@aaronkao).</description>
    <link>https://forem.com/aaronkao</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F474180%2F2c0bbf93-dad4-4ca8-afac-4118a4861fde.png</url>
      <title>Forem: aaronkao</title>
      <link>https://forem.com/aaronkao</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/aaronkao"/>
    <language>en</language>
    <item>
      <title>The Promise of the Cloud, Unfulfilled</title>
      <dc:creator>aaronkao</dc:creator>
      <pubDate>Fri, 02 Aug 2024 15:57:21 +0000</pubDate>
      <link>https://forem.com/pulumi/the-promise-of-the-cloud-unfulfilled-3248</link>
      <guid>https://forem.com/pulumi/the-promise-of-the-cloud-unfulfilled-3248</guid>
      <description>&lt;p&gt;When your company moved to the cloud, it was supposed to supercharge innovation while slashing costs. Unlimited scalability and agility were within reach. But for many, that potential remains frustratingly untapped.&lt;/p&gt;

&lt;p&gt;Instead of accelerating development, managing infrastructure has become a bottleneck. Your DevOps and platform engineering teams are mired in:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Clunky, manual processes&lt;/strong&gt; - spinning up a simple test environment takes days&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Painfully slow rollouts&lt;/strong&gt; - deploying updates across regions drags on for weeks&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Overwhelming complexity&lt;/strong&gt; - the combinations of cloud services seem infinite&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There has to be a better way to truly harness the cloud and turn it into your secret weapon. That's where Pulumi comes in.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pulumi: The 10x Better Approach to Infrastructure as Code
&lt;/h2&gt;

&lt;p&gt;Pulumi is an open source infrastructure as code (IaC) platform that enables you to provision and manage your cloud with the same languages and tools you use to build applications. This unlocks powerful benefits:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Familiar languages and tools:&lt;/strong&gt; Use Python, TypeScript, Go, or any language you love. Tap into AI copilots, IDEs, testing frameworks, and CI/CD.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Built for modern architectures:&lt;/strong&gt; Easily automate and scale microservices, containers, serverless, and more. Apply software engineering to tame the complexity.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI-powered user experience:&lt;/strong&gt; Semantic understanding of your cloud combined with powerful language models provides unique insights and automations.&lt;/p&gt;

&lt;p&gt;Pulumi takes a fundamentally different approach that delivers 10x better productivity and time-to-value compared to other IaC tools. But what does that mean for you?&lt;/p&gt;

&lt;h2&gt;
  
  
  Compelling Reasons to Make the Switch
&lt;/h2&gt;

&lt;p&gt;Adopting Pulumi, trusted by hundreds of thousands of developers, can be game-changing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Accelerate deployments.&lt;/strong&gt; Provision environments in minutes instead of days. Roll out updates in hours instead of weeks. Deliver value faster.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Increase productivity.&lt;/strong&gt; Use best-in-class languages and tooling to manage infrastructure. No more fighting clunky domain-specific languages.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automate at infinite scale.&lt;/strong&gt; Use software engineering to tame the mind-boggling combinations of cloud services. 10x your infrastructure-to-engineer ratio.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open source stability.&lt;/strong&gt; Avoid the uncertainty of tools altering licenses and tying open source to commercial services. Get dependable open source.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Pulumi customers routinely see their productivity double, provisioning times compress 99%, and infrastructure management accelerate 10x. But Pulumi shines for specific use cases too.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Pulumi for Internal Developer Platforms?
&lt;/h2&gt;

&lt;p&gt;Building an Internal Developer Platform (IDP) to empower your developers requires:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Developer Control Plane&lt;/strong&gt; - Curated experiences and self-service interfaces&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Integration &amp;amp; Delivery&lt;/strong&gt; - Automation to provision, test, and deploy all aspects of infrastructure&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Monitoring &amp;amp; Logging&lt;/strong&gt; - Observability to maintain operational control and optimize costs&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Security &amp;amp; Identity&lt;/strong&gt; - Guardrails to enforce policies and control access&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Diverse Resources&lt;/strong&gt; - Support for Kubernetes, serverless, AI/ML, hybrid cloud, and more&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdbrmstqlp0kxt5vki1q6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdbrmstqlp0kxt5vki1q6.png" alt="pulumi-idp-platform" width="800" height="445"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pulumi provides the building blocks for each layer, enabling you to craft an IDP that bridges the gap between your developers and the cloud. Abstract away complexity while maintaining security and compliance.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Pulumi for AI Workloads?
&lt;/h2&gt;

&lt;p&gt;Deploying AI applications requires provisioning and gluing together many layers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Model training infrastructure&lt;/li&gt;
&lt;li&gt;Data transformation pipelines&lt;/li&gt;
&lt;li&gt;Backend services&lt;/li&gt;
&lt;li&gt;Web frontends&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwyt73tk7gth9i8zizunt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwyt73tk7gth9i8zizunt.png" alt="pulumi-ai-stack" width="800" height="1023"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pulumi allows you to define your entire AI stack, from machine learning frameworks down to cloud services, as a simple Python library. Go from local development to cloud production environments with ease.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Pulumi Over Alternatives?
&lt;/h2&gt;

&lt;p&gt;There are many infrastructure tools out there, but Pulumi delivers an unmatched combination of productivity and power:&lt;/p&gt;

&lt;h3&gt;
  
  
  Pulumi vs Clickops
&lt;/h3&gt;

&lt;p&gt;Manually provisioning prod infra = bad idea. No repeatability or consistency. Errors lead to downtime or worse. Automate with IaC.&lt;/p&gt;

&lt;h3&gt;
  
  
  Pulumi vs Terraform
&lt;/h3&gt;

&lt;p&gt;Both are IaC, but Pulumi enables far greater productivity, scalability, and collaboration:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Use real languages + tools, not proprietary DSLs&lt;/li&gt;
&lt;li&gt;Apply software engineering to tame complexity&lt;/li&gt;
&lt;li&gt;Empower self-service with IaC building blocks&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Pulumi vs AWS CDK
&lt;/h3&gt;

&lt;p&gt;Both use code for IaC, but Pulumi provides:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Multi-cloud with no lock-in, not just AWS&lt;/li&gt;
&lt;li&gt;Direct execution, not transpiling to CloudFormation&lt;/li&gt;
&lt;li&gt;Versatile testing, including fast in-memory mocking&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Pulumi vs IDP Services
&lt;/h3&gt;

&lt;p&gt;3rd party IDPs provide simple portals but lack Pulumi's:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Infrastructure as code foundation&lt;/li&gt;
&lt;li&gt;Powerful customization through software engineering&lt;/li&gt;
&lt;li&gt;Enterprise-grade secrets management and policy enforcement&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Making the Switch is Easy
&lt;/h2&gt;

&lt;p&gt;Adopting Pulumi doesn't have to be daunting. We've helped thousands of customers do it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://slack.pulumi.com/" rel="noopener noreferrer"&gt;Ask questions&lt;/a&gt; on our Community Slack&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.pulumi.com/docs/using-pulumi/adopting-pulumi/" rel="noopener noreferrer"&gt;Use our self-serve tools&lt;/a&gt; to import existing infrastructure&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.pulumi.com/contact/?form=tf-migration" rel="noopener noreferrer"&gt;Get expert help from our team&lt;/a&gt; to plan and execute your migration&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The cloud's promise is within your grasp. You just need the right tools to seize it.&lt;/p&gt;

&lt;p&gt;Pulumi can be the bridge between your teams and the cloud. The key to turning infrastructure from a bottleneck into a launchpad.&lt;br&gt;
So why wait? &lt;a href="https://www.pulumi.com/contact/?form=tf-migration" rel="noopener noreferrer"&gt;Join the thousands of companies&lt;/a&gt; achieving 10x greater velocity in shipping products.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Header image credit: &lt;a href="https://www.eso.org/public/images/eso2402a/" rel="noopener noreferrer"&gt;ESO/M. Kornmesser&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>cloud</category>
      <category>infrastructureascode</category>
      <category>programming</category>
      <category>devops</category>
    </item>
    <item>
      <title>Building High-scale AI Backends</title>
      <dc:creator>aaronkao</dc:creator>
      <pubDate>Tue, 05 Dec 2023 22:53:44 +0000</pubDate>
      <link>https://forem.com/pulumi/building-high-scale-ai-backends-17ej</link>
      <guid>https://forem.com/pulumi/building-high-scale-ai-backends-17ej</guid>
      <description>&lt;p&gt;What does it take to go from an idea in a notebook to an application handling real-world traffic? &lt;/p&gt;

&lt;p&gt;The Pulumi and Pinecone teams worked together to build a reference architecture that teaches you how to scale AI apps in production. We tested it with batches of 10k to 1M records. The reference architecture demonstrates microservices scaling, data processing pipelines, infrastructure segmentation through networking and security groups, and UI and database synchronizations. &lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture Details
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--e7UARgTS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/18bpfjipc4c7ktc7mmas.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--e7UARgTS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/18bpfjipc4c7ktc7mmas.png" alt="Image description" width="800" height="479"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On the infrastructure side, the reference architecture uses a Pinecone index as a vector store, a queue to fan out work, networking and security groups to separate the infrastructure, ECS services for the frontend and backend microservices, and autoscaling configured to expand the worker pool up and down elastically in response to system load. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--C1WIqG8H--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/93v8vcjxmntx7nwqj91m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--C1WIqG8H--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/93v8vcjxmntx7nwqj91m.png" alt="Image description" width="800" height="397"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On the application side, the reference architecture launches a semantic search interface over a Postgres database of product records, leveraging Pinecone’s vector database for queries and instant index updates.&lt;/p&gt;

&lt;p&gt;The reference architecture is built with the best practices for how to use AWS and Pinecone. It is designed for production, and it is easily modifiable to fit most use cases. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Try it out:&lt;/strong&gt; &lt;a href="https://github.com/pinecone-io/aws-reference-architecture-pulumi"&gt;https://github.com/pinecone-io/aws-reference-architecture-pulumi&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Additional Resources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.pinecone.io/blog/aws-reference-architecture/"&gt;Blog post&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.pinecone.io/learn/aws-reference-architecture/"&gt;Technical walkthrough&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.pulumi.com/resources/ai-apps-to-production/"&gt;Workshop&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/pinecone-io/aws-reference-architecture-pulumi"&gt;Github repo&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>machinelearning</category>
      <category>cloud</category>
      <category>architecture</category>
      <category>aws</category>
    </item>
    <item>
      <title>Secrets and configuration management made easy</title>
      <dc:creator>aaronkao</dc:creator>
      <pubDate>Fri, 20 Oct 2023 19:06:28 +0000</pubDate>
      <link>https://forem.com/pulumi/secrets-and-configuration-management-made-easy-3c0d</link>
      <guid>https://forem.com/pulumi/secrets-and-configuration-management-made-easy-3c0d</guid>
      <description>&lt;p&gt;Pulumi ESC is a new product from Pulumi that manages and tames secrets and configuration complexity across all of your cloud infrastructure and application environments. Pulumi ESC introduces a new category of configuration-as-code product, motivated by our experience working with hundreds of Pulumi IaC customers to address their needs in managing secrets and configuration at scale within their Pulumi infrastructure and across other cloud applications and infrastructure projects.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--FBp7eb3q--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7g3j76mz1fu13lk9vk6s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--FBp7eb3q--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7g3j76mz1fu13lk9vk6s.png" alt="How ESC Works" width="800" height="460"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Read more:  &lt;a href="https://www.pulumi.com/blog/environments-secrets-configurations-management/"&gt;https://www.pulumi.com/blog/environments-secrets-configurations-management/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>infrastructureascode</category>
      <category>webdev</category>
      <category>cloud</category>
      <category>architecture</category>
    </item>
    <item>
      <title>Infrastructure as Code best practices</title>
      <dc:creator>aaronkao</dc:creator>
      <pubDate>Wed, 20 Sep 2023 22:15:54 +0000</pubDate>
      <link>https://forem.com/pulumi/infrastructure-as-code-best-practices-14je</link>
      <guid>https://forem.com/pulumi/infrastructure-as-code-best-practices-14je</guid>
      <description>&lt;p&gt;We frequently get questions from our users on what are some of the best practices for infrastructure as code:  how to organize the code, how to structure projects, how to manage access controls, how to do cross stack references, how to build control planes, etc. Most of this information was dispersed across documentation, Slack conversations, and blog posts or just not written down. So we created a &lt;a href="https://github.com/pulumi/zephyr-infra"&gt;reference architecture&lt;/a&gt; that has all these best practices built in and then walked through it all in a series of blog posts.&lt;/p&gt;

&lt;p&gt;Follow along here:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.pulumi.com/blog/iac-recommended-practices-code-organization-and-stacks/"&gt;Code Organization and Stacks&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.pulumi.com/blog/iac-recommended-practices-developer-stacks-git-branches/"&gt;Developer Stacks and Git Branches&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.pulumi.com/blog/iac-recommended-practices-structuring-pulumi-projects/"&gt;Structuring Pulumi Projects&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.pulumi.com/blog/iac-recommended-practices-using-stack-references/"&gt;Using Stack References&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.pulumi.com/blog/iac-recommended-practices-rbac-and-security/"&gt;RBAC and Security&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.pulumi.com/blog/iac-recommended-practices-using-automation-api/"&gt;Using Automation API&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>go</category>
      <category>devops</category>
      <category>cloud</category>
      <category>architecture</category>
    </item>
    <item>
      <title>Deploying Hugging Face models on Amazon SageMaker using infrastructure as code</title>
      <dc:creator>aaronkao</dc:creator>
      <pubDate>Tue, 19 Sep 2023 22:00:32 +0000</pubDate>
      <link>https://forem.com/pulumi/deploying-hugging-face-models-on-amazon-sagemaker-using-infrastructure-as-code-2ki1</link>
      <guid>https://forem.com/pulumi/deploying-hugging-face-models-on-amazon-sagemaker-using-infrastructure-as-code-2ki1</guid>
      <description>&lt;p&gt;Here is a quick template and tutorial for bootstrapping Amazon SageMaker to run a LlaMa 2 model from Hugging Face. Everything is deployed as code (Python); no manual tweaking in the SageMaker console.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.pulumi.com/blog/mlops-huggingface-llm-aws-sagemaker-python/"&gt;www.pulumi.com/blog/mlops-huggingface-llm-aws-sagemaker-python/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>tutorial</category>
      <category>python</category>
    </item>
  </channel>
</rss>
