<?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 Sateesh Havannavar on Medium]]></title>
        <description><![CDATA[Stories by Sateesh Havannavar on Medium]]></description>
        <link>https://medium.com/@SatHavannavar?source=rss-59b417843008------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*JNM3VFeWtOfjaxIh.jpeg</url>
            <title>Stories by Sateesh Havannavar on Medium</title>
            <link>https://medium.com/@SatHavannavar?source=rss-59b417843008------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 13:30:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@SatHavannavar/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[Lean Cloud Infrastructure For Early Stage Startups ( <25K users )]]></title>
            <link>https://medium.com/@SatHavannavar/lean-cloud-infrastructure-for-early-stage-startups-25k-users-bba2ae412276?source=rss-59b417843008------2</link>
            <guid isPermaLink="false">https://medium.com/p/bba2ae412276</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[infrastructure]]></category>
            <category><![CDATA[lemonop]]></category>
            <dc:creator><![CDATA[Sateesh Havannavar]]></dc:creator>
            <pubDate>Thu, 02 May 2019 12:36:59 GMT</pubDate>
            <atom:updated>2019-05-07T18:55:51.817Z</atom:updated>
            <content:encoded><![CDATA[<p>In the last few years, I’ve worked on a couple of opportunities from the ideation stage, including <a href="https://lemonop.com/">Lemonop</a>. The one recurring thing I notice from my enterprise tech friends &amp; from business owners is the amount of time people spend worrying about the implementation of basic infrastructure. So here’s my roundup of the stuff we’ve recommended, used and would like to continue to use. Use them if they suit your needs. Its always good to have at least one more opinion from a friend who is from the startup background and who is a coding geek who frequently burns the midnight oil :-)</p><p>There are no compelling reasons to spend big in the early days on <strong>AWS</strong>, <strong>Google Cloud</strong>, <strong>Azure</strong> etc till you scale not just users but also revenue. The free tier products and services of these cloud service providers are as good as having no cloud servers and their billing system is very hard to predict (a surge in the bill can reach $500–$600 / month with a small surge in usage). For instance, in free tier products, your installed application may go down anytime or some of your services may go down when you make lot of requests while testing your application. At the same time paid components are really good for auto scaling, security of resources, in-built automation, serverless architecture support and 99.9% uptime.</p><p><strong><em>Thanks a ton </em></strong><a href="https://www.linkedin.com/in/swaroop-chand-b1549a4?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3BANTtv7PXTjS3mWGRI%2BV6Cw%3D%3D"><strong><em>Swaroop</em></strong></a><strong><em> for the draft review</em></strong></p><p>Launching &amp; running a startup is very challenging, yet also rewarding when properly executed. It is also extremely important for startups to remain very frugal as long as they can, Therefore, in order to help take away one of your burdens of figuring out infra for the early days and to help keep your costs low, here is a list of tools / software / technologies that form our cloud infrastructure. This has worked well for us, has been scaling well with our growth and has cost us very little</p><ul><li><a href="https://www.cloudflare.com/">Cloudflare</a>: (this is a no-brainer) for domain registration, CDN for static content, SSL certificate, DNS configuration and to protect your website. Domain registration and SSL certificates are yearly subscription</li><li>Select the right hosting provider for your product / platform. <a href="https://linode.com/">Linode</a>, <a href="https://www.digitalocean.com/">Digital Ocean</a> and a few others have reasonable pricing and give good support as well. You will have to do a bit of extra work doing server hardening (a separate post perhaps on this topic), however. We went with <a href="https://www.linode.com/">Linode</a></li><li><a href="https://bitbucket.org/">Bitbucket</a> for version control and code hosting services; it is free for upto 5 users of the same organisation &amp; supports unlimited private repos</li><li><a href="http://slack.com/">Slack</a>: not just as a team collaboration tool, but it also easily integrates with Bitbucket, CI / CD tools and servers. The team therefore can track all communications related to code builds &amp; deployments. 10K messages are free / month</li><li><a href="https://www.nginx.com/">NGINX</a>: as web server (sorry Apache), reverse proxy and load balancer. The latest version (14.x) is great if you need an events infra</li><li>Datastore: We recommend a NoSQL database for a bulk of the business cases. Depending on your use cases, you can pick a document / column / key-value or graph based product. <a href="https://www.mongodb.com/">MongoDB</a> was perfect for the core use cases of the <a href="https://lemonop.com/">Lemonop</a> Gig Engine. We also use <a href="https://www.postgresql.org/">Postgres</a> for a few flows such as social login etc. We like Postgres’ support for JSON and ARRAY datatype and the latest release has great support for logical replication of data. We also use a graph datastore, <a href="https://neo4j.com/">Neo4j</a> for handling the complex use cases of Lemonop Twyne, our social tool in the mobile app. Perhaps future post #2 should be on Neo4j</li><li><a href="https://www.docker.com/">Docker</a>: as containers for our microservices (yet another future post coming up on this as well). Commercial version of Docker is free</li><li><a href="http://asana.com/">Asana</a>: for work tracking at both broad and granular levels. Trello is another option. Asana is free for 15 users of the same organisation and easy to use</li><li><a href="http://analytics.google.com/">Google Analytics</a>: to help track our statistics, basic analytics for SEO and effectiveness of our marketing campaigns.</li></ul><p>We also have an events infrastructure using Apache Kafka &amp; Druid that helps us capture and analyse system and user events. That too will be a separate post #4 in the interest of keeping each post short and sticking to one topic.</p><p><strong>Our Configurations</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FBs7CaDHZhRpQfaVcNpIYA.jpeg" /><figcaption>Cloud Infrastructure</figcaption></figure><ul><li>Two CPU Core, 4GB RAM, 80GB Storage, Ubuntu 18.04</li><li>Single active instance of NGINX-14.02 server configured for failover handling</li><li>Six Docker containers</li><li>Postgres 11.2 and MongoDB 4.0 database server configured for failover handling</li></ul><p>Hope this helps you figure out a lean infra for yourselves in the early days of your startup and to save funds. Also hope to write a little more regularly on our tech. I’ve already committed to 4 more posts :-)</p><p>#lemonop #startup #startupthuglife #cloud #infrastructure #hosting #nginx #cloudflare #saas #bitbucket #docker #linode</p><figure><a href="https://usejournal.com/?utm_source=medium.com&amp;utm_medium=noteworthy_blog&amp;utm_campaign=tech&amp;utm_content=guest_post_image"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PYxBP_WV7LI6zc-zdUkNqQ.png" /></a></figure><p>📝 Read this story later in <a href="https://blog.usejournal.com/r/?url=https%3A%2F%2Fusejournal.com%2F%3Futm_source%3Dmedium.com%26utm_medium%3Dnoteworthy_blog%26utm_campaign%3Dtech%26utm_content%3Dguest_post_read_later_text">Journal</a>.</p><p>👩‍💻 Wake up every Sunday morning to the week’s most noteworthy stories in Tech waiting in your inbox. <a href="https://blog.usejournal.com/r/?url=https%3A%2F%2Fusejournal.com%2Fnewsletter%2Fnoteworthy-in-tech%2F%3Futm_source%3Dmedium.com%26utm_medium%3Dnoteworthy_blog%26utm_campaign%3Dtech%26utm_content%3Dguest_post_text">Read the Noteworthy in Tech newsletter</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bba2ae412276" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CORS(cross origin resource sharing) setup in Apache]]></title>
            <link>https://medium.com/talentspear/cors-cross-origin-resource-sharing-setup-in-apache-86d9799f2cf7?source=rss-59b417843008------2</link>
            <guid isPermaLink="false">https://medium.com/p/86d9799f2cf7</guid>
            <category><![CDATA[cors]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[apache]]></category>
            <dc:creator><![CDATA[Sateesh Havannavar]]></dc:creator>
            <pubDate>Mon, 23 Mar 2015 14:14:12 GMT</pubDate>
            <atom:updated>2016-11-12T18:06:25.750Z</atom:updated>
            <content:encoded><![CDATA[<p>Setting up of Apache cross origin resource in virtual-host.conf</p><p>Once in a life time of your product development need to make a cross-domain request from Javascript, this is something the browser very much dislikes. Not a expert of CROS, tried searching in google, but really unsuccessful.</p><p>I faced multiple issues before finding a complete solution.</p><p>Here is a brief solution:</p><blockquote>Set up is in Ubuntu-14.10. and Apache-2.4.10</blockquote><p>I started off with just adding the Access-Control-Allow-Origin header in my Apache configuration, thinking that it’ll solve my problems. I also decided to set it on wildcard, allowing anything to request resources.</p><p>There is no <strong>.htaccess</strong> file in Apache-2.4.10, So add the below configurations in VirtualHost.conf . In my virtualhost config added only <em>Header set Access-Control-Allow-Origin “*”</em></p><p>Since header module was not enabled so have to enable using</p><p><em>sudo a2enmod headers</em></p><p>and restarted the server, still no success, got the same error “OPTIONS Method Not Allowed” Then changed it to specific URL</p><p><em>Header set Access-Control-Allow-Origin “http://test.example.com&quot;</em></p><p>Thought to add allow OPTIONS request in the python code, but that is really bad practice.</p><p>Digged more and understood that this is a “pre-flight” request, basically asking the server for the CORS headers, but without data. Found that for every OPTION call we should send success response</p><p>so added</p><pre>RewriteEngine On<br>RewriteCond %{REQUEST_METHOD} OPTIONS<br>RewriteRule ^(.*)$ $1 [R=200,L]</pre><p>again rewrite module was not enabled so have to enable using</p><p><em>sudo a2enmod rewrite</em>. and restarted the server.<br>This time it was new error saying — credintials missing and again inserted the below header configuration</p><p><em>Header always set Access-Control-Allow-Credentials “true”</em><br>and restarted the server.</p><p>Hurry !! This time was successful.</p><p>So my final setup of headers and rewrite engine is :</p><pre># Always set these headers.</pre><pre>Header always set Access-Control-Allow-Origin &quot;http://test.example.com&quot;<br>Header always set Access-Control-Allow-Methods &quot;POST, GET, OPTIONS, DELETE, PUT&quot;<br>Header always set Access-Control-Max-Age &quot;1000&quot;<br>Header always set Access-Control-Allow-Credentials &quot;true&quot;<br>Header always set Access-Control-Allow-Headers &quot;x-requested-with, Content-Type, origin, authorization, accept, client-security-token&quot;</pre><pre>   # Added a rewrite to respond with a 200 SUCCESS on every OPTIONS request.</pre><pre>        RewriteEngine On<br>        RewriteCond %{REQUEST_METHOD} OPTIONS<br>        RewriteRule ^(.*)$ $1 [R=200,L]</pre><ul><li>Thumb rule don’t directly use this for Production as allowing <strong>Allow credentials</strong> is security threat.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=86d9799f2cf7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/talentspear/cors-cross-origin-resource-sharing-setup-in-apache-86d9799f2cf7">CORS(cross origin resource sharing) setup in Apache</a> was originally published in <a href="https://medium.com/talentspear">Talentspear</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>