Google cloud for developers write, migrate, and extend your code by leveraging Google Cloud
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 Mig...
Otros Autores: | , |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, England :
Packt Publishing Ltd
[2023]
|
Edición: | 1st ed |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009748740006719 |
Tabla de Contenidos:
- 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.