SlideShare a Scribd company logo
Serverless solutions using
Google Cloud Functions
Speaker
Anil Saravade
Cloud Engineer
Searce
600
People
13
Locations
5
Countries
2,000+
Clients
Accolades
Google APAC
partner of the year
four times in a row.
About Us
Searce | Niche Cloud, AI & ML partner for Digital Natives
Awards and Recognitions
2014
2015
2016
2017
2018
Fastest Growing
Companies in
USA INC 5000
Google Apps for
Work: APAC Partner
of the Year 2015
Runner up Award
The 100
Transformers
Award Cloud
ChannelWorld
20 Most Promising
Google Technology
Solution Providers
CIO Review
The Google Cloud
APAC Customer
Success Partner of
the year 2016
The Google Cloud APAC Sales
Partner of the year 2017
The Google Cloud
JAPAC Reselling
Partner of the
Year, 2018
20 Most Promising Cloud
Solution Companies
Silicon India
12+ Years Journey with Google Cloud
2006 2007 2009 2015 2017 2017 2018
Product
Engineering
Services for
digital natives &
tech startups.
Started using G
Suite in 2006.
Began G Suite
practice. Currently:
1,800+ G Suite
Clients; 300K+
Seats deployed.
Began GCP practice.
Currently 200+ GCP
Clients; 20K+ Servers
Migrated;1K+
Managed Servers;
Data, AI & ML
Solutions deployed
for 10+ large
enterprise wins.happierWork -
Python &
Angular.js based
HCM product
deeply integrated
with G Suite &
hosted 100% on
Google App
Engine.
Fastest to
Premier Partner
Globally | 50+
clients acquired
in 9 months
Maps: Achieved
Infra Specialization
and Location-
Based Services. 1 of
the only 9 Global
partners
First Apigee partner in
India | Onboarded the
3 of the largest BFSI
customers in the first 2
months
2019
1st APAC
Enterprise
Collaboration
Specialization for
G Suite | Created
IP solution on
Google Cloud
platform.
Recognic solves
the very need of
organizations to
help digitize,
store and index
documents at
scale.
Google Cloud Search
4 time
Google
Partner
of the Year
2018 | 2017 | 2016 | 2015
Optimizing costs
Common Challenges Faced by Organizations
Handling unexpected
spikes
Managing infrastructure
Reality of Scaling and Utilization
40%
60%
Not utilized
Utilized
40%
60%
40%
60%
Virtual machine
40%
60%
40%
60%
Autoscaling Containers
40%
60%
40%
60%
40%
60%
40%
60%
Shared/Physical
machines
Virtual
machines
Containers Serverless
Overhead of Managing Infrastructure
Ship & Install H/W
Install Operating
system
Install software
needed to serve
the application
Application code
and business logic
Serverless Computing
● No need to think about servers
● Pay per use
● No upfront provisioning; scale as per need
● Stateless
What is Serverless Computing?
● Multimedia processing
● Chat bots
● IoT sensors
● HTTP Rest API and webhooks
● Batch jobs
● Event streaming
Common Cases
Google Cloud Functions
● Invisible infrastructure
● Only pay for what you use
● Automatic scaling
● Centralized logging and monitoring
● Secure environment for executions
Cloud Functions
● Controlling scaling
● Isolated from other functions
● Functions execution
● Deployments
● Idle instances and minimizing cold start
Cloud Behaviour
● Dramatically reduces the time-to-deploy due to its focus on the app code rather than the
infrastructure
● Efficient utilization of resources
● No overhead to manage the infrastructure
● Automatic scaling
● Pay-per-request model, compared to buying pre-allocated
How Are Cloud Functions Different?
Supported Runtime Environments
Types of Triggers?
Cloud Storage Cloud Pub/Sub HTTP
Deploy From
Command line Console UI API
Logging and Monitoring
Stackdriver Logging:
● Catches application logs and errors
● Accessible via multiple place
○ Gcloud command line
○ Console UI
○ Rest APIs
Stackdriver Monitoring:
● Essential telemetry
○ Invocations
○ Execution details
○ Memory usage
● Network access
● Authenticating to functions
● Function identity
● Compliance offerings:
○ ISO: 27001
○ HIPAA
○ PCI DSS
Security
Use Cases
Use cases - Daily job
Daily jobs using
Cloud Scheduler
Send a slack
notification
Cloud Function
is Invoked
Store your credentials
in secret manager
Use cases - Image processing
File upload to
Cloud Storage
Cloud Function
is Invoked
Derive insights
using Vision AI
Use cases - Home automation
Sunrise
Sunset
Cloud Pub/Sub
topic
Cloud Function
is Invoked
Demo
Takeaway
Embrace the Google Cloud Functions for
● Low-latency, event-driven demands
● Decoupled, cohesive, independent services
● Painless deployments, flexibility and scaling
● Reduced operating and maintenance cost
Reach out?
Email: anil.saravade@searce.com
LinkedIn: https://www.linkedin.com/in/anilgsaravade/
Medium: https://medium.com/@anilgsaravade
Thank YouThank You

