Logo
    Search

    Supper Club × 70,000 Serverless Functions with Kristi Perreault of Liberty Mutual

    enJuly 15, 2022

    Podcast Summary

    • Managing Serverless Technology at a Large Scale in a CorporationA principal software engineer at Liberty Mutual Insurance, Christie Peralta, manages over 70,000 serverless functions and supports 5,000 developers in a serverless-first initiative. She creates starter patterns, consults with teams, and focuses on well-architected reviews and frameworks.

      Christie Peralta, a principal software engineer at Liberty Mutual Insurance and an AWS serverless hero, shared her experience managing and implementing serverless technology at a large scale in a corporation. She and her team support over 5,000 developers and have embraced a serverless-first initiative. Christie discussed her role, which involves creating starter patterns, consulting with teams, and focusing on well-architected reviews and frameworks. She recently announced her recognition as an AWS serverless hero. During the conversation, she mentioned managing over 70,000 serverless functions, making her an expert in the field. The podcast episode was sponsored by Hasura, Stack Overflow, and LightStep. Christie shared her background and experiences, providing valuable insights into the world of serverless technology and its implementation in large corporations.

    • Liberty Mutual's Focus on Cost, Performance, and Serverless FunctionsLiberty Mutual, a global insurer with 5,000 developers, leverages serverless functions for cost efficiency, event-driven computing, and automatic scaling, while maintaining on-premises applications and dealing with legacy code.

      Liberty Mutual, a global tech company in the insurance industry, focuses on cost, performance optimization, reliability, and sustainability when architecting applications. With over 5,000 developers, they support a vast array of applications, from customer-facing platforms to internal tools and infrastructure. Their work includes React developers, front-end developers, application developers, and more. Their need for 70,000 serverless functions covers various aspects, including customer interactions, internal tooling, and infrastructure development. Serverless functions offer cost efficiency, as you only pay for what you use, aligning with Liberty Mutual's business model. The company's unique position involves maintaining some on-premises applications and dealing with legacy code while also embracing the cloud and serverless technology. For those considering serverless, the benefits include cost savings, event-driven computing, and automatic scaling.

    • Frees developers to focus on code optimization with managed infrastructureServerless computing offers cost savings, improved performance, and flexibility by letting cloud providers manage infrastructure, allowing developers to optimize business code.

      Serverless computing offers significant cost savings and improved performance by allowing a third party, usually a cloud provider, to manage the infrastructure, freeing up resources for developers to focus on optimizing business code. This is particularly beneficial for companies dealing with a large scale of applications, some of which may only be used infrequently. The reverse side is also important, as constantly running applications can add up in costs, and cloud providers offer fault tolerance and reliability that can mitigate potential downtime. Developers are able to work in their preferred programming languages, and the flexibility of serverless computing allows teams to choose the best solution for their specific needs.

    • Infrastructure as Code: Automating Infrastructure Changes Through Code CommitsInfrastructure as Code allows for version control, security, and easier management of tech debt and permissions through automated code commits, using tools like AWS CDK, AWS SAM, CloudFormation, Terraform, and the Serverless Framework.

      Modern software development relies heavily on infrastructure as code, which means that all infrastructure changes must be made through code commits rather than manual console interactions. This approach offers several benefits, including version control, security, and easier management of tech debt and permissions. Popular tools for implementing infrastructure as code include AWS CDK, AWS SAM, CloudFormation, Terraform, and the Serverless Framework. While the specific tool or language used is flexible, organizations can enforce policies and checks through their pipelines to ensure compliance. This episode was brought to you by Hasura, which simplifies building and maintaining GraphQL APIs, allowing you to focus on your core business logic.

    • Microservices architecture setup and local development with AWSCDK tools enable local testing and development of AWS services like Lambda, DynamoDB, and S3, allowing for efficient infrastructure management in a microservices architecture.

      In a microservices architecture, infrastructure setup and local development workflow can vary based on specific needs and priorities. AWS services like Lambda, DynamoDB, and S3 can be deployed together in one application or separated into different stacks. CDK is a popular choice due to its tools for local testing and development, allowing developers to check templates and run functions locally. Environment management, such as a sandbox and dev accounts, is also crucial for testing and deployment. Despite the popularity of serverless, some developers may prefer using products as a service that sit on top of AWS Lambda to avoid management and cost concerns. However, for those who choose to use AWS services directly, understanding the infrastructure setup and local development workflow is essential. CDK's tools and the ability to run functions locally make it a helpful choice for managing and testing infrastructure in a microservices architecture.

    • AWS CDK: A Powerful Tool for Enterprise DevelopmentAWS CDK is a popular, community-driven tool for enterprises, offering a versatile platform for diverse use cases. With CDKv2, AWS provides a powerful solution for large enterprises, featuring constructs, patterns, and support for TypeScript and Python.

      AWS's Cloud Development Kit (CDK) has come a long way and is now a highly recommended tool for enterprises looking for a powerful, community-driven developer platform. CDKv2, released during re:Invent last year, has received significant iteration and support from AWS, making it an attractive choice for AWS shops. The tool is particularly beneficial for large enterprises with diverse use cases, as it provides a platform that can cover a wide range of needs. CDK is also community-driven, with developers contributing constructs and patterns to help others build solutions more efficiently. The CDK workshop is a great starting point for those new to the tool, offering a simple and easy-to-follow "hello world" tutorial. TypeScript is the most popular language for CDK, and constructs and patterns are also valuable resources for getting started. If you've worked with serverless functions in the past, you'll find CDK's Lambda code familiar. Python is another popular language for CDK development. Overall, CDK's ease of use, community support, and versatility make it a valuable tool for enterprises looking to streamline their development processes.

    • Machine learning for incident response reduces noise and personalizes notificationsLightStep's system uses ML to quickly group alerts, reducing noise and enabling faster response times. It also seamlessly orchestrates alerts and triage across platforms.

      LightStep's incident response system uses machine learning to quickly identify and group alerts, reducing noise and allowing for more personalized notifications. This leads to faster response times and the ability to automatically notify the right teams. Additionally, LightStep offers unified incident response by seamlessly orchestrating alerts and incident triage across various platforms. During the conversation, Wes shared his educational background, which included a computer engineering degree with a focus on circuits and building an autonomous vehicle. He then went on to work at Liberty Mutual, where he earned a master's degree in electrical and computer engineering with a focus on cloud computing, IoT, and robotics, machine learning, and AI. Wes also discussed his interest in serverless technology and how he fell into it while working with Java microservices. Wes' story showcases the importance of having a solid educational foundation and the flexibility to explore different areas of technology. His experiences in building an autonomous vehicle and working on cloud computing projects provided him with valuable skills that he was able to apply in his career. Additionally, his curiosity and willingness to learn new technologies, such as serverless, led him to new opportunities and growth within his field.

    • Managing Functions and Resources in a Complex OrganizationImplement tagging and regularly clean up unused functions to maintain organization in a large cloud environment. Prioritize security education and implementation in pipelines for sensitive data.

      Managing a large number of functions and resources in the cloud, especially in a complex organization like an insurance company dealing with sensitive data, presents significant challenges. The speaker discussed building a project that utilized a VR environment, blockchain, and crypto wallet, which triggered IoT core functions and a robot. However, they acknowledged the challenge of keeping all these functions organized, especially as the number of accounts and teams grew. To address this, they implemented tagging and are now working to identify and clean up unused functions. Security is also a top priority due to the sensitive nature of the data they handle. The organization collects data on Lambda functions, API gateways, and plans to expand this to other areas like DynamoDB and S3 buckets. Despite feeling secure in AWS, they emphasized the importance of educating teams on security best practices and implementing them in their pipelines. The sheer scale of their operations means managing roles, tagging, and policies is a significant undertaking.

    • Managing Cloud Infrastructure: Access, Monitoring, and Default SettingsProperly manage cloud infrastructure by setting access levels, monitoring for anomalies, and staying informed about default settings to maintain security and prevent unintended consequences.

      An IAM role functions as a security privilege with permissions tied to it, ensuring proper access levels for different team members in cloud environments like AWS. It's crucial for maintaining account security and preventing unauthorized access to resources. Regarding monitoring and spiking costs, teams use a combination of self-monitoring, third-party tools, and dedicated teams to identify anomalies and educate team members about potential issues. For instance, teams might notice high memory usage in Lambda functions or unexpected charges from certain services. Additionally, AWS account governance teams handle account-level work, such as provisioning new accounts and increasing quotas. An interesting observation shared during the discussion was the potential for unintended consequences, like the creation of numerous Lambda function versions due to default settings in certain frameworks. This example highlights the importance of being aware of default settings and keeping up-to-date with changes in cloud services to avoid potential issues. In summary, maintaining proper access levels, monitoring for anomalies, and staying informed about cloud services and their default settings are essential practices for managing cloud infrastructure effectively and securely.

    • Managing AWS Lambda functions effectivelyKeep track of old Lambda function versions, address security vulnerabilities, and optimize resources to reduce costs.

      It's essential to manage your AWS Lambda functions effectively, including cleaning up old versions and addressing security vulnerabilities. By default, versioning is turned on, and you're charged based on storage, invokes, and memory consumption. Accounts start with a limited amount of storage, and some limits can be increased. When significant security issues arise, like the Log4j vulnerability, it becomes a priority to address them across all affected accounts. It's important to keep track of your team's projects, especially when exploring new technologies like Edge functions. As for the technical side, MacBook Pros are a popular choice for developers, and the preferred text editor theme and font can vary greatly.

    • Essential Tools and Openness to Learning for Successful CodingUse preferred tools like Visual Studio Code, stay open to learning new languages, and adapt to trends through resources like Tech Twitter and newsletters.

      Having the right tools and being open to learning are essential for successful coding. The interviewee shares his preference for Visual Studio Code, dark mode, and a basic keyboard. He wishes he had started with Python instead of Java and advises beginners to be open to learning and growing. He stays updated on tech and serverless trends through Tech Twitter and various newsletters. The interviewee emphasizes the importance of being adaptable and learning in the open. He encourages experimentation and admitting mistakes. In the realm of tech, he is excited about the future of serverless technology and the continuous evolution of programming languages and tools.

    • Exploring AWS's Sustainability Pillar and Serverless DevelopmentThe speaker emphasizes the importance of AWS's new sustainability pillar for economic and environmental benefits in serverless development, while also stressing the value of networking and local tech communities.

      The speaker is currently focused on AWS Well Architected and looking forward to learning more about AWS's new sustainability pillar, particularly in the context of serverless development. They're excited about the potential economic and environmental benefits of using less energy in their development work. The speaker also emphasizes the importance of networking and getting involved in local tech communities to open up opportunities, something they wish they had done earlier in their career. Additionally, they mention the challenges of speaking publicly about their work in the tech industry, with some limitations on what they can discuss due to company policies.

    • Katie Peralta's Exciting Tech and Personal UpdatesTech professional Katie Peralta, known for her expertise in serverless architecture, shares her enthusiasm for the Doctor Strange movie and 'Low Key' show. She promotes her upcoming speaking engagements and encourages following the Serverless Denver meetup group.

      The guest, Katie Peralta, is a busy and accomplished professional in the tech industry, particularly in the field of serverless architecture. She shared her excitement for the new Doctor Strange movie and her recent enjoyment of the show "Low Key." In terms of shameless plugs, Katie mentioned her upcoming speaking engagements, including the Real World Serverless podcast, AWS user group in Denver, Women Impact Denver conference, AWS Summit in Chicago, and the serverless architecture conference in Berlin. She also started the Serverless Denver meetup group and encouraged those in the Colorado area to follow it on Twitter and join the meetings. Katie can be found on Twitter as @kperalt95 and blogs on Dev.to and Medium. She has also been featured in Business Insider. Overall, Katie's passion for serverless architecture and her active involvement in the tech community make her an influential figure in the industry.

    Recent Episodes from Syntax - Tasty Web Development Treats

    789: Do More With AI - LLMs With Big Token Counts

    789: Do More With AI - LLMs With Big Token Counts

    Join Scott and CJ as they dive into the fascinating world of AI, exploring topics from LLM token sizes and context windows to understanding input length. They discuss practical use cases and share insights on how web developers can leverage larger token counts to maximize the potential of AI and LLMs.

    Show Notes

    Hit us up on Socials!

    Syntax: X Instagram Tiktok LinkedIn Threads

    Wes: X Instagram Tiktok LinkedIn Threads

    Scott: X Instagram Tiktok LinkedIn Threads

    CJ: X Instagram YouTube TwitchTV

    Randy: X Instagram YouTube Threads

    788: Supabase: Open Source Firebase for Fullstack JS Apps

    788: Supabase: Open Source Firebase for Fullstack JS Apps

    Scott and CJ chat with Paul Copplestone, CEO and co-founder of Supabase, about the journey of building an open source alternative to Firebase. Learn about the tech stack, the story behind their excellent documentation, and how Supabase balances business goals with open-source values.

    Show Notes

    • 00:00 Welcome to Syntax!
    • 00:30 Who is Paul Copplestone?
    • 01:17 Why ‘Supa’ and not ‘Super’?
    • 02:26 How did Supabase start?
    • 08:42 Simplicity in design.
    • 10:32 How do you take Supabase one step beyond the competition?
    • 12:35 How do you decide which libraries are officially supported vs community maintained?
      • 15:17 You don’t need a client library!
    • 16:48 Edge functions for server-side functionality.
    • 18:51 The genesis of pgvector.
    • 20:59 The product strategy.
    • 22:25 What’s the story behind Supabase’s awesome docs?
    • 25:26 The tech behind Supabase.
    • 35:46 How do you balance business goals with open source?
    • 42:01 What’s next for Supabase?
    • 44:15 Supabase’s GA + new features.
    • 48:24 Who runs the X account?
    • 50:39 Sick Picks + Shameless Plugs.

    Sick Picks

    Shameless Plugs

    Hit us up on Socials!

    Syntax: X Instagram Tiktok LinkedIn Threads

    Wes: X Instagram Tiktok LinkedIn Threads

    Scott: X Instagram Tiktok LinkedIn Threads

    CJ: X Instagram YouTube TwitchTV

    Randy: X Instagram YouTube Threads

    787: You Should Try Vue.js

    787: You Should Try Vue.js

    Scott and CJ dive deep into the world of Vue.js, exploring what makes this frontend framework unique and why it stands out from React and Svelte. CJ gives a comprehensive tour, covering everything from getting started to advanced features like state management and Vue’s built-in styles.

    Show Notes

    Vue.js: The Documentary.

    Sick Picks

    Shameless Plugs

    Hit us up on Socials!

    Syntax: X Instagram Tiktok LinkedIn Threads

    Wes: X Instagram Tiktok LinkedIn Threads

    Scott: X Instagram Tiktok LinkedIn Threads

    Randy: X Instagram YouTube Threads

    786: What Open Source license should you use?

    786: What Open Source license should you use?

    Scott and CJ dive into the world of open source, breaking down its meaning, benefits, and the various types of licenses you’ll encounter. From permissive licenses like MIT and Apache 2.0 to copy-left licenses such as GNU GPLv3, they’ll help you choose and apply the right license for your project.

    Show Notes

    Hit us up on Socials!

    Syntax: X Instagram Tiktok LinkedIn Threads

    Wes: X Instagram Tiktok LinkedIn Threads

    Scott: X Instagram Tiktok LinkedIn Threads

    Randy: X Instagram YouTube Threads

    785: What’s Next for NextJS with Tim Neutkens

    785: What’s Next for NextJS with Tim Neutkens

    Scott and Wes dive into the world of Next.js with special guest Tim Neutkens from Vercel. They explore the latest updates, including the React Compiler and React Server Components, discussing their impact on developer workflows and the future of Next.js development.

    Show Notes

    • 00:00 Welcome to Syntax!
    • 00:30 What does the React Compiler do?
    • 05:04 Will React Compiler help with managing Context?
    • 06:39 What happens if you’re not using a React Compiler?
    • 09:30 Will this work on any NextJS version?
    • 12:18 What are React Server Components?
    • 16:28 Shipping all the data inside an encapsulated component.
    • 20:17 Clearing up the frustrations around retrofitting server components.
    • 23:13 Handing migration.
    • 28:30 Is this just a fetch request with props?
    • 36:41 How closely are the NextJS and React teams working?
    • 41:53 Will we ever get Async Client Components?
    • 43:52 Async Local Storage API.
    • 45:31 Turbopack.
    • 57:51 Sick Picks & Shameless Plugs.

    Sick Picks

    Shameless Plugs

    Hit us up on Socials!

    Syntax: X Instagram Tiktok LinkedIn Threads

    Wes: X Instagram Tiktok LinkedIn Threads

    Scott: X Instagram Tiktok LinkedIn Threads

    Randy: X Instagram YouTube Threads

    784: Logging × Blogging × Testing × Freelancing

    784: Logging × Blogging × Testing × Freelancing

    In this Potluck episode, Scott and Wes tackle listener questions on modern blogging, website environmental impact, and using LangChain with LLMs. They also cover CSS hyphens, unit vs. integration testing, and balancing web development with new parenthood.

    Show Notes

    Sick Picks

    Shameless Plugs

    Hit us up on Socials!

    Syntax: X Instagram Tiktok LinkedIn Threads

    Wes: X Instagram Tiktok LinkedIn Threads

    Scott: X Instagram Tiktok LinkedIn Threads

    Randy: X Instagram YouTube Threads

    783: How We Built a Netflix Style “Save for Offline” Feature Into Syntax

    783: How We Built a Netflix Style “Save for Offline” Feature Into Syntax

    Scott and Wes dive into the world of browser caching for audio files, exploring the File System API and the Cache API. They discuss size restrictions across different browsers, how tools like Riverside.fm leverage IndexedDB, and walk through code examples for creating, retrieving, and managing cached audio data.

    Show Notes

    Hit us up on Socials!

    Syntax: X Instagram Tiktok LinkedIn Threads

    Wes: X Instagram Tiktok LinkedIn Threads

    Scott:X Instagram Tiktok LinkedIn Threads

    Randy: X Instagram YouTube Threads

    782: The Developer’s Guide To Fonts with Stephen Nixon

    782: The Developer’s Guide To Fonts with Stephen Nixon

    Scott and CJ are joined by Stephen Nixon of ArrowType to delve into the world of fonts and type for developers. They explore the intricacies of font creation, the utility of variable fonts, and offer tips for making visually appealing typography on the web.

    Show Notes

    Sick Picks

    Shameless Plugs

    Hit us up on Socials!

    Syntax: X Instagram Tiktok LinkedIn Threads

    Wes: X Instagram Tiktok LinkedIn Threads

    Scott:X Instagram Tiktok LinkedIn Threads

    Randy: X Instagram YouTube Threads

    781: Potluck - The Value of TypeScript × Vue vs Svelte × Leetcode

    781: Potluck - The Value of TypeScript × Vue vs Svelte × Leetcode

    In this potluck episode of Syntax, Scott and CJ serve up a variety of community questions, from the nuances of beginner vs. advanced TypeScript to the pros and cons of SvelteKit. They also discuss falling out of love with React, shipping private packages via NPM, and the eternal struggle of always starting but never finishing projects.

    Show Notes

    Sick Picks

    Shameless Plugs

    Hit us up on Socials!

    Syntax: X Instagram Tiktok LinkedIn Threads

    Wes: X Instagram Tiktok LinkedIn Threads

    Scott:X Instagram Tiktok LinkedIn Threads

    Randy: X Instagram YouTube Threads

    780: Cloud Storage: Bandwidth, Storage and BIG ZIPS

    780: Cloud Storage: Bandwidth, Storage and BIG ZIPS

    Today, Scott and Wes dive into cloud storage solutions—why you might need them, how they use them, and what you need to know about the big players, fees, and more.

    Show Notes

    Hit us up on Socials!

    Syntax: X Instagram Tiktok LinkedIn Threads

    Wes: X Instagram Tiktok LinkedIn Threads

    Scott:X Instagram Tiktok LinkedIn Threads

    Randy: X Instagram YouTube Threads

    Related Episodes

    134 - Compliance with Microsoft Purview

    134 - Compliance with Microsoft Purview

    (00:00) - Intro and catching up.
    (03:47) - Show content starts.

    Show links
    - Microsoft Purview renaming announcement (Microsoft Blog)
    - Microsoft Purview pricing (Microsoft)

    SPONSOR
    This episode is sponsored by ScriptRunner.
    ScriptRunner is a great solution to centrally manage PowerShell Scripts and standardize and automate IT tasks via a Graphical User Interface for helpdesk or end-users. Check it out on scriptrunner.com

    212 - Developing generative AI apps with AI-050

    212 - Developing generative AI apps with AI-050

    Earlier this year, Microsoft announced courseware and studying materials for Azure OpenAI. We look at this 1-day course and reflect on the content, who this course is best suited for, and what one should learn. Also, Jussi asks Tobi an unexpected question.

    (00:00) - Intro and catching up.
    (02:02) - Community highlights.
    (04:42) - Show content starts.

    Community Highlights
    - Uli Homann, CVP & Distinguished Architect at Microsoft: Deepening Well-Architected guidance for workloads hosted on Azure (microsoft.com)


    Show links
    - Course details: AI-050
    - Course Details: AI-102
    - Request access to AOAI: Limited access to Azure OpenAI Service - Azure AI services


    - Give us feedback!

    172 - Azure Updates

    172 - Azure Updates

    We take a frequent look at the recent Azure Updates. This week we found updates on the Chaos Studio, Logic Apps, Azure Load Testing and SQL Server, among others. Also, Jussi asks Tobi an unexpected question. This episode sponsored by Sovelto.

    (00:00) - Intro and catching up.
    (03:24) - Show content starts.

    Show links
    -
    Chaos studio - Public preview updates for January 2023
    - Ctrl+Alt+Azure | 108 - Controlled havoc with the Azure Chaos Studio
    - Public Preview: Container insights support for AKS hybrid clusters
    - Azure Active Directory (Azure AD) authentication for SQL Server overview - SQL Server
    - Using the Azure Load Testing Service (zimmergren.net)
    - Indirect Enterprise Agreement on Azure Cost Management and Billing
    - Azure Automation Visual Studio Code Extension
    - Azure Database for MySQL - Logic Apps and Power Automate Connector
    - Ctrl+Alt+Azure | 115 - We took the Azure Load Testing service for a spin

    SPONSOR
    This episode is sponsored by Sovelto.
    We at Sovelto support your personal growth, keep your Azure skills up to date and increase your market value. Learn or expire: sovelto.fi/pro