Google Cloud Platform for Architects
eBook - ePub

Google Cloud Platform for Architects

Design and manage powerful cloud solutions

Vitthal Srinivasan, Janani Ravi, Judy Raj

Condividi libro
  1. 372 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

Google Cloud Platform for Architects

Design and manage powerful cloud solutions

Vitthal Srinivasan, Janani Ravi, Judy Raj

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Informazioni sul 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

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
Google Cloud Platform for Architects è disponibile online in formato PDF/ePub?
Sì, puoi accedere a Google Cloud Platform for Architects di Vitthal Srinivasan, Janani Ravi, Judy Raj in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Ciencia de la computación e Computación en la nube. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
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...

Indice dei contenuti