0% found this document useful (0 votes)
50 views

(T-GCPAZURE-B) Module 3 - Virtual Machines in The Cloud

[T-GCPAZURE-B] Module 3_ Virtual Machines in the Cloud

Uploaded by

nicolepetrescu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views

(T-GCPAZURE-B) Module 3 - Virtual Machines in The Cloud

[T-GCPAZURE-B] Module 3_ Virtual Machines in the Cloud

Uploaded by

nicolepetrescu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 58

Virtual Machines in the Cloud

Agenda
Virtual Private Cloud (VPC)
Network

Compute Engine

Important VPC capabilities

Quiz and lab


Virtual Private Cloud Networking

● Each VPC network is contained in a


Google Cloud project.
● You can provision Cloud Platform
resources, connect them to each
other, and isolate them from one
another.
Google Cloud VPC networks are global; subnets are regional

My VPC

us-east1

my-subnet1 us-east1-b us-east1-c

10.0.0.0/24

10.0.0.2 10.0.0.3
Azure VNets are regional
Azure
VPC 1

Private: 10…
Public: 203... VM
Subnet: 10.0.0.0/24

Region A

VNet peering
VPC 2

Private: 10…
Public: 203... VM
Subnet: 10.0.1.0/24

Region B
Google Cloud VPC Azure VNet

VPC networks
Virtual networks VNets (regional)
(global)

IP address ranges Subnets (regional) Subnets (regional)

Routing entries Routes (global) Routes (regional)

Network Security Groups


Security boundaries Firewall rules (global)
(regional)

e VNet
Agenda
Virtual Private Cloud (VPC)
Network

Compute Engine

Important VPC capabilities

Quiz and lab


Compute Engine offers managed
virtual machines

● No upfront investment
● Fast and consistent performance
Compute Engine offers managed
virtual machines

● Create VMs with Google Cloud


Console
or gcloud
● Run images of Linux or
Windows Server
Compute Engine offers managed
virtual machines

● Pick memory and CPU: use


predefined types, or make a
custom VM
● Pick GPUs if you need them
Compute Engine offers managed
virtual machines

● Pick persistent disks:


standard or SSD
● Pick local SSD for scratch space
too if you need it
Compute Engine offers managed
virtual machines

● Pick a boot image: Linux or


Windows Server
Compute Engine offers managed
virtual machines

● Define a startup script if you like


Compute Engine offers managed
virtual machines

● Take disk snapshots as backups or


as migration tools
Compute Engine offers
innovative pricing

● Per-second billing, sustained


use discounts
● Preemptible instances
● High throughput to storage at no
extra cost
● Custom machine types: Only pay
for the hardware you need
Scale up or scale out with Compute Engine

Use big VMs for memory- and Use Autoscaling for resilient,
compute-intensive applications scalable applications
Similarities between Compute
Engine and Azure VM
Similarities between Compute
Engine and Azure VM

● RAM, CPU, and GPU


Similarities between Compute
Engine and Azure VM

● RAM, CPU, and GPU

● Boot disk and operating system


Similarities between Compute
Engine and Azure VM

● RAM, CPU, and GPU

● Boot disk and operating system

● Additional disks
Similarities between Compute
Engine and Azure VM

● RAM, CPU, and GPU

● Boot disk and operating system

● Additional disks

● IP addresses
Similarities between Compute
Engine and Azure VM

● RAM, CPU, and GPU

● Boot disk and operating system

● Additional disks

● IP addresses

● Startup scripts with metadata


Differences between Compute
Engine and Azure VM
Differences between Compute
Engine and Azure VM

● Faster spin-ups
Differences between Compute
Engine and Azure VM

● Faster spin-ups

● Regional persistent disks


Differences between Compute
Engine and Azure VM

● Faster spin-ups

● Regional persistent disks

● Preemptible VMs
Differences between Compute
Engine and Azure VM

● Faster spin-ups

● Regional persistent disks

● Preemptible VMs

● Discount pricing
Differences between Compute
Engine and Azure VM

● Faster spin-ups

● Regional persistent disks

● Preemptible VMs

● Discount pricing

● Custom machine types


Compute Engine Azure VM

Machine RAM and


Machine types Instance types
CPU
Compute Engine Azure VM

Machine RAM and


Machine types Instance types
CPU

Machine images Images VM Images


Compute Engine Azure VM

Machine RAM and


Machine types Instance types
CPU

