Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Serverless Computing with Google Cloud

You're reading from   Hands-On Serverless Computing with Google Cloud Build, deploy, and containerize apps using Cloud Functions, Cloud Run, and cloud-native technologies

Arrow left icon
Product type Paperback
Published in Feb 2020
Publisher Packt
ISBN-13 9781838827991
Length 320 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Richard Rose Richard Rose
Author Profile Icon Richard Rose
Richard Rose
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Section 1: App Engine
2. Introducing App Engine FREE CHAPTER 3. Developing with App Engine 4. Section 2: Google Cloud Functions
5. Introducing Lightweight Functions 6. Developing Cloud Functions 7. Exploring Functions as a Service 8. Cloud Functions Labs 9. Section 3: Google Cloud Run
10. Introducing Cloud Run 11. Developing with Cloud Run 12. Developing with Cloud Run for Anthos 13. Cloud Run Labs 14. Section 4: Building a Serverless Workload
15. Building a PDF Conversion Service 16. Consuming Third-Party Data via a REST API 17. Assessments 18. Other Books You May Enjoy

Securing service access

With the service enabled successfully, we will turn our attention to securing access. To achieve this, we will be creating a new service account with the specific task of managing the invocation of the new service.

Thinking back to the original design, the service is actually invoked by Cloud Pub/Sub rather than a user. As we have chained together a series of events, we can take advantage of this to minimize the external sources that are able to initiate our new service. The following steps illustrate how to create a service account tasked with the invocation of a new Cloud Run PDF service instance.

Creating a service account

To create a service account, follow these simple steps:

  1. Create a new service...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image