More Related Content

Serverless solutions on GCF

  • 3. 600 People 13 Locations 5 Countries 2,000+ Clients Accolades Google APAC partner of the year four times in a row. About Us Searce | Niche Cloud, AI & ML partner for Digital Natives
  • 4. Awards and Recognitions 2014 2015 2016 2017 2018 Fastest Growing Companies in USA INC 5000 Google Apps for Work: APAC Partner of the Year 2015 Runner up Award The 100 Transformers Award Cloud ChannelWorld 20 Most Promising Google Technology Solution Providers CIO Review The Google Cloud APAC Customer Success Partner of the year 2016 The Google Cloud APAC Sales Partner of the year 2017 The Google Cloud JAPAC Reselling Partner of the Year, 2018 20 Most Promising Cloud Solution Companies Silicon India
  • 5. 12+ Years Journey with Google Cloud 2006 2007 2009 2015 2017 2017 2018 Product Engineering Services for digital natives & tech startups. Started using G Suite in 2006. Began G Suite practice. Currently: 1,800+ G Suite Clients; 300K+ Seats deployed. Began GCP practice. Currently 200+ GCP Clients; 20K+ Servers Migrated;1K+ Managed Servers; Data, AI & ML Solutions deployed for 10+ large enterprise wins.happierWork - Python & Angular.js based HCM product deeply integrated with G Suite & hosted 100% on Google App Engine. Fastest to Premier Partner Globally | 50+ clients acquired in 9 months Maps: Achieved Infra Specialization and Location- Based Services. 1 of the only 9 Global partners First Apigee partner in India | Onboarded the 3 of the largest BFSI customers in the first 2 months 2019 1st APAC Enterprise Collaboration Specialization for G Suite | Created IP solution on Google Cloud platform. Recognic solves the very need of organizations to help digitize, store and index documents at scale. Google Cloud Search
  • 6. 4 time Google Partner of the Year 2018 | 2017 | 2016 | 2015
  • 7. Optimizing costs Common Challenges Faced by Organizations Handling unexpected spikes Managing infrastructure
  • 8. Reality of Scaling and Utilization 40% 60% Not utilized Utilized 40% 60% 40% 60% Virtual machine 40% 60% 40% 60% Autoscaling Containers 40% 60% 40% 60% 40% 60% 40% 60%
  • 9. Shared/Physical machines Virtual machines Containers Serverless Overhead of Managing Infrastructure Ship & Install H/W Install Operating system Install software needed to serve the application Application code and business logic
  • 11. ● No need to think about servers ● Pay per use ● No upfront provisioning; scale as per need ● Stateless What is Serverless Computing?
  • 12. ● Multimedia processing ● Chat bots ● IoT sensors ● HTTP Rest API and webhooks ● Batch jobs ● Event streaming Common Cases
  • 14. ● Invisible infrastructure ● Only pay for what you use ● Automatic scaling ● Centralized logging and monitoring ● Secure environment for executions Cloud Functions
  • 15. ● Controlling scaling ● Isolated from other functions ● Functions execution ● Deployments ● Idle instances and minimizing cold start Cloud Behaviour
  • 16. ● Dramatically reduces the time-to-deploy due to its focus on the app code rather than the infrastructure ● Efficient utilization of resources ● No overhead to manage the infrastructure ● Automatic scaling ● Pay-per-request model, compared to buying pre-allocated How Are Cloud Functions Different?
  • 18. Types of Triggers? Cloud Storage Cloud Pub/Sub HTTP
  • 19. Deploy From Command line Console UI API
  • 20. Logging and Monitoring Stackdriver Logging: ● Catches application logs and errors ● Accessible via multiple place ○ Gcloud command line ○ Console UI ○ Rest APIs Stackdriver Monitoring: ● Essential telemetry ○ Invocations ○ Execution details ○ Memory usage
  • 21. ● Network access ● Authenticating to functions ● Function identity ● Compliance offerings: ○ ISO: 27001 ○ HIPAA ○ PCI DSS Security
  • 23. Use cases - Daily job Daily jobs using Cloud Scheduler Send a slack notification Cloud Function is Invoked Store your credentials in secret manager
  • 24. Use cases - Image processing File upload to Cloud Storage Cloud Function is Invoked Derive insights using Vision AI
  • 25. Use cases - Home automation Sunrise Sunset Cloud Pub/Sub topic Cloud Function is Invoked
  • 26. Demo
  • 27. Takeaway Embrace the Google Cloud Functions for ● Low-latency, event-driven demands ● Decoupled, cohesive, independent services ● Painless deployments, flexibility and scaling ● Reduced operating and maintenance cost
  • 28. Reach out? Email: anil.saravade@searce.com LinkedIn: https://www.linkedin.com/in/anilgsaravade/ Medium: https://medium.com/@anilgsaravade