<p><span>Unlock your potential with this ultimate guide to Google Cloud β packed with expert tips, coding techniques, legacy migration, and application extension strategies</span></p><p><span>Purchase of the print or Kindle book includes a free PDF eBook</span></p><h4><span>Key Features</span></h4><
Google Cloud for Developers: Write, migrate, and extend your code by leveraging Google Cloud
β Scribed by Hector Parra Martinez
- Publisher
- Packt Publishing
- Year
- 2023
- Tongue
- English
- Leaves
- 364
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
Unlock your potential with this ultimate guide to Google Cloud β packed with expert tips, coding techniques, legacy migration, and application extension strategies
Purchase of the print or Kindle book includes a free PDF eBook
Key Features
- Maximize your code potential using Google Cloud services
- Migrate legacy code to the cloud seamlessly and create code that runs anywhere
- Use hands-on examples to learn and showcase your experience with Google Cloud
Book Description
As more organizations embrace cloud computing, developers new to the cloud often feel overwhelmed by cloud migration and code running directly on the cloud. Google Cloud for Developers comes packed with practical tips and expert advice to accelerate your application development journey and help you unlock the full potential of cloud computing.
You'll begin by understanding and comparing all the available options to run your code. You'll write, deploy, monitor, and troubleshoot your code without leaving the Google Cloud IDE while selecting the best option β serverless or GKE containers β for each use case. After that, you'll get to grips with the basic Google Cloud infrastructure services and connect your code with public APIs. This will help you add features to your application, such as language translation and object detection in images or videos. Furthermore, you'll explore a comprehensive list of tips and best practices to make your migration smooth. You'll also gain the necessary knowledge to write code from scratch, by employing the basics of hybrid cloud applications and build services that can run virtually anywhere.
By the end of this book, you'll be well equipped to carry out the application development process and successfully move your code to Google Cloud.
What you will learn
- Understand how to write, run, and troubleshoot code on Google Cloud
- Choose between serverless or GKE containers for running your code
- Connect your code to Google Cloud services using public APIs
- Migrate your code to Google Cloud flawlessly
- Build hybrid cloud solutions that can run virtually anywhere
- Get to grips with Cloud Functions, App Engine, GKE, and Anthos
Who this book is for
Google Cloud for Developers is for cloud architects, engineers, or developers willing to migrate their applications and services to Google Cloud or build them from scratch. Entrepreneurs in early-stage start-ups and IT professionals who want to know more about Google Cloud from a developer perspective will also benefit from this book. A basic understanding of Cloud concepts and basic experience in writing Python and Shell scripts is a must.
Table of Contents
- Choosing Google Cloud
- Modern Software Development in Google Cloud
- Starting to Develop on Google Cloud
- Running Serverless Code on Google Cloud β Part 1
- Running Serverless Code on Google Cloud β Part 2
- Running Containerized Applications with Google Kubernetes Engine
- Managing the Hybrid Cloud with Anthos
- Making the Best of Google Cloud Networking
- Time-Saving Google Cloud Services
- Extending Applications with Google Cloud Machine Learning APIs
- Architecture Patterns for Hybrid and Multi-Cloud Solutions
- Practical Use Cases of Google Cloud in Real-World Scenarios
- Migration Pitfalls, Best Practices, and Useful Tips
β¦ Table of Contents
Cover
Title Page
Copyright and Credits
Foreword
Contributors
Table of Contents
Preface
Part 1: Foundations of Developing for Google Cloud
Chapter 1: Choosing Google Cloud
My story as a developer
Project management, Agile, DevOps, and SRE
Introducing Digital Transformation
Why should you run your code on the cloud?
Introducing Google Cloud
Why should you choose Google Cloud?
Summary
Further reading
Chapter 2: Modern Software Development in Google Cloud
What does a developer do?
The risks of traditional software development
Software bugs
Slow development
Resource exhaustion
Lack of resiliency and fault tolerance
Failing to estimate usage patterns
Lack of proper monitoring and risk management
Unclear priorities, accountability, and ownership
Security approach
Lost source code
How modern software development mitigates risks
Software bugs
Resource exhaustion and slow development
Lack of resiliency and fault tolerance
Failure to estimate usage patterns
Lack of proper monitoring and risk management
Unclear priorities, accountability, and ownership
Security approach
The benefits of implementing modern software development on Google Cloud
Built for agility, elasticity, and reliability
Security at the core
Built for developers
Google Cloud toolbox for developers
Migration and development paths to run your code on Google Cloud
Migration checklist
Migrate or refactor?
Managing hybrid and multi-cloud environments with Anthos
Summary
Further reading
Chapter 3: Starting to Develop on Google Cloud
The first steps with the Google Cloud console
Introducing Cloud Shell
Writing code for Google Cloud using Cloud Shell Editor
Taking a look at the interface
Showing the built-in terminal
Uploading and downloading files
Editing and writing code
Version control
Cloud Code support
Moving your code to a different IDE
Writing code for Google Cloud using VS Code
Installing the plugin
Setting up Cloud Logging
Best practices for logging
Monitoring the execution of your code
Introducing observability
Gathering information about your services
Troubleshooting by debugging, tracing, and profiling your code
Appendix β testing your code on Google Cloud
Types of tests
Recommendations and best practices for testing your code
Summary
Further reading
Part 2: Basic Google Cloud Services for Developers
Chapter 4: Running Serverless Code on Google Cloud β Part 1
Technical requirements
Introducing serverless architectures
Using Cloud Functions to run your code
Introducing Cloud Functions
Running code using service accounts
Writing, deploying, and running a cloud function
Testing a cloud function
Deploying a cloud function
Debugging a cloud function
Tips and tricks for running your code using Cloud Functions
How much does it cost to run a cloud function?
Using App Engine to run your code
Introducing App Engine
App Engine environment types
Scaling strategies in App Engine
Using App Engine in microservice architectures
Configuring App Engine services
Writing, deploying, and running code with App Engine
Debugging in App Engine
How much does it cost to run your code on App Engine?
Tips and tricks for running your code on App Engine
Summary
Further reading
Chapter 5: Running Serverless Code on Google Cloud β Part 2
Using Cloud Run to run your code
Introducing Cloud Run
Basic concepts of Cloud Run
The two different execution environments to choose from
Writing and running code using Cloud Run
Debugging in Cloud Run
How much does it cost to run your code on Cloud Run?
Tips and tricks for running your code on Cloud Run
Choosing the best serverless option for each use case
Summary
Further reading
Chapter 6: Running Containerized Applications with Google Kubernetes Engine
Introducing Google Kubernetes Engine
Deep diving into GKE β key concepts and best practices
GKE cluster architecture
Advanced cluster management features
GKE operation modes
Cluster types based on availability
Node pools and node taints for easier management
Best practices for cost efficiency in GKE
Storage in GKE
Networking in GKE
Security in GKE
Deploying applications on GKE
Scaling an app in GKE
Monitoring GKE applications
Comparing GKE and Cloud Run β when to use which
GKE hands-on example
Summary
Further reading
Chapter 7: Managing the Hybrid Cloud with Anthos
The pitfalls of choosing a cloud provider
Introducing hybrid cloud computing
Anthos, the hybrid cloud management platform
Computing environment
Simplified management using fleets
Service Mesh for microservice architectures
Networking in Anthos
Centralized configuration management
Securing containerized workloads
Binary Authorization for a secure software supply chain
Consolidated logging and monitoring
Unified UI
Making hybrid cloud simple with Cloud Run for Anthos
Third-party application marketplace
Anthos usage and pricing options
Anthos hands-on example
Running our example on Microsoft Azure
Cleaning up
Summary
Further reading
Part 3: Extending Your Code β Using Google Cloud Services and Public APIs
Chapter 8: Making the Best of Google Cloud Networking
Introducing Google Cloud networking
Understanding regions and zones
Choosing the best region and zone
Connecting to our cloud resources
VPC networks
Network connectivity products
Basic Google Cloud networking services
Cloud DNS
Cloud Armor
Cloud CDN
Network Service Tiers
Sample architecture
Summary
Further reading
Chapter 9: Time-Saving Google Cloud Services
Cloud Storage for object storage and retrieval
Introducing Cloud Storage
Bucket locations and storage classes
Cloud Tasks for asynchronous task execution
Firestore in Datastore mode for high-performance NoSQL storage
Cloud Workflows for service orchestration
Pub/Sub for inter-service messaging
Secret Manager for storing sensitive data
Cloud Scheduler for running jobs at the right time
A hands-on exercise
Reading the list of cities
Getting weather information for each city
Storing weather information in a central location
Updating the weather web page
The end-to-end workflow for our weather solution
Updating our web page every 30 minutes
Whatβs next?
Summary
Further reading
Chapter 10: Extending Applications with Google Cloud Machine Learning APIs
Unstructured versus structured data
Speech-to-Text
Cloud Translation
Cloud Natural Language
Cloud Vision
Cloud Video Intelligence
Hands-on exercise
Whatβs next
Summary
Further reading
Part 4: Connecting the Dots βBuilding Hybrid Cloud Solutions That Can Run Anywhere
Chapter 11: Architecture Patterns for Hybrid and Multi-Cloud Solutions
Defining hybrid and multi-cloud solutions
Why hybrid and multi-cloud?
Best practices for hybrid and multi-cloud architectures
Types of architecture patterns
Distributed architecture patterns
Tiered Hybrid
Partitioned multi-cloud
Analytics hybrid or multi-cloud
Edge Hybrid
Redundant architecture patterns
Environment hybrid
Business continuity hybrid or multi-cloud
Cloud bursting
Summary
Further reading
Chapter 12: Practical Use Cases of Google Cloud in Real-World Scenarios
Invoice management β deconstructing the monolith
Specifications
Analysis and opportunities
Approaching the migration
Designing the new architecture
Hybrid and multi-cloud options
Highway toll system β centralizing and automating a distributed scenario
Specifications
Analysis and opportunities
Designing the new architecture
Making the most of our data
Hybrid and multi-cloud options
Fashion Victims β using the cloud as an extension of our business
Specifications
Analysis and opportunities
Designing the new architecture
Hybrid and multi-cloud options
Summary
Further reading
Chapter 13: Migration Pitfalls, Best Practices, and Useful Tips
Common pitfalls while moving to the cloud
Management not on board
Unclear strategy and poorly defined migration roadmap
Unmanaged expectations regarding benefits and costs
Too disruptive or too conservative
Not knowing your infrastructure and services well enough
Migrating to the cloud is just moving infrastructure
Being too careless with your data
Making migration waves too big or too long
Unbalanced latency, complexity, and cost
Best practices for bringing your code to Google Cloud
Avoid migrate and delete
Check regulations and compliance before moving ahead
Prepare a migration toolkit in advance
Try to simplify, thatβs what the cloud is about
Analyze and prioritize accordingly
Measure, analyze, optimize, and prove success
Connectivity and latency can make a huge difference
Build once, deploy anywhere, and as many times as required
Summary
Further reading
Index
Other Books You May Enjoy
π SIMILAR VOLUMES
<p><span>Unlock your potential with this ultimate guide to Google Cloud β packed with expert tips, coding techniques, legacy migration, and application extension strategies</span></p><p><span>Purchase of the print or Kindle book includes a free PDF eBook</span></p><h4><span>Key Features</span></h4><
<p><span>Develop, deploy, and scale your applications with Google Cloud Platform</span></p><h4><span>Key Features</span></h4><ul><li><span><span>Create and deploy your applications on Google Cloud Platform</span></span></li><li><span><span> Store and manage source code and debug Cloud-hosted apps wi
<p><span>Making fast and accurate technology decisions is critical to staying relevant to your customers. And technology needs to add value back to your organization quicker than ever. Google Cloud offers IT leaders the answer to todayβs technology challenges. However, to realize its benefits you mu
<p><span>Making fast and accurate technology decisions is critical to staying relevant to your customers. And technology needs to add value back to your organization quicker than ever. Google Cloud offers IT leaders the answer to todayβs technology challenges. However, to realize its benefits you mu
<p><span>Making fast and accurate technology decisions is critical to staying relevant to your customers. And technology needs to add value back to your organization quicker than ever. Google Cloud offers IT leaders the answer to todayβs technology challenges. However, to realize its benefits you mu