Google Cloud Platform for Architects
eBook - ePub

Google Cloud Platform for Architects

Design and manage powerful cloud solutions

Vitthal Srinivasan, Janani Ravi, Judy Raj

Compartir libro
  1. 372 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y Android
eBook - ePub

Google Cloud Platform for Architects

Design and manage powerful cloud solutions

Vitthal Srinivasan, Janani Ravi, Judy Raj

Detalles del libro
Vista previa del libro
Índice
Citas

Información del libro

Get acquainted with GCP and manage robust, highly available, and dynamic solutions to drive business objectiveAbout This Book• Identify the strengths, weaknesses and ideal use-cases for individual services offered on the Google Cloud Platform• Make intelligent choices about which cloud technology works best for your use-case• Leverage Google Cloud Platform to analyze and optimize technical and business processesWho This Book Is ForIf you are a Cloud architect who is responsible to design and manage robust cloud solutions with Google Cloud Platform, then this book is for you. System engineers and Enterprise architects will also find this book useful. A basic understanding of distributed applications would be helpful, although not strictly necessary. Some working experience on other public cloud platforms would help too.What You Will Learn• Set up GCP account and utilize GCP services using the cloud shell, web console, and client APIs• Harness the power of App Engine, Compute Engine, Containers on the Kubernetes Engine, and Cloud Functions• Pick the right managed service for your data needs, choosing intelligently between Datastore, BigTable, and BigQuery• Migrate existing Hadoop, Spark, and Pig workloads with minimal disruption to your existing data infrastructure, by using Dataproc intelligently• Derive insights about the health, performance, and availability of cloud-powered applications with the help of monitoring, logging, and diagnostic tools in StackdriverIn DetailUsing a public cloud platform was considered risky a decade ago, and unconventional even just a few years ago. Today, however, use of the public cloud is completely mainstream - the norm, rather than the exception. Several leading technology firms, including Google, have built sophisticated cloud platforms, and are locked in a fierce competition for market share.The main goal of this book is to enable you to get the best out of the GCP, and to use it with confidence and competence. You will learn why cloud architectures take the forms that they do, and this will help you become a skilled high-level cloud architect. You will also learn how individual cloud services are configured and used, so that you are never intimidated at having to build it yourself. You will also learn the right way and the right situation in which to use the important GCP services.By the end of this book, you will be able to make the most out of Google Cloud Platform design.Style and approachA clear, concise, and straightforward book which will enable to develop and manage optimum solutions for your infrastructure

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es Google Cloud Platform for Architects un PDF/ePUB en línea?
Sí, puedes acceder a Google Cloud Platform for Architects de Vitthal Srinivasan, Janani Ravi, Judy Raj en formato PDF o ePUB, así como a otros libros populares de Ciencia de la computación y Computación en la nube. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
2018
ISBN
9781788833073

Compute Choices – VMs and the Google Compute Engine

In the cloud world, the most hands-on of these approaches is not really an option—you are not going to actually own the machines, and physically maintain them. That is the whole point of switching to the cloud—that the cloud provider manages scaling for you and allows you to pay as you go. But a cloud equivalent of this approach still exists—you could provision a large number of virtual machines (again, these machines are virtual, not physical), and run your app on all of these. You'd be able to log in to these machines, and you'd have to manage scaling up or down (by provisioning more or less VMs). The cloud provider is still providing you with very valuable services—you can autoscale your groups of VMs, you can have your VMs stay live during system maintenance, and so on. These services are collectively called Infrastructure-as-a-Service (IaaS).
In this chapter we will:
  • Explore Google Compute Engine (GCE) which serves as Infrastructure as a Service provision of GCP.
  • Learn how to create and manage GCE VMs along with its various aspects like disk type and machine types.
  • Demonstrate using GCE VMs via running a webserver on it.
