Module 3 - Planning and Configuring A Cloud Solution
Module 3 - Planning and Configuring A Cloud Solution
Configuring a Cloud
Solution
Agenda
Section 2.1 - Planning and
estimating using the Pricing
Calculator
Because there can be quite a number of variables that go into pricing a particular
Cloud product, having a way to pull all of that information together into a unified report
- without having to actually configure that product first - is very helpful. This is where
Google’s Pricing Calculator comes into play.
Google Cloud Pricing Calculator
● Select a product from the scrolling list at the top of the form.
● The variables for that product will then be shown in the form below.
● Fill out the form with your target configuration.
● Submit each section filled out to add it to your overall estimate.
https://cloud.google.com/products/calculator/
The pricing calculator is a multi-section form. Once you have some possible
configurations in mind, you can use it to estimate costs for the different products you
will be using,
Google Cloud Pricing Calculator
The Pricing Calculator gives you a total
estimated cost that you can view in daily,
weekly, monthly, quarterly, yearly and
3-year increments.
Good for: Good for: Good for: Good for: Good for: Good for:
Web RDBMS+scale, Hierarchical, Heavy read + Binary or object Enterprise data
frameworks HA, HTAP mobile, web write, events data warehouse
Such as: Such as: Such as: Such as: Such as: Such as:
CMS, User metadata, User profiles, AdTech, Images, media Analytics,
eCommerce Ad/Fin/MarTech Game State financial, IoT serving, backups dashboards
Data storage options and use cases
Option Use when you need... Typical use cases
BigQuery A scalable, fully managed enterprise data ● OLAP workloads up to petabyte scale
warehouse (EDW) with SQL and fast ad-hoc ● Big data exploration and processing
queries.
Google Cloud Storage has four primary storage classes, with different characteristics,
use cases, and prices for your needs.
Standard Storage is best for data that is frequently accessed ("hot" data) and/or
stored for only brief periods of time. When used in a region, co-locating your
resources maximizes the performance for data-intensive computations and can
reduce network charges. When used in a dual-region, you still get optimized
performance when accessing Google Cloud products that are located in one of the
associated regions, but you also get the improved availability that comes from storing
data in geographically separate locations. When used in a multi-region, Standard
Storage is appropriate for storing data that is accessed around the world, such as
serving website content, streaming videos, executing interactive workloads, or serving
data supporting mobile and gaming applications.
Nearline Storage is a low-cost, highly durable storage service for storing infrequently
accessed data. Nearline Storage is a better choice than Standard Storage in
scenarios where slightly lower availability, a 30-day minimum storage duration, and
costs for data access are acceptable trade-offs for lowered at-rest storage costs.
Nearline Storage is ideal for data you plan to read or modify on average once per
month or less. Nearline Storage is appropriate for data backup, long-tail multimedia
content, and data archiving.
Archive Storage is the lowest-cost, highly durable storage service for data archiving,
online backup, and disaster recovery. Archive Storage has higher costs for data
access and operations, as well as a 365-day minimum storage duration. Archive
Storage is the best choice for data that you plan to access less than once a year. For
example, cold data storage, such as data stored for legal or regulatory reasons, and
disaster recovery.
We’ve discussed the four primary storage classes and differentiated between them in
terms of characteristics, availability and use cases. It is worth noting that there are a
number of characteristics that apply across all storage classes.
These include:
● Unlimited storage with no minimum object size requirement,
● Worldwide accessibility and locations,
● Can be used in any multi-region, dual-region, or region,
● Geo-redundancy if data is stored in a multi-region or dual-region,
● Low latency and high durability, and
● A uniform experience, which extends to security, tools, and APIs.
Agenda
Section 2.1 - Planning and
estimating using the Pricing
Calculator
If you need cross-regional load balancing for a Web application, use HTTP(S) load
balancing. For Secure Sockets Layer traffic that is not HTTP, use the Global SSL
Proxy load balancer. If it’s other TCP traffic that does not use Secure Sockets Layer,
use the Global TCP Proxy load balancer.
Those two proxy services only work for specific port numbers, and they only work for
TCP. If you want to load balance UDP traffic, or traffic on any port number, you can
still load balance across a Google Cloud region with the Regional load balancer.
Finally, what all those services have in common is that they’re intended for traffic
coming into the Google network from the Internet. But what if you want to load
balance traffic inside your project, say, between the presentation layer and the
business layer of your application? For that, use the Internal load balancer. It accepts
traffic on a Google Cloud internal IP address and load balances it across Compute
Engine VMs.
Load balancing overview
Load balancing is when two or more identical servers or server clusters have been
created so that if the load becomes too great, or if one or more servers should fail,
then the remainder can assist with or take over handling the load. This is one way to
create applications and services that are “highly available.”
Load balancing allows multiple servers (or clusters of servers) to function as a single
computing resource. Load balancers can also be configured to add, or remove, these
servers or server clusters from the system to better meet demand. This is known as
“autoscaling.”
Deciding on load balancing options
Cloud load balancer considerations can be divided up as follows:
● Global versus regional load balancing
● External versus internal load balancing
● Traffic type
The slides that follow describe the use cases for different types of load balancers.
Deciding on load balancing options
Google Cloud’s load balancers can be divided into external and internal load
balancers.
External load balancers distribute traffic coming from the internet to your Google
Cloud network.
Internal load balancers distribute traffic within your Google Cloud network.
Use global load balancing when your users and instances are globally distributed,
your users need access to the same applications and content, and you want to
provide access using a single anycast IP address. Global load balancing can also
provide IPv6 termination.
Use regional load balancing when your users and instances are concentrated in one
region and you only require IPv4 termination.
Global load balancing requires that you use the Premium Tier of Network Service
Tiers. For regional load balancing, you can use Standard Tier.
Traffic type is a deciding factor in choosing
a load balancer
The type of traffic you need your load balancer to handle is another factor in
determining which load balancer to use.
● HTTP and HTTPS traffic require global, external load balancing.
● TCP traffic can be handled by global, external load balancing; external,
regional load balancing; or internal, regional load balancing.
● UDP traffic can be handled by external regional load balancing or internal
regional load balancing.
Lab Intro
Set Up Network and HTTP
Load Balancers
In this hands-on lab, you'll learn the differences between a network load balancer and
a HTTP load balancer, and how to set them up for your applications running on
Google Compute Engine virtual machines.