<?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:media="http://search.yahoo.com/mrss/"><channel><title><![CDATA[Reetwik12]]></title><description><![CDATA[Thoughts, stories and ideas.]]></description><link>https://reetwikdasblogs.azurewebsites.net/</link><image><url>https://reetwikdasblogs.azurewebsites.net/favicon.png</url><title>Reetwik12</title><link>https://reetwikdasblogs.azurewebsites.net/</link></image><generator>Ghost 2.1</generator><lastBuildDate>Thu, 07 May 2026 03:48:02 GMT</lastBuildDate><atom:link href="https://reetwikdasblogs.azurewebsites.net/rss/" rel="self" type="application/rss+xml"/><ttl>60</ttl><item><title><![CDATA[Online Treasure Hunt]]></title><description><![CDATA[<p>I had organized an Online treasure hunt during one of our college fest and thought it would be a good idea to host the entire content online so that other people could use them as well. We all know the importance of exercise in our life and most of us</p>]]></description><link>https://reetwikdasblogs.azurewebsites.net/online-treasure-hunt/</link><guid isPermaLink="false">5e91b3e8c3723d0e5c2f20ec</guid><dc:creator><![CDATA[Reetwik Das]]></dc:creator><pubDate>Sat, 11 Apr 2020 17:46:24 GMT</pubDate><content:encoded><![CDATA[<p>I had organized an Online treasure hunt during one of our college fest and thought it would be a good idea to host the entire content online so that other people could use them as well. We all know the importance of exercise in our life and most of us trying to keep our body fit but what we neglect is exercising our mind which is also equally important. These puzzles are mostly analytical, things we come across in various general aptitude exams and I hope they would provide your brain a healthy little warm-up. I have made some changes to the original questions so it would still be interesting for those who had solved these before.</p><hr><h2 id="instructions">Instructions</h2>
<ul>
<li>The treasure hunt consists of a series of puzzles, answers to which will point you to your next clue until you ultimately reach the treasure.</li>
<li>You start with clue 1 and then continue as per the answers you get to the puzzles.</li>
<li>Don't start solving them sequentially you don't need to solve all of them to reach the treasure.</li>
<li>There is only 1 correct way to reach the treasure (if you find a loophole please inform me, I would need to fix it). Speaking of loops, If you are struck in a loop you have probably solved one of the puzzles wrong.</li>
</ul>
<h2 id="puzzles">Puzzles</h2>
<ol>
<li><a href="https://drive.google.com/open?id=1gAQf2v_3Y6JEy9qhc5M3cNu6MbzOs1ul">The Map</a></li>
<li><a href="https://drive.google.com/open?id=1fgQeTkSTb69_GgotVlWS4Sr4NmjOtTvG">Attacked by Bandits</a></li>
<li><a href="https://drive.google.com/open?id=10Kg_dA2JU2F4I-CYe82mVN4uV0ks_zvF">Caveman and Equation</a></li>
<li><a href="https://drive.google.com/open?id=1kWaW_zqKThXPjE19AkpFx9HyPuMn5L8i">Junction</a></li>
<li><a href="https://drive.google.com/open?id=1jfdPxahvYZqmH-c5mW_yH463fD2w1_N_">Delayed by Rain</a></li>
<li><a href="https://drive.google.com/open?id=14Ep_ahyExwV-GXnVm_quBNmjpOz2dJQF">Modern Problems require Modern solution</a></li>
<li><a href="https://drive.google.com/open?id=1qy7oKMLaZb9il7q6A8eyuvjxxIIT8S2Y">Fake coin</a></li>
<li><a href="https://drive.google.com/open?id=1Q1HJYE_s8hkV2X1SclmVv7UXUjCDEfxe">Yoda's message</a></li>
<li><a href="https://drive.google.com/open?id=1qP5RZmL406_yn4oHTN256s0I8BnXa43Z">Future Sight</a></li>
<li><a href="https://drive.google.com/open?id=1OT_pl3qIYO1863yOkY4mi1McosRs69lG">Trust issues</a></li>
<li><a href="https://drive.google.com/open?id=1CZnE_wygauhZbmvmF2GQKuFDB-WsxaxX">Page not Found</a></li>
<li><a href="https://drive.google.com/open?id=1nQKTBGa9bnGQ2qun5qGb-lfmkWX1B-y8">Bus Stop</a></li>
<li><a href="https://drive.google.com/open?id=1jxsvsO59jlNf6QWZBK-KlB-oNYMRrtYQ">Horses for courses</a></li>
<li><a href="https://drive.google.com/open?id=1emUgG0meRP-HgUlfcNFfQBIhw4HV08LT">Prison Break</a></li>
<li><a href="https://drive.google.com/open?id=1nHNCoIw6Nj6OZqHq7v6nsnm3WcM4UThA">Many small Shares</a></li>
<li><a href="https://drive.google.com/open?id=1duEjMwHKdd5Knfjj39ryeF03gteHHlCV">All that glitters is not gold</a></li>
</ol>
<p>Any form of feedback on clarity of questions or any ambiguous solution or anything that could have made the experience better is welcome. You can reach out to me on <a href="https://twitter.com/reetwik12">@reetwik12</a> on twitter or on <a href="https://www.instagram.com/reetwikdas/">reetwikdas</a> on instagram for any queries and or suggestions.</p>
<hr><h2 id="halloffame">Hall of Fame</h2>
<ul>
<li>Raj Rohit</li>
<li>Pranav Machingal</li>
<li>Kuldeep Singh Maurya</li>
<li>Sai Dheeraj</li>
<li>Sai Gopal</li>
<li>Prudhvi Bikumalla</li>
<li>Srija Macherla</li>
<li>Asha Anil</li>
<li>Ashwin K</li>
<li>Smriti Verma</li>
</ul>
<p>Complete the hunt to get your name up here.</p>
]]></content:encoded></item><item><title><![CDATA[Accessing Storage/SQL DB in your Web App via VNET]]></title><description><![CDATA[<p>Virtual Network (VNet) is the fundamental building block for your private network. VNet enables many types of resources, such as Virtual Machines (VM), to securely communicate with each other, the internet, and on-premises networks.</p><p>Here we will use a VNET to securely connect our web app (published on cloud as</p>]]></description><link>https://reetwikdasblogs.azurewebsites.net/access-storage-through-vnet/</link><guid isPermaLink="false">5d18a6677349bd4fd047ce81</guid><dc:creator><![CDATA[Reetwik Das]]></dc:creator><pubDate>Sun, 30 Jun 2019 15:04:11 GMT</pubDate><content:encoded><![CDATA[<p>Virtual Network (VNet) is the fundamental building block for your private network. VNet enables many types of resources, such as Virtual Machines (VM), to securely communicate with each other, the internet, and on-premises networks.</p><p>Here we will use a VNET to securely connect our web app (published on cloud as a SaaS service) to Azure SQL/Azure Storage.  	</p><p>The following things are required to get started:</p>
<ol>
<li>Azure Subscription <a href="https://azure.microsoft.com/en-us/free/">(get free Azure subscription here)</a></li>
</ol>
<h1 id="step1creatingavnet">Step 1: Creating a VNET</h1>
<p>In your Azure portal go to create resource button and select Virtual Network and fill in the necessary details.<br>
<img src="https://reetwikdasblogs.azurewebsites.net/content/images/2019/06/VnetCreation.PNG" alt="VnetCreation"></p>
<h1 id="step2connectingstorageresourcestovnet">Step 2: Connecting storage resources to VNET</h1>
<p>Go to your virtual network's service endpoints and add a new service endpoint.<br>
<img src="https://reetwikdasblogs.azurewebsites.net/content/images/2019/06/addingEndpoints1.PNG" alt="addingEndpoints1"></p>
<p>Configure the storage account to allow access to the selected network only.<br>
<img src="https://reetwikdasblogs.azurewebsites.net/content/images/2019/06/addingEndpoints-1.PNG" alt="addingEndpoints-1"></p>
<p>For SQL Databases go to firewall settings and add a new rule allowing access from the selected VNET.<img src="https://reetwikdasblogs.azurewebsites.net/content/images/2019/06/sql.PNG" alt="sql"></p>
<h1 id="step3connectingyourappservicetothevnet">Step 3: Connecting your app service to the VNET</h1>
<p>Go to Networking Tab of your app service and select VNET configuration and add the selected VNET.<br>
<img src="https://reetwikdasblogs.azurewebsites.net/content/images/2019/06/appAccess.PNG" alt="appAccess"></p>
<p>Now access these resource from your app normally. </p><p>Here the app is securely connecting to the VNET, which in turn has the access to storage resources. If configured properly only resource deployed within the VNET or granted access to it will have access to these storage resources hence reducing the threat surface drastically as compared to the previous instance where the resources are publicly available and are only protected by a client secret.</p>]]></content:encoded></item><item><title><![CDATA[Setting up your own Blog site]]></title><description><![CDATA[<p>This post is to help you setup your own blog site using Ghost platform on Azure. Ghost is a open source, adaptable publishing platform for building and running modern online publications. It takes care of the manual process of building and maintaining  the blog site where the author can focus</p>]]></description><link>https://reetwikdasblogs.azurewebsites.net/setting-up-your-own-blog-site/</link><guid isPermaLink="false">5c342780c8323712d8b6c39f</guid><dc:creator><![CDATA[Reetwik Das]]></dc:creator><pubDate>Wed, 09 Jan 2019 16:56:47 GMT</pubDate><content:encoded><![CDATA[<p>This post is to help you setup your own blog site using Ghost platform on Azure. Ghost is a open source, adaptable publishing platform for building and running modern online publications. It takes care of the manual process of building and maintaining  the blog site where the author can focus mainly on the content that he/she wishes to publish.</p><p>The following things are required to get started with blogging:</p><ol>
<li>Azure Subscription <a href="https://azure.microsoft.com/en-us/free/">(get free azure subscription)</a>.</li>
<li>your custom domain name <a href="https://in.godaddy.com/">(get your domain from GoDaddy)</a></li>
</ol>
<hr><p><strong>STEP 1 : Creating your blog site using Ghost on Azure</strong><br>
Open <a href="https://github.com/solvsoftware/Ghost-Azure">GitHub repository for Ghost-Azure</a></p>
<figure class="kg-card kg-image-card"><img src="https://reetwikdasblogs.azurewebsites.net/content/images/2019/01/ghost-1.png" class="kg-image"><figcaption>Click Deploy to Azure</figcaption></figure><p>Fill out the required information:</p>
<ul>
<li>Azure Subscription from dropdown.</li>
<li>Resource group in which the site will be created.</li>
<li>Site name of your choice (subject to availability)</li>
</ul>
<figure class="kg-card kg-image-card"><img src="https://reetwikdasblogs.azurewebsites.net/content/images/2019/01/Annotation-2019-01-09-110317.jpg" class="kg-image"><figcaption>Click next after filling out the details</figcaption></figure><figure class="kg-card kg-image-card"><img src="https://reetwikdasblogs.azurewebsites.net/content/images/2019/01/Annotation-2019-01-09-110920.jpg" class="kg-image"><figcaption>Click Deploy</figcaption></figure><p>Once the deployment is successfully finished your site is deployed on azure and can be accessed via  <em>YourSiteName</em>.azurewebsites.net</p><p><strong>STEP 2 : Linking your site with your custom domain name</strong><br>
Go to your domain provider, select your domain and click on manage DNS. You would reach a page similar to the one shown below.</p>
<figure class="kg-card kg-image-card"><img src="https://reetwikdasblogs.azurewebsites.net/content/images/2019/01/Annotation-2019-01-09-134749-1.jpg" class="kg-image"></figure><p>You need to add the following into DNS records<br>
1. A @ <strong>IP address</strong> of your web app.</p>
<figure class="kg-card kg-image-card"><img src="https://reetwikdasblogs.azurewebsites.net/content/images/2019/01/Annotation-2019-01-09-140110-2.jpg" class="kg-image"><figcaption>This is where you can find the IP address of your site</figcaption></figure><ol start="2">
<li>CNAME * <strong><em>YourSiteName</em>.azurewebsites.net</strong></li>
<li>CNAME www <strong><em>YourSiteName</em>.azurewebsites.net</strong></li>
<li>TXT @ <strong><em>YourSiteName</em>.azurewebsites.net</strong></li>
</ol>
<figure class="kg-card kg-image-card"><img src="https://reetwikdasblogs.azurewebsites.net/content/images/2019/01/Annotation-2019-01-09-135330-1.jpg" class="kg-image"><figcaption>The Records field would look like this</figcaption></figure><p>Now go to your Application in azure portal and then to the <strong>Scale Up</strong> tab.</p><figure class="kg-card kg-image-card"><img src="https://reetwikdasblogs.azurewebsites.net/content/images/2019/01/Annotation-2019-01-09-181654-1.jpg" class="kg-image"><figcaption>Choose a plan which suits your budget</figcaption></figure><p>Now go to the custom domain tab and add new host name</p><figure class="kg-card kg-image-card"><img src="https://reetwikdasblogs.azurewebsites.net/content/images/2019/01/Annotation-2019-01-09-182059-1.jpg" class="kg-image"><figcaption>Add your custom domain name and click validate</figcaption></figure><p>Now your custom domain is linked to your site that you hosted on azure.</p><p><strong>STEP 3. Getting SSL certificate</strong><br>
We would use azure's <strong>Let's Encrypt</strong> to get SSL certificate for our site.</p>
<p>In your Azure Portal go to <strong>Azure Active Directory</strong> then click on <strong>App Registration</strong> tab and the begin a <strong>new Application registration</strong>.</p>
<p>Register this app with any name, keep application type as Web App/API and provide your custom domain for Sign on URL.</p>
<figure class="kg-card kg-image-card"><img src="https://reetwikdasblogs.azurewebsites.net/content/images/2019/01/Annotation-2019-01-09-183322-1.jpg" class="kg-image"><figcaption>Creating new app registration</figcaption></figure><p>The Application ID of this App is the Client ID that would be required later in the process.</p><figure class="kg-card kg-image-card"><img src="https://reetwikdasblogs.azurewebsites.net/content/images/2019/01/Annotation-2019-01-09-183851-1.jpg" class="kg-image"><figcaption>Application ID will have the value of Client ID</figcaption></figure><p>Now go to settings button in the above page and then Keys tab to generate new Keys.</p><p>Provide key description, its expiry date and the value. Save the <strong>generated key</strong> as this will be used later as <strong>client secret</strong>.</p><figure class="kg-card kg-image-card"><img src="https://reetwikdasblogs.azurewebsites.net/content/images/2019/01/Annotation-2019-01-09-184400-1.jpg" class="kg-image"><figcaption>Save the key generated as it would be used later as Client Secret</figcaption></figure><p>Go to the resource group containing application corresponding to the site and provide the application registered in the Azure active directory (Let's Encrypt) and provide "Contribute" access.</p><p>To do this go to resource group and then Access Control (IAM) tab.</p><figure class="kg-card kg-image-card"><img src="https://reetwikdasblogs.azurewebsites.net/content/images/2019/01/Annotation-2019-01-09-185921-1.jpg" class="kg-image"><figcaption>Use this to do the role assignment</figcaption></figure><figure class="kg-card kg-image-card"><img src="https://reetwikdasblogs.azurewebsites.net/content/images/2019/01/Annotation-2019-01-09-190226-1.jpg" class="kg-image"><figcaption>Save to add contributor role</figcaption></figure><p>Go to the App service and then to the extension tab and add Azure Let's Encrypt extension in it.</p><figure class="kg-card kg-image-card"><img src="https://reetwikdasblogs.azurewebsites.net/content/images/2019/01/Annotation-2019-01-09-191004-1.jpg" class="kg-image"><figcaption>Click add to choose from the extension available</figcaption></figure><figure class="kg-card kg-image-card"><img src="https://reetwikdasblogs.azurewebsites.net/content/images/2019/01/Annotation-2019-01-09-191251-1.jpg" class="kg-image"><figcaption>Select Azure Let's Encrypt</figcaption></figure><p>Open Azure Let's Encrypt extension and click on browse.</p><figure class="kg-card kg-image-card"><img src="https://reetwikdasblogs.azurewebsites.net/content/images/2019/01/Annotation-2019-01-09-191707-1.jpg" class="kg-image"><figcaption>You would reach a page similar to this</figcaption></figure><ul>
<li>the tenant is something like <em>mytenantname</em>.onmicrosoft.com, you can find out your tenant tname by hovering over the logged in used in your azure portal.</li>
<li>Subscription ID is your app service's subscription ID</li>
<li>Client ID and Client secret were stored by us previously in the demo.</li>
<li>Resource group name and service plan resource group name is the resource group in which you had deployed the app service.</li>
</ul>
<p>Once you fill all the details click next. You would have to verify the domain and generate certificates for your domain which will be installed automatically.</p>]]></content:encoded></item></channel></rss>