The Real Python Podcast

Michael Kennedy: Managing Your Own Python Infrastructure


Listen Later

How do you deploy your Python application without getting locked into an expensive cloud-based service? This week on the show, Michael Kennedy from the Talk Python podcast returns to discuss his new book, “Talk Python in Production.”

Michael runs multiple Python applications online, including a training site, blog, and two podcasts. While searching for the best solution for hosting his business, he documented his findings in a book. We talk about containerizing Python applications, generating static sites, preparing for traffic spikes, and avoiding cloud service lock-in.

Course Spotlight: Speed Up Python With Concurrency

Learn what concurrency means in Python and why you might want to use it. You’ll see a simple, non-concurrent approach and then look into why you’d want threading, asyncio, or multiprocessing.

Topics:

  • 00:00:00 – Introduction
  • 00:01:28 – Welcome back!
  • 00:03:05 – Is this your first book?
  • 00:04:13 – A book that reads like a blog
  • 00:06:15 – Incentives to keep you locked in
  • 00:09:20 – Following the journey of the Talk Python sites
  • 00:11:47 – Audio reader briefs
  • 00:15:19 – Discussing Dev Ops as a topic
  • 00:18:31 – Background of developing for the web
  • 00:20:14 – Stack-Native vs Cloud-Native
  • 00:24:40 – Using Quart web framework
  • 00:25:50 – Embracing Docker
  • 00:32:39 – Sharing a single powerful machine allows for individual peaks
  • 00:37:04 – Video Course Spotlight
  • 00:38:30 – Minimal cloud lock-in
  • 00:40:04 – Using OrbStack for local builds and testing
  • 00:42:07 – Coolify as a Docker host
  • 00:47:14 – Moving away from Google analytics and a GDPR rant
  • 00:50:43 – Diving deep into web tech of ngnix, SSL, and CDNs
  • 00:54:33 – Talking about the prices for hosting
  • 00:59:09 – Creating static sites
  • 01:06:22 – Invitation to come back to discuss AI and agents
  • 01:10:06 – What are you excited about in the world of Python?
  • 01:16:19 – What do you want to learn next?
  • 01:17:34 – What’s the best way to follow your work online?
  • 01:19:40 – Thanks and goodbye
  • Links:

    • Talk Python in Production Book
    • Quart documentation: Documentation
    • Docker: Accelerated Container Application Development
    • South Korea Loses Its Government “Cloud” After a Fire: No Backups or Recovery Plan
    • OrbStack: Fast, light, simple Docker & Linux
    • Coolify
    • Finances & the Future of Cara: Artist Social & Portfolio Platform
    • awesome-selfhosted: A list of Free Software network services and web applications which can be hosted on your own servers
    • Umami: Modern analytics platform
    • umami-python: Umami Analytics Client for Python by Michael Kennedy
    • Hugo: The world’s fastest framework for building websites
    • mikeckennedy - Michael Kennedy: GitHub
    • Michael Kennedy’s Thoughts on Technology
    • Talk Python in Production Book - Link With Discount Code
    • Michael’s Recommended Hosting Locations:

      • DigitalOcean - Cloud Infrastructure for Developers
      • Hetzner - Dedicated Server, Cloud & Hosting aus Deutschland
      • Level up your Python skills with our expert-led courses:

        • Deploy Your Python Script on the Web With Flask
        • Speed Up Python With Concurrency
        • Creating a Scalable Flask Web Application From Scratch
        • Support the podcast & join our community of Pythonistas

          ...more
          View all episodesView all episodes
          Download on the App Store

          The Real Python PodcastBy Real Python

          • 4.7
          • 4.7
          • 4.7
          • 4.7
          • 4.7

          4.7

          138 ratings


          More shows like The Real Python Podcast

          View all
          Software Engineering Radio by se-radio@computer.org

          Software Engineering Radio

          273 Listeners

          The Changelog: Software Development, Open Source by Changelog Media

          The Changelog: Software Development, Open Source

          292 Listeners

          Software Engineering Daily by Software Engineering Daily

          Software Engineering Daily

          623 Listeners

          Talk Python To Me by Michael Kennedy

          Talk Python To Me

          585 Listeners

          Thoughtworks Technology Podcast by Thoughtworks

          Thoughtworks Technology Podcast

          42 Listeners

          Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

          Super Data Science: ML & AI Podcast with Jon Krohn

          303 Listeners

          Python Bytes by Michael Kennedy and Brian Okken

          Python Bytes

          214 Listeners

          Data Engineering Podcast by Tobias Macey

          Data Engineering Podcast

          145 Listeners

          Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

          Syntax - Tasty Web Development Treats

          983 Listeners

          CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

          CoRecursive: Coding Stories

          189 Listeners

          DataFramed by DataCamp

          DataFramed

          268 Listeners

          Kubernetes Podcast from Google by Abdel Sghiouar, Kaslin Fields

          Kubernetes Podcast from Google

          182 Listeners

          Practical AI by Practical AI LLC

          Practical AI

          213 Listeners

          AWS Podcast by Amazon Web Services

          AWS Podcast

          201 Listeners

          The Stack Overflow Podcast by The Stack Overflow Podcast

          The Stack Overflow Podcast

          62 Listeners