<?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 Subharanjana on Medium]]></title>
        <description><![CDATA[Stories by Subharanjana on Medium]]></description>
        <link>https://medium.com/@subharanjanasubharanjana3?source=rss-33cb959b0af0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*r3shjGuu1i4off4k</url>
            <title>Stories by Subharanjana on Medium</title>
            <link>https://medium.com/@subharanjanasubharanjana3?source=rss-33cb959b0af0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 11:32:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@subharanjanasubharanjana3/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[How to launch a static website using EC2 Instances?]]></title>
            <link>https://medium.com/@subharanjanasubharanjana3/how-to-launch-a-static-website-using-ec2-instances-df0f7c7af956?source=rss-33cb959b0af0------2</link>
            <guid isPermaLink="false">https://medium.com/p/df0f7c7af956</guid>
            <category><![CDATA[ec2-instance]]></category>
            <category><![CDATA[ec2-instance-connect]]></category>
            <dc:creator><![CDATA[Subharanjana]]></dc:creator>
            <pubDate>Tue, 13 Feb 2024 09:58:14 GMT</pubDate>
            <atom:updated>2024-02-13T09:58:14.994Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/341/0*-wo1ibdVsmVX45zR" /></figure><h3><strong>What is AWS EC2 Instance ?</strong></h3><ul><li>EC2 instances are virtual servers that run on the AWS cloud.</li><li>Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable compute capacity in the cloud.</li><li>You can use EC2 instances to run a wide variety of applications, including web servers, databases, and applications.</li></ul><h3><strong>Launching the EC2 Instances:</strong></h3><p>Step 1: Create AWS account and search for EC2 service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IEK1wmm80cGJgw07Y4Lu_Q.png" /></figure><p>Step 2:Name the Instance</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*saaAZrHHr0NuYVDEN-UHCQ.png" /></figure><p>Step 3:Select the OS type .If you are using free tier version go with ubuntu .A t2.micro instance is eligible for the AWS Free Tier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*URs33ergSwoOQ0ZhQ41Nfg.png" /></figure><p>Step 4:Create a new key pair.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_bVzSf7NkNDebXO3xMaVNA.png" /></figure><p>Step 5:Ensure that the all networking settings is enable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ITFtX4rsJHfwem-WQql24Q.png" /></figure><p>Step 6:Successfully Instance is launched.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ya0Rvui1Jjz_5hw1WLLkzA.png" /></figure><h3><strong>Connecting the instance with Ubuntu Server using Putty</strong></h3><p>While creating instance we have create a key pair which is in format of .pem,inorder to convert key into .ppk format we need use Putty key Generator.Download and install the PuTTy .</p><p>Website :<a href="https://putty.org/">https://putty.org/</a></p><p>Step 1:Load the key in PuTTy Key Generator.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gkGjW6JUqFLGPLy9KPoXOQ.png" /></figure><p>Step 2:Open PuTTY and enter your EC2 instance’s public IP address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U6wha6JYfz76wuVS7KD5xA.png" /></figure><p>Step 3:In the left sidebar, navigate to “Connection” -&gt; “SSH” -&gt; “Auth.” Browse and select the .ppk file generated for you.Click “Open” option to start.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GTeXhJ0i97GvZ9hq4uU41w.png" /></figure><p>Step 4:login as : ubuntu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k6UbT4aRq0febptZ9qblcA.png" /></figure><h3><strong>Installing the Apache Server</strong></h3><p>Step 1: Before installing the apache run this “<strong>sudo apt update -y” </strong>and install the apache using this command “<strong>sudo apt install apache2”.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c28yswIHtaLFOW6_p_iJzQ.png" /></figure><p>Step 2:Run this command “<strong>sudo systemctl status apache2</strong>”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BqlhUiHRSFE6b4WezV5zwA.png" /></figure><p>Step 3:Use this command to edit the content “<strong>sudo chmod -R 777 /var/www/</strong>”</p><h3><strong>Hosting a website using WinSCP</strong></h3><p>Step 1:Open WinSCP app type your your public IP4 address which is given by EC2 instance.</p><p>Website:<a href="https://winscp.net/eng/index.php">https://winscp.net/eng/index.php</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F6ml2XjrDZkpHj5s6lCN7g.jpeg" /></figure><p>Step 2:Click “<strong>Advanced Option</strong>”.Ensure that the <strong>Port</strong> value is 80.In the <strong>Category</strong> option , expand <strong>Connection</strong>, <strong>SSH</strong>, and <strong>Auth</strong>. Choose <strong>Credentials</strong>.In “<strong>select private key file</strong>” option select your(.ppk) file which has been generated.Click “<strong>Open</strong>” option.Choose <strong>Accept </strong>you<strong> </strong>are connected to the instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*qLk5zUUNAWdS7d-LR68kWg.jpeg" /></figure><p>Step 3:Website is hosted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JGH-e1-iQbHkdaWkP_JVNA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df0f7c7af956" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hosting the Static Website using Amplify]]></title>
            <link>https://medium.com/@subharanjanasubharanjana3/hosting-the-static-website-using-amplify-56338fadc73f?source=rss-33cb959b0af0------2</link>
            <guid isPermaLink="false">https://medium.com/p/56338fadc73f</guid>
            <category><![CDATA[amplify]]></category>
            <dc:creator><![CDATA[Subharanjana]]></dc:creator>
            <pubDate>Tue, 13 Feb 2024 09:55:23 GMT</pubDate>
            <atom:updated>2024-02-13T09:55:23.088Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AoZtmlS4_BmjWDtq" /></figure><h3><strong>What is AWS Amplify?</strong></h3><ul><li>AWS Amplify is used to convert frontend application to scalable full stack application.</li><li>AWS Amplify aims to streamline the end-to-end development workflow, making it easier for developers to build scalable and secure cloud-powered applications.</li></ul><h3><strong>Hosting a website</strong></h3><p>Step 1:Click Amplify Service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N8BwItHYb8ixz4tItZWgMw.png" /></figure><p>Step 2:Select any one which one you want.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pjc99MaWgEbESoqWS_gnEw.png" /></figure><p>Step 3:Select any one where your code is exist.Search your files where the code folder is located in your local disk .Click on<em> “Drag and Drop”</em> the file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DyIHIXg5JTBy7FnrkM5nfg.png" /></figure><p>Step 4:Give a name for “<strong>app and environment”</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ye7S8LxgbGcsRMlvpJ5zNQ.png" /></figure><p>Step 5:Click the option “<strong>save and deploy”.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PdoS8VJ5DcbbDDuBseuCdA.png" /></figure><p>Step 6:Click the URL (Domain).Website has been successfully hosted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Aw5AlcIjBBfGLtLpoyiNHQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56338fadc73f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Launching The Static Website using S3]]></title>
            <link>https://medium.com/@subharanjanasubharanjana3/launching-the-static-website-using-s3-270478376923?source=rss-33cb959b0af0------2</link>
            <guid isPermaLink="false">https://medium.com/p/270478376923</guid>
            <category><![CDATA[s3-bucket]]></category>
            <dc:creator><![CDATA[Subharanjana]]></dc:creator>
            <pubDate>Tue, 13 Feb 2024 09:50:04 GMT</pubDate>
            <atom:updated>2024-02-13T09:50:04.591Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0CR0QVhyM64je6p3.gif" /></figure><h3>What is Amazon S3?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/0*dZ4e9_REL5-Ehhg_.png" /></figure><p>Amazon S3 (Simple Storage Service) is a cloud storage service (AWS) that allows you to host a website, store and retrieve data.</p><h3><strong>Hosting a static website in S3</strong></h3><p>Step 1: Sign in the AWS Management Console to choose “S3.”Click the “Create bucket” option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7j-_kj_QZdXihNlwB2fNEQ.png" /></figure><p>Step 2:Give the name for the bucket.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xNm21XdFbTt4RRNEUCCscg.png" /></figure><p>Step 3:Upload the file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u5-pvEB93SPI4N4R-X6UFg.png" /></figure><p>Step 4:Folder has successfully uploaded.Click on newly created bucket and move onto its <strong>permissions</strong> tab and enable it.</p><p>To enable the bucket for static hosting, move onto <strong>Properties</strong> tab .While enabling the option give the name for the <strong>Index</strong> <strong>document (give your name of the html file).</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KPw982KdB6dvqHjaBtDd_A.png" /></figure><p>Step 5:Click html file in folder they have provide Object URL.Copy the URL and paste it on the other tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NQeeMNMe1iq6ZFvyrDJPUQ.png" /></figure><p>Step 6:UnBlock Public Access settings for this bucket, you have to <strong>remove the tick of</strong> <strong>Block <em>all</em> public access</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7CNoJ-OMGvJm-PT7dDDl2A.png" /></figure><p>Step 7:Edit the Object Ownership as “ACIs enabled” option and give save changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0jSdJPoTommzjqgZB6NwmQ.png" /></figure><p>Step 8:Click the Folder .Click “<strong>Action</strong>” option at right hand side click the option “<strong>Making your public url</strong>”.Refresh the url tab again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xPpbq2ZL9jROJbrUujwvJA.png" /></figure><p>Step 9:Website has been successfully hosted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fjvEUjwFg5zNpn4OdMTXfA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=270478376923" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>