<?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 Stephen Sciortino on Medium]]></title>
        <description><![CDATA[Stories by Stephen Sciortino on Medium]]></description>
        <link>https://medium.com/@ssciortino?source=rss-13968633bc16------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*buUYEtqtICXUPwkrMv7Cfg.jpeg</url>
            <title>Stories by Stephen Sciortino on Medium</title>
            <link>https://medium.com/@ssciortino?source=rss-13968633bc16------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 13:12:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ssciortino/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[Leisure is the Wrong Goal]]></title>
            <link>https://medium.com/@ssciortino/leisure-is-the-wrong-goal-02c4aced68aa?source=rss-13968633bc16------2</link>
            <guid isPermaLink="false">https://medium.com/p/02c4aced68aa</guid>
            <category><![CDATA[purpose]]></category>
            <category><![CDATA[work-life-balance]]></category>
            <category><![CDATA[happiness]]></category>
            <dc:creator><![CDATA[Stephen Sciortino]]></dc:creator>
            <pubDate>Sat, 25 Jul 2026 13:21:07 GMT</pubDate>
            <atom:updated>2026-07-25T13:36:33.462Z</atom:updated>
            <content:encoded><![CDATA[<p>Before you click away, I’m not here to tell you that leisure is a bad goal. Its just one of many, many different methods available to you for recharging your batteries. Hear me out.</p><p>For all my life, I’ve been leisuremaxxing. Long before there was even a word for it. I work hard, I take on sidequests, I get exercise, but in general I’ve always seen leisure as my top goal. It feels like the most obvious way to inject a little more happiness into whatever moment I’m in. I would say most people agree with this without even question it.</p><p>The thing is, once you have enough leisure in your life, the value it brings to your life starts to drop. I know this can be hard to believe if you don’t have much free time in your life. But too much of anything is not good, and leisure is no exception. I see it in myself when I get the inkling to explore a new place, learn a new skill, or even when I start to research a new topic I’m interested in. These things provide a different kind of satisfaction that leisure alone can’t bring.</p><p>A great example of this when you try to bring a partner on vacation, where the purpose for you is leisure and the purpose for them is… anything but. Everyone in the world values their leisure differently, and has different needs for leisure in that moment, and that’s ok. It’s just something we need to recognize in ourselves and each other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DiA2_HiC8HjLkToimVup6g.jpeg" /><figcaption>Are we going to do this for every sunset? Photo by <a href="https://unsplash.com/@jeancarloemer?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Jean Carlo Emer</a> on <a href="https://unsplash.com/photos/man-relaxes-on-a-beach-with-his-sunglasses-wNmWgmEspKQ?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>In my own life, I’ve been running a data consulting business for the past 2+ years, and that means I’m busy all the time. When I started the business I expected to be busy, but what surprised me was how easy it felt for me to prioritize the work. My biggest fear going into it was that I would need to motivate myself to put in all the work that I knew I would need to do. Instead, I felt myself really enjoying all the work, and I would voluntarily use my free time to do things to help the business grow.</p><p>It made me realize that I wasn’t craving any more leisure time. I was seeking purpose, and by creating my consulting business I also managed to create my new favorite hobby. Now when I need some downtime, my first instinct is to turn to the “fun work”, and now I usually end my days by accomplishing something that improves a part of my process. This method isn’t right for everyone, but I’m learning through experience that it works pretty well for me.</p><p>Think about how your brain feels while you’re doomscrolling. The value of each next swipe is so tiny. Miniscule. The only joy really comes from the brief moment of hope that the next reel is going to be a good one. But then that fades immediately and you swipe again. Economics calls it the law of diminishing marginal utility — like how you might eat 4 slices of pizza in one sitting but you’d probably never eat 8. Each one tastes a little bit worse than the last.</p><p>Thats why if you keep just doomscrolling the only thing you’ll accomplish is making yourself enjoy doomscrolling less. It’s a well-studied observation of behavioral economics, not a skill issue. You end up craving a slow, steady drip of constant dopamine vs the spaced-out bursts that our brains are more evolved to handle. Your brain is craving a different kind of satisfaction, truly any kind.</p><p>The only major downside is that much of the world is still just trying to get more and more leisure. Most people are not interested in your complicated plans for them. Most people just want to tune out, and rightfully so. They may be looking for an escape from effort, regardless of how satisfying the results might be. Thats entirely fine, it just makes it tougher to plan leisure time with people where you want to do anything else other than just chill and indulge. You really have to seek those people out.</p><p>I think this is why friendships can fade easily when you lose a common goal you once had. Work and school are the two quinessential examples. Friendships can emerge quickly when you both have the same problem, especially when you both win together when it gets solved.</p><p>Its great if you can share downtime, but did you ever try sharing a challenge? A common goal? Instead of waiting for a movie to come out that you both like, pick a challenge you want to face together that will force you to grow and make that the purpose for the hang.</p><p>To wrap this up, let me encourage you to be the annoying friend in your friend-group who wants to do an “activity” instead of just meet up at the same sad bar again. It turns out people love having purpose, and they might have been waiting for you to give it to them all along.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=02c4aced68aa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[We need more leaders like Lorne Michaels]]></title>
            <link>https://medium.com/@ssciortino/we-need-more-leaders-like-lorne-michaels-0769b90065dd?source=rss-13968633bc16------2</link>
            <guid isPermaLink="false">https://medium.com/p/0769b90065dd</guid>
            <dc:creator><![CDATA[Stephen Sciortino]]></dc:creator>
            <pubDate>Mon, 31 Mar 2025 11:45:07 GMT</pubDate>
            <atom:updated>2025-03-31T11:45:07.029Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*0vEOi0tp9Y_IaEIBLnuwiA.jpeg" /><figcaption>Lorne: “Thanks, can I go home now?”</figcaption></figure><p>One of my top role models in business is Lorne Michaels (yes, him from SNL). In an era when more and more leaders are pushing a narrative that their power comes from constructing the most brazen ego possible, Lorne shows us how to influence and inspire others from the background. He is responsible for dozens of TV shows, movies, and miscellaneous comedy projects over the span of a 50+ year career. Most famously, he created Saturday Night Live in 1974 and has been at the helm as producer for nearly 100% of it’s TV run. That is especially notable now in 2025, when the show just celebrated it’s 50th anniversary year on air.</p><p>Despite his vast media empire, he almost never appears on screen. When he does, he barely speaks. He lets himself be the butt of exactly one joke and then promptly leaves. He’s also fine letting all of his friends do impressions of him on TV interviews, openly mocking him to the public. He knows that it helps the SNL brand, and it has given him a lot more personal publicity without having to actually appear on those shows.</p><p>He knows that he is not the actor — he is the conductor, and he brings the actors and writers together with the showbiz people. His success is self-evident from the quality of his work, not from his own connection to it. Even after the whiplashes of changes that have happened in comedy between the 1970s and now, Lorne has grown his one risky TV idea into an indisputable comedy empire.</p><p>He could have easily made the 50th SNL anniversary about him. “The Roast of Lorne Michaels” for example. He could have leaned into the “will he/won’t he” step down from the show and make Tina Fey the new EP. He didn’t do any of that. He kept the focus on the same thing he always does — the work itself.</p><p>Lorne is 80 years old. Comparing that with other notable media personalities like Trump (78), Biden (82), and Schumer (74), he is not young. Yet we don’t hear calls for him to step down from his job for being too old to lead effectively. He never let his ego take the stage, and he slowly built up trust with an entire industry over decades. He found the true path to honest power, and we need more politicians and business leaders to follow his example.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0769b90065dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DEI is not a high bar]]></title>
            <link>https://medium.com/@ssciortino/dei-is-not-a-high-bar-f85692f7a9ab?source=rss-13968633bc16------2</link>
            <guid isPermaLink="false">https://medium.com/p/f85692f7a9ab</guid>
            <category><![CDATA[business]]></category>
            <category><![CDATA[politics]]></category>
            <dc:creator><![CDATA[Stephen Sciortino]]></dc:creator>
            <pubDate>Sun, 16 Mar 2025 10:54:17 GMT</pubDate>
            <atom:updated>2025-03-16T11:21:00.251Z</atom:updated>
            <content:encoded><![CDATA[<p>Lots of businesses these days have decided that it’s too difficult to practice diversity, equity, and inclusion. They are announcing, quite loudly, that they will not waste time on such things and instead will focus on aggressively losing shareholder value (or whatever their deal with Trump is).</p><p>I don’t think DEI always has to be a formal policy. I don’t think it always has to be about hiring either.</p><p>It is a set of virtues we should practice in our daily work and lives, and we should all challenge ourselves to improve on them.</p><p>As a new leader myself, I find DEI helpful when I’m making decisions. It helps me think through scenarios like:</p><ul><li>Diversity — is there another opinion I should take into consideration before making this decision?</li><li>Equity-Will this choice have an outsized benefit on me, at the cost of my team or others? How can I make this a better deal for them?</li><li>Inclusion-Who will be impacted by this? Are they getting a say in the matter?</li></ul><p>Is that truly so hard? Most leaders are not taking 10 seconds to ask themselves these questions throughout the day.</p><p>The time has come to raise the bar. Meta can say they are cancelling DEI, but they have enough money that they can afford to make many other spectacular and high profile mistakes (unless you are reading this in the metaverse, then I will eat my words).</p><p>The point being, DEI (as in the human experience of diversity, equity, and inclusion) is now table stakes for success in the 21st century. Soon I hope we won’t be talking about it at all because most humans should understand these basic concepts by middle school. Unfortunately the bar really is that low.</p><p>Zuck and the others will pay for this decision eventually, but in the meantime we must ignore all this performative corporate policy. In your own life, realize the advantage of doing things the right way and seize this moment where the whole world seems to be proud to make bad choices.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f85692f7a9ab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Principles of a Scalable  dbt Project]]></title>
            <link>https://medium.com/@ssciortino/principles-of-a-good-dbt-project-2de151be1e42?source=rss-13968633bc16------2</link>
            <guid isPermaLink="false">https://medium.com/p/2de151be1e42</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[analytics-engineering]]></category>
            <category><![CDATA[dbt]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Stephen Sciortino]]></dc:creator>
            <pubDate>Sun, 21 Jul 2024 17:44:14 GMT</pubDate>
            <atom:updated>2024-07-31T23:35:56.060Z</atom:updated>
            <content:encoded><![CDATA[<h3>Principles of a Scalable dbt Project</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fu1GAAyhHGptjPzI" /><figcaption>Photo by <a href="https://unsplash.com/@d_mccullough?utm_source=medium&amp;utm_medium=referral">Daniel McCullough</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>We all love dbt and how it simplifies our analytics workflows. But over time, dbt projects will sprawl just like any other software project. Sprawl can mean good growth, but it can also mean more errors, more project files, and never ending tech-debt.</p><p>dbt projects don’t live in a vacuum either. They run on a database and those systems tend to sprawl as well. The config for dbt is tightly integrated with the config for your warehouse, so a change in one impacts the other. Keeping those in sync can become more difficult as both systems grow.</p><p>It’s important to make sure your project is sufficiently scalable before it gets too large and unwieldy to manage. Luckily, there are a few best practices which, when followed carefully, can help you turn the tides against tech debt. In this article, I’ll outline the top three principles that will give you the best fighting chance against sprawl.</p><h3>Three principles of a scalable dbt project</h3><ol><li>Developers should not have write-access to production data.</li><li>Sources should be isolated from models.</li><li>Model folders should map 1:1 with target schemas in the warehouse.</li></ol><p>Before diving into each of these, let’s talk about what a bad project looks like first. Think about any project you’ve worked on. Have these ever happened to you?</p><ul><li>You run something once against prod but forget to switch your config back to dev and before you know it there’s a happy accident on prod.</li><li>You can’t keep track of your model’s config overrides and you don’t know what’s going to happen when you run it.</li><li>You’ve spent hours of your life navigating through VS Code folders looking for a model that doesn’t seem to exist.</li><li>You accidentally overwrote someone else’s model because they had the same name (or someone overwrites yours!!)</li><li>dbt fails due to some unexpected database permission issue and you don’t know how to get it fixed</li></ul><p>These situations are all avoidable with the right structure in place. Let’s walk through how each of the three frameworks can help.</p><h3>1) Developers should not have write-access to production data</h3><p>This first idea is less about dbt and more about the environment it lives in. The best way to guarantee an accidental overwrite in prod is by giving developers write access to it. There’s honestly no good reason for doing this, unless you’ve got an anxious CEO breathing down your neck, looking for a hotfix. Even then you should probably still make time to follow the proper process.</p><p>So what is that proper process? Here’s the structure I’ve seen work well.</p><p>Create two databases for dbt:</p><ul><li>Production Database: &lt;Your Company&gt;_Analytics</li><li>Development Database: &lt;Your Company&gt;_Analytics_Dev</li></ul><p>These environments should mostly speak for themselves, but prod is where your final “living” data assets will exist. All datasets used for analytics, including dashboards with direct warehouse connections, should be sourced from this location. You could consider it the single source of truth, if such a thing even exists.</p><p>Dev is where your developers will work and build their dbt models. Each developer should have their own personal set of schemas in the dev environment (ie: stephen_sources__shopify). This can be configured with a dbt macro to override the schema name using the schema param from the user’s dbt profile.</p><p>With those databases configured, add or update the following users and roles to support environments:</p><ul><li>Only your dbt runner (ie: dbt Cloud) should have write access to production. It will be the only user authorized to write there.</li><li>Create a dev role for your developers, which will only allow write access in dev. This role should have read access to prod as well. <strong>But no more humans writing to prod!</strong></li></ul><p>Workflow steps:</p><ul><li>Developers build projects in the dev environment, using their personal custom-named schemas.</li><li>Each dbt change requires a PR and each developer should work on their own git branch. (As a developer, it’s very convenient to have your own namespace in the dev environment because you can easily reference queries in your PRs without worrying about the underlying data changing.)</li><li>Only after your changes are merged will it show up in prod. If your dbt runner is configured to run prod jobs from the main branch, it will pick up the newly-merged code during its next run.</li></ul><p>This tip may seem obvious to many readers, but if you don’t have it in place yet you need it asap. Working off prod is a crisis waiting to happen and the small overhead to establish dev is well worth it.</p><p>Other notes about access and environments:</p><ul><li>The dev schema structure should resemble prod — including having the same names (except developer prefixes), the same models in those schemas (assuming they’ve been run), etc. Developers should feel comfortable that changes the make in dev will reflect reality on prod.</li><li>The dev and prod databases should ideally be separate from the actual raw data itself, which should live in a third database “sources”. I didn’t touch on that here but it’s the ideal third db in a good dbt warehouse setup.</li></ul><p>Why teams don’t do this:</p><ul><li>Writing to prod is just easier (Who doesn’t like to wield power? It’s thrilling and suspenseful.)</li><li>DE overhead — You have to build out the dev db and update everyone’s permissions too.</li><li>A solo team may not see the need for this.</li></ul><p>This is a “stop-the-bleeding” step that should happen first before anything else, especially if you have a large team and prod issues are common. Trust me when I say that all of your troubleshooting will get exponentially easier after this. The amount of variables that can inflict prod issues will drop off significantly.</p><h3>2) The Models folder should follow a structure that isolates sources from transformations</h3><p>This helps significantly with the quality of life for your developers. Following a fixed structure under the models folder can make it much easier to find and ref objects while you’re writing models.</p><p>At the top level, you should have at least these two folders: Sources and Marts.</p><h3>/Models/Sources</h3><p><strong>Every</strong> source used in the project gets its own model in sources.</p><p>Break this folder down into subfolders for each system or vendor you receive data from. Each subfolder should have it’s own source yaml file too (no mono-sourcing allowed). Only add sources that are actually used by the models in that same folder.</p><p>Each model file should follow this specific naming structure: <br><em>source_{source name}__{name of model}.sql<br></em>This one is really helpful for refs because you’re basically fully qualifying the model within the name.</p><p>Here’s an example of what the structure should look like:</p><pre># dbt folder structure under models<br><br>/models<br>  /sources<br>    /shopify<br>      source_shopify__model1.sql<br>      source_shopify__model2.sql<br>      shopify.yml &lt;- Source yml<br>    /klaviyo<br>      ...<br>    /some_s3_bucket<br>      ...</pre><p>Other notes about the sources folder:</p><ul><li>These source models shouldn’t be used for much more than loading data from the source and selecting the relevant fields. I don’t recommend using any joins or CTEs here. You can use this layer to apply simple changes necessary for making the data usable, such as small quality fixes, standardizing/renaming values, and building derived dimension fields.</li></ul><h3>/Models/Marts</h3><p>Anything that’s not a source goes into marts. That includes all models used by BI tools or analysts, along with any of the intermediate transformations necessary to prep the data. If you need a place for models that are used as inputs to other models, put them in a subfolder called “intermediate” to keep them logically separated.</p><p>Marts and int folder can be laid out like this:</p><pre># Folder structure for marts<br><br>/models<br>  /marts<br>    /core &lt;- Your &quot;core&quot; mart with all the essential output models from your project<br>      /intermediate &lt;- An &quot;int&quot; layer with non-production grade models used an connecting nodes between sources and marts<br>    /finance &lt;- A sample finance mart with models that are relevant to finance analysts at your org<br>      /intermediate</pre><p>Some notes about the marts folder:</p><ul><li>There shouldn’t be a single {{ source() }} function call anywhere in this folder. If your model is calling a source, it should go in the sources folder.</li><li>Your db admin should create dedicated roles for each user type (for ex: BI tool, marketing analyst, C-suite ad-hoc queries) with specific read access to those marts.</li></ul><p>Why teams don’t do this:</p><ul><li>dbt doesn’t enforce much of a structure on it’s own. The tool’s greatest strength and weakness is it’s flexibility. dbt Labs itself has put out <a href="https://docs.getdbt.com/best-practices/best-practice-workflows">best-practices</a> for how to design good projects but ultimately it’s up to the team to follow them.</li><li>Each developer may have differing opinions about naming conventions. Everyone has a preference about where to store files in a project, and it can be tough to get everyone on the same page especially without a mutually agreed-upon policy.</li><li>Having isolated sources and marts will usually increase the size of the project. You’ll have more models (especially for all the sources). Your file names will be longer too. It’s a small price to pay for a more readable project.</li></ul><p>Once you adapt this structure it’ll feel like second nature. The overhead of setting it up is made up for by how easy it is to zip around the repo. This is especially useful for anyone who works with multiple dbt projects because you know each one will follow a similar pattern. Context-switching becomes much easier.</p><h3>3) Model folders should map 1:1 with target schemas in the warehouse</h3><p>It should be very clear where to find your models after you’ve built them. You can keep this organized by always writing your models to a target schema that maps to the folder name of the model. You can <a href="https://docs.getdbt.com/reference/resource-properties/schema">assign entire folders to schemas</a> in your dbt_project.yml file using the schema parameter. For example:</p><pre># In dbt_project.yml<br><br>models:<br>  &lt;project-name&gt;:<br>    sources:<br>      -  name: shopify<br>         +schema: shopify<br>    ...<br><br>    marts:<br>      core:<br>         +schema: core<br>         intermediate<br>            +schema: core_intermediate<br>      finance:<br>         +schema: finance</pre><p>First of all, this helps improve quality of life for the developers. They spend much of their day switching back and forth between dbt and the database. This will make it much easier to find that data quickly.</p><p>Next, this makes it possible to assign warehouse permissions at the schema level. This isn’t necessary very often, since most users can generally operate safely with database-level permissions. However two common user group that benefits from this are analysts and BI service accounts — these users should have very specific permissions to view data, and often it’s useful to lock these down at the schema level.</p><p>More notes about folders and schemas:</p><ul><li>You can override the default target schema at the model level by adding a config block. Please resist the urge to do this. You will only cause more confusion for anyone trying to follow along with the dbt_project.yml structure.</li><li>It’s important to note that all of these schemas should be reserved for dbt use only, and no ad-hoc users should have write-access in them. Also, all permanent analytics code should be brought into the dbt project and should not live somewhere else like a stored procedure. It should find it’s place in this structure.</li></ul><p>Why teams don’t do this:</p><ul><li>Similar to the model folder structure, it can be tough to get teams on the same page when personal preferences and style come into play. Having an official team policy helps.</li><li>It’s easy to work around. You may have a model that you need in a different schema from the rest of the models in the folder. Instead of making a new folder for it and updating dbt_project.yml, you add a config block “just this once”.</li></ul><p>This one is definitely not a priority like the first two, but it does greatly improve the developer experience in the project.</p><h3>Summary</h3><p>These ideas are not new or especially exciting. They’ve been debated and iterated on for years by some of the most influential thought leaders in the data space, and now also me. But after seeing them at play in multiple successful projects, I assure you they will have an enormous impact on your project — if you’re willing to commit to them.</p><p>These principles come from experience — in my last role as a data engineer at <a href="https://www.brooklyndata.co/">Brooklyn Data Co</a>., I implemented these patterns regularly and saw them carried out with great success in at least 20 projects. I highly encourage you to check out the Brooklyn Data <a href="https://github.com/brooklyn-data/co/blob/main/dbt_coding_conventions.md">dbt Style Guide</a> which was a major inspiration for this write-up. dbt Labs also has a great <a href="https://docs.getdbt.com/best-practices/how-we-structure/1-guide-overview">series on this in their documentation</a>.</p><p>If you’re an analytics engineer and you know there’s something broken about your dbt project but can’t quite put your finger on what it is, this framework might be a good place to start. If you’re a team lead and you want to implement something new like AI or a semantic layer, take the time to set these frameworks up first. You’ll be glad you did it.</p><p>Thanks for reading! If you’re considering a change to your dbt project and looking for some extra support, <a href="https://www.databasetycoon.com/contact">please feel to reach out to me here</a>. I offer data engineering consulting services, and you can use the link above to book a free 30 minute intro session. Just be aware, if we work together I will have strong opinions about your project’s layout 😅</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2de151be1e42" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Secure Your Snowflake Account (and Why)]]></title>
            <link>https://medium.com/@ssciortino/how-to-secure-your-snowflake-account-and-why-33f0971fae45?source=rss-13968633bc16------2</link>
            <guid isPermaLink="false">https://medium.com/p/33f0971fae45</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[snowflake]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Stephen Sciortino]]></dc:creator>
            <pubDate>Sun, 02 Jun 2024 13:11:44 GMT</pubDate>
            <atom:updated>2024-06-02T13:11:44.070Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AIuHSzi-7TTgKJov" /><figcaption>Photo by <a href="https://unsplash.com/@mmayyer?utm_source=medium&amp;utm_medium=referral">marcos mayer</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Snowflake is drawing a lot of attention due to a <a href="https://www.theverge.com/2024/5/31/24168984/ticketmaster-santander-data-breach-snowflake-cloud-storage">targeted attack by malicious actors</a> to gain access Snowflake accounts. These actors got access to data for several major corporations with well-known brand names.</p><p>This is a very serious issue and a reality check for data teams everywhere. However the actors involved did not “hack” into Snowflake. According to <a href="https://community.snowflake.com/s/question/0D5VI00000Emyl00AB/detecting-and-preventing-unauthorized-user-access">Snowflake’s research</a>, they illegally purchased stolen passwords which themselves were gathered by malware. Once they had the passwords, there was nothing stopping them from logging in.</p><p>Let’s be clear — <strong>it should not have been so easy</strong>. Snowflake has multiple layers of security which, if configured properly, could have easily prevented this. I’ll review each option below and when you should consider implementing them at your organization.</p><h4>Multi-Factor Authentication</h4><p>This is the best way to protect your own individual Snowflake credentials. Enabling MFA means that after every log in attempt with your username and password, you’ll get a push notification on your phone to authorize the login. Many other online companies are adding this too and you should enable it everywhere you can. The problem it solves is not just an issue for Snowflake — it’s a major flaw with the antiquated username/password login style we commonly use across the internet. We must all opt-in to a more secure process of connecting to online services, and Snowflake is no exception.</p><p>Within Snowflake, if you’re an accountadmin or orgadmin in your Snowflake account, you have the most to lose from a breach and should implement this 100% of the time. Prior to this incident, Snowflake already recommended it for all accounts with these role types. Now they’re recommending it for every single user. This link from Snowflake shows more details about implementation: <a href="https://docs.snowflake.com/en/user-guide/security-mfa">https://docs.snowflake.com/en/user-guide/security-mfa</a></p><p><strong>Note</strong>: You cannot require other users to enable this. Each user must individually enable it on their own, through their own Snowflake profile. However, you can query to see which users have it enabled and which don’t.</p><h4>Network Policies</h4><p>A network policy is an access rule that you apply to a user (or group of users) in your Snowflake account to block connections from unknown locations. This is enforced through IP address validation.</p><p>Every time you connect to an external service like Snowflake, you’re sharing your IP address with that service. The receiving server has the option to validate the IP against it’s own lookup list and block the connection outright if it doesn’t match. Think of it like a bouncer at a bar with a list of people to let in. If your IP isn’t on the list, you‘re not getting in.</p><p>For human users like you, this is easy to implement if your organization uses a shared VPN. Then your list of IP addresses will be small and you can create one policy for everyone. If that’s not an option, each user should have a policy with their own personal IP list. Since IPs are publicly accessible, you can easily find your own IP by searching “What’s my IP” in any search engine. If your home IP ever changes, you’ll have to update the policy as well.</p><p>This works similarly for service accounts (i.e. any account where the login will come from a service, like a scheduled model run from dbt Cloud). Check if the service provides it’s list of IPs and use it to create a rule for that service. Many of the commonly used SaaS tools like <a href="https://docs.getdbt.com/docs/cloud/about-cloud/access-regions-ip-addresses">dbt Cloud</a> and <a href="https://fivetran.com/docs/using-fivetran/ips">Fivetran</a> provide their lists online for this very reason.</p><p>For more info about network policies, see Snowflake’s docs here: <a href="https://docs.snowflake.com/en/user-guide/network-policies">https://docs.snowflake.com/en/user-guide/network-policies</a></p><h4>How Much Is Enough?</h4><p>It’s a good idea to enable both of these if you can. However, enabling even one of these methods would have prevented much of this data breach. Unless they did something extreme like steal your cellphone or get onto your home internet network. At that point you may have bigger problems then just data.</p><p>Keep this point in mind as you read the names of the companies impacted by the breach — they are not doing enough to protect your data!</p><h4>Other Options?</h4><p>The security options I listed above are arguably the most common and simplest to implement. However there are more ways to protect your account, which Snowflake describes at length here: <a href="https://docs.snowflake.com/en/guides-overview-secure">https://docs.snowflake.com/en/guides-overview-secure</a></p><p>For example, your organization may use <a href="https://docs.snowflake.com/en/user-guide/admin-security-fed-auth-overview">Single Sign-On</a> (SSO) to manage logins, and you’ll have more security options available for that setup.</p><p>I encourage you to review and understand these different policies and then decide which are right for your account. Ask yourself if your organization is doing enough to prevent attacks like this because they will happen again.</p><p>Thanks for reading! If you’re considering a security overhaul in Snowflake or simply want an outside opinion on your current setup, <a href="https://www.databasetycoon.com/contact">please reach out</a>!</p><p>I can help you improve your data processes on Snowflake, whether it’s creating an entirely new stack, auditing an existing one, or helping you advocating for your data team within your organization.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33f0971fae45" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why I Left My Job With No Backup Plan]]></title>
            <link>https://medium.com/@ssciortino/why-i-left-my-job-with-no-backup-plan-1b49a11ccb52?source=rss-13968633bc16------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b49a11ccb52</guid>
            <category><![CDATA[consulting]]></category>
            <category><![CDATA[career-advice]]></category>
            <dc:creator><![CDATA[Stephen Sciortino]]></dc:creator>
            <pubDate>Thu, 30 May 2024 11:52:17 GMT</pubDate>
            <atom:updated>2024-05-31T11:51:38.792Z</atom:updated>
            <content:encoded><![CDATA[<h4>The story of how I’m taking a risk on myself</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*r5MKv6hHK4LFNO0r" /><figcaption>Photo by <a href="https://unsplash.com/@atlas_green?utm_source=medium&amp;utm_medium=referral">Atlas Green</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>The Worst Way To Leave a Job</h3><p>There are a handful of ways to leave a job and I arguably picked the worst one. Just a few weeks ago, I finished up my last day with my full time employer and I didn’t have a new job lined up. I gave myself some runway by saving up money while working, but I knew I would need to find something new, and quickly. After a much needed post-resignation vacation, I received my last paycheck and the countdown started.</p><p>I could have applied to other jobs before I resigned — and I did. After working through several applications and failed technical interviews, I realized I would never be able to give this process the attention it needed while I was working full time. Here I was, weighing a decision that would affect the next several years of my life, and I was using the same panicked, frenzied mind that was already burned out by the day job. I knew I was likely to take whatever opportunity came along first. Realistically, I would have ended up at another “fast-paced work environment” that would eventually burn me out too.</p><h3>Going For It</h3><p>Before I made the decision, I took stock of what I had. First, of course, is savings. I’d like to emphasize that this decision would have been a disaster if I didn’t have any money saved. It might still be — I’m only in the first month 😅. But I decided that the risk would be worth “losing” the savings. Essentially it means that I’m using my savings to pay for the things that I already would have bought, things like rent, transportation, groceries, and the occasional night out. But by making this choice, I could now invest all my time into whatever I wanted to do next.</p><p>Next, I took stock of my skills. In my last job, I was lucky enough to work at a data consultancy for almost 3 years and I consider it a boot camp in the modern data industry. I got comfortable with consulting — juggling multiple clients, working on different stacks, learning skills on-the-fly to fix unexpected problems, etc. While it did get overwhelming at times, I learned to love the quick turnaround times, high output, and the simple joy of helping people solve their problems with data. I knew I should be able to find at least one senior data engineer job with this experience. I didn’t know how long it would take to get one, but I knew I’d find one eventually.</p><h3>Finding Time to Think Clearly</h3><p>These thoughts swarmed around in my head before I finally put in my two-weeks notice in early April. As I started looking through job postings again, none of them excited me. Of course I shouldn’t have been picky, but the whole point of taking the job gap was to find the absolute right job for me. So I aimlessly scrolled LinkedIn waiting to for the right job to materialize.</p><p>That’s when it hit me — I can get everything I want and more if I strike it out on my own with independent consulting. I can choose my own clients, fill my own schedule, prioritize my own learning, and set my own rate with clients. Anyone who has consulted in their life will probably recognize this as the naive take that it is, but just let me have this moment alright? At this point, all I can see is the opportunity ahead. I’ll cross all those bridges as I get to them.</p><h3>Now What?</h3><p>So here I am at the precipice of this new adventure in my career. What lessons have I learned so far? It’s definitely not that everyone should quit their jobs immediately. It’s also not that you shouldn’t start a family to keep your bills low. The lesson is this — if you can find a way to take a risk on yourself, I think you should do it. The earlier you can start investing in yourself, the sooner you can follow your own path.</p><p>I challenge you to think about how much savings you’d personally need to do something like this, and/or which skills you’d need to learn. It may seem wasteful to give up a salary and draw down your hard-earned savings, but the return on investment could be life changing. At least that’s what I’m hoping for!</p><p>Please subscribe if you’d like to keep up with this little experiment I’m running. Thanks for reading!</p><p>If you’d like to work together, <a href="https://app.hellobonsai.com/s/stephen-sciortino/5915dfd4-49bd-4311-a27f-6b1c48cf388a">please reach out</a>! I can help you improve your data process, whether it’s creating an entirely new stack, auditing an existing one, or helping you advocating for your data team within your organization.</p><p>Also if you’re having similar thoughts and want to talk it out, I’d love to hear your story!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b49a11ccb52" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>