<?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: Ekta Chasta</title>
    <description>The latest articles on Forem by Ekta Chasta (@ekta_chasta_5d18b8500568a).</description>
    <link>https://forem.com/ekta_chasta_5d18b8500568a</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%2F2866785%2F90549a6c-5def-4d82-b76d-179078ce480d.jpg</url>
      <title>Forem: Ekta Chasta</title>
      <link>https://forem.com/ekta_chasta_5d18b8500568a</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/ekta_chasta_5d18b8500568a"/>
    <language>en</language>
    <item>
      <title>Fast Static Website Deployment with Pulumi 🚀</title>
      <dc:creator>Ekta Chasta</dc:creator>
      <pubDate>Sat, 29 Mar 2025 15:28:17 +0000</pubDate>
      <link>https://forem.com/ekta_chasta_5d18b8500568a/fast-static-website-deployment-with-pulumi-2a17</link>
      <guid>https://forem.com/ekta_chasta_5d18b8500568a/fast-static-website-deployment-with-pulumi-2a17</guid>
      <description>&lt;h1&gt;
  
  
  🚀 Pulumi Deploy and Document Challenge Submission
&lt;/h1&gt;

&lt;p&gt;This project is part of the &lt;a href="https://dev.to/challenges/pulumi"&gt;Pulumi Deploy and Document Challenge&lt;/a&gt;, showcasing a fast and automated static website deployment on AWS S3 using Pulumi.  &lt;/p&gt;

&lt;h2&gt;
  
  
  🌍 &lt;strong&gt;What I Built&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;I created a fully automated &lt;strong&gt;static website&lt;/strong&gt; hosted on &lt;strong&gt;AWS S3&lt;/strong&gt; using &lt;strong&gt;Pulumi’s Infrastructure-as-Code (IaC)&lt;/strong&gt; approach. The website serves a simple &lt;strong&gt;"Hello, World!"&lt;/strong&gt; page with static assets, making it easy to deploy, manage, and scale.  &lt;/p&gt;

&lt;h2&gt;
  
  
  🔗 &lt;strong&gt;Live Demo&lt;/strong&gt;
&lt;/h2&gt;

&lt;h2&gt;
  
  
  📌 &lt;strong&gt;Project Repository&lt;/strong&gt;
&lt;/h2&gt;

&lt;h2&gt;
  
  
  🚀 &lt;strong&gt;My Journey&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Throughout this project, I gained hands-on experience in:&lt;br&gt;&lt;br&gt;
✅ Setting up &amp;amp; configuring an &lt;strong&gt;S3 bucket&lt;/strong&gt; for static hosting&lt;br&gt;&lt;br&gt;
✅ Defining infrastructure using &lt;strong&gt;Pulumi YAML&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
✅ Debugging common Pulumi YAML syntax issues&lt;br&gt;&lt;br&gt;
✅ Managing AWS S3 website endpoints &amp;amp; permissions  &lt;/p&gt;

&lt;p&gt;One major challenge was configuring the website properly. Initially, I mistakenly used &lt;code&gt;website&lt;/code&gt; instead of &lt;code&gt;websiteConfig&lt;/code&gt;, which caused deployment errors. Debugging Pulumi’s error messages helped me understand AWS resources better and improved my troubleshooting skills.  &lt;/p&gt;

&lt;h2&gt;
  
  
  ⚙️ &lt;strong&gt;Pulumi Features Used&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;🔹 &lt;strong&gt;S3 Bucket Configuration&lt;/strong&gt; – Used &lt;code&gt;aws:s3:BucketV2&lt;/code&gt; for storage&lt;br&gt;&lt;br&gt;
🔹 &lt;strong&gt;Website Hosting&lt;/strong&gt; – Configured &lt;code&gt;aws:s3:BucketWebsiteConfigurationV2&lt;/code&gt;&lt;br&gt;&lt;br&gt;
🔹 &lt;strong&gt;Static File Uploads&lt;/strong&gt; – Deployed &lt;code&gt;index.html&lt;/code&gt; &amp;amp; &lt;code&gt;error.html&lt;/code&gt; using &lt;code&gt;aws:s3:BucketObject&lt;/code&gt;&lt;br&gt;&lt;br&gt;
🔹 &lt;strong&gt;Pulumi Outputs&lt;/strong&gt; – Extracted the website URL dynamically for easy access  &lt;/p&gt;

&lt;h2&gt;
  
  
  🌟 &lt;strong&gt;Final Thoughts&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;This project was a fantastic introduction to &lt;strong&gt;Infrastructure-as-Code (IaC) with Pulumi&lt;/strong&gt;! It simplified cloud infrastructure management, making deployments more efficient and reproducible. Looking forward to building more with Pulumi! 🚀✨  &lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>pulumichallenge</category>
      <category>webdev</category>
      <category>cloud</category>
    </item>
  </channel>
</rss>
