This is a one hour technical talk by @wescpy on serverless computing with Google Cloud (Platform). It starts with a review of all of cloud computing then dives into serverless computing, demonstrates multiple products, and shows inspirational examples of apps built using these technologies. There is a bonus section covering serverless in-practice featuring how to think about app development, common use cases, flexibility, best practices, and local dev & testing.
Powerful Google Cloud tools for your hack (2020)wesley chun
You may know Google for search, YouTube, Android, Chrome, and Gmail, but did you know Google has many other cloud services? This session takes hackathon participants on a deeper dive from the opening ceremony lightning intro. In this comprehensive yet still high-level overview of Google Cloud tools & APIs with the purpose of inspiring students for their hacks. We'll look closely at our serverless platforms & machine learning APIs, tools that have an immediate impact on projects, alleviating the need to think about computing infrastructure as well as dispensing with the need to have machine learning expertise. We'll wrap up w/online resources like videos & hands-on tutorials to get you started so you'll know what to do with those Cloud credits you got from MLH!
Image archive, analysis & report generation with Google Cloudwesley chun
Google Cloud provides a diverse array of services to realize the ambition of solving real business problems, like constrained resources. An image archive & analysis plus report generation use-case can be realized with just Google Workspace & GCP APIs. The principle of mixing-and-matching Google technologies is applicable to many other challenges faced by you, your organization, or your customers. These slides are from a half- to 1-hour presentation about this case study.
This is a one hour technical talk on serverless computing with Google Cloud (Platform). It starts with a review of all of cloud computing then dives into serverless computing, demonstrates multiple products, and shows inspirational examples of apps built using these technologies.
Designing flexible apps deployable to App Engine, Cloud Functions, or Cloud Runwesley chun
Many people ask, "Which one is better for me: App Engine, Cloud Functions, or Cloud Run?" To help you learn more about them, understand their differences, appropriate use cases, etc., why not deploy the same app to all 3? With this "test drive," you only need to make minor config changes between platforms. You'll also learn one of Google Cloud's AI/ML "building block" APIs as a bonus as the sample app is a simple "mini" Google Translate "MVP". This is a 45- 60-minute talk that reviews the Google Cloud serverless compute platforms then walks through the same app and its deployments. The code is maintained at https://github.com/googlecodelabs/cloud-nebulous-serverless-python
Google Cloud is an organization producing 2 well-know product groups, GCP & G Suite. Most think they don't go nor work well together. This 90-minute session busts that myth and exposes developers to some of the more well-known APIs from both GCP & G Suite as well as highlights several novel solutions that have already been built as sample apps but also serve as inspiration into what's possible. The goal is to show developers the potential of building with ALL of Google Cloud.
Exploring Google (Cloud) APIs & Cloud Computing overviewwesley chun
This is a 100-minute tech talk designed for developers to give a comprehensive overview of using Google APIs, primarily those from Google Cloud (G Suite and Google Cloud Platform)
Powerful Google Cloud tools for your hack (2020)wesley chun
You may know Google for search, YouTube, Android, Chrome, and Gmail, but did you know Google has many other cloud services? This session takes hackathon participants on a deeper dive from the opening ceremony lightning intro. In this comprehensive yet still high-level overview of Google Cloud tools & APIs with the purpose of inspiring students for their hacks. We'll look closely at our serverless platforms & machine learning APIs, tools that have an immediate impact on projects, alleviating the need to think about computing infrastructure as well as dispensing with the need to have machine learning expertise. We'll wrap up w/online resources like videos & hands-on tutorials to get you started so you'll know what to do with those Cloud credits you got from MLH!
Image archive, analysis & report generation with Google Cloudwesley chun
Google Cloud provides a diverse array of services to realize the ambition of solving real business problems, like constrained resources. An image archive & analysis plus report generation use-case can be realized with just Google Workspace & GCP APIs. The principle of mixing-and-matching Google technologies is applicable to many other challenges faced by you, your organization, or your customers. These slides are from a half- to 1-hour presentation about this case study.
This is a one hour technical talk on serverless computing with Google Cloud (Platform). It starts with a review of all of cloud computing then dives into serverless computing, demonstrates multiple products, and shows inspirational examples of apps built using these technologies.
Designing flexible apps deployable to App Engine, Cloud Functions, or Cloud Runwesley chun
Many people ask, "Which one is better for me: App Engine, Cloud Functions, or Cloud Run?" To help you learn more about them, understand their differences, appropriate use cases, etc., why not deploy the same app to all 3? With this "test drive," you only need to make minor config changes between platforms. You'll also learn one of Google Cloud's AI/ML "building block" APIs as a bonus as the sample app is a simple "mini" Google Translate "MVP". This is a 45- 60-minute talk that reviews the Google Cloud serverless compute platforms then walks through the same app and its deployments. The code is maintained at https://github.com/googlecodelabs/cloud-nebulous-serverless-python
Google Cloud is an organization producing 2 well-know product groups, GCP & G Suite. Most think they don't go nor work well together. This 90-minute session busts that myth and exposes developers to some of the more well-known APIs from both GCP & G Suite as well as highlights several novel solutions that have already been built as sample apps but also serve as inspiration into what's possible. The goal is to show developers the potential of building with ALL of Google Cloud.
Exploring Google (Cloud) APIs & Cloud Computing overviewwesley chun
This is a 100-minute tech talk designed for developers to give a comprehensive overview of using Google APIs, primarily those from Google Cloud (G Suite and Google Cloud Platform)
Powering your Apps via Google Cloud PlatformRomin Irani
Presentation at Google DevFest Ahmedabad, December 2014. This talk gives an overview of Google Cloud Platform and then goes into Cloud Endpoints and building out a simple IoT Project
This is a 1-hr tech talk designed for developers to give a comprehensive, vendor-agnostic overview of cloud computing, primarily targeting educators in the higher education market but is open to any developer. This is followed by an introduction to products in Google Cloud, focusing on the serverless products. The talk ends with several inspirational examples of what can be built with Google Cloud
How to Successfully Implement Headless DrupalAcquia
Decoupled or “Headless” Drupal is one of the hottest topics in the industry right now, but can it work? Tune in to EPAM’s webinar to learn how their Drupal team was able to integrate a decoupled Drupal backend with HTML 5/AngularJS to create a website and, using Phonegap, a one-of-a-kind hybrid app for both Android and iOS.
Team members Seth Gregory (Acquia MVP), Kris Graham, David Vespoli, and John Sutton will walk through a recent case study to highlight how headless Drupal can cut the tether on themes, integrate with custom frontend experiences, and handle a massive amount of content along the way.
From this webinar, attendees will learn:
- An effective strategy for implementing headless Drupal
- How to integrate headless Drupal with an HTML 5/AngularJS frontend to create native Android and iOS apps
- Lessons learned through a successful case study with US Conference of Catholic Bishops
Rapid Application Development on Google App Engine for JavaKunal Dabir
When you need to build and host web application as soon as possible with no cost involved and want no nonsense stuff to come in between, glide can come handy.
10 difference between aws and google cloud by Zareef AhmedZareef Ahmed
AWS is market leader in open cloud space but other players are making inroads into its market share. Google cloud is one of them. In this talk, we are going to cover 10 differences between Google Cloud and AWS. Major focus is on the features which covers common use cases. You can take this talk as stepping stone to understand another cloud service provider if you know one of them.
By Zareef Ahmed (https://www.zareef.com)
Presentation from Mumbai Tech Meetup on December 13, 2015. This deck presents various updates to the Google Cloud Platform in the last 6+ months. Covers : App Engine, Compute Engine, Cloud Vision API, Cloud Shell, Containers and more.
Un breve viaje por la concepción del Desarrollo de Aplicaciones Web desde el clásico patrón de Aplicaciones Web de Servidor con renderización en servidor e interactividad limitada en cliente a la reciente era de las Single Page Applications con renderización en cliente, foco en la interactividad y desacoplamiento del backend hasta llegar a los actuales patrones híbridos de renderización en cliente y servidor en busca de la mejor performance, la mejor experiencia de usuario y el mejor SEO.
This is a presentation on Google App Engine for Java given at Devfest 2009 in Buenos Aires Argentina on Nov 17, 2009 by Google Developer Advocate, Chris Schalk and Google Software Engineer, Ignacio Blanco.
Build Mobile Applications with Headless Drupal 8 - DrupalConAsia 2016Prateek Jain
This presentation talks about what is headless CMS and why Headless Drupal and then explains how one can go headless and build Front-end / Mobile Applications on Headless Drupal 8.
Firebase Adventures - Going above and beyond in RealtimeJuarez Filho
Firebase is a powerful platform to use on your projects, built in support for web or native apps. Features like: Realtime, user authentication, static hosting, mobile offline support, REST API, integrations with Zapier and much more.
After a tour talking about Firebase, this is the final version of </2015>. I hope you like it and wait for more in 2016.
Join Pantheon co-founder Josh Koenig to learn about decoupled WordPress: what it is, the benefits and pitfalls, and how to approach a decoupled project. Koenig will walk through a decoupled build using the WP-API, and registrants can ask questions after the session.
If you're a Drupal site builder, you've probably heard about how you can migrate your content into Drupal using the Migrate module. But you might have assumed that migrating content is the 'developer's job': a long and arduous task best avoided.
As site builders, we're often responsible for setting up the information architecture of a Drupal site, and testing that the content provided fits into this architecture. We start most Drupal projects by looking at content: What content needs to be displayed on the website? How does it need to be organized? What's the content strategy? Site builders often become content experts, and are in a great position to inform the migration process. By learning about the migration process, we can make better site building decisions.
This session will provide an introduction to Drupal's Migrate module for site builders. No experience developing modules required. We'll look at how to get your content into Drupal, from another Drupal site or from an external CSV file. We'll also see how to line up your migration with Drupal’s configuration components.
Powerful Google Cloud tools for your hackwesley chun
This 1-hour presentation is meant to give univeresity hackathoners a deeper yes still high-level overview of Google Cloud and its developer APIs with the purpose of inspiring students to consider these products for their hacks. It follows and dives deeper into the products introduced at the opening ceremony lightning talk. Of particular focus are the serverless and machine learning platforms & APIs... tools that have an immediate impact on projects, alleviating the need to manage VMs, operating systems, etc., as well as dispensing with the need to have expertise with machine learning.
Run your code serverlessly on Google's open cloudwesley chun
This is a half-hour technical seminar on Google support of the open source ecosystem, a quick high-level overview/review of cloud computing in general, and then focuses on serverless compute products in Google Cloud and how the platforms are more open than ever!
Powering your Apps via Google Cloud PlatformRomin Irani
Presentation at Google DevFest Ahmedabad, December 2014. This talk gives an overview of Google Cloud Platform and then goes into Cloud Endpoints and building out a simple IoT Project
This is a 1-hr tech talk designed for developers to give a comprehensive, vendor-agnostic overview of cloud computing, primarily targeting educators in the higher education market but is open to any developer. This is followed by an introduction to products in Google Cloud, focusing on the serverless products. The talk ends with several inspirational examples of what can be built with Google Cloud
How to Successfully Implement Headless DrupalAcquia
Decoupled or “Headless” Drupal is one of the hottest topics in the industry right now, but can it work? Tune in to EPAM’s webinar to learn how their Drupal team was able to integrate a decoupled Drupal backend with HTML 5/AngularJS to create a website and, using Phonegap, a one-of-a-kind hybrid app for both Android and iOS.
Team members Seth Gregory (Acquia MVP), Kris Graham, David Vespoli, and John Sutton will walk through a recent case study to highlight how headless Drupal can cut the tether on themes, integrate with custom frontend experiences, and handle a massive amount of content along the way.
From this webinar, attendees will learn:
- An effective strategy for implementing headless Drupal
- How to integrate headless Drupal with an HTML 5/AngularJS frontend to create native Android and iOS apps
- Lessons learned through a successful case study with US Conference of Catholic Bishops
Rapid Application Development on Google App Engine for JavaKunal Dabir
When you need to build and host web application as soon as possible with no cost involved and want no nonsense stuff to come in between, glide can come handy.
10 difference between aws and google cloud by Zareef AhmedZareef Ahmed
AWS is market leader in open cloud space but other players are making inroads into its market share. Google cloud is one of them. In this talk, we are going to cover 10 differences between Google Cloud and AWS. Major focus is on the features which covers common use cases. You can take this talk as stepping stone to understand another cloud service provider if you know one of them.
By Zareef Ahmed (https://www.zareef.com)
Presentation from Mumbai Tech Meetup on December 13, 2015. This deck presents various updates to the Google Cloud Platform in the last 6+ months. Covers : App Engine, Compute Engine, Cloud Vision API, Cloud Shell, Containers and more.
Un breve viaje por la concepción del Desarrollo de Aplicaciones Web desde el clásico patrón de Aplicaciones Web de Servidor con renderización en servidor e interactividad limitada en cliente a la reciente era de las Single Page Applications con renderización en cliente, foco en la interactividad y desacoplamiento del backend hasta llegar a los actuales patrones híbridos de renderización en cliente y servidor en busca de la mejor performance, la mejor experiencia de usuario y el mejor SEO.
This is a presentation on Google App Engine for Java given at Devfest 2009 in Buenos Aires Argentina on Nov 17, 2009 by Google Developer Advocate, Chris Schalk and Google Software Engineer, Ignacio Blanco.
Build Mobile Applications with Headless Drupal 8 - DrupalConAsia 2016Prateek Jain
This presentation talks about what is headless CMS and why Headless Drupal and then explains how one can go headless and build Front-end / Mobile Applications on Headless Drupal 8.
Firebase Adventures - Going above and beyond in RealtimeJuarez Filho
Firebase is a powerful platform to use on your projects, built in support for web or native apps. Features like: Realtime, user authentication, static hosting, mobile offline support, REST API, integrations with Zapier and much more.
After a tour talking about Firebase, this is the final version of </2015>. I hope you like it and wait for more in 2016.
Join Pantheon co-founder Josh Koenig to learn about decoupled WordPress: what it is, the benefits and pitfalls, and how to approach a decoupled project. Koenig will walk through a decoupled build using the WP-API, and registrants can ask questions after the session.
If you're a Drupal site builder, you've probably heard about how you can migrate your content into Drupal using the Migrate module. But you might have assumed that migrating content is the 'developer's job': a long and arduous task best avoided.
As site builders, we're often responsible for setting up the information architecture of a Drupal site, and testing that the content provided fits into this architecture. We start most Drupal projects by looking at content: What content needs to be displayed on the website? How does it need to be organized? What's the content strategy? Site builders often become content experts, and are in a great position to inform the migration process. By learning about the migration process, we can make better site building decisions.
This session will provide an introduction to Drupal's Migrate module for site builders. No experience developing modules required. We'll look at how to get your content into Drupal, from another Drupal site or from an external CSV file. We'll also see how to line up your migration with Drupal’s configuration components.
Powerful Google Cloud tools for your hackwesley chun
This 1-hour presentation is meant to give univeresity hackathoners a deeper yes still high-level overview of Google Cloud and its developer APIs with the purpose of inspiring students to consider these products for their hacks. It follows and dives deeper into the products introduced at the opening ceremony lightning talk. Of particular focus are the serverless and machine learning platforms & APIs... tools that have an immediate impact on projects, alleviating the need to manage VMs, operating systems, etc., as well as dispensing with the need to have expertise with machine learning.
Run your code serverlessly on Google's open cloudwesley chun
This is a half-hour technical seminar on Google support of the open source ecosystem, a quick high-level overview/review of cloud computing in general, and then focuses on serverless compute products in Google Cloud and how the platforms are more open than ever!
Half-hour tech talk given at user groups or technical conferences to introducing developers to integrating with Google (Cloud) APIs from Python .
ABSTRACT
Want to integrate Google technologies into the web+mobile apps that you build? Google has various open source libraries & developer tools that help you do exactly that. Users who have run into roadblocks like authentication or found our APIs confusing/challenging, are welcome to come and make these non-issues moving forward. Learn how to leverage the power of Google technologies in the next apps you build!!
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
This presentations targets students or working professionals. You may know Google for search, YouTube, Android, Chrome, and Gmail, but did you know Google has many developer tools, platforms & APIs? This comprehensive yet still high-level overview outlines the most impactful tools for where to run your code, store & analyze your data. It will also inspire you as to what's possible. This talk is 50 minutes in length.
Google's serverless journey: past to presentwesley chun
Serverless, shorthand for "opinionated logic-hosting containers," continues on its sky-high trajectory. New features and products are continually being produced by vendors, all with developer focus and DevOps convenience in mind. Google has been in the serverless business long before the term even existed. In this high-level overview, we'll take you on a tour of our serverless journey, the products, use-cases, and target audiences, from the first step to the most recent, taken earlier this year at Cloud NEXT '19.
This is a half-hour technical talk on serverless computing with Python featuring products from the Google Cloud Platform. It starts with a review of all of cloud computing then dives into serverless computing, demonstrates multiple products, then shows inspirational examples of apps built using these technologies.
Introduction to serverless computing on Google Cloudwesley chun
This is a 15-20 minute tech talk designed for those who wish to get a broad high-level introduction to serverless computing. Tech featured includes Google App Engine, Google Cloud Functions, and Google Apps Script.
Powerful Google developer tools for immediate impact! (2023-24 A)wesley chun
This is one of two 45-60-min presentations to students or working professionals. You may know Google for search, YouTube, Android, Chrome, and Gmail, but did you know Google has many other cloud services? In this comprehensive yet still high-level overview of Google Cloud tools & APIs with the purpose of inspiring you as to what's possible. The session introduces Google's machine learning & other APIs, tools that have an immediate impact on projects, alleviating the need to think about computing infrastructure as well as dispensing with the need to have machine learning expertise. We'll wrap up w/online resources like videos & hands-on tutorials to get you started! The main takeaways are where to run your code, store your data, and analyze your data, all in the cloud!
The other version of this talk ("B") focuses more on serverless platforms.
How Google Cloud Platform can help in the classroom/labwesley chun
This is a 90-min tech talk along with hands-on exercises gives a comprehensive, vendor-agnostic overview of cloud computing, primarily targeting educators in the higher education market but is open to any developer. This is followed by an introduction to products in Google Cloud Platform, focusing on its serverless and machine learning products. .
Powerful Google developer tools for immediate impact! (2023-24 B)wesley chun
This is one of two presentations to students or working professionals. You may know Google for search, YouTube, Android, Chrome, and Gmail, but did you know Google has many other cloud services? In this comprehensive yet still high-level overview of Google Cloud tools & APIs with the purpose of inspiring you as to what's possible. The session introduces Google's serverless platforms and machine learning & other APIs, tools that have an immediate impact on projects, alleviating the need to think about computing infrastructure as well as dispensing with the need to have machine learning expertise. We'll wrap up w/online resources like videos & hands-on tutorials to get you started! The main takeaways are where to run your code, store your data, and analyze your data, all in the cloud!
This talk is 1-hr in length.
The other version of this talk ("A") is an 45-mins long and focuses more on APIs platforms.
30-45-min tech talk given at user groups or technical conferences to introducing developers to integrating with Google APIs from Python .
ABSTRACT
Want to integrate Google technologies into the web+mobile apps that you build? Google has various open source libraries & developer tools that help you do exactly that. Users who have run into roadblocks like authentication or found our APIs confusing/challenging, are welcome to come and make these non-issues moving forward. Learn how to leverage the power of Google technologies in the next apps you build!!
These slides are made for the 2013 DevFest talks. It covers the main blocks of Google cloud platform: App engine, Compute Engine, storage options and more.
You may know Google for search, YouTube, Android, Chrome, and Gmail, but that's only as an end-user of OUR apps. Did you know you can also integrate Google technologies into YOUR apps? We have many APIs and open source libraries that help you do that! If you have tried and found it challenging, didn't find not enough examples, run into roadblocks, got confused, or just curious about what Google APIs can offer, join us to resolve any blockers. Code samples will be in Python and/or Node.js/JavaScript. This session focuses on showing you how to access Google Cloud APIs from one of Google Cloud's compute platforms, whether serverless or otherwise.
Cloud computing overview & Technical intro to Google Cloudwesley chun
This is a 60-min tech talk designed for developers to give a comprehensive, vendor-agnostic overview of cloud computing. This is followed by an introduction to products in Google Cloud, focusing on the serverless & machine learningproducts. The talk ends with several inspirational examples of what can be built with Google Cloud
Cloud computing overview & running your code on Google Cloudwesley chun
This is a half-hr tech talk designed for developers to give a comprehensive, vendor-agnostic overview of cloud computing, primarily targeting educators in the higher education market but is open to any developer. This is followed by an introduction to products in Google Cloud, focusing on the serverless products. The talk ends with several inspirational examples of what can be built with Google Cloud
This is a half-hour technical talk on serverless computing with Google Cloud (Platform). It starts with a review of all of cloud computing then dives into serverless computing, demonstrates multiple products, and shows inspirational examples of apps built using these technologies.
Hackathon opening ceremony 2-5 minute lightning talk introducing Google Cloud tools that students can use for their hacks, whetting their appetites for a more detailed longer tech talk later.
Cloud computing overview & running your code on Google Cloud (Jun 2019)wesley chun
This is a 1-hr tech talk designed for developers to give a comprehensive, vendor-agnostic overview of cloud computing, primarily targeting educators in the higher education market but is open to any developer. This is followed by an introduction to products in Google Cloud, focusing on the serverless products. The talk ends with several inspirational examples of what can be built with Google Cloud.
Introduction to Cloud Computing with Google Cloudwesley chun
This is a 20-30 minute technical talk introducing developers to cloud computing including an overview of Google Cloud computing products. There is a special focus on serverless tools as a convenient way for developers to run code. The talk ends with several inspirational apps showcasing what is possible with Google Cloud tools meant to plant a seed as to consider what is possible.
This is a 45-min technical talk on serverless computing with Python featuring products from the Google Cloud. It starts with a review of all of cloud computing then dives into serverless computing, demonstrates multiple products, then shows inspirational examples of apps built using these technologies.
Similar to Serverless computing with Google Cloud (20)
Easy path to machine learning (2023-2024)wesley chun
1-hr tech talk introducing Machine Learning and the GCP ML APIs and other Google Cloud developer tools to a technical audience:
Easier onramp to getting into AI/ML by using GCP AI/ML APIs (Vision, Video Intelligence, Natural Language, Speech-to-Text, Text-to-Speech, Translation) backed by single-task pre-trained models found in Vertex AI, AutoML for finetuning those pre-trained models, and other "friends of AI/ML" Google dev tools & platforms that can help: BigQuery (data warehouse & analysis), Cloud SQL+AlloyDB & Firestore (SQL & NoSQL databases), serverless platforms (App Engine, Cloud Functions, Cloud Run), and introducing the Gemini API (from both Google AI and GCP Vertex AI)
Serverless computing with Google Cloud (2023-24)wesley chun
This is a half-hour technical talk on serverless computing with Google Cloud (Platform). It starts with a review of all of cloud computing then dives into serverless computing, demonstrates multiple products, and shows inspirational examples of apps built using these technologies.
Build an AI/ML-driven image archive processing workflow: Image archive, analy...wesley chun
Google provides a diverse array of services to realize the ambition of solving real business problems, like constrained resources. An image archive & analysis plus report generation use-case can be realized with just GWS (Google Workspace) & GCP (Google Cloud) APIs. The principle of mixing-and-matching Google technologies is applicable to many other challenges faced by you, your organization, or your customers. These slides are from the half-hour presentation about this case study.
Exploring Google APIs 102: Cloud vs. non-GCP Google APIswesley chun
As a follow-up to his "Exploring Google APIs" talk in 2019 (https://www.youtube.com/watch?v=ri8Bfptgo9Q) on Google APIs and running code on Google Cloud, tech consultant Wesley Chun dives deeper into using the REST APIs available for many Google services, Cloud and otherwise. While developers should expect a common user experience across all Google APIs, this isn't the case, so Wesley, who has spent 13+ years working on different Google API teams, will walk you through the differences you need to know if any of your current or future projects plan on using any Google API, esp. Cloud vs. non-GCP Google APIs. Two of the key topics in this session include an overview of the different client libraries available as well as what's required for authorizing your app's access to Google APIs. Knowledge of accessing APIs from Python or Javascript may be helpful but not necessary.
This is an inspirational lightning talk on how developers can take on the future with Google Cloud and other non-Cloud Google tools. It presents various application ideas that are meant to both inspire what's possible as well as show what some of those tools could be.
Exploring Google (Cloud) APIs with Python & JavaScriptwesley chun
Half-hour tech talk given at user groups or technical conferences to introducing developers to integrating with Google (Cloud) APIs from Python or JavaScript.
ABSTRACT
Want to integrate Google technologies into the web+mobile apps that you build? Google has various open source libraries & developer tools that help you do exactly that. Users who have run into roadblocks like authentication or found our APIs confusing/challenging, are welcome to come and make these non-issues moving forward. Learn how to leverage the power of Google technologies in the next apps you build!!
The Metaverse and AI: how can decision-makers harness the Metaverse for their...Jen Stirrup
The Metaverse is popularized in science fiction, and now it is becoming closer to being a part of our daily lives through the use of social media and shopping companies. How can businesses survive in a world where Artificial Intelligence is becoming the present as well as the future of technology, and how does the Metaverse fit into business strategy when futurist ideas are developing into reality at accelerated rates? How do we do this when our data isn't up to scratch? How can we move towards success with our data so we are set up for the Metaverse when it arrives?
How can you help your company evolve, adapt, and succeed using Artificial Intelligence and the Metaverse to stay ahead of the competition? What are the potential issues, complications, and benefits that these technologies could bring to us and our organizations? In this session, Jen Stirrup will explain how to start thinking about these technologies as an organisation.
Removing Uninteresting Bytes in Software FuzzingAftab Hussain
Imagine a world where software fuzzing, the process of mutating bytes in test seeds to uncover hidden and erroneous program behaviors, becomes faster and more effective. A lot depends on the initial seeds, which can significantly dictate the trajectory of a fuzzing campaign, particularly in terms of how long it takes to uncover interesting behaviour in your code. We introduce DIAR, a technique designed to speedup fuzzing campaigns by pinpointing and eliminating those uninteresting bytes in the seeds. Picture this: instead of wasting valuable resources on meaningless mutations in large, bloated seeds, DIAR removes the unnecessary bytes, streamlining the entire process.
In this work, we equipped AFL, a popular fuzzer, with DIAR and examined two critical Linux libraries -- Libxml's xmllint, a tool for parsing xml documents, and Binutil's readelf, an essential debugging and security analysis command-line tool used to display detailed information about ELF (Executable and Linkable Format). Our preliminary results show that AFL+DIAR does not only discover new paths more quickly but also achieves higher coverage overall. This work thus showcases how starting with lean and optimized seeds can lead to faster, more comprehensive fuzzing campaigns -- and DIAR helps you find such seeds.
- These are slides of the talk given at IEEE International Conference on Software Testing Verification and Validation Workshop, ICSTW 2022.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Climate Impact of Software Testing at Nordic Testing DaysKari Kakkonen
My slides at Nordic Testing Days 6.6.2024
Climate impact / sustainability of software testing discussed on the talk. ICT and testing must carry their part of global responsibility to help with the climat warming. We can minimize the carbon footprint but we can also have a carbon handprint, a positive impact on the climate. Quality characteristics can be added with sustainability, and then measured continuously. Test environments can be used less, and in smaller scale and on demand. Test techniques can be used in optimizing or minimizing number of tests. Test automation can be used to speed up testing.
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionAggregage
Join Maher Hanafi, VP of Engineering at Betterworks, in this new session where he'll share a practical framework to transform Gen AI prototypes into impactful products! He'll delve into the complexities of data collection and management, model selection and optimization, and ensuring security, scalability, and responsible use.
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™UiPathCommunity
In questo evento online gratuito, organizzato dalla Community Italiana di UiPath, potrai esplorare le nuove funzionalità di Autopilot, il tool che integra l'Intelligenza Artificiale nei processi di sviluppo e utilizzo delle Automazioni.
📕 Vedremo insieme alcuni esempi dell'utilizzo di Autopilot in diversi tool della Suite UiPath:
Autopilot per Studio Web
Autopilot per Studio
Autopilot per Apps
Clipboard AI
GenAI applicata alla Document Understanding
👨🏫👨💻 Speakers:
Stefano Negro, UiPath MVPx3, RPA Tech Lead @ BSP Consultant
Flavio Martinelli, UiPath MVP 2023, Technical Account Manager @UiPath
Andrei Tasca, RPA Solutions Team Lead @NTT Data
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfPeter Spielvogel
Building better applications for business users with SAP Fiori.
• What is SAP Fiori and why it matters to you
• How a better user experience drives measurable business benefits
• How to get started with SAP Fiori today
• How SAP Fiori elements accelerates application development
• How SAP Build Code includes SAP Fiori tools and other generative artificial intelligence capabilities
• How SAP Fiori paves the way for using AI in SAP apps
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Serverless computing with Google Cloud
1. Serverless computing
with Google Cloud
Wesley Chun - @wescpy
Developer Advocate, Google
Developer Advocate, Google Cloud
● Mission: enable current and future
developers everywhere to be
successful using Google Cloud and
other Google developer tools & APIs
● Focus: GCP serverless (App Engine,
Cloud Functions, Cloud Run); higher
education, Google Workspace, GCP
AI/ML APIs; multi-product use cases
● Content: speak to developers globally;
make videos, create code samples,
produce codelabs (free, self-paced,
hands-on tutorials), publish blog posts
About the speaker
Previous experience / background
● Software engineer & architect for 20+ years
○ Yahoo!, Sun, HP, Cisco, EMC, Xilinx
○ Original Yahoo!Mail engineer/SWE
● Technical trainer, teacher, instructor
○ Taught Math, Linux, Python since 1983
○ Private corporate trainer
○ Adjunct CS Faculty at local SV college
● Python community member
○ Popular Core Python series author
○ Python Software Foundation Fellow
● AB (Math/CS) & CMP (Music/Piano), UC
Berkeley and MSCS, UC Santa Barbara
● Adjunct Computer Science Faculty, Foothill
College (Silicon Valley)
2. Serverless: why & agenda
1
Cloud computing
review
2
Introduction to
Google Cloud
3
Serverless
platforms
4
Inspiration
5
Summary
● Cloud computing has taken industry by storm (all?)
● App modernization top priority at many enterprises
○ Containerizing apps, getting them on VMs, moving to the cloud
● We can give you lots of VMs & big disk, but why serverless?
○ Serverless lets you focus on your solutions not what they run on
● Help prep next-generation (cloud-ready) workforce
01
Cloud computing
review
All you need to know about the
cloud
3. What is cloud computing?
spar
Google Compute Engine, Google Cloud Storage
AWS EC2 & S3; Rackspace; Joyent
Cloud service levels/"pillars"
SaaS
Software as a Service
PaaS
Platform as a Service
IaaS
Infrastructure as a Service
Google BigQuery, Cloud SQL,
Cloud Datastore, NL, Vision, Pub/Sub
AWS Kinesis, RDS; Windows Azure SQL, Docker
Google Apps Script
Salesforce1/force.com
Google Workspace (was G Suite/Google Apps)
Yahoo!Mail, Hotmail, Salesforce, Netsuite, Office 365
Google App Engine, Cloud Functions
Heroku, Cloud Foundry, Engine Yard, AWS Lambda
4. Summary of responsibility
SaaS
Software as a Service
Applications
Data
Runtime
Middleware
OS
Virtualization
Servers
Storage
Networking
Applications
Data
Runtime
Middleware
OS
Virtualization
Servers
Storage
Networking
IaaS
Infrastructure as a Service
Applications
Data
Runtime
Middleware
OS
Virtualization
Servers
Storage
Networking
PaaS
Platform as a Service
Managed by YOU Managed by cloud vendor
Applications
Data
Runtime
Middleware
OS
Virtualization
Servers
Storage
Networking
on-prem
all you, no cloud
02
Introduction to
Google Cloud
GCP & Google Workspace
(formerly G Suite & Google Apps)
6. formerly
( )
Google Workspace
Top-level documentation and comprehensive developers
overview video at developers.google.com/gsuite
(formerly G Suite and Google Apps)
APIs
7. Google Compute Engine, Google Cloud Storage
AWS EC2 & S3; Rackspace; Joyent
SaaS
Software as a Service
PaaS
Platform as a Service
IaaS
Infrastructure as a Service
Google Apps Script
Salesforce1/force.com
Google Workspace (was G Suite/Google Apps)
Yahoo!Mail, Hotmail, Salesforce, Netsuite, Office 365
Google App Engine, Cloud Functions
Heroku, Cloud Foundry, Engine Yard, AWS Lambda
Google BigQuery, Cloud SQL,
Cloud Datastore, NL, Vision, Pub/Sub
AWS Kinesis, RDS; Windows Azure SQL, Docker
Google Cloud Platform vs. Google Workspace
Workspace
APIs
GCP
APIs
cloud.google.com/hosting-options#hosting-options
GCP compute option spectrum
Compute
Engine
Kubernetes
Engine (GKE)
Cloud Run
on Anthos
Cloud Run
(fully-mgd)
App Engine
(Flexible)
App Engine
(Standard)
Cloud
Functions
8. 03
Google Cloud
serverless compute
GCP and Google Workspace
(formerly G Suite & Google Apps)
> Google Compute Engine configurable
VMs of all shapes & sizes, from
"micro" to 416 vCPUs, 11.776 TB
RAM, 256 TB HDD/SSD plus Google
Cloud Storage for data lake "blobs"
(Debian, CentOS, CoreOS, SUSE, Red Hat Enterprise Linux,
Ubuntu, FreeBSD; Windows Server 2008 R2, 2012 R2, 2016, 1803,
1809, 1903/2019, 1909)
cloud.google.com/compute
cloud.google.com/storage
Yeah, we got VMs & big disk… but why*?
9. Serverless: what & why
● What is serverless?
○ Misnomer (a "PMM") :-)
○ "No worries"
○ Developers focus on writing code & solving business problems*
● Why serverless?
○ Fastest growing segment of cloud... per analyst research*:
■ $1.9B (2016) and $4.25B (2018) ⇒ $7.7B (2021) and $14.93B (2023)
○ What if you go viral? Autoscaling: your new best friend
○ What if you don't? Code not running? You're not paying.
* in USD; source:Forbes (May 2018), MarketsandMarkets™ & CB Insights (Aug 2018)
Google Compute Engine, Google Cloud Storage
AWS EC2 & S3; Rackspace; Joyent
SaaS
Software as a Service
PaaS
Platform as a Service
IaaS
Infrastructure as a Service
Google Workspace (was G Suite/Google Apps)
Yahoo!Mail, Hotmail, Salesforce, Netsuite, Office 365
Google App Engine, Cloud Functions
Heroku, Cloud Foundry, Engine Yard, AWS Lambda
Google BigQuery, Cloud SQL,
Cloud Datastore, NL, Vision, Pub/Sub
AWS Kinesis, RDS; Windows Azure SQL, Docker
Serverless: PaaS-y compute/processing
Google Apps Script
Salesforce1/force.com
10. Google App Engine
App-hosting in the cloud
Why does App Engine exist?
● Focus on app not DevOps
○ Web app
○ Mobile backend
○ Cloud service
● Enhance productivity
● Deploy globally
● Fully-managed
● Auto-scaling
● Pay-per-use
● Familiar languages
● Test w/local dev server
11. Hello World (Python "MVP")
app.yaml
runtime: python38
main.py
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello():
return 'Hello World!'
requirements.txt
Flask>=1.1.2
Deploy:
$ gcloud app deploy
Access globally:
PROJECT_ID.appspot.com
cloud.google.com/appengine/docs/standard/python3/quickstart
Not all apps user-facing or web-based!!
● Need backend processing? Want to build your own?
● No UI required... just need HTTP
● Optimal for user info (high scores, contacts, levels/badges, etc.)
● Better UI: move user data off phone so it's universally available
12. Popular App Engine Use Cases
● Mobile/Tablet
○ App backends
○ Cloud persistence
● Social/Mobile Games
○ Speed, scale
○ API integrations
○ Personals/dating
● Consumer Web Apps
○ Unpredictable traffic
○ Scale (up or down)
● Apps in Academia
○ Any course where students
build web or mobile apps
○ Research projects
○ IT/Operational apps
● Business Apps
○ Enterprise
○ Java runtime
○ IT/Operational apps
○ Web or Mobile
App Engine: product update
● Original App Engine runtimes execute on legacy platform (2008-today)
○ Platform comes with bundled services
○ Runtimes: Python 2.7, Java 8, Go 1.11, PHP 5 (all community-deprecated)
○ Google Cloud committed to supporting them long-term
● 2nd generation service supports newer runtimes (2018-today)
○ Platform no longer has bundled services
○ Runtimes: Python 3.7+, Java 11, Go 1.12+, PHP 7, Node.js 10+, Ruby 2.5+
○ Less restrictions, richer/fuller, more idiomatic developer experience
● "Copying"/self-bundling 3P libraries requirement lifted
● No more proprietary services means apps more portable, less lock-in
● Opens door to more options: GAE, GCF, GCR; GKE, GCE; on-prem
13. Google Cloud Functions
Function-hosting in the cloud
Why does Cloud Functions exist?
● Don't have entire app?
○ No framework "overhead" (LAMP, MEAN...)
○ Deploy microservices
● Event-driven
○ Triggered via HTTP or background events
■ Pub/Sub, Cloud Storage, Firebase, etc.
○ Auto-scaling & highly-available; pay per use
● Flexible development environment
○ Cmd-line or developer console (in-browser)
○ Develop/test locally with Functions Framework
● Cloud Functions for Firebase
○ Mobile app use-cases
● Available runtimes
○ JS/Node.js 8, 10, 12, 14
○ Python 3.7, 3.8, 3.9
○ Go 1.11, 1.13
○ Java 11
○ Ruby 2.6, 2.7
○ .NET Core 3.1
14. main.py
def hello_world(request):
return 'Hello World!'
Deploy:
$ gcloud functions deploy hello --runtime python38 --trigger-http
Access globally (curl):
$ curl REGION-PROJECT_ID.cloudfunctions.net/hello
Access globally (browser):
https://REGION-PROJECT_ID.cloudfunctions.net/hello
Hello World (Python "MVP")
cloud.google.com/functions/docs/quickstart-python
Google Cloud Run
Container-hosting in the cloud
15. The rise of containers... ● Any language
● Any library
● Any binary
● Ecosystem of base images
● Industry standard
FLEXIBILITY
“We can’t be locked in.”
“How can we use
existing binaries?”
“Why do I have to choose between
containers and serverless?”
“Can you support language _______ ?”
Serverless inaccessible for some...
CONVENIENCE
16. Cloud Run: code, build, deploy
.js .rb .go
.sh
.py ...
● Any language, library, binary
○ HTTP port, stateless
● Bundle into container
○ Build w/Docker OR
○ Google Cloud Build
○ Image ⇒ Container Registry
● Deploy to Cloud Run (managed or GKE)
● GitOps: (CI/)CD Push-to-deploy from Git
State
HTTP
Hello World (Python "MVP")
main.py
import os
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
return 'Hello World!'
if __name__ == '__main__':
app.run(debug=True, host='0.0.0.0', port=int(os.environ.get('PORT', 8080)))
cloud.google.com/run/docs/quickstarts/build-and-deploy
requirements.txt
Flask==1.1.2
17. Hello World (Python "MVP")
Dockerfile
FROM python:3-slim
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
CMD ["python", "main.py"]
.dockerignore
Dockerfile
README.md
*.pyc
*.pyo
.git/
__pycache__
Build (think docker build and docker push) then deploy (think docker run):
$ gcloud builds submit --tag gcr.io/PROJ_ID/IMG_NAME
$ gcloud run deploy SVC_NAME --image gcr.io/PROJ_ID/IMG_NAME
OR… Build and Deploy (1-line combination of above commands):
$ gcloud run deploy SVC_NAME --source .
Access globally:
SVC_NAME-HASH-REG_ABBR.a.run.app
Docker &
Dockerfile
OPTIONAL!!
● Build containers easily & securely without creating/managing Dockerfiles
● Open source, open standard; based on CNCF Buildpacks spec v3
● Used by GCF Functions Framework to deploy locally-developed functions
● Supports most common development tools
○ Go 1.10+
○ Node.js 10+
○ Python 3.7+
○ Java 8 & 11
○ .NET Core 3.1+
● Blog posts
○ cloud.google.com/blog/products/containers-kubernetes/google-cloud-now-supports-buildpacks and
cloud.google.com/blog/products/serverless/build-and-deploy-an-app-to-cloud-run-with-a-single-command
Deploy to Cloud Run with Buildpacks
github.com/GoogleCloudPlatform/buildpacks
$ ls
index.js package.json
$ gcloud run deploy myapp --source .
$ ls
app.py requirements.txt
$ gcloud run deploy myapp --source .
18. Google Apps Script
Customized serverless JS runtime for automation, and extension
and integration with Google Workspace (formerly G Suite) and
other Google & external services
“Hello World!” in Apps Script
20. Accessing maps from
spreadsheets?!?
goo.gl/oAzBN9
This… with help from Google Maps & Gmail
function sendMap() {
var sheet = SpreadsheetApp.getActiveSheet();
var address = sheet.getRange("A2").getValue();
var map = Maps.newStaticMap().addMarker(address);
GmailApp.sendEmail('friend@example.com', 'Map',
'See below.', {attachments:[map]});
}
JS
g.co/codelabs/apps-script-intro
21. 04
In-practice
Use cases, nebulousness &
flexibility, best practices,
local development & testing
Serverless common use cases App Engine Cloud Run
Cloud
Functions
Web services
Web app hosting/custom domains ✓ ✓
HTTP services ✓ ✓ ✓
Container hosting ✓
APIs
Web & mobile backends ✓ ✓
Internal APIs and services ✓ ✓
Data processing ✓ ✓
Automation
Workflow & orchestration ✓ ✓
Event-driven automation ✓ ✓
Common use cases
22. Flexibility in options
Cloud
Functions
App
Engine
Cloud
Run
local
server
Cloud
Translation
My "Google Translate" MVP
goo.gle/2Y0ph5q
● "Nebulous" sample web app
○ Flask/Python app
○ Python 2 & 3 compatible
○ Uses Cloud Translation API
● Deployable to on-prem server
● Also GCP serverless compute
○ App Engine
○ Cloud Functions
○ Cloud Run
● With only config changes
● No changes to app code
Serverless best practices
● Use the right tool for the job (GAE, GCF, or GCR)
● One top priority: latency
○ SOA demands fast response from components
● Second top priority: architecture
○ Breakup larger computing into components
○ Microservices, each with low latency
○ Uncouple components keeping state
23. BPs: Tools (know your platforms)
● Google App Engine — gives users the ability to deploy
source-based web applications or mobile backends to the cloud
without the concerns of servers or autoscaling (PaaS).
● Cloud Functions — for scenarios where you may not have an
entire app; great for microservices, one-off utilities, or event-driven
functions (FaaS/PaaS).
● Cloud Run — provides the flexibility of containers (any language,
library, binary) along with the convenience of serverless; use with
Docker or "containerless" with Cloud Buildpacks. (CaaS)
BPs: Latency
● Keep responses as short as possible (say <250ms)
○ Can't respond immediately? Split out longer jobs
○ Cloud Tasks, Cloud Pub/Sub, Cloud Scheduler (cron)
● Cache common objects, queries, output, etc.
○ Avoid repeated compute or database fetches
○ App Engine Memcache, Cloud Memorystore (Redis)
● Profile your code to find (and remove) bottlenecks
○ Cloud Profiler, Cloud Trace: low overhead insightful tools
● Consider moving some processing to client-side
○ Firebase/Cloud Firestore security rules, use edge-cache JS libs
24. BPs: More on latency
● Pagespeed tools to analyze & optimize your web apps
○ developers.google.com/speed
● How to think about speed tools
○ developers.google.com/web/fundamentals/performance/speed-tools
● Why speed matters post
○ web.dev/why-speed-matters
● 250ms too general? More specifics:
○ developers.google.com/speed/docs/insights/v5/about#categories
BPs: Still more on latency
● What about non-UI workloads > 250ms?
○ App Engine autoscaling timeout: 1 min (Gen1), 10 mins (Gen2)
○ App Engine basic & manual scaling timeout: 24 hrs (Gen1/Gen2)
○ GAE cron & task queue timeout: 10 mins (Gen1-AS), 24 hrs (Gen1-B/MS)
○ Cloud Tasks HTTP targets: 10 mins (default), 30 mins (max); App Engine
(Gen2) targets: same as GAE Std Gen1 task queue timeouts (10m/24h)
○ Cloud Scheduler HTTP targets: from 15 secs to 30 mins, App Engine
targets: from 15 secs to 24 hrs
○ Cloud Functions extended timeout: 1 min (default), 9 mins (max)
○ Cloud Run extended timeout: 5 mins (default), 1 hr (max)
○ Cloud Run Jobs (preview): tasks (1 hr each), jobs (>=1 tasks): 24 hrs
25. BPs: Architecture
● Going "stateless" is key
○ Get a request, perform a service, then return response
● Cache common objects, queries, output, etc.
○ Cache sessions elsewhere (cache, not in app); framework-provided?
○ Use database external to app (Cloud Datastore/Firestore; Cloud SQL)
● Breakup monoliths into multiple microservices
○ Loosely-coupled code elements; shared caching & database
● Change monitoring scenery
○ Focus on user, business, app metrics; not HW (CPU, RAM) or networking
BPs: More on stateless (architecture)
● Going "stateless" may be a large architectural change
○ Requires somewhat of a "mental reset"
● Receiving duplicate or retry requests? Logic should be idempotent.
○ This means neither side effects nor data corruption
○ What about job interruption and restarts? Same thing.
● Create repeatable logic exhibiting same behavior for given set of input
regardless of how often repeated
○ Save output to different location than input, leaving input data intact
○ If job runs again, should result in identical processing & same output
26. BPs: Even more on stateless
● Create unique ID for output to confirm work completed & avoid duplication
○ Duplicate data represents "collection-level" corruption; downstream
systems possibly affected if they assume unique records
● When/where possible, checkpoint long-running jobs, so…
○ Periodically write partial results to persistent storage, e.g., DB, GCS, etc.
○ Failure restarts/retries can pick up where it left off (vs. from beginning)
○ Speeds up jobs and minimizes unnecessary costs
● Consider breaking-up larger workloads
○ Especially those large enough not easily "checkpointable"
○ Creates smaller tasks more likely to complete (granted more tasks)
BPs: Development
● Prototype rapidly
○ Use favorite language and get something up-and-going
○ Serverless platforms each come w/default service accounts
○ When ready for production, switch to user-managed service accounts
○ Follows best practice of "least privileges"
● Create separate projects for dev, test, stage, and prod
○ Helps keep developers, testers, operators isolated to own sandbox
○ Can share via IAM roles/permissions (shared buckets, databases, etc.)
● Local development and testing
○ Running locally tests functionality, not scaling
○ Typically can use local web framework server, SDK, or Docker
27. BPs: Local development/testing
● App Engine — local or framework devserver
○ Local devserver (Gen1 or Gen2) and local unit testing (Gen1)
○ Testing and deploying your application: running locally (Gen2)
● Cloud Functions — Functions Framework
○ Functions Framework (local dev/testing; bundle function for Cloud Run)
○ Cloud Functions local development
○ Cloud Functions testing overview
○ Codelab: Local development with Cloud Functions (Node.js) using VSC
● Cloud Run — run Docker containers locally
○ Testing a Cloud Run service locally
○ Tutorial: Local troubleshooting of a Cloud Run service
BPs: Local testing Cloud emulators
● Cloud Datastore
○ Datastore emulator (non-App Engine or App Engine [Gen2])
○ App Engine Datastore emulator (Gen1 [or Gen2]; migrate to above)
● Firebase/Cloud Firestore
○ Firebase Emulator Suite (multiple product emulators; unit testing video)
○ Cloud Firestore emulator (w/in Firebase Emulator Suite; ex: React Native)
○ Cloud Storage emulator (w/in Firebase Emulator Suite; ex: React Native)
● Other Google Cloud emulators
○ Cloud Pub/Sub, Cloud Spanner, Cloud BigTable
● Others: Google Cloud Java test tools; BigQuery test kit (non-Google)
28. BPs: Best practices reading library
● Automated tracing & performance analysis to find app bottlenecks (GAE, Feb 2016)
● Best practices for coldstarts/startup time (GAE, Jun 2017)
● Profile your app's performance in production (GAE, Jun 2019)
● Managing serverless cost & reliability (all, Apr 2020)
● Serverless optimizations & efficiency (all, Jun 2020)
● Global load balancer and CDN for serverless (all, Jul 2020)
● Creating effective services with good response times (GCR, Node.js, Nov 2020)
● Cloud Run "min instances" to reduce coldstarts (GCR, Dec 2020)
● Running effective Node.js Cloud Functions (GCF, Node.js, Dec 2020)
● GCR container lifecycle (GCR, Jan 2021)
● Overall architecture best practices (GCR, Java, Apr 2021)
● Zero effort performance insights with tracing (all, Aug 2021)
● Cloud Functions "min instances" to reduce coldstarts (GCF, Aug 2021)
05
Inspirational Ideas
Build with ALL of Google
30. Gmail message processing with GCP
Gmail
Cloud
Pub/Sub
Cloud
Functions
Cloud
Vision
Workspace
(formerly G Suite)
GCP
Star
message
Message
notification
Trigger
function
Extract
images
Categorize
images
Inbox augmented with Cloud Function
31. ● Gmail API: sets up notification forwarding to Cloud Pub/Sub
● developers.google.com/gmail/api/guides/push
● Pub/Sub: triggers logic hosted by Cloud Functions
● cloud.google.com/functions/docs/calling/pubsub
● Cloud Functions: "orchestrator" accessing GCP (and Google Workspace/G Suite) APIs
● Combine all of the above to add custom intelligence to Gmail
● Deep dive code blog post
● cloud.google.com/blog/products/application-development/
adding-custom-intelligence-to-gmail-with-serverless-on-gcp
● Application source code
● github.com/GoogleCloudPlatform/cloud-functions-gmail-nodejs
App summary
Big data analysis to slide presentation
Access GCP tools from Google Workspace (formerly G Suite)
35. Supercharge Workspace (G Suite) with GCP
Workspace (G Suite) GCP
BigQuery
Apps Script
Slides Sheets
Application
request
Big data
analytics
App summary
● Leverage GCP and build the "final mile" with Google Workspace (formerly G Suite)
● Driven by Google Apps Script
● Google BigQuery for data analysis
● Google Sheets for visualization
● Google Slides for presentable results
● "Glued" together w/Google Workspace (formerly G Suite) serverless
● Build this app (codelab): g.co/codelabs/bigquery-sheets-slides
● Video and blog post: bit.ly/2OcptaG
● Application source code: github.com/googlecodelabs/bigquery-sheets-slides
● Presented at Google Cloud NEXT (Jul 2018 [DEV229] & Apr 2019 [DEV212])
● cloud.withgoogle.com/next18/sf/sessions/session/156878
● cloud.withgoogle.com/next/sf/sessions?session=DEV212
36. 06
Summary
Online resources &
references
Cost of Google Cloud serverless tools
● What is free in Google Cloud overall?
○ Free Trial (credit card required; expires)
■ $300USD credit good for first 90 days
○ Always Free tier (credit card required; no expiration; subject to change)
■ Independent of Free Trial & education grants (more below)
■ Some GCP products free up to usage limits
○ Learn about both programs at cloud.google.com/free
● Serverless Always Free tier (daily or monthly quotas)
○ App Engine (28 [or 9] hours, 1GB storage & 1GB egress) per day
○ Cloud Run (2M reqs, 350k GB-secs, 180k vCPU-secs, 1GB egress) per month
○ Cloud Functions (2M calls, 400k GB-secs, 200k vCPU-secs, 5GB egress) per month
● Higher education (teaching & research) grants
○ cloud.google.com/edu (credit card NOT required; expires)
○ Provides "free" usage for coursework and initial research
$$ FREE $$
37. Cloud/serverless session summary
● Why go cloud?
○ Cloud computing has taken the world by storm
○ You're behind if you're not already using it… it's not too late!
○ Help train the next generation cloud-ready workforce!
● Google Cloud and why serverless?
○ Many features: compute, storage, AI/ML, NW, data processing, etc.
○ Modernization more than moving VMs to the cloud
○ Serverless lets users focus on just their logic (apps or functions)
○ Interesting possibilities using all of Google Cloud (GCP + Workspace)
● Documentation
○ GCP: cloud.google.com/{docs,appengine,functions,run,vision,automl,translate,language,
speech,texttospeech,video-intelligence,firestore,bigquery,compute,storage,gpu,tpu}
○ G Suite: developers.google.com/{workspace,drive,calendar,docs,sheets,slides,apps-script}
● Introductory "codelabs" (free, online, self-paced, hands-on tutorials [Python])
○ App Engine: codelabs.developers.google.com/codelabs/cloud-app-engine-python
○ Cloud Functions: codelabs.developers.google.com/codelabs/cloud-starting-cloudfunctions
○ Cloud Run: codelabs.developers.google.com/codelabs/cloud-run-hello-python3
○ Apps Script: g.co/codelabs/apps-script-intro
● Others: gcplab.me (GCP) & codelabs.developers.google.com/?cat=googleworkspace (Workspace)
● Videos: youtube.com/GoogleCloudPlatform (GCP) and goo.gl/JpBQ40 (Workspace)
● Samples: github.com/GoogleCloudPlatform (GCP) and github.com/googleworkspace (Workspace)
● Know AWS/Azure? Compare w/GCP at cloud.google.com/docs/compare/{aws,azure}
● Google Cloud serverless products: cloud.google.com/serverless
Google Cloud references
38. Other Google APIs & platforms
● Google Workspace (G Suite) (code Gmail, Drive, Docs, Sheets, Slides!)
○ developers.google.com/gsuite
● Firebase (mobile development platform and RT DB plus ML-Kit)
○ firebase.google.com and firebase.google.com/docs/ml-kit
● Google Data Studio (data visualization, dashboards, etc.)
○ datastudio.google.com/overview
○ goo.gle/datastudio-course
● Actions on Google/Assistant/DialogFlow (voice apps)
○ developers.google.com/actions
● YouTube (Data, Analytics, and Livestreaming APIs)
○ developers.google.com/youtube
● Google Maps (Maps, Routes, and Places APIs)
○ developers.google.com/maps
● Flutter (native apps [Android, iOS, web] w/1 code base[!])
○ flutter.dev
Thank you! Questions?
Wesley Chun
@wescpy
Video: youtu.be/nOj8y_gjSWI?t=1170
Progress bars: goo.gl/69EJVw