<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Surajbhakare on Medium]]></title>
        <description><![CDATA[Stories by Surajbhakare on Medium]]></description>
        <link>https://medium.com/@surajbhakare190?source=rss-62cce8df23bf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*rgBFCEJpUbTey_rj</url>
            <title>Stories by Surajbhakare on Medium</title>
            <link>https://medium.com/@surajbhakare190?source=rss-62cce8df23bf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 16:15:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@surajbhakare190/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Go Basics for DevOps Engineers:]]></title>
            <link>https://medium.com/@surajbhakare190/go-basics-for-devops-engineers-b59d9f7fc08b?source=rss-62cce8df23bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/b59d9f7fc08b</guid>
            <category><![CDATA[go-language]]></category>
            <dc:creator><![CDATA[Surajbhakare]]></dc:creator>
            <pubDate>Mon, 18 May 2026 06:12:04 GMT</pubDate>
            <atom:updated>2026-05-18T06:12:04.651Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*fwqTMXT1fEsku2vv.png" /></figure><p><strong><em>Learn Golang the Simple Way with Real Scenarios</em></strong></p><p>Modern DevOps tools like <strong>Kubernetes, Docker, Terraform, and Prometheus</strong> are all built using Go (Golang).</p><p>That is not a coincidence.</p><p>Go was designed for engineers who build:</p><ul><li>scalable systems</li><li>cloud infrastructure</li><li>automation tools</li><li>backend services</li><li>distributed applications</li></ul><p>This blog explains Go fundamentals in a beginner-friendly way using practical scenarios instead of complicated theory.</p><h3>. Why Go Became So Popular in DevOps :</h3><p><a href="https://golang.org/">Go</a>, “<strong>the cloud programing language</strong>,” is the world’s single fastest-growing and fourth most popular software programming language, used by nearly two million developers (based on 2018 <a href="https://madnight.github.io/githut/#/pull_requests/2018/2">GitHub usage</a>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/0*osMbE0xmQH3mLjI5.png" /></figure><p>Before understanding syntax, it is important to understand <em>why Go matters</em>.</p><p>Imagine managing hundreds of servers in production.</p><p><strong>Tasks may include:</strong></p><ul><li>checking server health</li><li>monitoring CPU usage</li><li>automating deployments</li><li>handling logs</li><li>communicating with APIs</li></ul><p>Small Bash scripts work initially.</p><p><strong>But as systems grow:</strong></p><ul><li>scripts become difficult to maintain</li><li>debugging becomes painful</li><li>concurrency becomes complicated</li><li>performance decreases</li></ul><p><strong>Go solves these problems by providing:</strong></p><ul><li>simplicity</li><li>speed</li><li>concurrency</li><li>reliability</li></ul><p><strong>This is why modern infrastructure tools are heavily dependent on Go.</strong></p><h3>One of Go’s Biggest Advantages:</h3><h4>Single Binary Compilation</h4><p>Most languages require external dependencies to run applications.</p><p>For example:</p><ul><li>Python requires Python runtime</li><li>Node.js requires node_modules</li><li>Java requires JVM</li></ul><p>Go works differently.</p><p>After building the application:</p><pre>go build</pre><p>Go creates a <strong>single executable binary.</strong></p><p>That means:</p><ul><li>no runtime installation</li><li>no dependency folders</li><li>easier deployment</li><li>smaller Docker images</li></ul><p>This feature is extremely valuable in production environments.</p><blockquote><strong>“The whole world is talking about Go</strong>, so let’s Go…”</blockquote><h3>Understanding the First Go Program :</h3><p>Every Go journey starts with this program:</p><pre>package main<br><br>import &quot;fmt&quot;<br><br>func main() {<br>    fmt.Println(&quot;Hello, Go!&quot;)<br>}</pre><p><strong>Instead of memorizing it, let’s understand it like engineers.</strong></p><p><strong>What Does</strong> <strong>package main</strong> <strong>Mean</strong>?</p><p>Think of a Go application as a movie production.</p><p>Different teams handle:</p><ul><li>camera</li><li>editing</li><li>sound</li><li>acting</li></ul><p>Similarly, Go organizes code into packages.</p><p><strong>package main</strong> tells Go:</p><blockquote><em>“This is the starting package of the application.”</em></blockquote><p>Without it, Go will not know where execution should begin.</p><h4>Why Is &quot;fmt&quot; Imported?</h4><p>The <strong>fmt</strong> package provides formatting and printing functionality.</p><p>Example:</p><pre>fmt.Println(&quot;Hello&quot;)</pre><p>prints output on the screen.</p><p>Think of <strong>import</strong> like bringing tools into a workshop.</p><p>Without importing the correct tools, work cannot be performed.</p><h4>Understanding func main()</h4><p>This is the <strong>entry point</strong> of the application.</p><p>Execution always starts here.</p><p>Just like:</p><ul><li>a person enters a building through the main gate</li><li>Go enters a program through <strong>main()</strong></li></ul><p>Every runnable Go application must contain this function.</p><h3>Variables in Go Explained Simply</h3><p>Variables are containers used to store data.</p><p>Example:</p><pre>name := &quot;api-server&quot;<br>port := 8080<br>healthy := true</pre><p>Here:</p><ul><li><strong>name</strong> stores text</li><li><strong>port</strong> stores numbers</li><li><strong>healthy</strong> stores true/false values</li></ul><h4>The Meaning of ( &#39;:=&#39;)</h4><p>This operator is extremely important in Go.</p><pre>age := 21</pre><p>This means:</p><ul><li>create a variable</li><li>assign a value</li><li>automatically detect its type</li></ul><p>Go understands:</p><ul><li>&quot;hello&quot; → string</li><li>25 → integer</li><li>true → boolean</li></ul><p>This makes code shorter and cleaner</p><h4>Why Go Is Called a Statically Typed Language :</h4><p>Once a variable gets a type, it cannot change later.</p><p>Example:</p><pre>age := 21</pre><p>This is valid because <strong>21</strong> is an integer.</p><p>But this becomes invalid:</p><pre>age = &quot;twenty one&quot;</pre><p>because a string cannot replace an integer variable.</p><p>Static typing helps prevent bugs before the application even runs.</p><h3>Functions:</h3><h4>Reusable Blocks of Logic</h4><p>Functions help avoid repeating code.</p><p>Example:</p><pre>func add(a int, b int) int {<br>    return a + b<br>}</pre><p>This function:</p><ul><li>accepts two numbers</li><li>adds them</li><li>returns the result</li></ul><p>Functions are heavily used in backend systems, APIs, and automation tools.</p><h4>Multiple Return Values:</h4><h4>‘One of Go’s Most Powerful Features’</h4><p>Most programming languages return only one value from a function.</p><p>Go works differently.</p><p>A function can return multiple values together.</p><p>Example:</p><pre>func divide(a, b float64) (float64, error) {<br>    if b == 0 {<br>        return 0, fmt.Errorf(&quot;cannot divide by zero&quot;)<br>    }<br>    return a/b , nil<br>}</pre><p>This function returns:</p><ol><li>the actual result</li><li>an error value</li></ol><h4>Why Does Go Return Errors Like This?</h4><h4>Go’s Most Important Concept: Error Handling</h4><p>Go handles errors differently from many languages.</p><p>There is:</p><ul><li>no try/catch</li><li>no hidden exception handling</li></ul><p>Instead, errors are returned as normal values.</p><p>Example:</p><pre>result, err := divide(10, 2)</pre><pre>if err != nil {<br>    fmt.Println(err)<br>}</pre><p>This approach forces developers to handle failures properly.</p><p>That is one of the biggest reasons Go applications are considered stable in production.</p><p>Imagine a DevOps tool trying to connect to a server.</p><p>Possible outcomes:</p><ul><li>connection successful</li><li>server unreachable</li><li>timeout occurred</li><li>authentication failed</li></ul><p>The function must return:</p><ul><li>useful data if successful</li><li>proper error information if something fails</li></ul><p>That is why Go uses this pattern:</p><pre>result, err := divide(10, 2)</pre><p>Here:</p><ul><li><strong>result</strong> stores the successful output</li><li><strong>err</strong> stores failure information</li></ul><h4>Understanding nil</h4><p>In Go:</p><pre>nil</pre><p>means:</p><blockquote><em>“nothing” or “no value”</em></blockquote><p>So:</p><pre>return a / b, nil</pre><p>means:</p><ul><li>division successful</li><li>no error occurred</li></ul><h4>The Most Common Pattern in Go</h4><p>Almost every real Go application uses this structure:</p><pre>result, err := someFunction()</pre><pre>if err != nil {<br>    fmt.Println(&quot;Error:&quot;, err)<br>    return<br>}</pre><p>This pattern appears everywhere:</p><ul><li>APIs</li><li>databases</li><li>file handling</li><li>Kubernetes controllers</li><li>Docker internals</li><li>cloud tools</li></ul><h4>Why This Makes Go Applications Reliable :</h4><p>Many languages hide errors using exceptions.</p><p>Go forces developers to handle failures explicitly.</p><p>This creates:</p><ul><li>predictable systems</li><li>stable backend services</li><li>reliable infrastructure tools</li></ul><p>That is one of the biggest reasons why Go became so successful in cloud-native engineering and DevOps ecosystems.</p><h3>Loops in Go :</h3><p>Go has only one looping keyword:</p><pre>for</pre><p>But it can behave like:</p><ul><li>traditional loops</li><li>while loops</li><li>infinite loops</li></ul><p>Example:</p><p>Classic For loop / Traditioanl For loop</p><pre>for i := 0; i &lt; 5; i++ {<br>    fmt.Println(i)<br>}<br>services = []string{&quot;api&quot;, &quot;worker&quot;, &quot;cron&quot;}<br>for i, svc = range services {<br>fmt.Printf(&quot;[%d] Service: %s\n&quot;, i, svc)<br>}</pre><p>FOR-RANGE — ITERATE OVER A SLICE (YOU’LL USE THIS THE MOST)</p><pre>services = []string{&quot;api&quot;, &quot;worker&quot;, &quot;cron&quot;}<br><br>for i, svc = range services {<br>  fmt.Printf(&quot;[%d] Service: %s\n&quot;, i, svc)<br>}</pre><p><strong><em>The Powerful </em></strong><strong><em>range Keyword :</em></strong></p><p>One of the most common patterns in Go is:</p><p>Here:</p><ul><li>i represents index</li><li>svc represents actual value</li></ul><p>(Note : if you dont need of any one of them in your loop , you can simply put ‘_’ insted of ‘i’ or ‘svc’ . )</p><p>This is commonly used while working with:</p><ul><li>server lists</li><li>API responses</li><li>database records</li></ul><h3>Structs :</h3><h4>The Foundation of Real Backend Development</h4><p>Go does not use traditional classes.</p><p>Instead, it uses structs.</p><p>Structs groups related information together.</p><p>Example:</p><pre>type Service struct {<br>    Name string<br>    Port int<br>    Healthy bool<br>}</pre><p>This represents a service with:</p><ul><li>name</li><li>port</li><li>health status</li></ul><p>An actual value can be created like this:</p><pre>api := Service{<br>    Name: &quot;api&quot;,<br>    Port: 8080,<br>    Healthy: true,<br>}</pre><p>Structs are used everywhere in real-world Go applications:</p><ul><li>APIs</li><li>JSON responses</li><li>databases</li><li>Kubernetes objects</li><li>configuration systems</li></ul><p>Understanding structs is a major step toward backend development.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b59d9f7fc08b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Making Git Repository From the Terminal]]></title>
            <link>https://medium.com/@surajbhakare190/making-git-repository-from-the-terminal-d26afdd93793?source=rss-62cce8df23bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/d26afdd93793</guid>
            <dc:creator><![CDATA[Surajbhakare]]></dc:creator>
            <pubDate>Thu, 02 Oct 2025 17:54:33 GMT</pubDate>
            <atom:updated>2026-01-15T17:01:48.902Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>1:</strong></p><p># Authenticate with GitHub (one-time):<br> gh auth login</p><p><strong>2:</strong></p><p># Create a new repo :</p><p>(give your repo name)<br> gh repo create my-repo-name — public</p><p><strong>3:</strong></p><p>Then apply the following commands by changing usr name and repo name :</p><p>git remote add origin <a href="https://github.com/username/my-repo-name.git">https://github.com/username/my-repo-name.git</a><br>git branch -M main<br>git push -u origin main</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/765/1*JE1wLUWzknREM0vRQ7uOWA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*32Ec-Aam6B2LNyrEPjTzcQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*7wLBBA3HnXCXzfHHAE8O5Q.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d26afdd93793" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LEARN HTML]]></title>
            <link>https://medium.com/@surajbhakare190/learn-html-0752e67868b0?source=rss-62cce8df23bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/0752e67868b0</guid>
            <dc:creator><![CDATA[Surajbhakare]]></dc:creator>
            <pubDate>Fri, 19 Sep 2025 10:34:53 GMT</pubDate>
            <atom:updated>2025-09-19T10:34:53.964Z</atom:updated>
            <content:encoded><![CDATA[<h4>— — — — — — — — — — — — — — — — — — — — — — — — — —</h4><h4>chapter 1: Introduction &amp; creating First Website</h4><blockquote>1 . HTML Introduction</blockquote><blockquote>2. Then Why CSS &amp; Javascript</blockquote><blockquote>3. A Beautiful Analogy</blockquote><blockquote>4. Comments in HTML</blockquote><blockquote>5. Case Sensitivity</blockquote><blockquote>6. Practice Set</blockquote><p><strong>chapter 2 : Bsic HTML Tags</strong></p><blockquote>1–12 . Basic HTML Tags .</blockquote><blockquote>13 .Practice Set .</blockquote><p><strong>chapter 3: Creating A Pagr Layout</strong></p><blockquote>1.Useful Tags .</blockquote><blockquote>2. Link Attributes .</blockquote><blockquote>3. The DIV Tag .</blockquote><blockquote>4. The Span Tag .</blockquote><blockquote>5. Practice Set .</blockquote><p><strong>chapter 4 : LISTS, TABLES &amp; FORMS</strong></p><blockquote>1. Lists</blockquote><blockquote>2. Tables</blockquote><blockquote>3. HTML Forms</blockquote><blockquote>4. EMBEDDING VIDEOS</blockquote><blockquote>5. Practice set</blockquote><p><strong>chapter 5: SEO</strong></p><blockquote>1. Types of SEO</blockquote><blockquote>2. HTML SEO</blockquote><h4>— — — — — — — — — — — — — — — — — — — — — — — — — —</h4><h3>chapter 1: Introduction &amp; creating First Website</h3><h4>1 . HTML Introduction :</h4><p><strong>HTML</strong>, which stands for “ <strong>HyperText Markup Language </strong>” is the foundational language of the web. It’s used to create and structure websites. By utilizing HTML tags, we can define the appearance and layout of a website. With a good grasp of these tags and their proper usage, creating beautiful websites becomes straightforward and efficient!</p><h4>2 . THEN WHY CSS &amp; JAVASCRIPT :</h4><p><strong>HTML</strong> is used to define the layout of a page, providing a barebone structure for the content.<br><strong>CSS </strong>is used to add styling to that barebone page created using HTML.<br><strong>JavaScript</strong> is used to program logic for the page layout e.g. What happens when a user hovers on a text, when to hide or show elements etc.</p><h4>3. A BEAUTIFUL ANALOGY</h4><p>-&gt; HTML = Car body (only metal)<br>-&gt; CSS = Car paint, decoration etc.<br>- &gt; JavaScript = Car engine + Interior logic</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q34wkIOpQ3GpnJMlLLe75w.png" /></figure><h4>4. COMMENTS IN HTML :</h4><p>Comments in HTML are used to mark text which should not be parsed. They can help document the source code.</p><blockquote>&lt;! — HTML COMMENT →</blockquote><h4>5. Case Sensitivity :</h4><blockquote>HTML is a case insensitive language. &lt;H1&gt; and &lt;h1&gt; tags are the same</blockquote><h4>6. Basic HTML Page :</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DjZL6oCaMfmJJrqeao6GBg.png" /></figure><p>A tag is like a container for either content or other HTML tags.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1ZUq9S_ftnBW-1ev3x3rQA.png" /></figure><h4>7. IMPORTANT NOTES :</h4><blockquote>1. &lt;head&gt; &amp; &lt;body&gt; tags are children of HTML tag.</blockquote><blockquote>2. HTML is the parent of &lt;head&gt; &amp; &lt;body&gt; tags.<br>3.Most of the HTML elements have opening &amp; closing tag with content in between opening &amp; closing tags.<br>4. Some HTML tags have no content. These are called Empty elements e.g. &lt;br&gt;<br>5. We can either use .htm or .html extension.<br>6. you can use “inspect element” or “view page source” option from Chrome to look into a website’s HTML Code.</blockquote><h4>8. Practice Set :</h4><blockquote>1. Inspect your favourite website and change something on the page which is displayed.<br>2. Go to your favourite website and try to view the page source and write the exact lines of code. Does it clone the website? Why?<br>3. Write any HTML code inside a text file. Does it work if you write it using notepad?</blockquote><h4>— — — — — — — — — — — — — — — — — — — — — — — — — —</h4><h4>CHAPTER 2 : BASIC HTML TAGS -</h4><h4>1. HTML ELEMENT :</h4><p>We can add elements inside the body tag to define the page layout.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/1*vVVgsyY_37r10atLE4lpAw.png" /></figure><h4>2. HTML ATTRIBUTES :</h4><p>HTML attributes are used to add more information corresponding to an HTML tag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/448/1*1GLfP33tvTrEoRzgG8986Q.png" /></figure><p>We can either use single or double quotes in attributes.</p><h4>3. THE HEADING TAG :</h4><p>Heading tag is used to mark headings in HTML. From h1 to h6, we have tags for the most important to the least important heading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/575/1*kqG5UDeLFKiCTWJHXdjpqA.png" /></figure><p><strong>Note:</strong> We should not use HTML headings to make text thick or bold.</p><h4>4. THE PARAGRAPH TAG :</h4><p>Paragraph tags are used to add paragraph to an HTML page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/526/1*D0GAVtY4CGzjNqm5sEii0g.png" /></figure><h4>5. THE ANCHOR TAG :</h4><p>The Anchor Tag is used to add links to an existing content inside an HTML page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*Mdfenm73Dn5-c5sa1BIBdQ.png" /></figure><h4>6 .THE IMG TAG :</h4><p>&lt;img&gt; tag is used to add images in an HTML page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/1*aP5DrtTKhcRp1_9u_rQJFg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/1*pKlNB9ZZHpdOaCkMmtLutw.png" /></figure><p>we can also add css style for each element of the HTML.</p><h4>7.BOLD, ITALIC AND UNDERLINE TAGS :</h4><p>We can use bold, italic and underline tags to highlight the text as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/1*7vbCxd6U_lFgDjhNDzjXbg.png" /></figure><h4>8.BR TAG :</h4><p>The &lt;br&gt; tag is used to create line breaks in an HTML document.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/1*B6ARoe3EeZQ-ZIXACHpSoA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*XFZVwb6DytDtR_cDEbVL9g.png" /></figure><h4>9. BIG AND SMALL TAGS :</h4><p>We can make text a bit larger and a bit smaller using &lt;big&gt; and &lt;small&gt; tags respectively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/549/1*seGDLdnfQxKpRCeN731yKQ.png" /></figure><h4>10. HR TAG :</h4><p>&lt;hr&gt; tag in HTML is used to create a horizontal ruler often used to separate the content.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/1*PxqIqnd809kB0EmjLL_AQA.png" /></figure><h4>11 . SUBSCRIPT &amp; SUPERSCRIPT :</h4><p>We can add subscript and superscripts in HTML as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/1*lTPVTZJJy4_w745fffY5dA.png" /></figure><h4>12. PRE TAG :</h4><p>HTML always ignores extra spaces and newlines. In order to display a piece of text as is, we use pre tag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/541/1*P8Av2gKY-hJIfkyuR_XWow.png" /></figure><h4>13 Practice set :</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*faBSjb7yNUjbaaBgIQx6uA.png" /></figure><h4>— — — — — — — — — — — — — — — — — — — — — — — — — —</h4><h4>CHAPTER 3 — CREATING A PAGE LAYOUT</h4><p>When we use the right tag in right place, it results in a better page layout, better indexing by search engines and better user experience. We use the following tags to get the job done.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/839/1*jpWPuqJdgUr1t4umuMyO1g.png" /></figure><p>Inside the main tag we insert the following tags:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/1*Q2c2_FZYZZWYUsezoNdrfA.png" /></figure><p>Creating a page like this is not necessary but it creates a readable &amp; structured layout. Also, they are useful for SEO.</p><h4>LINK ATTRIBUTES :</h4><p>We can put any content inside an anchor tag (images, headings etc are all allowed). 11If the page is inside a directory, we need to make sure that we link to the correct page (Same applies to img tag as well.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*W_HgphCpZl5vzkQ7pAsnlw.png" /></figure><p>We can add links to images like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*vpG8pL8tKiLk7Y9WkPlaGA.png" /></figure><h4>THE DIV TAG :</h4><p>The &lt;div&gt; tag is often used as a container for other elements. It is a block-level element, meaning it always takes up the full width available .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*eAIKGR1TDbxOMo4IqrkcmQ.png" /></figure><h4>THE SPAN TAG :</h4><p>The &lt;span&gt; tag is an inline container, meaning it only takes up as much width as necessary.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*N_--dNVLmvDzWLPN1PBa8A.png" /></figure><h4>Practice set :</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*gk4x5VWHxtGGHZI1mhLO-Q.png" /></figure><h4>— — — — — — — — — — — — — — — — — — — — — — — — — —</h4><h3>CHAPTER 4 — LISTS, TABLES &amp; FORMS</h3><h4>1 . LISTS :</h4><p>Lists are used to display content which represents a list.</p><p><strong>I) UNORDERED LIST</strong> :-An unordered list is used to list items that do not have a specific order.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*Hx_Z6-ofUwHAZkluJmdndQ.png" /></figure><p><strong>II) ORDERED LIST :</strong>An ordered list is used to list items in a specific order, typically numbered.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/895/1*H2ew09Ac4yVgL_c2_8HiQw.png" /></figure><h4>2.TABLES :</h4><blockquote>The &lt;table&gt; tag in HTML is used to define tables, which are used to format and display tabular data.</blockquote><blockquote>• &lt;tr&gt; tag: Used to display table row.<br>• &lt;td&gt; tag: Used to display table data.<br>• &lt;th&gt; tag: Used in place of table data for displaying table headers.</blockquote><blockquote>We can define as many table rows as we want. To add a caption to the table, we use &lt;caption&gt; tag inside table.</blockquote><blockquote>• &lt;thead&gt; tag: Used to wrap table head (caption &amp; &lt;tr&gt; with &lt;th&gt;)<br>• &lt;tbody&gt; tag: Used to wrap the table body.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*pVBCE0-5NEqGNXKuOyZkEA.png" /></figure><p><strong>COLSPAN ATTRIBUTE : -</strong>This attribute is used to create cells spanning multiple columns</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*WSFJjYRRRosN0nFsEQY9PA.png" /></figure><h4>3. HTML FORMS :</h4><p>An HTML &lt;form&gt; tag is used to create a form that collects input from users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*WVdB3rnYWPHswJVo__fVSw.png" /></figure><p>There are different form elements for different kinds of user input.<br>• &lt;input&gt; element: Can be of type text, checkbox, radio, button and submit.<br>We also have a ‘file’ type.<br>• &lt;textarea&gt; element: Defines a multiline text input ‘cols’ and ‘rows’<br>attributes can be used to size the text area.<br>• &lt;select&gt; element: Defines a drop-down list.</p><p><strong>Note</strong>: you don’t have to remember all the tags, you will automatically memorize them with practice.</p><h4>4 . EMBEDDING VIDEOS :</h4><p>To embed videos in HTML, you can use the &lt;video&gt; tag along with various attributes to control its behavior.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*PZf0zQtLjDXqNqfq0j5HIg.png" /></figure><p><strong>ATTRIBUTES FOR VIDEO :-</strong></p><p>We can use the following attributes:<br>•<strong> src:</strong> Specifies the URL of the video file (harry.mp4 in this case).<br>•<strong> width:</strong> Adjusts the width of the video player. Height adjusts automatically tomaintain aspect ratio.<br><strong>• controls:</strong> Displays video controls such as play, pause, volume, etc.<br><strong>• autoplay: </strong>Automatically starts playing the video when the page loads.<br><strong>• loop:</strong> Causes the video to automatically start over from the beginning when it reaches the end.<br><strong>• preload:</strong> Specifies whether the video should be loaded when the page loads (auto, metadata, none).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*XfMrfgf7sKeVDaA3v6v0Yg.png" /></figure><h4>5. Practice set :</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/939/1*RAaXn3gnF1hTdAF3e7Qbwg.png" /></figure><h4>— — — — — — — — — — — — — — — — — — — — — — — — — —</h4><h4>CHAPTER 5 — SEO</h4><p>We will focus only on HTML standpoint of SEO. We will not be looking into keyword building and content optimization aspect of SEO.</p><h4>TYPES OF SEO :</h4><ul><li>On page SEO (This can be done by HTML developers).</li><li>Off page SEO.</li></ul><h4>HTML SEO :</h4><p>HTML developers can implement SEO using the following techniques:</p><p><strong>1. Title Tag:</strong> Set a clear and descriptive &lt;title&gt; tag that accurately reflects the content of the page.</p><p><strong>2. Meta Description:</strong> Provide a concise summary of the page content using the &lt;meta&gt; tag.</p><p><strong>3. URL Slug: </strong>Use a clean and readable URL structure that includes relevant<br>keywords.<br><strong>4. Meta Author Tag: </strong>Optionally include the author information in a &lt;meta&gt; tag<br><strong>5. Favicon:</strong> Use a favicon to enhance brand recognition and usability.<br><strong>6. Image Optimization: </strong>Compress images to improve page load times and include descriptive alt attributes.<br><strong>7. Optimize Resources:</strong> Remove unused HTML, CSS, and JavaScript files, and minify/compress them to reduce page load times.<br><strong>8. Semantic HTML: </strong>Use appropriate HTML tags (&lt;header&gt;, &lt;nav&gt;, &lt;article&gt;, &lt;footer&gt;, etc.) to structure the content logically, which can improve SEO indirectly by making the content more accessible and understandable to search engines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/869/1*P3aPV4PJHuMXhXj8QnxiIQ.png" /></figure><h4>— — — — — — — — — — — — — — — — — — — — — — — — — —</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0752e67868b0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[☁️AWS VPC Peering]]></title>
            <link>https://medium.com/@surajbhakare190/vpc-peering-nat-gateway-internate-gateway-2226f02dceb3?source=rss-62cce8df23bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/2226f02dceb3</guid>
            <dc:creator><![CDATA[Surajbhakare]]></dc:creator>
            <pubDate>Thu, 07 Aug 2025 16:50:34 GMT</pubDate>
            <atom:updated>2025-08-11T19:17:00.159Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>VPC Peering</strong> is a way to <strong>connect two VPCs (Virtual Private Clouds)</strong> so that resources in them <strong>can communicate</strong> with each other just like they’re in the same network.</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h4>☁️ What is a VPC?</h4><p>A <strong>VPC (Virtual Private Cloud)</strong> is like <strong>your own private space inside AWS’s cloud</strong>. where you can launch and manage your <strong>servers (EC2 instances), databases, and other resources</strong> securely.</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h4>✅ Why use VPC Peering?</h4><ul><li>To allow EC2 instances in one VPC to talk to instances in another.</li><li>Share databases, services, or apps across VPCs securely.</li><li>No need to go through the public internet — it’s all private and safe.</li></ul><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_Xhx7V4BqrmlvoXQPN8-7A.jpeg" /></figure><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h4>How to Do VPC Peering</h4><p>I] Create your vpc</p><p>II] Create subnet in your vpc</p><p>III] Create Ec2 instance in this subnet</p><p>IV] Create Internet Gateway and attatch it to your vpc</p><p>IV] Create route table for your vpc</p><p>V] Associate subnet and edit routes</p><p><em>By this steps your Ec2 instance will get Internet Connection .</em></p><p><em>Follow similar steps for one more VPC and create another vpc for Peering</em></p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h4><strong>I ) Creation of VPC</strong></h4><p>Steps for creating vpc :</p><p>— <strong>Go to the VPC Dashboard</strong></p><ul><li><em>In the AWS Management Console, search for </em><strong><em>VPC</em></strong><em> and open it.</em></li><li><em>Click </em><strong><em>Create VPC</em></strong><em>.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/1*i9ry79H2xM_3IPvGrBeLRw.png" /></figure><p>— <strong>Choose Resources to Create</strong></p><ul><li><em>Select </em><strong><em>VPC only</em></strong><em> if you just want the network.</em></li><li><em>Or </em><strong><em>VPC and more</em></strong><em> if you also want subnets, route tables, etc. created automatically.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*4EkFgYIov485f1pSofdw8Q.png" /></figure><p>— <strong>Name Tag (Optional)</strong></p><ul><li>E<em>nter a name like </em><em>test-vpc.<br> (This will create a “Name” tag for easier identification.)</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*jWO-PQxGrR1pnMZmwkJf-A.png" /></figure><p><strong>— IPv4 CIDR Block</strong></p><ul><li><em>Select IPv4 CIDR manual input.</em></li><li><em>Enter a CIDR range, e.g., </em><em>10.0.0.0/24.</em></li><li><em>/24 means 256 IP addresses (254 usable).</em></li><li><em>AWS allows ranges between </em><em>/16 and </em><em>/28</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/833/1*N9KySom3DB-y1sY6YIF4EA.png" /></figure><p>— <strong>IPv6 CIDR Block (Optional)</strong></p><ul><li><em>Choose </em><strong><em>No IPv6 CIDR block</em></strong><em> unless you specifically need IPv6.</em></li><li><em>Or choose </em><strong><em>Amazon-provided IPv6 CIDR block</em></strong><em> for IPv6 connectivity.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*mVXd5PaUp_QhlwpIHggMqw.png" /></figure><p>— <strong>Tenancy</strong></p><ul><li><em>Default = instances share hardware with others (cheaper)</em></li><li><em>Dedicated = instances run on isolated hardware (more expensive).</em></li></ul><p>(Note : keep default )</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/789/1*5kOIswzySlH79lVcp9951A.png" /></figure><p><strong>— Create the VPC</strong></p><ul><li><em>Click the </em><strong><em>Create VPC</em></strong><em> button.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/126/1*b2XBaqcRoTPgZqcPzxU1_A.png" /></figure><ul><li><em>AWS will show a success message, and your VPC will appear in the VPC list.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YOQh-V3xytksVLydWby0dw.png" /></figure><p><strong>Here you successfully created VPC ..</strong></p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h4>II] Creating a Subnet in AWS</h4><p><strong>— Go to the VPC Dashboard</strong></p><ul><li><em>In the AWS Management Console, search for </em><strong><em>VPC</em></strong><em> and open it.</em></li><li><em>Make sure you already have a </em><strong><em>VPC</em></strong><em> created (like </em><em>10.0.0.0/16 from your earlier step).Create Subnet</em></li><li><em>In the left-hand menu, click </em><strong><em>Subnets</em></strong><em> → </em><strong><em>Create Subnet</em></strong><em>.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JXfjEnjKg7Ibkm-sXaFJeQ.png" /></figure><p><strong>— Select VPC</strong></p><ul><li><em>From the VPC ID dropdown, select the VPC where you want the subnet.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/1*Sg7OTN-7RbuhjA8XFsIWyQ.png" /></figure><p><strong>— Add Subnet Details</strong></p><ul><li><em>Subnet name: e.g., </em><em>test-subnet.</em></li><li><em>Availability Zone (AZ): Choose one (e.g., </em><em>ap-south-1a for Mumbai region).</em></li><li><em>IPv4 CIDR block: Enter a portion of your VPC’s CIDR range, e.g.:</em></li><li><em>If VPC is </em><em>10.0.0.0/24, you could make:</em></li><li><em>10.0.0.0/26 → First 64 IPs</em></li><li><em>10.0.0.64/26 → Next 64 IPs</em></li><li><em>Keep it inside your VPC’s CIDR range.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8a6RpXYa4uZkI9IMVcQOCQ.png" /></figure><p><strong>— Create Subnet</strong></p><ul><li><em>Click Create subnet</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i6TR3N9tXIWH_cqE-YIlyQ.png" /></figure><p><strong>Here you successfully created subnet..</strong></p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h4>III] Create Ec2 instance in this subnet</h4><p><strong>— Go to the EC2 Dashboard</strong></p><ul><li><em>In the AWS Management Console search bar, type EC2 and open it.</em></li><li><em>Click Launch Instance.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dXENYaYJmQbB9MQFRUPGcQ.png" /></figure><p><strong>— Name and Tags</strong></p><ul><li><em>Name: Give your instance a name, e.g., </em><em>test-vpc-inst</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*CsjmtxkVOSYNYFepLuAXSA.png" /></figure><p><strong>— Choose an Amazon Machine Image (AMI)</strong></p><ul><li><em>Select an OS image, e.g.: Ubuntu 22.04 (popular for development)</em></li><li><em>AMI defines the OS and pre-installed software.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/818/1*61nunCqPldmX5f--GXzykA.png" /></figure><p><strong>— Choose Instance Type</strong></p><ul><li><em>Select instance type:</em></li><li><em>t3.micro / t3 small→ Free tier eligible (1 vCPU, 1GB RAM)</em></li><li><em>Choose bigger instances if needed.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/1*gwkn2BwUBNyu9A4YjLe94w.png" /></figure><p><strong>— Key Pair (Login)</strong></p><ul><li><em>Select </em><strong><em>Create new key pair</em></strong><em> if you don’t already have one.</em></li><li><em>Download the </em><em>.pem file — </em><strong><em>this is your SSH key</em></strong><em> (keep it safe).</em></li><li><em>If you already have a key pair, you can select it.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*n4Vp2t-AHPmUnbjNgPwQlA.png" /></figure><p><strong>— Network Settings</strong></p><ul><li><em>Choose your VPC and subnet dont use default because we created seperete vpc and subnet and in that we want to launch a instance .</em></li><li><em>Enable </em><strong><em>Auto-assign public IP</em></strong><em> if you want internet access.</em></li><li><em>Security group (firewall rules):</em></li><li><em>Add </em><strong><em>SSH (port 22)</em></strong><em> rule for Linux instances.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*LD7-m8EZZ75NM0sumLKQZQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ylq8yIb-nTgFFQLTUGRgMg.png" /></figure><p><strong>— Configure Storage</strong></p><ul><li><em>Default: 8GB gp3 EBS volume.</em></li><li><em>You can increase size if needed.</em></li><li><em>and </em><strong><em>launch</em></strong><em> the instance ..</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H_2VoxaWl0H5KInIaFFL9A.png" /></figure><p><strong>Here you successfully created Ec2 instance in created vpc/subnet ..</strong></p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p><em>Till here you created one vpc</em></p><p><em>inside that vpc you created one subnet</em></p><p><em>inside that subnet you created one instance</em></p><p><em>But that instance don’t have internet access for giving internet access we create one </em><strong><em>Internet Gateway</em></strong><em>…</em></p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h4>IV] Create Internet Gateway and attatch it to your vpc</h4><p>—<strong> Open the VPC Dashboard and Create Internet Gateway</strong></p><ul><li><em>In the AWS Management Console, search for VPC and open it.</em></li><li><em>In the left menu, click Internet Gateways → Create Internet Gateway.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*w0hNj9mkV6dSyscxay1T7A.png" /></figure><ul><li><em>Name tag: e.g., </em><em>my-igw.</em></li><li><em>Click Create Internet Gateway.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tsDKvfINQg1JTdWgvu-jBw.png" /></figure><p><strong>— Attach IGW to Your VPC</strong></p><ul><li><em>Select the Internet Gateway you just created.</em></li><li><em>Click Actions → Attach to VPC.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*FrCoSZkIQOryiPhrgE8PcQ.png" /></figure><ul><li><em>From the dropdown, choose your VPC (the one you created earlier).</em></li><li><em>Click Attach Internet Gateway.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dRLhSZSPQcX_n6rEBOHnTw.png" /></figure><p><strong>Till you have successfully created internet gateway and attached it your created vpc.</strong></p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p><em>now internet is reached till your vpc but it is not connected to your sub net to give your sub net network access you need to set the route table .</em></p><p><em>you need to allow your sub net to route traffic through it .</em></p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2226f02dceb3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>