<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Vpc on Sagar Panda | DevOps &amp; Cloud Infra Engineer</title><link>https://new.sagarpanda.com/tags/vpc/</link><description>Recent content in Vpc on Sagar Panda | DevOps &amp; Cloud Infra Engineer</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 20 Sep 2024 19:26:10 +0530</lastBuildDate><atom:link href="https://new.sagarpanda.com/tags/vpc/index.xml" rel="self" type="application/rss+xml"/><item><title>Automate AWS VPC Setup with Terraform</title><link>https://new.sagarpanda.com/blogs/terraform/terraform-aws-vpc/</link><pubDate>Fri, 20 Sep 2024 19:26:10 +0530</pubDate><guid>https://new.sagarpanda.com/blogs/terraform/terraform-aws-vpc/</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;a href="#introduction" class="heading-anchor" aria-label="Link to this section"&gt;&lt;svg class="h-4 w-4" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"&gt;&lt;path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/&gt;&lt;path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;The VPC is a logical private network that allows us to control how our resources, like servers, are connected and protected.&lt;/p&gt;
&lt;p&gt;With the help of VPC, we decide the range of IP addresses for the network, how we can divide the network into smaller parts, data flow into &amp;amp; out and rules for securing our resource.&lt;/p&gt;</description></item><item><title>Dynamic Data fetching — Data Sources in Terraform/OpenTofu</title><link>https://new.sagarpanda.com/blogs/terraform/terraform5/</link><pubDate>Sun, 12 May 2024 10:26:10 +0530</pubDate><guid>https://new.sagarpanda.com/blogs/terraform/terraform5/</guid><description>&lt;p&gt;
&lt;figure
 class="image-figure not-prose my-8"
 data-lightbox-enabled="
 true
 "
 data-gallery-type="auto"
 data-image-width="0"
 data-image-height="0"
 data-image-src="https://miro.medium.com/v2/resize:fit:1400/format:webp/1*F6h8tusJxak5v3v4ViKYdw.png"
&gt;
 &lt;div class="image-container"&gt;
 &lt;img
 src="https://miro.medium.com/v2/resize:fit:1400/format:webp/1*F6h8tusJxak5v3v4ViKYdw.png"
 alt="captionless image"
 
 
 loading="lazy"
 decoding="async"
 data-gallery-src="https://miro.medium.com/v2/resize:fit:1400/format:webp/1*F6h8tusJxak5v3v4ViKYdw.png"
 data-gallery-alt="captionless image"
 data-gallery-title=""
 /&gt;&lt;/div&gt;

 &lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;I have migrated of OpenTofu.&lt;/p&gt;
&lt;p&gt;If you wish to migrate, the process is pretty simple.&lt;/p&gt;
&lt;p&gt;Steps to migrate existing terraform infra:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;a
 href="https://opentofu.org/docs/intro/install/"target="_blank"
 class="inline-flex items-center gap-1"
 &gt;Install opentofu&lt;svg class="h-3 w-3 flex-shrink-0" id="external-link" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/&gt;&lt;/svg&gt;
 &lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Initialize opentofu just as you do with terraform.&lt;/p&gt;</description></item><item><title>Terraform on AWS — Outputs, Indexing and Variables</title><link>https://new.sagarpanda.com/blogs/terraform/terraform2/</link><pubDate>Sun, 09 Jul 2023 10:26:10 +0530</pubDate><guid>https://new.sagarpanda.com/blogs/terraform/terraform2/</guid><description>&lt;p&gt;
&lt;figure
 class="image-figure not-prose my-8"
 data-lightbox-enabled="
 true
 "
 data-gallery-type="auto"
 data-image-width="0"
 data-image-height="0"
 data-image-src="https://miro.medium.com/v2/resize:fit:1400/format:webp/1*ADb5oFBqgBA4h-SDyW2D7Q.jpeg"
&gt;
 &lt;div class="image-container"&gt;
 &lt;img
 src="https://miro.medium.com/v2/resize:fit:1400/format:webp/1*ADb5oFBqgBA4h-SDyW2D7Q.jpeg"
 alt="captionless image"
 
 
 loading="lazy"
 decoding="async"
 data-gallery-src="https://miro.medium.com/v2/resize:fit:1400/format:webp/1*ADb5oFBqgBA4h-SDyW2D7Q.jpeg"
 data-gallery-alt="captionless image"
 data-gallery-title=""
 /&gt;&lt;/div&gt;

 &lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a
 href="https://new.sagarpanda.com/blogs/terraform/terraform-setup/"&gt;&lt;strong&gt;&lt;em&gt;In the previous article&lt;/em&gt;&lt;/strong&gt;&lt;/a&gt;, we setup tf and got familiar with it with basic example. Now lets proceed further.&lt;/p&gt;
&lt;p&gt;All configs can be found on &lt;a
 href="https://github.com/sagarkrp/Terraform_Automation"target="_blank"
 class="inline-flex items-center gap-1"
 &gt;GitHub&lt;svg class="h-3 w-3 flex-shrink-0" id="external-link" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/&gt;&lt;/svg&gt;
 &lt;/a&gt;.&lt;/p&gt;
&lt;h3 id="displaying-output-in-tf"&gt;Displaying Output in TF:&lt;a href="#displaying-output-in-tf" class="heading-anchor" aria-label="Link to this section"&gt;&lt;svg class="h-4 w-4" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"&gt;&lt;path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/&gt;&lt;path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;For every action we create we can generate output also to be shown on the terminal.&lt;/p&gt;</description></item></channel></rss>