Machine images Images VM Images

Block storage Persistent disks Azure Disk Storage


Compute Engine Azure VM

Machine RAM and


Machine types Instance types
CPU

Machine images Images VM Images

Block storage Persistent disks Azure Disk Storage

Local attached disk Local SSD Local SSD


Compute Engine Azure VM

Machine RAM and


Machine types Instance types
CPU

Machine images Images VM Images

Block storage Persistent disks Azure Disk Storage

Local attached disk Local SSD Local SSD

Preemptible VMs,
Unused compute
Discounts Sustained-Use
capacity
Discounts
Agenda
Virtual Private Cloud (VPC)
Network

Compute Engine

Important VPC capabilities

Quiz and lab


You control the topology of your
VPC network

● Use its route table to forward


traffic within the network, even
across subnets.
You control the topology of your
VPC network

● Use its firewall to control what


network traffic is allowed.
You control the topology of your
VPC network

● Use Shared VPC to share a network,


or individual subnets, with other
Google Cloud projects.
● Use VPC Peering to interconnect
networks in GCP projects.
With global Cloud Load Balancing, your application presents a
single front-end to the world
● Users get a single, global anycast IP
address.

● Traffic goes over the Google backbone


User
from the closest point-of-presence to
Tokyo the user.

● Backends are selected based on load.

● Only healthy backends receive traffic.

● No pre-warming is required.
User User
New York Germany
Google VPC offers a suite of load-balancing options
Global Global SSL Global TCP Regional Regional
HTTP(S) Proxy Proxy internal
Layer 7 load Layer 4 load Layer 4 load Load balancing of Load balancing of
balancing based balancing of balancing of any traffic (TCP, traffic inside a VPC
on load non-HTTPS SSL non-SSL TCP UDP)
traffic based on traffic
load

Can route different Supported on Supported on Supported on any Use for the internal
URLs to different specific port specific port port number tiers of multi-tier
back ends numbers numbers applications
Cloud DNS is highly available
and scalable

● Create managed zones, then


add, edit, delete DNS records
Cloud DNS is highly available
and scalable

● Programmatically manage zones


and records using RESTful API or
command-line interface
Cloud CDN
(Content Delivery Network)

● Use Google's globally distributed


edge caches to cache content close
to your users
Cloud CDN
(Content Delivery Network)

● Use Google's globally distributed


edge caches to cache content close
to your users
● Or use CDN Interconnect if you’d
prefer to use a different CDN
Google Cloud offers many interconnect options

VPN Direct Peering Carrier Peering Dedicated


Interconnect
Secure multi-Gbps Private connection Connect N X 10G
connection over between you and transport circuits for
VPN tunnels Google for your private cloud traffic
hybrid cloud to Google Cloud at
workloads Google POPs

Connection through the largest


partner network of service
providers
Common Google Cloud and Azure load
balancing features
Common Google Cloud
& Azure load balancing features

● HTTP, TCP, and UDP requests


Common Google Cloud
& Azure load balancing features

● HTTP, TCP, and UDP requests

● Internal and external access


Common Google Cloud
& Azure load balancing features

● HTTP, TCP, and UDP requests

● Internal and external access

● Firewall protection
Common Google Cloud
& Azure load balancing features

● HTTP, TCP, and UDP requests

● Internal and external access

● Firewall protection

● Health checks and session affinity


Common Google Cloud
& Azure load balancing features

● HTTP, TCP, and UDP requests

● Internal and external access

● Firewall protection

● Health checks and session affinity

● Path-based routing
Google Cloud Load Balancer Azure Application Gateway

Service type Software based Service based


Google Cloud Load Balancer Azure Application Gateway

Service type Software based Service based

Managed service Global Regional*


Google Cloud Load Balancer Azure Application Gateway

Service type Software based Service based

Managed service Global Regional*

Request routing URL map (HTTP only) URL map (HTTP only)
Google Cloud Load Balancer Azure Application Gateway

Service type Software based Service based

Managed service Global Regional*

Request routing URL map (HTTP only) URL map (HTTP only)

Service health check Instance group, Backend service


Backend service (capacity)
Google Cloud Load Balancer Azure Application Gateway

Service type Software based Service based

Managed service Global Regional*

Request routing URL map (HTTP only) URL map (HTTP only)

Service health check Instance group, Backend service


Backend service (capacity)

Load balanced scope Global Region


Lab
Getting Started with
Compute Engine

You might also like