You could also easily go further. You might decide that you just want to write code—not deal with any provisioning of machines or networking or Ops. The cloud provider will allow you to write your code and deploy it without worrying about the underlying systems—virtual or physical. All that you know is that your app is available as a service—most likely as an HTTP endpoint that clients can hit using RESTful API calls. The cloud provides complete isolation from the infrastructure autoscaling, load-balancing, traffic-splitting—all of this is managed for you. Such a service is basically a platform on which you write your code, and forget about the rest. These services are collectively called Platform-as-a-Service (PaaS).
Let's draw a line with IaaS at one end, and PaaS at the other. The leading cloud providers—Amazon AWS, Microsoft Azure, and Google Cloud Platform—all offer the entire range of compute options, from IaaS to PaaS.
In addition to these, there are a couple of other approaches worth discussing—containers and SaaS:
  • Containers lie somewhere in between IaaS and PaaS and involves the use of portable, lightweight images of your app—these lightweight images are called containers. Docker is a pretty common container format, and the GCP has a great orchestration framework called Google Kubernetes Engine (GKE) to run app containers on managed clusters. But that will be dealt in more detail in the later chapter.
  • Another approach, further to the right of PaaS, would be Software-as-a-Service (SaaS). In our preceding web app example, Heroku acted as an example of a PaaS offering, while Shopify was an SaaS offering. It probably is fair to say that Microsoft Azure is currently far ahead of the other two in SaaS, because it makes very powerful software such as Office 365 available to users. IaaS reduces the burden of DevOps, PaaS virtually eliminates it, and SaaS reduces the burden of development.
The preceding line is a general representation of the compute choices out there, but on the GCP, there actually are five specific options. None of these really involve SaaS, except for very limited use cases, so let's leave that out for now. The offerings on the GCP are shown as follows:
If you have an infra background, these five choices might make perfect sense to you, but even if you do not, never fear, we'll talk about each of them. Throughout the course of this chapter and the next, we will describe each of these five compute options. This chapter focuses on the first—Google Compute Engine (GCE), which is basically a service to provision and work with virtual machines on the cloud.
GCE is a prototypical IaaS use case. What you need is a set of machines, placed at your disposal to set up in exactly the way you want. Configuration, administration, and management would all then be your responsibility. While this might sound like an on-premise data center, there are two crucial differences:
  • The VMs are not running on hardware bought by you—rather, you just provision them whenever you need them and delete them when you're done.
  • Several powerful infra services—autoscaling groups of VMs, load-balancing, the importing of external images, and so on—are provided by the cloud platform. This is why GCE is an IaaS solution.
In this chapter, we will get you familiar with GCE by covering the following topics:
  • Creating, customizing, and modifying VM instances
  • Block-based storage (local SSDs and persistent storage), which can be attached to your VMs
  • Load balancing, start up scripts, and disk images that allow you to make optimal use of your VM instances

Google Compute Engine – GCE

Google Compute Engine is the IaaS component of the GCP that lets you create and run VM on Google infrastructure. Each VM is called a Compute Engine instance. A Compute Engine instance can run Linux and Windows server images provided by Google or any customized versions of these images. You can also build and run images of other operating systems.
You can choose the machine properties of your instances, such as the number of virtual CPUs and the amount of memory, by using a set of predefined machine types or by creating your own custom machine types.

Creating VMs

This section will walk you through creating a VM instance. There are several ways to create a VM instance in GCE:
  • Through the web console
  • The gcloud command-line tool from Cloud Shell
  • Using API calls
There actually is a fourth way as well—that's an Infrastructure as Code (IaC) approach relying on the Deployment Manager. Infrastructure automation is a big deal these days, and we'll get to this approach—but in a later chapter.

Creating a VM instance using the web console

The web console will allow you to view all the available options when configuring a VM. This is probably the best way to get started with provisioning VMs on GCP:
  1. Start with the hamburger (three horizontal bars on the top left).
  2. Click on Compute, and then on VM instance...

Índice