<?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 Ajo Mathew on Medium]]></title>
        <description><![CDATA[Stories by Ajo Mathew on Medium]]></description>
        <link>https://medium.com/@ajo_mathew?source=rss-fd6a606ef9f0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*WIqLtRt9ktLnU9t9.jpg</url>
            <title>Stories by Ajo Mathew on Medium</title>
            <link>https://medium.com/@ajo_mathew?source=rss-fd6a606ef9f0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 15:14:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ajo_mathew/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[Azure Container Groups for hosting ?]]></title>
            <link>https://medium.com/@ajo_mathew/azure-container-groups-for-hosting-f7e8f2f1175e?source=rss-fd6a606ef9f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7e8f2f1175e</guid>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[azure]]></category>
            <dc:creator><![CDATA[Ajo Mathew]]></dc:creator>
            <pubDate>Sun, 26 Jul 2020 05:36:27 GMT</pubDate>
            <atom:updated>2020-07-26T05:36:27.177Z</atom:updated>
            <content:encoded><![CDATA[<h3>Azure Container Groups for hosting ?</h3><p>Few days ago I was in need of a quick and easy option to host few containers with Azure for one of my Demos. I didn’t want to go with the headache of having an AKS or VM with docker installed. So I picked ACI ( Azure Container Instance ) with an nginx vm for reverse proxy — Since this was to be presented quick we we went the dirty way.</p><p>I could’ve gone with direct ACI URLs right ? but sadly no since DNS/firewall would mark the URL as malware in five minutes of creation — too great of a protection.</p><h3>Why not Webapps ?</h3><p>Yea webapps will work as long as your application runs directly at port 80 or 443 anything beyond that is forbidden. Our quick dirty demo was hosted with an npm mysite.js against port 3000 with Nro4j database backend.</p><p>Why not webapp with nginx side car ? no time too lazy. I would probably later look at this option once I’ve ample time to play further around with it.</p><p>As I’ve layed out the plot with all actors. Let me go into the problem with ACI</p><h3>Curious case of Azure Container instance</h3><p>In my solution I was using nginx reverse proxy to server web application. For that I created a vnet and bound ACI — Azure Container Group to be precise — to the vnet. ACI was given a private IP address so not all my database ports are not exposed to public, a VM existing in the vnet with public IP would proxy pass the request to correct ports of container instance.</p><h4>All is well untill you stop and start ACI</h4><p>Everything here works untill Azure Container Group/ ACI is stopped and started. Azure container instance restart was throwing error messages in the time of this writing — a false positive saying containers were not restarted but in actual they were. So I resorted to Azure Support and they’ve passed the issue to Engineering team as a bug for fixing. All this drama unwind while my deadline was 3 hours ago. Finally I figured out</p><ul><li>Restarting ACI would in actual restart ACI even the error is thrown</li><li>While stopping and starting is done private IP address don’t change</li></ul><p>There are no reference to any Azure document about state of private IP address when stopped then started and a restart — if it will change or not change. It would be great if we can get a confirmation about this behaviour in Azure documentation so people like us don’t have to eat Azure’s dog food.</p><h3>Take away</h3><ul><li>Azure Container instance private IP address changes when stopped and started</li><li>Azure Container instance private IP address does not change when restarted</li><li>Even if Azure report error while restarting ACI it in actual restarts - Yet to be updated by Azure Engineering team</li></ul><h3>If you want to test</h3><p>Go ahead and launch An Azure Container instance — easier if you can do it with this <a href="https://github.com/Azure/azure-quickstart-templates/tree/master/201-aci-wordpress-vnet"><strong>ARM template</strong></a> to deploy a wordpress blog with application gateway</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7e8f2f1175e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The narrow line between Luxury and Sin.]]></title>
            <link>https://medium.com/@ajo_mathew/the-narrow-line-between-luxury-and-sin-ddcb44c9fd5?source=rss-fd6a606ef9f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/ddcb44c9fd5</guid>
            <dc:creator><![CDATA[Ajo Mathew]]></dc:creator>
            <pubDate>Wed, 17 Jun 2015 14:24:04 GMT</pubDate>
            <atom:updated>2015-06-17T14:24:04.806Z</atom:updated>
            <content:encoded><![CDATA[<p>The narrow line between Luxury and Sin.</p><p>I have seen people saying I can afford this so I am using this. But no one thinks what that affordability of yours is doing to the poor people. I can afford an AC\Luxury Car, but what bad impact it makes to other poor people who lives in the street. It pollutes the air they breath in. I can afford a water purifier so I can drink Clean water , does that mean I can pollute the water or waste it.</p><p>Think Over it</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ddcb44c9fd5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>