Free to be SRE — how to use generative AI to code, test and troubleshoot your systems
Luis Urena
Developer Relations Engineer
Salim Virji
SRE Technical Program Manager
Are you an SRE (or SysAdmin, DevOps Engineer or Systems Architect?) grappling with the ever-growing complexity of modern systems? Generative AI, including Google’s Gemini for developers, offers a toolkit that can help streamline your operational tasks and boost efficiency. To help you get started, here’s a curated list of resources that will help you gain a foundational understanding of generative AI concepts, so you can see how to leverage the technologies to enhance your operational efficiency as an SRE.
We recommend starting with the basics of generative AI and progressing to advanced techniques (including function calling and deterministic AI) through explanatory videos and a series of hands-on labs. Then, you’ll be ready to jump in and discover how generative AI can revolutionize your SRE workflow.
100-level content
-
Introduction to Generative AI Learning Path - This learning path provides an overview of generative AI concepts, from the fundamentals of large language models (LLMs) to responsible AI principles. You will learn what generative AI is, how it is used, and how it differs from traditional machine learning methods. Then, you’ll discover how to craft effective prompts, guide generative AI output, and apply Gemini models to real-world marketing scenarios. In the end, you’ll demonstrate skills in prompt engineering, image analysis, and multimodal generative techniques.
-
A Tour of Gemini Code Assist for Developers - Experience the power of Gemini Code Assist in a hands-on lab, and explore how AI collaboration can streamline your SRE development workflow. You'll get familiar with how to use Gemini Chat and inline code assistance to generate code, understand code and more.
200-level content
-
Supercharge your development workflow with Gemini Code Assist - In this codelab, you'll look at how Gemini Code Assist can support you across key stages of the Software Development Life Cycle (SDLC) like design, build & test and deploy, by building an API and application to search across sessions in a technical event. You’ll design and develop the entire application and deploy it on Google Cloud.
-
Introduction to testing with Gemini Code Assist - In this lab, you’ll master the art of testing with Gemini Code Assist. You’ll find and fix errors in an existing Python application, create comprehensive tests, and expand your application's functionality with AI-powered suggestions.
-
Codelab: Gemini to accelerate test driven development - Embrace Test Driven Development (TDD) with Gemini as your coding assistant, and learn how to rapidly build and test robust applications. Gemini will help accelerate the TDD cycle by generating test cases, suggesting code implementations, and even providing explanations of the code.
-
Writing Synthetic Monitoring Tests for your services using Gemini - Up to this point, you’ve learned how to build and test applications with Gemini’s assistance, but how can you ensure that your applications are resilient? Google Cloud’s Observability suite includes a Synthetic Monitoring feature that allows you to periodically issue simulated requests and then record whether those requests were successful. In this codelab, you will use Gemini's Help me Write feature in Synthetic Monitoring to author test cases that will validate a core service’s functionality!
-
Troubleshoot Application Errors with Gemini - In this lab, you'll use Gemini to troubleshoot a problem in a Cloud Functions deployment by analyzing error logs, identifying the root cause of the problem and finding how to fix it.
The future of SRE lies in the intelligent automation and insightful analysis that generative AI provides. By embracing the tools and techniques showcased in these resources, you'll be well on your way to becoming a more efficient, effective, and proactive SRE. Don't miss out on this opportunity to revolutionize your approach to site reliability engineering with the power of generative AI. Start exploring today and unlock a new era of operational excellence.