<?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 Nikhil Parab on Medium]]></title>
        <description><![CDATA[Stories by Nikhil Parab on Medium]]></description>
        <link>https://medium.com/@parab.nikhil?source=rss-e8d3f6dcf66b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*rWA7jfCDQ-ZhkgRooBoO3g.jpeg</url>
            <title>Stories by Nikhil Parab on Medium</title>
            <link>https://medium.com/@parab.nikhil?source=rss-e8d3f6dcf66b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 12:37:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@parab.nikhil/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[AWS & Azure Savings Plans and Reserved Instances]]></title>
            <link>https://medium.com/@parab.nikhil/aws-azure-savings-plans-and-reserved-instances-036331b91911?source=rss-e8d3f6dcf66b------2</link>
            <guid isPermaLink="false">https://medium.com/p/036331b91911</guid>
            <dc:creator><![CDATA[Nikhil Parab]]></dc:creator>
            <pubDate>Thu, 30 Apr 2026 05:06:40 GMT</pubDate>
            <atom:updated>2026-04-30T05:06:40.188Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>How I Reduced Cloud Cost by $200K Per Month</strong></p><p>Cloud cost optimization usually starts with reports and dashboards. But real savings come when you take an action.</p><p>In one of my recent projects, I worked on reducing compute and database costs across AWS and Azure. By using Savings Plans and Reserved capacity properly, we were able to cut around $200K every month.</p><p>No major architecture changes. Just better use of what cloud already provides.</p><p><strong>Why This Matters</strong></p><p>Most teams use on-demand pricing by default. It’s flexible, but expensive.</p><p>The reality is, a big portion of workloads are predictable:</p><ul><li>Production VMs running 24/7</li><li>Databases that are always on</li><li>Background jobs with steady usage</li></ul><p>If that’s the case, paying on demand doesn’t make sense.</p><p>That’s where commitment-based pricing helps.</p><p><strong>AWS: What Options You Have</strong></p><p><strong>Savings Plans</strong></p><p>Savings Plans are based on how much you spend per hour.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FBuwXq9C9dJHlemxVSBirQ.png" /></figure><p><strong>Types:</strong></p><p><strong>Compute Savings Plans</strong></p><ul><li>Works across EC2, Lambda, Fargate</li><li>Very flexible</li><li>No need to worry about instance types or regions</li></ul><p><strong>EC2 Instance Savings Plans</strong></p><ul><li>Limited to a specific instance family</li><li>Slightly better discount</li><li>Less flexible</li></ul><p><strong>Database Savings Plans</strong></p><ul><li>Covers RDS, Aurora, DynamoDB, and others</li><li>Flexible across instance types and regions</li><li>Good option if database usage is steady but may change over time</li></ul><p><strong>Reserved Instances (Compute + Database)</strong></p><p>Reserved Instances are more fixed but give better discounts.</p><p><strong>For Compute</strong></p><ul><li>Standard RI → best discount, no flexibility</li><li>Convertible RI → some flexibility</li></ul><p><strong>For Databases</strong></p><ul><li>Used for RDS, Aurora, Redshift</li><li>Available in 1-year and 3-year terms</li><li>Works best when you know the workload is not going to change</li></ul><p><strong>Azure: Similar Model</strong></p><p><strong>Savings Plan (Compute)</strong></p><ul><li>Commit to hourly spend</li><li>Works across VMs and compute services</li><li>Flexible and easy to apply</li></ul><p><strong>Reservations (Compute + Database)</strong></p><p><strong>VM Reservations</strong></p><ul><li>Fixed size and region</li><li>Better pricing</li></ul><p><strong>Database Reservations</strong></p><ul><li>Azure SQL, Managed Instance, Cosmos DB</li><li>Good for long-running production systems</li></ul><p><strong>Pros and Cons of Savings Plans</strong></p><p><strong>Pros</strong></p><ul><li>Good cost savings (30–70%)</li><li>Flexible</li><li>Easy to start with</li><li>Works across multiple services</li><li>Helps with budgeting</li></ul><p><strong>Cons</strong></p><ul><li>You must commit for 1 or 3 years</li><li>If usage drops, you still pay</li><li>Not always the highest discount</li><li>Needs regular monitoring</li></ul><p><strong>What I Did in My Project</strong></p><p>Here’s the exact approach I followed.</p><p><strong>Step 1: Look at Usage</strong></p><ul><li>Checked 3–6 months of usage data</li><li>Focused on compute and database services</li></ul><p><strong>Step 2: Split Workloads</strong></p><p>I divided everything into:</p><ul><li>Stable workloads (always running)</li><li>Changing workloads (not consistent)</li></ul><p><strong>Step 3: Use Cloud Recommendations</strong></p><ul><li>AWS Cost Explorer</li><li>Azure Cost Management</li></ul><p>Did not guess. Used what the tools suggested.</p><p><strong>Step 4: Apply the Right Strategy</strong></p><p>Instead of using one approach everywhere, I mixed it:</p><ul><li>Compute Savings Plans → for flexibility</li><li>Database Savings Plans → where usage was steady but not fixed</li><li>Reserved Instances → where workloads were fully stable</li></ul><p>Also, I didn’t commit 100%. Kept it around 70% to stay safe.</p><p><strong>Step 5: Monitor and Adjust</strong></p><ul><li>Checked usage regularly</li><li>Made sure commitments were fully used</li><li>Adjusted when needed</li></ul><p><strong>Result</strong></p><ul><li>~$200K monthly savings</li><li>No performance issues</li><li>Lower on-demand usage</li><li>Better cost control</li></ul><p><strong>Key Learnings</strong></p><p><strong>1. Don’t overcommit</strong><br> More discounts doesn’t always mean better outcome.</p><p><strong>2. Start flexible</strong><br> Savings Plans are safer in the beginning.</p><p><strong>3. Use Reserved only when sure</strong><br> Go for Reserved Instances when workload is stable.</p><p><strong>4. Monitor regularly</strong><br> Savings can turn into waste if not tracked.</p><p><strong>5. Review every few months</strong><br> Things change. Your commitments should too.</p><p><strong>When to Use What</strong></p><ul><li>Workload keeps changing → Savings Plans</li><li>Workload is stable → Reserved Instances</li><li>Database is evolving → Database Savings Plans</li><li>Database is fixed → Reserved DB Instances</li></ul><p><strong>Final Thoughts</strong></p><p>Savings Plans and Reserved Instances are simple tools, but they make a big difference when used correctly. Most companies don’t have a cost problem. They have a commitment problem. If your workloads are predictable and you’re still paying on demand, you’re likely overspending.</p><p>Start small, commit smartly, and keep tracking. That’s exactly how we reached $200K in monthly savings.</p><p><strong>Reference Links</strong></p><p><strong>AWS</strong></p><ul><li><a href="https://docs.aws.amazon.com/savingsplans/latest/userguide/what-is-savings-plans.html">https://docs.aws.amazon.com/savingsplans/latest/userguide/what-is-savings-plans.html</a></li><li><a href="https://docs.aws.amazon.com/cost-management/latest/userguide/ce-savings-plans.html">https://docs.aws.amazon.com/cost-management/latest/userguide/ce-savings-plans.html</a></li><li><a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithReservedDBInstances.html">https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithReservedDBInstances.html</a></li></ul><p><strong>Azure</strong></p><ul><li><a href="https://learn.microsoft.com/en-us/azure/cost-management-billing/savings-plan/">https://learn.microsoft.com/en-us/azure/cost-management-billing/savings-plan/</a></li><li><a href="https://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/">https://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=036331b91911" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cost Optimization and Smart Alerting for Databricks Workloads]]></title>
            <link>https://medium.com/@parab.nikhil/cost-optimization-and-smart-alerting-for-databricks-workloads-df0c76dac58e?source=rss-e8d3f6dcf66b------2</link>
            <guid isPermaLink="false">https://medium.com/p/df0c76dac58e</guid>
            <dc:creator><![CDATA[Nikhil Parab]]></dc:creator>
            <pubDate>Mon, 02 Feb 2026 22:29:57 GMT</pubDate>
            <atom:updated>2026-02-03T19:35:50.798Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HbOzk4MhvKLM92nIzt_JCQ.png" /></figure><p>Practical recommendations to reduce Databricks compute costs without hurting performance</p><p>Databricks offers powerful, scalable compute for analytics and data engineering workloads. But without continuous governance, it is easy for costs to quietly spiral due to idle clusters, over-provisioned resources, and inefficient job execution.</p><p>In many real-world Databricks environments, teams optimize clusters once, then move on. Over time, usage patterns change, workloads evolve, and what was once optimal becomes wasteful.</p><p>This article outlines practical, production-tested recommendations to optimize Databricks costs using cluster configuration data, system tables, and automated alerts. The goal is simple: reduce unnecessary compute spend while maintaining or improving workload performance.</p><p><strong>Why Databricks Cost Optimization Is Often Missed</strong></p><p>Most Databricks cost overruns are not caused by a single bad decision. They come from small inefficiencies that compound over time:</p><blockquote>Autoscaling limits set far above real usage</blockquote><blockquote>Clusters left running while idle</blockquote><blockquote>Jobs executed on long-running all-purpose clusters</blockquote><blockquote>Lack of visibility into who owns which costs</blockquote><blockquote>Performance bottlenecks that silently increase runtime</blockquote><p>The solution is not just better configuration, but continuous monitoring and alert-driven governance.</p><p><strong>1. Optimize Autoscaling Configuration</strong></p><p><strong>Common issue:</strong> Clusters often have max autoscale worker limits set much higher than historical demand. Autoscaling reacts quickly, but it does not know your budget.</p><p><strong>Recommendation:</strong> — Reduce max autoscale workers based on observed peak usage — Increase minimum workers only when low startup latency is business-critical</p><p><strong>Why it matters:</strong> Oversized autoscaling leads to unnecessary node allocation during spikes that never fully utilize the compute. Right-sizing autoscale limits alone can deliver immediate cost savings.</p><p><strong>2. Enforce Auto-Termination Policies</strong></p><p><strong>Common issue:</strong> Interactive clusters frequently remain active long after users stop running queries, especially when auto-termination values are set too high or disabled.</p><p><strong>Recommendation:</strong> — Set auto-termination to 15–30 minutes for interactive clusters — Enforce auto-termination across all non-production clusters</p><p><strong>Why it matters:</strong> Idle clusters are one of the biggest silent cost drivers in Databricks. Tightening auto-termination policies can eliminate entire hours of wasted runtime every day.</p><p><strong>3. Right-Size Clusters Using CPU and Memory Metrics</strong></p><p><strong>Common issue:</strong> Clusters are rarely reviewed after initial setup, even when workload patterns change.</p><p><strong>What to monitor:</strong> — Average CPU utilization — Average memory utilization</p><p><strong>Actionable thresholds:</strong> — Below 40 percent CPU or 50 percent memory: cluster is likely over-provisioned — Above 80 percent sustained usage: potential performance risk — Above 85 percent sustained usage: strong signal to increase resources</p><p><strong>Recommendation:</strong> — Downsize instance types or worker counts for consistently low utilization — Trigger alerts for high utilization and recommend right-sizing actions</p><p><strong>Why it matters:</strong> Right-sizing prevents waste during low demand while protecting performance during peak workloads. Combining metrics with alerts ensures optimization happens continuously, not quarterly.</p><p><strong>4. Use Job Clusters for Scheduled and Ad-Hoc Jobs</strong></p><p><strong>Common issue:</strong> Scheduled jobs and pipelines are often executed on all-purpose clusters that stay online even when no jobs are running.</p><p><strong>Recommendation:</strong> — Use job clusters for all scheduled, pipeline, and ad-hoc workloads, Reserve all-purpose clusters only for interactive analysis</p><p><strong>Why it matters:</strong> Job clusters spin up only when needed and terminate automatically after execution. Migrating jobs from all-purpose clusters to job clusters typically reduces related compute costs by 30–50 percent, depending on idle time.</p><p><strong>5. Enforce Cluster Tagging for Cost Allocation</strong></p><p><strong>Common issue:</strong> Without consistent tagging, it becomes nearly impossible to attribute Databricks costs to teams, projects, or environments.</p><p><strong>Recommendation:</strong> Require standardized cluster tags such as:Department, Project, Environment (prod, staging, dev), Owner</p><p><strong>Why it matters:</strong> Tagging unlocks cost transparency, accountability, and targeted optimization. It also enables meaningful budget alerts and chargeback models.</p><p><strong>Building an Effective Alerting and Monitoring Strategy</strong></p><p>Cost optimization should not be a one-time cleanup exercise. It should be an ongoing, automated process.</p><p><strong>What to alert on:</strong>Sustained low CPU or memory utilization, Clusters exceeding auto-termination windows. Autoscaling above historical peak usage, High utilization thresholds (warning at 80 percent, action at 85 percent) , Monthly cost thresholds per team or project</p><p><strong>Where alerts should go:</strong> Engineering owners, platform teams, or cost owners who can act immediately.</p><p><strong>Why it matters:</strong> Alerts catch inefficiencies early, before they turn into unexpected end-of-month cost spikes. In mature environments, this alone can save thousands per month.</p><p><strong>Performance Optimization Is Cost Optimization</strong></p><p>Reducing costs is not only about shutting things down. Poor Spark performance often increases compute hours more than oversized clusters ever will.</p><p>Common hidden cost drivers include:Skewed tasks, Excessive shuffle operations, Poor partitioning Inefficient joins or caching strategies</p><p><strong>Recommendation:</strong> Use tools like Sparklint to continuously monitor Spark execution at the stage and task level.</p><p>Key practices include:Detect and fix data skew, Optimize shuffle-heavy operations, Tune Spark configurations such as shuffle partitions and parallelism, Refactor inefficient transformations</p><p><strong>Why it matters:</strong> Faster jobs consume fewer compute hours. Performance tuning directly translates into cost savings while improving developer productivity.</p><p><strong>Final Thoughts</strong></p><p>Databricks cost optimization is not about cutting resources aggressively. It is about aligning compute usage with real workload demand and making inefficiencies visible as soon as they appear.</p><p>By combining:Right-sized cluster configurations, Strong auto-termination policies, Job clusters for execution, Cost attribution via tagging, Automated alerts, Continuous performance monitoring</p><p>Teams can achieve sustainable cost savings without sacrificing performance or reliability.</p><p><em>Follow me on</em> <a href="http://www.linkedin.com/in/nikhil-parab-806270135">Linkedin</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df0c76dac58e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Snowflake Cost Optimization: What I Learned After the Visibility Phase]]></title>
            <link>https://medium.com/@parab.nikhil/snowflake-cost-optimization-what-i-learned-after-the-visibility-phase-c4590811f0de?source=rss-e8d3f6dcf66b------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4590811f0de</guid>
            <dc:creator><![CDATA[Nikhil Parab]]></dc:creator>
            <pubDate>Sun, 07 Dec 2025 19:43:13 GMT</pubDate>
            <atom:updated>2025-12-18T04:05:55.916Z</atom:updated>
            <content:encoded><![CDATA[<p>After completing the visibility phase in my Snowflake FinOps journey, the next logical step was cost optimization. Visibility tells you where money is going. Optimization helps you control it.</p><p>Snowflake is powerful, but if you don’t manage compute, storage, and serverless services carefully, costs grow silently. In this guide, I explain the simple steps I used to reduce spend, along with the exact Snowflake built-in queries that helped me understand and optimize my usage.</p><p>Please find my two Medium articles on <a href="https://medium.com/@parab.nikhil/my-journey-into-finops-for-snowflake-expanding-beyond-cloud-boundaries-01abdfce386f"><strong>FinOps for Snowflake</strong></a> and the <a href="https://medium.com/@parab.nikhil/finops-visibility-phase-what-i-learned-from-the-snowflake-finops-course-25009c8e588b"><strong>FinOps Visibility Phase</strong></a><strong> </strong>for reference.</p><p><strong>1. Start With the Real Cost Drivers</strong></p><p>Before trying to fix anything, understand what you are paying for. Snowflake charges mainly for:</p><p><strong>Compute — </strong>Warehouses that run your queries.</p><p><strong>Storage — </strong>Your tables, stages, and retention history.</p><p><strong>Serverless features -</strong>Tasks, materialized views, search optimization, and other background operations.</p><p><strong>Data transfer — </strong>Moving data between clouds or regions.</p><p>Once you know which area is growing, optimization becomes much easier.</p><p><strong>2. Optimize Compute (Your Biggest Cost Area)</strong></p><p>Warehouse usage is usually the top cost driver. Here are the changes that made the biggest impact for me:</p><p><strong>Right-size your warehouses -</strong></p><p>Don’t run large warehouses for small workloads. Start small and scale only if needed.</p><p><strong>Enable auto-suspend — </strong>This stops warehouses when nobody is using them. Even 5–10 minutes of idle time adds unnecessary cost.</p><p><strong>Enable auto-resume — </strong>Warehouses wake up only when queries actually run.</p><p><strong>Separate workloads — </strong>Keep ETL, reporting, and ad-hoc queries on different warehouses so you can tune them independently.</p><p><strong>Identify long-running or heavy queries — </strong>This is where built-in Snowflake queries help.</p><p><strong>Reference Query (Long-running and expensive queries):</strong><br> <a href="https://quickstarts.snowflake.com/guide/resource_optimization_usage_monitoring/#14">https://quickstarts.snowflake.com/guide/resource_optimization_usage_monitoring/#14</a></p><p>This view helps you spot slow queries, repetitive patterns, or code that needs tuning.</p><p><strong>3. Clean Up and Manage Storage Smartly</strong></p><p>Storage is cheaper than compute but grows quietly over time.</p><p><strong>Delete unused or temporary tables — </strong>Often, development or testing leaves behind old objects that nobody touches.</p><p><strong>Review Time Travel retention — </strong>If your teams don’t need long rollback history, reduce retention from the default.</p><p><strong>Avoid unnecessary table clones — </strong>Cloning is cheap at first, but as data changes, clones diverge and cost increases.</p><p><strong>Check storage trends using built-in views</strong></p><p><strong>Reference Query (Storage metrics):</strong><br> <a href="https://www.snowflake.com/en/developers/guides/resource-optimization-billing-metrics/#storage-metrics">https://www.snowflake.com/en/developers/guides/resource-optimization-billing-metrics/#storage-metrics</a></p><p>This helps you track how storage grows and which tables consume the most space.</p><p><strong>4. Set Alerts and Monitors So Costs Don’t Surprise You</strong></p><p>Optimization is easier when you get notified early.</p><p><strong>Resource Monitors — </strong>Set credit limits on warehouses so they stop before burning excess cost.</p><p><strong>Daily or weekly usage alerts — </strong>Use Snowflake tasks or external tools to notify teams about unusual spikes.</p><p>This keeps everyone aware instead of reacting after the bill shows up.</p><p><strong>5. Improve Your SQL and Query Patterns</strong></p><p>Efficient queries reduce warehouse time and save cost.</p><p><strong>Avoid SELECT * — </strong>Scanning entire tables increases compute.</p><p><strong>Filter early — </strong>Push filtering conditions as close to the base tables as possible.</p><p><strong>Use clustering when needed — </strong>Good for large tables with frequent filtering on the same columns.</p><p><strong>Use materialized views only when justified — </strong>They improve performance but come with maintenance cost.</p><p><strong>Check query performance metrics</strong></p><p><strong>Reference Query (Query history &amp; performance):</strong><br> <a href="https://quickstarts.snowflake.com/guide/resource_optimization_usage_monitoring/#14">https://quickstarts.snowflake.com/guide/resource_optimization_usage_monitoring/#14</a></p><p><strong>6. Make Optimization a Continuous Practice</strong></p><p>Cost optimization isn’t a one-time task. For me, it became a cycle:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eGCqvixb0gbD4I1o_nsasQ.png" /></figure><p>This is where FinOps really becomes a habit. Small corrections each month keep the environment lean and predictable.</p><p><strong>7. Handy Snowflake Built-In Queries for Cost Optimization</strong></p><p>Here are the exact references I found most useful:</p><p><strong>Warehouse Utilization:</strong><br> <a href="https://www.snowflake.com/en/developers/guides/resource-optimization-billing-metrics/#warehouse-metering">https://www.snowflake.com/en/developers/guides/resource-optimization-billing-metrics/#warehouse-metering</a></p><p><strong>Query Performance &amp; Long-Running Queries:</strong><br> <a href="https://quickstarts.snowflake.com/guide/resource_optimization_usage_monitoring/#14">https://quickstarts.snowflake.com/guide/resource_optimization_usage_monitoring/#14</a></p><p><strong>Compute Cost by Warehouse:</strong><br> <a href="https://www.snowflake.com/en/developers/guides/resource-optimization-billing-metrics/#querying-metering-history">https://www.snowflake.com/en/developers/guides/resource-optimization-billing-metrics/#querying-metering-history</a></p><p><strong>Storage Usage:</strong><br> <a href="https://www.snowflake.com/en/developers/guides/resource-optimization-billing-metrics/#storage-metrics">https://www.snowflake.com/en/developers/guides/resource-optimization-billing-metrics/#storage-metrics</a></p><p>These queries helped me build daily and monthly views, understand usage patterns, and act with confidence.</p><p><strong>Conclusion</strong></p><p>Cost optimization starts with awareness but grows into a consistent routine. Once you understand where your Snowflake spend goes, you can tune warehouses, clean up storage, fix heavy queries, and stay ahead of unexpected costs. My visibility phase gave me the clarity and Optimization gave me control.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4590811f0de" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[FinOps Visibility Phase: What I Learned from the Snowflake FinOps Course]]></title>
            <link>https://medium.com/@parab.nikhil/finops-visibility-phase-what-i-learned-from-the-snowflake-finops-course-25009c8e588b?source=rss-e8d3f6dcf66b------2</link>
            <guid isPermaLink="false">https://medium.com/p/25009c8e588b</guid>
            <dc:creator><![CDATA[Nikhil Parab]]></dc:creator>
            <pubDate>Tue, 02 Dec 2025 21:11:59 GMT</pubDate>
            <atom:updated>2025-12-02T21:21:26.574Z</atom:updated>
            <content:encoded><![CDATA[<p>After sharing my first medium write-up on how I started exploring <a href="https://medium.com/@parab.nikhil/my-journey-into-finops-for-snowflake-expanding-beyond-cloud-boundaries-01abdfce386f">FinOps for Snowflake</a>, I wanted to go deeper into one of the most important parts of the FinOps journey: the <strong>Visibility Phase</strong>.</p><p>This phase is all about understanding where your costs come from, how your teams use the platform, and how to create the foundation for cost optimization. While working through the course, I got hands-on with several topics that helped me see Snowflake usage in a more structured and transparent way.</p><p>Below is my experience as I learned each part of the Visibility Phase.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/0*5Y-xoTTD3ANgy-tJ" /></figure><p><strong>Leveraging Account Usage and Organization Views</strong></p><p>One of the first things I learned was how powerful Snowflake’s <em>Account Usage</em> and <em>Organization Usage</em> views are. Most of us already look at warehouse usage or query history manually, but these views bring everything together in a predictable, report-ready format.</p><p>I spent time exploring:</p><ul><li>Warehouse runtimes</li><li>Query costs</li><li>Storage and stage usage</li><li>Credit consumption trends</li></ul><p>This helped me see how all these small pieces add up in a real environment. Working with enterprise Snowflake accounts in my regular projects made this section feel very natural because I could immediately map the concepts to actual workloads I manage.</p><p><strong>Utilizing Pre-Built Queries</strong></p><p>Snowflake provides several prebuilt queries in the Cost Management dashboard. Honestly, I never used these much before the course. I usually build my own cost queries, especially when deep-diving into warehouse or storage patterns.</p><p>But these prebuilt queries turned out to be a good starting point. They gave me:</p><ul><li>Ready insights on warehouse spend</li><li>Quick views on user and role activity</li><li>Daily and monthly cost trends</li></ul><p>I still prefer customizing queries for real customer environments, but having these templates saved me time and gave a consistent structure to start from.</p><p><strong>Implementing Tagging for Cost Attribution</strong></p><p>Tagging is one of the most underrated but strongest parts of FinOps. In cloud platforms like Azure or AWS, tagging is already a common practice for cost attribution. Snowflake tagging follows the same idea but applies it to objects like warehouses, databases, and tasks.</p><p>While practicing, I learned how much tagging helps when:</p><ul><li>Splitting cost by business units</li><li>Identifying unused objects</li><li>Tracking spend across projects</li><li>Creating clean chargeback reports</li></ul><p>In actual client projects, I’ve always seen tagging gaps cause cost confusion. This section really reinforced how important consistent tagging is, especially before scaling workloads.</p><p><strong>Applying Chargeback and Showback Models</strong></p><p>This part felt very practical. Snowflake costs are often centralized, but engineering teams want transparency. I learned how chargeback and showback help solve that.</p><p><strong>Showback</strong> gives teams visibility without billing them.<br><strong>Chargeback</strong> assigns costs directly to the responsible teams.</p><p>While I’ve implemented similar models in Azure and GCP using cost management tools, applying them within Snowflake through usage views, tags, and consumption patterns was a new angle. It made me realize that Snowflake doesn’t just need warehouse tuning; it needs financial structure as well.</p><p><strong>Proactive Monitoring with Cost Anomaly Detection</strong></p><p>This was my favorite part. Cost anomalies are real — and I’ve seen them happen in cloud environments when:</p><ul><li>A warehouse gets stuck</li><li>A job loops endlessly</li><li>A pipeline gets misconfigured</li><li>Someone uses an oversized warehouse “just for testing”</li></ul><p>The course showed how Snowflake’s anomaly detection helps catch these issues early. Combined with alerts and dashboards, it gives FinOps engineers the confidence that spend won’t suddenly spike without warning.</p><p>In my day-to-day work, we already use monitoring for cloud cost anomalies, so learning the Snowflake-specific approach completed the picture. It reinforced how FinOps is more proactive than reactive.</p><p>The Visibility Phase helped me understand Snowflake costs from a much clearer angle. Before taking this course, I always focused on performance tuning, warehouse sizing, and usage monitoring. After completing this phase, I now see the importance of:</p><ul><li>Clean metadata</li><li>Consistent tagging</li><li>Standardized reporting</li><li>Cost ownership across teams</li><li>Early anomaly detection</li></ul><p>FinOps isn’t only about cutting costs. It’s about giving teams the right information to make better decisions. Snowflake has its own way of exposing these insights, and this course helped me connect the dots between engineering and financial accountability.</p><p>If you’re working with Snowflake and want to build mature cost practices, the Visibility Phase is the best place to start. It sets the foundation for everything that comes next.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25009c8e588b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Journey into FinOps for Snowflake: Expanding Beyond Cloud Boundaries]]></title>
            <link>https://medium.com/@parab.nikhil/my-journey-into-finops-for-snowflake-expanding-beyond-cloud-boundaries-01abdfce386f?source=rss-e8d3f6dcf66b------2</link>
            <guid isPermaLink="false">https://medium.com/p/01abdfce386f</guid>
            <dc:creator><![CDATA[Nikhil Parab]]></dc:creator>
            <pubDate>Thu, 30 Oct 2025 03:33:20 GMT</pubDate>
            <atom:updated>2025-10-30T03:33:20.330Z</atom:updated>
            <content:encoded><![CDATA[<p>Working as a FinOps Engineer, I’ve spent most of my time helping teams bring visibility, control, and efficiency to their cloud usage across AWS, GCP, and Azure. Each of these platforms has its own pricing model and optimization challenges but the goal is always the same: use the cloud smarter, not just cheaper.</p><p>As more organizations started shifting their analytics workloads to Snowflake, I became curious. I wanted to understand how FinOps principles apply in a platform that’s not just “cloud-based” but <em>built for the cloud</em>. That curiosity led me to take the FinOps for Snowflake course, and it turned out to be an eye-opening experience.</p><p><strong>Why I Wanted to Learn FinOps for Snowflake</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*x2vouqocYQECf8tg.jpg" /></figure><p>Even with strong experience in cloud cost management, Snowflake operates a bit differently. It’s not about managing VMs, instances, or storage buckets it’s about optimizing credits, virtual warehouses, and data consumption patterns.</p><p>I wanted to learn how to:</p><ul><li>Gain visibility into where Snowflake spend is happening</li><li>Control costs through monitoring and governance</li><li>Continuously optimize workloads for both performance and budget</li></ul><p>The course delivered exactly that and more.</p><p><strong>What the Course Covered</strong></p><p><strong>1. Visibility: The Foundation of FinOps</strong></p><p>The first lesson reinforced the golden rule you can’t optimize what you can’t see.<br> Using Snowflake’s account usage and organization views, I learned how to track spend, identify heavy workloads, and understand usage patterns. Tagging and cost attribution stood out as practical ways to connect costs to business value — something every FinOps team strives for.</p><p><strong>2. Control: Setting Guardrails</strong></p><p>Visibility means little without control.<br> The course showed how to use resource monitors, budgets, and alerts to prevent credit overruns.<br> Features like auto-suspend and auto-resume felt simple yet powerful a reminder that automation is one of the best cost-saving tools.<br> It also touched on role-based access control (RBAC) and chargeback models, both essential for maintaining accountability across teams.</p><p><strong>3. Continuous Optimization</strong></p><p>Optimization isn’t a one-time fix; it’s a continuous habit.<br> Through query profiling, materialized views, and automatic clustering, I learned how to fine-tune Snowflake’s performance while keeping costs low.<br> The idea of Snowpark optimized warehouses was particularly interesting combining efficiency and performance for heavy data workloads.</p><p><strong>What I Took Away</strong></p><p>This training helped me connect the dots between traditional FinOps practices in AWS, Azure, and GCP, and modern FinOps approaches for Snowflake.</p><p>It’s not just about cutting costs it’s about creating awareness and accountability.<br> Now, when I look at a Snowflake environment, I don’t just see compute or storage I see an opportunity to align performance, governance, and value together.</p><p><a href="https://learn.snowflake.com/en/courses/OD-FINOPS/">Course Overview</a></p><p><strong>Summary</strong></p><p>Completing the FinOps for Snowflake course was more than just a learning milestone. It expanded my perspective on how data platforms can be optimized not just technically, but financially.</p><p>FinOps continues to evolve, and I’m glad to be part of that journey helping teams use the cloud responsibly, efficiently, and with purpose.</p><p>#FinOps #Snowflake #AWS #Azure #GCP #CloudOptimization #DataEngineering #ContinuousLearning</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=01abdfce386f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Databricks Cluster Right-Sizing for FinOps (Multi-Workspace)]]></title>
            <link>https://medium.com/@parab.nikhil/databricks-cluster-right-sizing-for-finops-multi-workspace-3d2729b793e3?source=rss-e8d3f6dcf66b------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d2729b793e3</guid>
            <dc:creator><![CDATA[Nikhil Parab]]></dc:creator>
            <pubDate>Thu, 22 May 2025 15:28:41 GMT</pubDate>
            <atom:updated>2025-05-22T15:28:41.728Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1012/1*9BdiZwxuAOuY6rBLbIAQHw.png" /></figure><h3><strong>Objective:</strong></h3><p>To optimize Databricks cluster configurations across multiple workspaces to reduce cost, improve resource utilization, and maintain performance.</p><h3><strong>Prerequisites</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vTtQN8ICpUKBj709fninWg.png" /></figure><h3><strong>Tools Needed</strong></h3><ul><li><strong>Databricks Admin Console</strong></li><li><strong>Databricks REST APIs (optional)</strong> for automation</li><li><strong>Overwatch</strong> for metrics and deep usage visibility</li><li><strong>Cloud Billing Console</strong> (AWS Cost Explorer, Azure Cost Management, GCP Billing)</li><li><strong>Excel or BI Tool</strong> (Power BI, Tableau) for cost analysis dashboards</li></ul><h3><strong>What Does Right-Sizing Mean?</strong></h3><p>Right-sizing means making sure your clusters are not <strong>too big</strong> (wasting money) or <strong>too small</strong> (causing performance issues). You aim to use just enough resources based on actual workload needs.</p><h3><strong>Key Points to Consider</strong></h3><p><strong>1. Cluster Type</strong></p><ul><li>Use <strong>job clusters</strong> for scheduled jobs. They auto-terminate and save cost.</li><li>Avoid long-running <strong>interactive clusters</strong> unless necessary.</li></ul><p><strong>2. Node Type</strong></p><ul><li>Choose <strong>cost-effective instance types</strong> (e.g., avoid GPU unless needed).</li><li>Leverage <strong>spot/preemptible instances</strong> where possible (with fallback to on-demand).</li></ul><p><strong>3. Autoscaling</strong></p><ul><li>Enable <strong>autoscaling</strong> for dynamic workloads.</li><li>Set reasonable min/max worker limits to prevent runaway scaling.</li></ul><p><strong>4. Cluster Uptime</strong></p><ul><li>Set <strong>auto-termination</strong> timeout (e.g., 10–30 mins of inactivity).</li><li>Avoid idle clusters — schedule shutdown during non-working hours.</li></ul><p><strong>5. Job Scheduling</strong></p><ul><li>Use <strong>job orchestration</strong> (like Databricks Jobs or Apache Airflow) to run tasks only when needed.</li><li>Group small jobs into fewer clusters to avoid small cluster overhead.</li></ul><p><strong>6. Tagging</strong></p><ul><li>Use <strong>cluster tags</strong> like Project=XYZ, Owner=John, Env=Prod to track usage and cost.</li></ul><h3><strong>How Overwatch Helps in Right-Sizing</strong></h3><p><strong>Overwatch</strong> is a Databricks solution built to monitor and optimize usage, performance, and cost.</p><h3><strong>Overwatch Capabilities:</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oV_miql8LJ18l79v8_-CAA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/558/1*fvBm9_wU-72P1RPgM9ojXg.png" /></figure><p><strong>Overwatch Dashboards:</strong></p><ul><li>Cluster Utilization Dashboard</li><li>Cost &amp; Usage Dashboard</li><li>Idle Time Report</li><li>Job Run Analysis</li></ul><p>These insights help you answer:</p><ul><li>Which clusters are too large for their workload?</li><li>Where are we wasting compute time?</li><li>What tags/teams are using the most resources?</li></ul><h3><strong>Steps for Right-Sizing Clusters</strong></h3><p><strong>Step 1: Install Overwatch (if not already)</strong></p><p>Overwatch is usually set up as a notebook that creates Delta tables and dashboards. Setup instructions:<br> <a href="https://databrickslabs.github.io/overwatch/">https://databrickslabs.github.io/overwatch/</a></p><p><strong>Step 2: Analyze Cluster Metrics</strong></p><p>Use Overwatch or the Databricks Admin Console to export:</p><ul><li>Worker count vs actual CPU usage</li><li>Cluster duration and idle time</li><li>Cost by cluster/job/user</li></ul><p><strong>Step 3: Identify Opportunities</strong></p><p>Look for:</p><ul><li>Clusters with low utilization (❤0% CPU)</li><li>Long-running clusters with high idle time</li><li>Unused GPU instances</li><li>Clusters without autoscaling or auto-termination</li></ul><p><strong>Step 4: Apply Changes</strong></p><ul><li>Adjust instance types</li><li>Enable autoscaling/auto-termination</li><li>Break large clusters into smaller job clusters</li><li>Consolidate short-running jobs</li></ul><p><strong>Step 5: Monitor and Iterate</strong></p><ul><li>Re-run Overwatch reports weekly or monthly</li><li>Use trend analysis to spot growing waste</li><li>Engage teams if their jobs are inefficient</li></ul><p><strong>Example: Right-Sizing in Action</strong></p><p><strong>Before Optimization:</strong></p><ul><li>Cluster: 16 workers, fixed size</li><li>Idle Time: 2+ hours/day</li><li>CPU Utilization: 20%</li><li>Cost/Day: $150</li></ul><p><strong>After Optimization:</strong></p><ul><li>Autoscaling: 2–10 workers</li><li>Auto-Terminate: after 15 mins idle</li><li>Cost/Day: ~$60</li><li>Same job completed in same or less time</li></ul><h3><strong>Best Practices Summary</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Aq-xe-2wwpPJ_MrWl91tFg.png" /></figure><h3><strong>Multi-Workspace Consideration</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/1*wXJgsHQ8pqsZwigYsw8dDA.png" /></figure><ul><li>Use centralized Overwatch or deploy per workspace</li><li>Export metrics to a <strong>central BI dashboard</strong></li><li>Set <strong>global policies</strong> for cluster defaults (auto-terminate, autoscale, tags)</li><li>Run <strong>monthly FinOps review meetings</strong> across teams/workspaces</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d2729b793e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Key Offerings of Databricks Overwatch: Enhancing Efficiency, Performance, and Security]]></title>
            <link>https://medium.com/@parab.nikhil/key-offerings-of-databricks-overwatch-enhancing-efficiency-performance-and-security-5b5414600003?source=rss-e8d3f6dcf66b------2</link>
            <guid isPermaLink="false">https://medium.com/p/5b5414600003</guid>
            <dc:creator><![CDATA[Nikhil Parab]]></dc:creator>
            <pubDate>Tue, 25 Jun 2024 16:09:22 GMT</pubDate>
            <atom:updated>2025-12-07T20:31:30.284Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://medium.com/u/4b246283c7d3">Hitesh Parab</a></p><p>Databricks Overwatch is a powerful tool that brings a suite of observability and management capabilities to Databricks environments. Designed to enhance efficiency, performance, and security, it provides comprehensive insights and actionable intelligence to optimize the use of Databricks resources. Here are the five primary offerings of Databricks Overwatch, explained in detail:</p><h3>1. Real-Time Monitoring and Alerting</h3><p><strong>Benefits:</strong></p><ul><li><strong>Instant Visibility:</strong> Overwatch offers immediate insights into the status and performance of Databricks clusters, jobs, and resources. This real-time visibility ensures that users are always aware of their system’s health and performance metrics.</li><li><strong>Quick Response to Issues:</strong> Users can configure alerts for specific conditions or performance thresholds. This enables prompt responses to potential issues, minimizing downtime and maintaining operational efficiency.</li></ul><p><strong>Features:</strong></p><ul><li><strong>Dashboards and Visual Tools:</strong> Overwatch provides intuitive dashboards and visual tools for tracking essential metrics. These tools help in easily understanding and monitoring the performance of various components within the Databricks environment.</li><li><strong>Customizable Alerts and Notifications:</strong> Users can set up personalized alerts and notifications to stay informed about critical events. This customization ensures that teams are immediately aware of significant changes or issues.</li></ul><h3>2. Cost Management and Optimization</h3><p><strong>Benefits:</strong></p><ul><li><strong>Spending Analysis:</strong> Overwatch aids customers in tracking and analyzing their spending on Databricks resources. By providing a detailed view of expenses, it helps organizations manage their budgets effectively.</li><li><strong>Resource Optimization:</strong> The tool identifies areas where resource usage can be optimized, suggesting measures to reduce expenses and improve cost efficiency.</li></ul><p><strong>Features:</strong></p><ul><li><strong>Detailed Cost Breakdown:</strong> Overwatch offers comprehensive breakdowns of costs and analysis of spending trends. This helps in understanding how resources are being utilized and where money is being spent.</li><li><strong>Cost-Saving Insights:</strong> The tool provides insights into underused resources and suggests optimization strategies. These suggestions can lead to significant cost savings without compromising performance.</li></ul><h3>3. Performance Optimization</h3><p><strong>Benefits:</strong></p><ul><li><strong>Enhanced Job and Cluster Performance:</strong> Overwatch helps improve the performance of Databricks jobs and clusters by identifying and addressing bottlenecks. This leads to smoother and faster operations.</li><li><strong>Better Resource Allocation:</strong> The tool provides actionable insights for better job scheduling and resource allocation, ensuring optimal use of resources.</li></ul><p><strong>Features:</strong></p><ul><li><strong>Performance Metrics and Reports:</strong> Overwatch highlights inefficiencies by providing detailed performance metrics and reports. These reports help in pinpointing areas that need improvement.</li><li><strong>Tuning Recommendations:</strong> The tool offers recommendations for tuning cluster configurations and job parameters. Following these recommendations can lead to significant performance enhancements.</li></ul><h3>4. Security and Compliance Monitoring</h3><p><strong>Benefits:</strong></p><ul><li><strong>Policy Adherence:</strong> Overwatch ensures that Databricks environments comply with security policies and regulatory requirements. This is crucial for organizations that handle sensitive data.</li><li><strong>Threat Detection:</strong> The tool monitors access and usage patterns to detect and respond to security threats, providing an additional layer of protection.</li></ul><p><strong>Features:</strong></p><ul><li><strong>Compliance Reports and Dashboards:</strong> Overwatch includes compliance reports and dashboards that track adherence to industry standards and regulatory requirements.</li><li><strong>Security Alerts and Anomaly Detection:</strong> The tool provides alerts and anomaly detection to identify potential security incidents. This proactive approach helps in maintaining a secure environment.</li></ul><h3>5. Operational Efficiency</h3><p><strong>Benefits:</strong></p><ul><li><strong>Automated Monitoring and Alerting:</strong> Overwatch reduces the need for manual intervention by automating monitoring and alerting tasks. This automation leads to more efficient operations.</li><li><strong>Enhanced Collaboration:</strong> The tool enhances collaboration between data engineering, data science, and operations teams by providing a unified platform for observability.</li></ul><p><strong>Features:</strong></p><ul><li><strong>Automated Workflows:</strong> Overwatch includes automated workflows for common operational tasks, simplifying the management of Databricks environments.</li><li><strong>Integration with Other Tools:</strong> The tool integrates seamlessly with other platforms and tools, ensuring smooth operations and better coordination across teams.</li></ul><h3>Summary Diagram</h3><p>This diagram offers an overview of the primary benefits and features of Databricks Overwatch. It helps customers understand how to enhance observability, performance, efficiency, security, and cost management within their Databricks environments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*qKg7Q1LnU3YAuiN9sI88JA.png" /></figure><p>By leveraging the capabilities of Databricks Overwatch, organizations can ensure that their Databricks environments are running efficiently, securely, and cost-effectively. This powerful toolset not only optimizes performance but also provides the necessary insights and automation to maintain a robust and resilient data infrastructure.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5b5414600003" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Navigating Azure’s Network Traffic Management: A Comprehensive Guide]]></title>
            <link>https://medium.com/@parab.nikhil/navigating-azures-network-traffic-management-a-comprehensive-guide-483fe942747c?source=rss-e8d3f6dcf66b------2</link>
            <guid isPermaLink="false">https://medium.com/p/483fe942747c</guid>
            <dc:creator><![CDATA[Nikhil Parab]]></dc:creator>
            <pubDate>Mon, 24 Jun 2024 16:49:24 GMT</pubDate>
            <atom:updated>2024-10-29T03:11:49.291Z</atom:updated>
            <content:encoded><![CDATA[<p>Microsoft Azure offers various global and regional services designed to manage network traffic and load balancing. These services ensure high availability, redundancy, and efficient traffic distribution, providing robust solutions for diverse application needs. This blog will explore these services, their benefits, and the parameters to consider when making load-balancing decisions.</p><h3>Key Azure Load Balancing Services</h3><p><strong>Azure Load Balancer</strong> — The Azure Load Balancer distributes traffic across Azure VMs in different availability zones. This feature ensures that applications and data remain protected from data center failures. With zone redundancy, your data path remains operational as long as one zone within the region is healthy.</p><p><strong>Azure Front Door </strong>— Azure Front Door enhances application availability by enabling failover to secondary regions in case of primary region outages. It ensures that your applications remain accessible and performant across multiple regions.</p><p><strong>Azure Application Gateway</strong> — Azure Application Gateway spreads resources across multiple zones, providing a high availability architecture for hosting IaaS web applications and SQL Server databases. It supports efficient traffic routing and load balancing within an application.</p><p><strong>Azure Traffic Manager </strong>— Azure Traffic Manager enables deploying resilient multi-tier applications designed for high availability and disaster recovery. It automatically fails over to a secondary region if the primary region becomes unavailable.</p><p><strong>Azure Front Door with Application Gateway </strong>— Combining Azure Front Door with Application Gateway offers a multi-tenant solution. Azure Front Door balances traffic across regions, while Application Gateway routes and balances traffic internally within the application, catering to various services and business needs.</p><h3>Decision-Making Parameters for Load Balancing</h3><p>When choosing a load-balancing strategy, consider the following parameters:</p><ol><li><strong>Traffic Type</strong>: Determine if the application uses HTTP/HTTPS traffic and whether it is public or private.</li><li><strong>Global or Regional</strong>: Decide whether you need to load balance within a Virtual Network (VNET) or across regions, or both.</li><li><strong>Availability</strong>: Choose a load-balancing strategy based on the service level agreement (SLA) requirements.</li><li><strong>Cost</strong>: Consider the cost implications of the solution.</li><li><strong>Features and Limits</strong>: Select the service based on its features and limitations.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*0H0qdXl1TmVcYLOptYJIVA.png" /></figure><h3>Azure Load Balancing Architecture</h3><p>To achieve maximum reliability and performance, combine multiple load-balancing services. Here’s an example of architecture:</p><ul><li><strong>Traffic Manager</strong>: Routes traffic to global backends for file and object delivery.</li><li><strong>Front Door</strong>: Globally routes URL paths to their respective services.</li><li><strong>Application Gateways</strong>: Handles all other requests and routes traffic regionally.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*G7uxPMzTcbqPlrIHV6Rogg.png" /></figure><h3>Availability Considerations</h3><h4>Azure Availability Zones</h4><p>Azure Availability Zones provide high availability within a single region.</p><h4>Multiple Regions</h4><p>Deploying applications across multiple availability zones within different regions ensures higher availability. Use Traffic Manager to failover to a secondary region if the primary region goes down.</p><h4>Paired Regions</h4><p>Azure regions are paired within the same geography to support resource replication. If one region experiences an outage, the paired region can support the resources, ensuring continuous availability.</p><h3>Traffic Manager Configuration</h3><p>When configuring Traffic Manager, consider the following:</p><ul><li>Traffic Manager supports six traffic-routing methods to determine how to route traffic to service endpoints.</li><li>The Traffic Manager uses HTTP or HTTPS probes to monitor the availability of each region, checking for an HTTP 200 response.</li><li>Enable Traffic View to understand traffic distribution and plan expansion to new Azure regions.</li></ul><h3>Manageability Considerations</h3><ul><li><strong>Resource Groups</strong>: Use resource groups to manage the lifecycle, ownership, and characteristics of resources.</li><li><strong>VNET Peering</strong>: Seamlessly connect two or more virtual networks.</li><li><strong>Subnets</strong>: Deploy Azure VMs and specific resources into subnets within a virtual network, creating separate subnets for each tier.</li><li><strong>Network Security Groups (NSG)</strong>: Use NSGs to filter inbound and outbound network traffic to and from Azure resources within a virtual network.</li></ul><h3>Security Considerations</h3><ul><li><strong>NSG</strong>: Restrict traffic to and from the internet using NSGs.</li><li><strong>DMZ</strong>: Implement a cloud DMZ network architecture for limited access between on-premises and cloud-based networks.</li><li><strong>Encryption</strong>: Encrypt sensitive data at rest and use Azure Key Vault to manage database encryption keys.</li><li><strong>DDoS Protection</strong>: Azure provides basic DDoS protection by default, with standard protection offering adaptive tuning, alerting, telemetry, and analytics.</li></ul><h3>Additional Resources</h3><ul><li><a href="https://azure.microsoft.com/en-us/global-infrastructure/geographies/#overview">Azure Global Infrastructure Overview</a></li><li><a href="https://docs.microsoft.com/en-us/azure/availability-zones/az-overview">Azure Availability Zones Overview</a></li><li><a href="https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-custom-probe-overview">Azure Load Balancer Custom Probe Overview</a></li><li><a href="https://docs.microsoft.com/en-us/azure/application-gateway/application-gateway-probe-overview">Azure Application Gateway Probe Overview</a></li></ul><p>By understanding and leveraging these Azure services, you can build a robust, high-availability architecture that meets your business needs, ensuring your applications remain resilient and performant across different geographical locations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=483fe942747c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Kubernetes: The Future of Container Orchestration]]></title>
            <link>https://medium.com/@parab.nikhil/introduction-to-kubernetes-the-future-of-container-orchestration-0887e805f1b1?source=rss-e8d3f6dcf66b------2</link>
            <guid isPermaLink="false">https://medium.com/p/0887e805f1b1</guid>
            <dc:creator><![CDATA[Nikhil Parab]]></dc:creator>
            <pubDate>Fri, 21 Jun 2024 16:16:22 GMT</pubDate>
            <atom:updated>2024-10-29T03:05:41.303Z</atom:updated>
            <content:encoded><![CDATA[<h3>Container Orchestration</h3><p>Containers are revolutionizing the way we deliver IT applications. They have had an enormous impact on how organizations manage IT infrastructure. Unlike virtual machines, containerized applications do not need an operating system to be in place. Containerization allows applications to be packaged with the language runtime, libraries, and source code, and deployed as a whole. This isolates the resources that the applications consume, making them highly portable and efficient.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-YA-pe4BoxV5MO-T9Xkzqw.png" /></figure><h3>What is Container Orchestration?</h3><p>“Orchestration” refers to the processes used to manage and automate the management of these containers.</p><p>Imagine a traditional organization’s IT data center, which consists of physical servers ranging from one to thousands. When a physical machine fails or needs configuration in terms of memory, storage, networking, software patching, or a simple restart, necessary steps are taken to ensure the server functions correctly. These steps may be performed manually in the data center or remotely. Now, imagine managing thousands of servers. Though all these aspects fall under data center management, the same applies to containers, except containers are lightweight VMs without an operating system. With container technology, you don’t need to spin up a new VM and configure it to run an application, eliminating the need for OS-related tasks such as CAPEX, OPEX, admin, patching, upgrading, driver support, security, etc. Containers are essentially processes in the operating system of the physical server. However, if multiple physical servers are hosting containers and tens or hundreds of containers on each node, you need a system to manage your containers continuously.</p><p>Simply put, container orchestration refers to the automated arrangement, coordination, and management of software containers.</p><h3>Need for Container Orchestration</h3><p>When orchestrated, containers play as a team. An orchestration tool handles message queues, API calls, and networking of containerized applications. It also manages provisioning resources, limiting resources, scalability, fault tolerance, and deploying containerized applications with available pool members. Additionally, it assists in disaster recovery, allowing you to create and set up your cluster within minutes to hours.</p><p>For instance, instead of manually spinning up five containers of the same type necessary for a production environment, you could instruct an orchestration tool to do it. In other words, an orchestration tool manages provisioning, scheduling, redundancy, scalability, fault tolerance, and networking of containerized applications.</p><h3>History of Orchestration Tools</h3><p>Docker Inc. has provided several tools to assist in container orchestration:</p><ul><li><strong>Docker Machine</strong>: Provisions Docker hosts.</li><li><strong>Docker Compose</strong>: Defines and composes multi-container apps, specifying which images to use and defining network configuration, among other things.</li><li><strong>Docker Swarm</strong>: Assists in scheduling Docker containers on different hosts.</li><li><strong>Docker Tutum</strong>: Provides a UI to control everything related to containers.</li><li><strong>Kubernetes</strong>: An open-source container orchestration tool donated to CNCF (Cloud Native Computing Foundation) by Google. Inspired by Google’s internal container management system, BORG, Kubernetes manages running and scheduling container applications on a cluster. It supports automating deployments, scaling, and operations of application containers across clusters of hosts, providing container-centric infrastructure.</li></ul><p>Other notable tools include Mesosphere (DC/OS), CoreOS Fleet, OpenStack Magnum, etc.</p><h3>Kubernetes Architecture</h3><p>While Kubernetes is meant for a distributed cluster of nodes, Minikube allows you to create a mini local Kubernetes cluster on your machine. It is considered a developer’s sandbox, enabling a fully functioning Kubernetes cluster within your machine. This is essentially a single-node architecture based on a virtual machine. The Kubernetes master runs on the physical machine and sends commands to the node via the kubectl (a CLI tool) interface. Minikube establishes a new virtual machine where the Node and Pods required to host your container environment are created. Pods are scheduled on nodes through kube-API calls, providing the staging area for containers and reporting their current state (e.g., pending, running) throughout their lifecycle. An external interface is available via a proxy service, allowing each pod to interact with other elements via an exposed IP and port number.</p><p>Once Minikube is launched, a virtual machine becomes active on your physical machine. When using Minikube (a one-node cluster virtual machine), the architecture looks something like the diagram below. Minikube, in the absence of a load balancer, does not provide the reliability of a distributed Kubernetes cluster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/377/1*cvtCouvRBNAev78tp-WS2w.png" /></figure><h3>Self-Hosted Kubernetes Cluster</h3><p>A self-hosted Kubernetes cluster involves setting up your Kubernetes cluster on-premise or in the cloud without any third-party cluster management or installer, such as kops. For production environments, the cluster must be secure, with TLS communication between nodes, user authorization, network segmentation, etc. The cluster can be created with a single master containing all the control plane components, such as the Kubernetes API server, Kubernetes controller manager, Kubernetes scheduler, and etcd data store. However, for high availability, it is ideal to have three nodes in the control plane, known as controller nodes, in a production-ready environment. The control plane components need to be installed on each controller node. Each master node contains all Kubernetes components and an HTTP load balancer (e.g., nginx) to serve the health endpoint of the control plane nodes (masters) over HTTP. The worker nodes host the pods that contain containers, with services such as container runtime, kubelet client to run application containers, and management from the control plane components.</p><p>You can interact with the Kubernetes cluster remotely using kubectl, just like Minikube, when configured with kube-config. In this scenario, Kubernetes API calls are received by the Kube-API Load balancer server and are load balanced between the master nodes in the control plane.</p><h4>Master Node</h4><p>Runs multiple controllers responsible for the health of the cluster, replication, scheduling, endpoints (linking Services and Pods), Kubernetes API, and interacting with the underlying cloud providers. It ensures everything is running as it should and looks after worker nodes.</p><h4>Worker Node (Minion)</h4><p>Runs the Kubernetes agent responsible for running Pod containers via Docker or rkt, requests secrets or configurations, mounts required Pod volumes, performs health checks, and reports the status of Pods and the node to the rest of the system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/586/1*eQux4RZK_n0Yj-9PCdaVpg.jpeg" /></figure><h3>Kubernetes Cluster Architecture Diagram</h3><p>The following diagram illustrates a two-master, two-node Kubernetes cluster architecture. We interact and manage the Kubernetes cluster with kubectl, a command line tool used to interact with the Kubernetes API and manage Kubernetes objects such as pods, services, replica sets, replication controllers, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*DaWd4iID7EREsVe8rje4dA.png" /></figure><h3>Kubernetes Cluster Management Tools</h3><p><strong>Kops</strong></p><ul><li><strong>Overview</strong>: Kops (Kubernetes Operations) helps you create, destroy, upgrade, and maintain production-grade, highly available Kubernetes clusters from the command line.</li><li><strong>Features</strong>:<br>- Fully automated installation.<br>- Uses DNS to identify clusters.<br>- Self-healing: everything runs in Auto-Scaling Groups.<br>- Multiple OS support (Debian, Ubuntu 16.04 supported, CentOS &amp; RHEL, Amazon Linux, and CoreOS).<br>- High-availability support.<br>- Can directly provision or generate terraform manifests.</li><li><strong>Supported Platforms</strong>: AWS (officially), GCE (beta), VMware vSphere (alpha), and others planned.</li></ul><p><strong>Kubeadm</strong></p><ul><li><strong>Overview</strong>: Kubeadm is a Kubernetes installer part of the Kubernetes distribution as of version 1.4.0. It helps install and set up a Kubernetes cluster.</li><li><strong>Features</strong>:<br>- Bootstraps the cluster.<br>- Creates all necessary add-ons for the cluster to function properly.<br>- Supports tokens for adding new nodes to the cluster.<br>- Creates necessary certificates for the API and starts the control plane components.</li></ul><p><strong>EKS (Elastic Container Service for Kubernetes)</strong></p><ul><li><strong>Overview</strong>: Amazon EKS provides a managed Kubernetes service, handling cluster provisioning, upgrades, and patching.</li><li><strong>Features</strong>:<br>- Runs upstream Kubernetes in a certified Kubernetes conformant manner, compatible with existing plugins and tooling.<br>- Administering costs regardless of cluster size.<br>- Managed Kubernetes control plane: 3 master nodes, etcd persistence layer, automated scaling, etc.<br>- Master nodes are placed in multiple availability zones for redundancy.<br>- You are responsible for managing worker nodes; EKS provides an optimized AMI.</li></ul><p><strong>AKS (Azure Kubernetes Service)</strong></p><ul><li><strong>Overview</strong>: Microsoft Azure Kubernetes Service simplifies deployments, management, and operations of Kubernetes clusters.</li><li><strong>Features</strong>:<br>- Manages hosted Kubernetes environment, eliminating ongoing operations and maintenance burden.<br>- Provisions, upgrades, and scales resources on demand.<br>- Abstracts complex infrastructure requirements using Azure VMs as worker nodes.<br>- Managed Azure Master Node reduces operational overhead.<br>- Provides enterprise-grade features of Microsoft Azure.<br>- Charges for usage of Azure VMs as worker nodes within AKS.</li></ul><h3>Kubernetes Components</h3><p>The Kubernetes control plane consists of the following components:</p><ul><li><strong>kube-apiserver</strong>: Serves the Kubernetes API, allowing users to interact with the cluster.</li><li><strong>etcd</strong>: A distributed key-value store providing reliable data storage across a cluster of machines.</li><li><strong>kube-scheduler</strong>: Schedules pods on available worker nodes.</li><li><strong>kube-controller-manager</strong>: Runs a series of controllers providing a wide range of functionality.</li><li><strong>cloud-controller-manager</strong>: Handles interaction with underlying cloud providers (if adopted).</li></ul><h3>Kubernetes Worker Nodes</h3><ul><li><strong>Kubelet</strong>: Controls each worker node, provides the APIs used by the control plane to manage nodes and pods, and interacts with the container runtime to manage containers.</li><li><strong>Kube-proxy</strong>: Manages iptables rules on the node to provide virtual network access to pods.</li><li><strong>Container runtime (Docker)</strong>: Downloads images and runs containers.</li></ul><h3>Conclusion</h3><p>Kubernetes has become an essential tool for managing containerized applications at scale. Its robust architecture and wide range of features make it ideal for automating deployments, scaling, and operations of application containers across clusters of hosts. Whether you are using Minikube for local development or managing a production cluster with EKS, AKS, or a self-hosted setup, Kubernetes provides the flexibility and power needed to meet the demands of modern IT infrastructure.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0887e805f1b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unlocking the Power of Databricks Asset Bundle: Why It’s Essential for Modern Data Workflows]]></title>
            <link>https://medium.com/@parab.nikhil/unlocking-the-power-of-databricks-asset-bundle-why-its-essential-for-modern-data-workflows-f225bd6a0581?source=rss-e8d3f6dcf66b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f225bd6a0581</guid>
            <dc:creator><![CDATA[Nikhil Parab]]></dc:creator>
            <pubDate>Tue, 18 Jun 2024 17:34:46 GMT</pubDate>
            <atom:updated>2025-12-07T20:15:58.461Z</atom:updated>
            <content:encoded><![CDATA[<p>Contributors — <a href="https://medium.com/u/22f2044e3caf">Sahil Sawant</a> <a href="https://medium.com/u/a67fa6edef6c">Akshayprabhu</a></p><p>Databricks has established itself as a leading platform in big data and advanced analytics, offering a unified environment for data engineering, data science, and machine learning. One of the recent innovations enhancing its functionality is the Databricks Asset Bundle (DAB). This feature is a game-changer for data teams, providing a structured way to manage and deploy resources. This blog will delve into what a Databricks Asset Bundle is, why it is needed, and the problems it solves.</p><p><strong>What is a Databricks Asset Bundle?</strong></p><p>A Databricks Asset Bundle (DAB) is a collection of configuration files that define various resources and assets within a Databricks workspace. These configuration files, typically written in JSON or YAML, encompass everything from clusters, jobs, and notebooks to libraries, secrets, and permissions. By bundling these assets, DAB provides a version-controlled, reproducible, and automated approach to managing the Databricks environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M6luRKRR0zwaSnlzvuNXEg.jpeg" /></figure><p><strong>Why is Databricks Asset Bundle Required?</strong></p><p>The necessity for Databricks Asset Bundle arises from the complexities and challenges inherent in managing large-scale data projects. Here are some key reasons why DAB is essential:</p><p><strong>Simplified Environment Setup</strong>:</p><ul><li>Setting up a Databricks environment manually can be error-prone and time-consuming. DAB automates this process, ensuring that the environment is configured consistently every time.</li></ul><p><strong>Version Control</strong>:</p><ul><li>By storing configuration files in version control systems (like Git), teams can track changes, revert to previous versions, and collaborate more effectively.</li></ul><p><strong>Reproducibility</strong>:</p><ul><li>In data science and machine learning, reproducibility is crucial. DAB ensures that the environment in which experiments and models are developed can be replicated exactly, avoiding the “it works on my machine” problem.</li></ul><p><strong>Scalability</strong>:</p><ul><li>As organizations grow, managing multiple Databricks environments becomes challenging. DAB allows for the scalable deployment and management of resources across different environments (development, testing, production).</li></ul><p><strong>Enhanced Collaboration</strong>:</p><ul><li>With clearly defined configuration files, different team members can work on various aspects of the Databricks environment concurrently without stepping on each other’s toes.</li></ul><p><strong>Problems Solved by Databricks Asset Bundle</strong></p><p>Databricks Asset Bundle addresses several pain points that data teams often encounter:</p><p><strong>Manual Configuration Errors</strong>:</p><ul><li>Manually configuring clusters, jobs, and other resources can lead to inconsistencies and errors. DAB eliminates these by providing a standardized configuration approach.</li></ul><p><strong>Environment Drift</strong>:</p><ul><li>Over time, manual tweaks and changes can cause the environment to drift from its original configuration, leading to unpredictable behavior. DAB ensures that the environment can be reset to a known state.</li></ul><p><strong>Dependency Management</strong>:</p><ul><li>Managing dependencies across different notebooks, jobs, and libraries can be complex. DAB allows for the explicit definition of dependencies, ensuring that the right versions of libraries are used.</li></ul><p><strong>Security and Compliance</strong>:</p><ul><li>Managing secrets (such as API keys and passwords) securely is a major concern. DAB integrates with Databricks’ secret management system, ensuring that sensitive information is handled appropriately.</li></ul><p><strong>Operational Overhead</strong>:</p><ul><li>Automating the deployment of resources reduces the operational overhead on data engineering teams, allowing them to focus on more strategic tasks.</li></ul><p><strong>Key Components of a Databricks Asset Bundle</strong></p><p>To understand how DAB works, let’s look at its key components:</p><p><strong>Clusters</strong>:</p><p>Configuration files define cluster properties such as size, type, runtime version, and auto-scaling settings.</p><p><strong>Jobs</strong>:</p><p>Jobs can be defined with their tasks, schedules, and dependencies, ensuring automated and repeatable execution.</p><p><strong>Notebooks</strong>:</p><p>Notebooks are imported and organized within the workspace, maintaining the structure and code integrity.</p><p><strong>Libraries</strong>:</p><p>Libraries required for the jobs and notebooks are specified, ensuring that all necessary dependencies are met.</p><p><strong>Secrets</strong>:</p><p>Secret scopes and their corresponding secrets are managed, providing a secure way to store sensitive information.</p><p><strong>Permissions</strong>:</p><p>Access controls for users and groups are defined, ensuring that the right people have the right access.</p><p><strong>Data and DBFS Resources</strong>:</p><p>Configurations for data mounts, Delta tables, and DBFS resources are included, facilitating seamless data access.</p><p><strong>MLflow Experiments and Models</strong>:</p><p>Definitions for tracking machine learning experiments and models using MLflow are provided.</p><p><strong>Dashboards and SQL Queries</strong>:</p><p>Interactive dashboards and SQL analytics endpoints are configured for data visualization and querying.</p><p><strong>Implementing Databricks Asset Bundle: A Step-by-Step Guide</strong></p><p>Implementing a Databricks Asset Bundle involves several steps:</p><p><strong>Define Configuration Files</strong>:</p><p>Create JSON or YAML files that describe your clusters, jobs, notebooks, libraries, secrets, and other assets.</p><p><strong>Version Control</strong>:</p><p>Store these configuration files in a version control system like Git to enable collaboration and tracking.</p><p><strong>Deploy Using CLI or API</strong>:</p><p>Use the Databricks CLI or REST API to deploy these configurations to your Databricks workspace.</p><p><strong>Automate with CI/CD</strong>:</p><p>Integrate the deployment process into your CI/CD pipeline to automate environment setup and updates.</p><p><strong>Conclusion</strong></p><p>The Databricks Asset Bundle is a powerful tool for managing and deploying resources within the Databricks environment. It addresses many of the challenges associated with manual configuration, ensuring consistency, reproducibility, and security. By adopting DAB, data teams can streamline their workflows, reduce operational overhead, and focus on driving insights and innovation from their data. As data projects become more complex, the importance of tools like Databricks Asset Bundle will only continue to grow, making it an essential part of the modern data toolkit.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f225bd6a0581" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>