Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 23

Mid Term Assignment SPRING 2020

Student’s Name_____________________ Registration Number


_________________

Program: BSCS / BSSE Class: BCS/BS-8 (A)

Submission
Course Name: Introduction to Cloud Computing Deadline: 26th April 2020
Instructor’s Name: Dr. Mahmoud Aljawarneh Total Marks: 15

Course Code: CSC4721 Sharing Date: 16th April 2020

IMPORTANT instructions:
 Read all the questions carefully and then solve in this file.
 Marks of each question are mentioned at the end of each question.
 Solved Assignment must be mailed to the respective faculty by the due date and in Word Format
Document. (No scanned or Picture Format File will be acceptable).
 Non-submissions of the assignments will be considered as absent for the Midterm and will be
marked “0” on ZABDESK Recap Sheet.
 While checking of the Assignment, SZABIST Plagiarism policy is to be followed.
 Group assignments are not allowed.
_____________________________________________________________________________

Q.No.1: Define cloud computing? How many types of deployment models are used in cloud?
Shortly discuss and differentiate each of those model types? [5 Marks]

Q.No.2: Research Amazon EC2, Google Cloud Platform and write a detailed comparison
using your own wording and give references where appropriate. Focus on the following
comparative points:
1. Business model (IaaS, PaaS etc)
2. VM instance types offered (such as micro, small, medium, large etc.) along with
their number of vCPUs and memory sizes
3. Storage
4. Development environment offered
5. OS environments offered
6. Performance and scalability
7. Reliability and fault tolerance
8. Pricing model
9. Auto-Scaling/Elasticity
10. Monitoring tools/service provided

[10 Marks]
This Amazon Web Services is took as subordinate of Amazon.com, it started to provide coud
computing facilities in 2006 and launched, they provide different type of solutions platforms and
services has absolutely concreted the technique for cloud computing. But the Amazon EC2 was
launched by amazon in previous 2006 August, which was a public beta, as they’re having 50 plus
more services like few example are defined below such as:

These are some different categories of theirs services:


 AWS Elastic Beanstalk
 Amazon Elastic Cloud Computer “Amazon EC2”
 Amazon Dynamo-DB
 Amazon S3

Google cloud platform was an essential and made different kind of services available and also the
solutions were provided, which allows you to being on the same infrastructure such they merged
hardware and software infrastructure while using their Google services such as Gmail, Youtube.
They started to provide their service in 2008 and launched, they’re also having different kind of
product and services which are also 50 to 60 plus and more.

There are some different kinds of Google cloud platform services:


 Google App Engine
 Google Computer Engine
 Google Cloud Big-table
 Google Cloud CDN
 Google Big Query

Amazon EC2 Business Model: Amazon EC2 or Elastic Computing Service is uses
Infrastructure-as-a-service business delivery model, provides the usages related to intra-cloud
network service, storage’s, processor provisioning, virtual instances and other resources. Basically
IaaS model gives users more controls and flexible functionality.

Google Cloud Platform Business Model: Whereas Google Cloud Platform provides all
types of delivery models, either its IaaS, SaaS, or PaaS. Such google google has its service Google
Compute Engine which provide Infrastructure-as-a-service facilitating consumers to host their
workloads, another one service is Google App Engine, which provide Platform-as-a-service giving
functionalities to software developers and Google cloud storage somehow provide Software-as-a-
Service which allow us to store large unset data.

Google Cloud Platform VM Instances and their size of CPUs and memories:

There are different kind of VM instances delivered by Google cloud platform. Basically those
Google Compute Machine are defined as Google Compute Instances.
Types of General purpose machines offering the great price performance for a different kind of
workloads of consumers:

 Type of N1 Machine offers up-to 96 vCPUS and memory per vCPU is 6.5 MB and those
are obtainable on Haswell, Broadwell, Skylake CPUs Platform, Ivy Bridge and Intel Sandy
Bridge. Where N1 is f1-mico and G1-small pooled types of core’s machines having up-to
one vCPU made available for short interval of bursting it.
 E2 machines typically are cost personalized Virtual Machines that offering up-to 16 vCPUs
and 8Gb of memory used per Central processing Unit. E2 machines having predetermined
platforms of CPU it would be either running on the 2nd generation of AMD EPYC Rome or
Intel Processor. Where E2 is having E2-micro, e2-small and e2-medium it also has pooled
of core’s machines which having several type of CPUs available for short internal of
bursting.
 N2 machines providing up-to 80 CPUs and memory of 8Gb per CPU and obtainable on the
Intel cascade Lake CPU platforms. Whereas N2 could have n2-small, medium, micro.
Depend on the memory workload and pricings.
 N2D machines offering up-to 224 vCPUs and memory of 8 Gb per CPU are accessible on
platform such as second generation of AMD EPYC Rome.
Machines CPUs Memory Machines CPUs Memory Machines CPUs Memory
N1- 1 3.75 N2- 2 8 N2d- 2 8
standard-1 standard-2 standard-2
N1- 2 7.50 N2- 4 16 N2d- 4 16
standard-2 standard-4 standard-4
N1- 4 15 N2- 8 32 N2d- 8 32
standard-4 standard-8 standard-8
N1- 8 30 N2- 16 64 N2d- 16 64
standard-8 standard- standard-
N1- 16 60 16 16
standard- N2- 32 128 N2d- 32 128
16 standard- standard-
N1- 32 120 32 32
standard- N2- 48 192 N2d- 48 192
32 standard- standard-
N1- 62 240 48 48
standard- N2- 64 256 N2d- 64 256
64 standard- standard-
N1- 128 360 64 64
standard- N2- 80 320 N2d- 80 320
96 standard- standard-
80 80

E2 Standard Machine Types


Machines CPUs Memory
E2- 2 8
standard-2
E2- 4 16
standard-4
E2- 8 32
standard-8
E2- 16 64
standard-
16

N1 High Memory Machines Types N2 High Memory Machine Types N2D High Memory Machine Type
Machines CPUs Memory Machines CPUs Memory Machines CPUs Memory
N1- 2 13 N2- 2 16 N2d- 2 16
highmem- highmem- highmem-
2 2 2
N1- 4 26 N2- 4 32 N2d- 4 32
highmem- highmem- highmem-
4 4 4
N1- 8 52 N2- 8 64 N2d- 8 64
highmem- highmem- highmem-
8 8 8
N1- 16 104 N2- 16 128 N2d- 16 128
highmem- highmem- highmem-
16 16 16
N1- 32 208 N2- 32 256 N2d- 32 256
highmem- highmem- highmem-
32 32 32
N1- 64 416 N2- 48 384 N2d- 48 384
highmem- highmem- highmem-
64 48 48
N1- 96 624 N2- 64 512 N2d- 64 512
highmem- highmem- highmem-
96 64 64
N2- 80 640 N2d- 80 786
highmem- highmem-
80 80

E2 High Memory Machine Types


Machines CPUs Memory
E2-highmem-2 2 16

E2- highmem-4 4 32

E2- highmem-8 8 64

E2- highmem-16 16 128


N1 High CPU Machines Types N2 High CPU Machine Types N2D High CPU Machine Types
Machines CPUs Memory Machines CPUs Memory Machines CPUs Memory
N1- 2 1.80 N2- 2 2 N2d- 2 2
highcpu-2 highcpu-2 highcpu-2
N1- 4 3.60 N2- 4 4 N2d- 4 4
highcpu-4 highcpu-4 highcpu-4
N1- 8 7.20 N2- 8 8 N2d- 8 8
highcpu-8 highcpu-8 highcpu-8
N1- 16 14.4 N2- 16 16 N2d- 16 16
highcpu- highcpu- highcpu-
16 16 16
N1- 32 28.8 N2- 32 32 N2d- 32 32
highcpu- highcpu- highcpu-
32 32 32
N1- 64 57.6 N2- 48 48 N2d- 48 48
highcpu- highcpu- highcpu-
64 48 48
N1- 96 86.4 N2- 64 64 N2d- 64 64
highcpu- highcpu- highcpu-
96 64 64
N2- 80 80 N2d- 80 80
highcpu- highcpu-
E2 High
80CPU Machine Types 80
Machines CPUs Memory
E2- 2 8
highcpu-2
E2- 4 16
highcpu-4
E2- 8 32
highcpu-8
E2- 16 64
highcpu-
16

Amazon EC2 VM Instances and their size of CPUs and memories:


Amazon EC2 instances of A1 provides significantly savings of cost and appropriate preferably for
Arm-based loads of work and scale out are supported through Arm ecosystem A! which is
exntensive. A1 are the 1st EC2 instances motorized by Amazon web services (AWS) processors of
Graviton that 64 bit Arm Neoverse feature custom silicin and cores designed by Amazon Web
Services.

Instances CPU Memory


A1.medium 1 2
A1.large 2 4
A1.xlarge 4 8
A1.2xlarge 8 16
A1.4xlarge 16 32
A1.metal 16* 32

Amazon T3 Instance:
Instances of T3 are next level generation all-purpose instance categories which are burstable that
delivers standard level of performance of Central Processing Unit. Where this instance offers a
stability of memory, compute and resources of networks especially intended for use of apps with
moderate Central processing unit practice that practice impermanent points of procedure.

Instance CPU Memory


T3.nano 2 0.5
T3.micro 2 1
T3.small 2 2
T3.medium 2 4
T3.large 2 8
T3.xlarge 4 16
T3.2xlarge 8 32
Amazon T3a Instance:
Instances of T3a are also a next level generation all-purpose instance categories which are
burstable that delivers standard level of performance of Central Processing Unit, keeping ability to
burst CPU whenever it’s required and as long as you wants. Where this instance offers a stability
of memory, compute and resources of networks especially intended for use of apps with moderate
Central processing unit practice that practice impermanent points of procedure. This instance
distribute up to cost reserves as 10% over like other occurrences types.

Instance CPU Memory


T3a.nano 2 0.5
T3a.micro 2 1
T3a.small 2 2
T3a.medium 2 4
T3a.large 2 8
T3a.xlarge 4 16
T3a.2xlarge 8 32

Amazon T2 Instances:
Where TS instance of amazon provide very great performance of bursting that offer a standard
performance of central processing unit with the aptitude to erupt overhead route. T2 instances
ability and performance would have unlimited which can tolerates a very great performance of
CPU for as extended as capacity of working requirements. T2 instances are good choice if you
need variety of general purposes in one specific instance to perform all workloads.

Instance CPU Memory


T2.nano 1 0.5
T2.micro 1 1
T2.small 1 2
T2.medium 2 4
T2.large 2 8
T2.xlarge 4 16
T2.2xlarge 8 32

Amazon M6g Instances:


EC2 M6g Amazon instances are motorized by Graviton2 processors which is Arm based Amazon
web services. This offers beneficial and better performance/price up to 40 percent over existing
compeers M5 occurrences of instance. Delivers a balancing memory, compute and resources of
networks for a wide-ranging regular set of work capacities.
Instance CPU Memory
M6g.medium 1 4
M6g.large 2 8
M6g.xlarge 4 16
M6g.2xlarge 8 32
M6g.4xlarge 16 64
M6g.8xlarge 32 128
M6g.12xlarge 48 192
M6g.16xlarge 64 256

Amazon M5 Instances:
Amazon EC2 instances of M5 are bring as latest version generated, which used for general
purposes and motorized by Platinum 8175M processors of Intel Xeon. This instance also delivers
the balancing environment of memory, compute and resources of networks.

Instance CPU Memory


M5.large 2 8
M5.xlarge 4 16
M5.2xlarge 8 32
M5.4xlarge 16 64
M5.8xlarge 32 128
M5.12xlarge 48 192
M5.16xlarge 64 256
M5.24xlarge 96 384

Amazon M5a Instances:


Amazon EC2 instances of M5a are bring as latest version generated, which are also used for
general purposes and motorized by processors series of AMD EPYC 7000. This offers beneficial
and better performance/price up to 10 percent over existing compeers M5 occurrences of instance.

Instance CPU Memory


M5a.large 2 8
M5a.xlarge 4 16
M5a.2xlarge 8 32
M5a.4xlarge 16 64
M5a.8xlarge 32 128
M5a.12xlarge 48 192
M5a.16xlarge 64 256
M5a.24xlarge 96 384
Amazon M5n Instances:
EC2 M6g Amazon instances are motorized by 2nd generation of Intel Xeon Scalable processors.
This offers beneficial and better performance/price up to 40 percent over existing compeers M5
occurrences of instance. Delivers a balancing memory, compute and resources of networks for a
wide-ranging regular set of work capacities with ability of web servers where applications could be
deploy, such other features provided as cluster computing, mid-sized databases and servers of
gaming.

Instance CPU Memory


m5n.large 2 8
m5n.xlarge 4 16
m5n.2xlarge 8 32
m5n.4xlarge 16 64
m5n.8xlarge 32 128
m5n.12xlarge 48 192
m5n.16xlarge 64 256

Amazon M4 instances:
EC2 M6g Amazon instances are motorized by 2nd generation of Intel Xeon E5-2676 v3 Scalable
processors. It also delivers a balancing memory, compute and resources of networks for a wide-
ranging regular set of work capacities.

Instance CPU Memory


m5n.large 2 8
m5n.xlarge 4 16
m5n.2xlarge 8 32
m5n.4xlarge 16 64
m5n.12xlarge 40 160
m5n.16xlarge 64 256

Google Cloud Storage:


Google cloud storage offering storages worldwide and highly available anywhere, and extremely
robust objective storage that scales up data to exa-bytes. It gives ability to access promptly any
class of storage even it reliable to integrate with our applications with only using Application
program interfaces (API) which are provided by Google. Optimize enactment and price
effortlessly. Such like there are three main points are illustrated by Google. It’s deliberated for
strong and secure storage. It decreases carbon emanations data storages to nil. It improves
performance and prices with OLM which is Object Life-Cycle Management crossways the
modules of data storage.

Less Frequency Access Lowest Frequency Low Frequency High Frequency Access
Access Access
Near-line Archive Cold-line Standard
Their Class of Near-line Archive storage class Their Class of Cold- Mostly the general projects
is highly durable and so specifically storage line is highly durable get started with storage
fast storage for designed for cost and so fast storage for which holding standard
accessing data reduced operative and for long accessing data reduced classes which is especially
amount of than monthly term maintenance for amount of than quarter heightened for higher
which once. accessing data reduced a once. access related to frequency
amount of than yearly and performance.
which once

Amazon Cloud Storage:


Amazon Web Services (AWS) EC2 offers extensive variety of storage services of cloud to
provision requirements of both archival and application. Even gets selected from file, block or
object storages as well as the options of migrating cloud data to begin the conniving of
fundamentals of your Information Technology (IT) Environment of Cloud. Where EC2 instances
have maximum capacity of bandwidth which is 25 GBPS.

There are some following cloud storage products of Amazon Services:

Amazon Elastic File System (EFS): Simplified EFS system, scalability for balancing capabilities
of workloads of Linux-based system while using Amazon web services and resources are on
premises.
Amazon Elastic Block Store (EBS): this storage is locally designed for Amazon EC2 and for
NoSQL Database, and relational database management system, Big Data Processing in which data
mining comes, enterprises/industries applications or for the setup of recovery and back up file
system.

Amazon Simple Storage Services (Amazon S3): This one is the most rleaible for accessing like
from anywhere having any internet location you can access the data file. Its counted in swerverless
computing, and for the content of which is generated by user.

AWS Backup: In this features the backups are fully managed by Amazon that makes easier for
user to access and get back up whenever the consumer wants to get even on across Amazon web
services or on premises using the gateway of AWS storage.

Amazon S3 Glacier: Extremely reasonable for extensive term classes of storage that may
interchange compliances regulatory and archives.

Amazon Storage Gateway: A cloud of fusion which is hybrid storage enhancing situation of on-
premises with the use of Amazon Cloud Services (ACS) for transferring and bursting.

Google Cloud Platform Development Environment:


Google Cloud platform having feature of Google App Engine which is considered as Development
Environment of Google. Which facilitates users to develop their applications either it’s desktop or
web based. Those Applications which are integrated and designed using architecture of micro-
service. There are two types of Development environment modules are provided by Google App
Engine: Standard Environment and Flexible Environment, consumer’s utilities both environments
for their developments.

Flexible Environment:
Instances of application executed within container of Dockers which utilize computer engine
virtual machine, there are some following listed languages which are supported by flexible
environment:
 Python
 Ruby
 Java
 NodeJS
 Go
 PHP
 .NET

Those application which receives stable traffic and faces regular fluctuations of traffic and uses the
constraints of feature scaling, like sometimes it would be up or down progressively. Customs and
relies on frameworks that having code which is native one. While utilizing this flexible
environment, retrieving the services which are provided by Google cloud development that exists
in the Google compute engine.

Standard Environment:
Instances of application executed using sandbox. And in this standard environment scaling
performs its rapid actions like it quickly measure and move either Up or to Down. Some specific
versions of programming language are given below which are supported by standard environment:

 Java 11 & 8
 Node.js 10 & 8
 PHP 7.3, 7.2 & 5.5
 Ruby Beta Version 25
 Python 2.7 &3.7
 Go 1.11, 1.12 & 1.13 (All are beta)
Those applications envisioned to execute at actual low or free of cost. There’s environment given
by them that is only for what you need and when you needed.

Amazon EC2 Development Environment:


Amazon EC2 have different type of services to build a development environment and supports
multiple languages, those SDKs, Libraries and some other variety of developer tools need to be
install in this environment to take out solutions of building programs on environment. Such as
Amazon EC2 having feature of AWS Cloud9 which is environment used for development and this
environment based on cloud Development Environment, which makes you able to execute,
debugging or writing a code just using only a browser, it’s having functionalities such as it has its
own terminal, debugger and code-editor. This environment comes with the complete package with
supporting multiple languages such as PHP, Python, Java and so on. Cloud9 environment allows
you to access your written code from anywhere like even if you’re at home or office or anywhere
else like you just need an internet connection to your machine to access your project. It also
enables a developer to share written code or complete environment with other team members,
paired work of all team members and tracks pathway inputs of each of them.

Cloud9 which is provided by Amazon web services, makes flexible to execute your any kind of
environment related to development which is coped on instance of Amazon EC2. This
environment having many beneficial features and functions such as it makes you able to get hint of
code and completion of code throughout the debugging process. The service of Cloud9 gives
flexibility of experiencing shell which is based on browser that’s so reliable to work on, further
software is needed to be install, put it though git-hub or hit commands of whatever language you
want.

This development environment makes you able to execute or build your applications that based on
server-less, Those configurations are needed to make server-less application so it take all
predefined configurations with Libraries, SDKs and plugins. So it save much more time, consumer
don’t faces much difficulties while using this platform.

OS Environments Offered by Google Cloud Platform:


Operating System which are supported and provided on Google compute engine necessitates
packages of Guest Operating system which must be specific.

There are some following Operating Systems are available by maintainers to Guests.

Google provided Operating Systems:


 Debian 9 & 10.
 Windows Server 1909, 1903, 1809, 2016, 2012 (R2), 2019, SQL Server on Windows
Server.
 Container Optimized OS.
 Those Windows which brings own license:
- Windows 7
- Windows 8
- Windows 10
 SUSE
- SLES 12, SLES 15, SLES for SAP
 CoreOS
- CoreOS metadata
- CoreOS ignition

OS Environment Offered by Amazon EC2:


There are variety of operating systems are available and provided by Amazon EC2 are listed
below:
 Ubuntu
 Amazon Linux
 Red Hat Enterprise Linux
 Enterprise Server
 OpenSUSE Leap
 Fedora Core OS
 Fedora
 CentOS
 Gentoo Linux
 FreeBSD
 Oracle Linux

Google Cloud Platform Scalability and Performance:


In scalability, capacity adjusts itself on consumer’s demand, basically this Google Cloud Platform
system has ability to handle several quantity of work over removing or adding resources since to
the system. For instance; one of the application of web which is developed by Google compute
Engine works simultaneously for several kind of several users, those are merged together, so
handling this web application’s traffic and peaks. It’s seen as a key to business driver when you’ll
be moving to cloud, the adjustment of resources is flexible in Google Cloud Platform, even
reducing the cost when you decrease resources.

But Google don’t do any compromise in experience of consumer and performance. While the time
of providing high extreme resources to user is when the traffic of users instance goes on peak. So
when you needed a required resources, it must provide by Google Cloud Platform.
GKE which is Google Kubernetes Engine and GCE which is Google Compute Engine, in both
these, collections are combined with auto-scalar and based on metrics this processes see the
condition like in growing and shrinking the resources to consumer.

Server-less platform of Google Cloud offered already coped storages, databases, compute system
and other kind of facilities. So the performance is take its place rapidly act to scaling from 0 to
volume requests which volume even could go high, whatever resources consumed by users,
metrics are auto-saved. Based on these metrics user pays.

Metrics crosswise over infrastructure and Applications provided by Google cloud platform, which
help to take decision when you make data determined scaling. And Cloud-spanner, Big-table such
type of these databases can increase performance and constantly provide theirs best even on huge
size of data.

Amazon EC2 Scalability and Performance:


Scalability and performance according to perspective of Amazon EC2 is defined as; its shows a
Virtual Computing Environment (VCE), which makes you able to launch instances within various
OS via using Interfaces of web-services, even allows you to load them within environs of
customized applications and controls the confidential accesses of networks, it executes your
image-file-system within one or many systems which are provided. To utilize Amazon EC2; you
just follow some steps and conditions to make scalability good, selecting of Amazon Machine
Image AMI template to be execute which already pre-configured by the provider system or they
gives ability in order to make your own configured system like using data, libraries and other
setting services. Also offering constant security and performance capability to the existing system,
it makes user more flexible to use all the offered functionalities easily and improves the system’s
scalability.

Depends on user needs when the instance needs to be start or stop, just those actions performed by
users, so when you begin to use the instance, the agent makes metrics according to usage of
instance while Amazon EC2 uses billing system, this gives ability to reduce cost, just you pay for
what you’ve used.
Amazon EC2 also provides the optimization on cost reduction and computational performance.
Such we’ve fleet of Amazon EC2, using a single API you can access the fleets of EC2, and
provisioning the capacity of compute crossways to various instances of EC2. Even you can state as
per requirements which instance has to be scale up or down. And all resources are provided on-
Demand of user. On the other side, the process of hibernation is seen which is used to hibernate
your instance like when the user wants to stop instance or resume, when the instance is hibernated
you can’t even perform function on instance, it’s also gives capability to reduce cost and enhance
its performance.

Reliability and Fault Tolerance of Google Cloud platform: Google cloud platforms
services are meant to be reliable for any kind of industry organization even paid or non-paid such
as used for institutions of governments, any kind of business, schools and colleges. Google having
powerful infrastructure which is used by 1 billion of users and Google cloud platform uses and
support eight applications, variety of services provided by Google cloud platform to use which as
App Engine offering Infrastructure as a service and another one is Compute Engine which using
model of Platform-as-a-service, also provide best offers via Gmail to utilize it. Where for the fault
tolerant for GCP is defined as, the architecture of Microsoft active directory deployed on Google
cloud which has Internet information Services IIS and SQL server services.

Reliability and Fault Tolerance of Amazon EC2: The Amazon EC2 is so influential
and great instance. It’s also called a virtual machine as it as numerous advantages like offering
capacity of computing which is quiet greatly scalable and even easy to use just like start the
machine and stop. They offering several amongst operating systems to choose, the need of straight
investments’ are eradicated, fastest services provided by Amazon, you can easily make your own
application and deploy in the fastest moment and on Amazon EC2 gives elasticity of several
servers to be launch when needed like as per your requirements. As fault tolerance is managed on
Amazon EC2, when the users get allowance to access those offered resources, so the mechanism of
EC2 works as user couldn’t face any error from initializing to configuring. It also comprises
regions which took as geographical that known as for fault-tolerance is zone of availability. So
when the user accessing the instance so Amazon machine image (AMI) must be selected and user
doesn’t face any delay.

Pricing Model Supported By Google Cloud Platform:

Cloud Pricing Basics


COMPUTE STORAGE NETWORK
Machine categories which are To managing Storages of databases When you’ll be accessing glob
customize and offers what you solutions is to spin your own storage. network of Google work whil
exactly needed for your load of However, G-C-P, which considered to pricing, other opponents compa
work, providing quick action in secure your which you’re having on pricing, so Google doesn’t give
Scaling Up and Down, offers storages. Offered a great IOPS, additional charges to access.
discounts when you consumers replication which being automatic. All
uses more. are on no cost at premium.

There are other Customer Friendly Pricing accessible which offered by Google cloud pricing
models, Pay as you go; in which when you’ll be needing service so you’ve to pay. 2nd one is
Termination fees; in this model you don’t have to pay in each second when turning it off. And the
last one is No up-front costs: there’s no any cost required by google, some greats services are
provided by Google.

Pricing Model provided by Amazon EC2:


Before getting subscription via pricing, it’s a free to get trial and EC2 five sorted categories of
pricing model which are defined below:

On-Demand: The resources provided by Amazon EC2 is depending on consumer, if it gets less
subscription is the beginning, and after some time, the consumer needed more resources, so it
could be offer at On-Demand manner. There’s no any long term commitment done between
provider and consumers, as users uses application on demands and pay for them.

Spot Instances: Which allows you to get capacity of computing while requesting and discounts of
90% provided on getting on Demand offer.
Saving Plans: This one is the most flexible pricing on which you get one time subscription for
even one month constant or one year.

Reserved Instances: Discounts provided in Reserved Instance are quite good and up to 75%
given. When you get subscription of Instance it give additional features to use, so you can use
those reserved instance whenever you want.

Dedicated Hosts: Dedicated hosting only specified for use and it’s took as EC2 server physically.
And provides hourly based subscription plan on-Demand.

Google Cloud Platform Auto-Scaling/Elasticity:


While managing groups of instances in Google Cloud Platform, proficiencies of auto-scaling are
provided and this allows to you perform action like even adding or deleting instances depends
whether reducing or enhancing loads of work. It helps you to handling and managing trafficking to
be increase. When you needed minimum resources and it must reduce cost with checking the
parameters of resources usages.so when you adding the instances It means you’ll get scaling to
upward and when you decreasing or deleting the instances means the scaling will go downward.

There are some essentials concepts and services are used to auto-scaling in Google Cloud platform
which are:

Managed Groups of Instances: There are both concepts are seen like unmanaged and managed
groups, so the auto-scaling only to be perform with managed group of instances in Google cloud
platform, whether you’re adding or deleting instances which made through template of instance.

Policy of Auto-Scaling and Utilization Targeted: In this procedure you makes some policy and
creates auto-scalar when to choose the level of target utilization, there are some following
standards defined below through which you can define policies:
- Utilization of CPU which is averaged.
- Allocation to capacity of HYPER TEXT TRANSFER PROTOCOL load assessment.
- Cloud metrics of monitoring.
There are two types of periods are observed and jumble-sale by Google Cloud Platform:
Period of Cool down Period of Stabilization
When instance to be initialize, sometimes usage On the edge of last 10 minutes of period,
statuses aren’t reflected usually, so these kind of the groups of endorsed targeted size is
statistics of usage wouldn’t be steadfast for the calculated by auto-scalar. These preceding
auto-scalar to comprehend. When you’ll be 10 minutes are stated as the period of
omitting the corresponding data, meanwhile, in stabilization. But it could make delay to
this period of time, you take an cool down process scaling down while usage of these last 10
which permits instances to complete initializing of minutes. But this feature is considered as
instance afore the gathering usage information auto-scaling
process starts by the auto-scalar and the cool-down
time amount is 60 sec.

Amazon EC2 Auto Scaling/Elasticity:


Through Amazon EC2 auto-scaling the instances are automatically increased or decreased
according to the requirements and conditions you defines while workload and it permits to
preserve availability of application. There’s a feature defined as FMF which is Fleet Management
Feature specifically used for Amazon EC2 which helps to scaling on auto-mode to maintaining
accessibility and healthiness of your fleet whether it should be available or not according to the
needs of consumer. There are also some beneficial features of predictive and dynamic scaling,
through both of these scaling features you can even eradicate or add instances of Amazon EC2.

Where the procedure of Scaling at Dynamic works as, it’s always to make changes on demand, on
the other side, Predictive scaling process works as; those demands which are predicted are made
available as EC2 instances automatically. Both of these mechanism could be merge together to
make rapid scaling process.

Some Benefits are defined in Amazon Auto-Scaling which are:


- Improve fault tolerance: This process of improving always detects the useless
instance and delete it or new one instance is to be replaced with useless one.
- Costs based on lower: It maintains cost of consumer like the resource or instance
would be available when it’s needed.
- Increases the availability of application: This process is used to ensure that your
Auto-scaling process is working in right way and compute the amounts. It improves
capacity with scaling process of predictive.

Google Cloud Platform Monitoring Tools:


Platform of Google cloud is highly active and available publically in order to provide several
services such as Machine Learning, Big Data, Computational power, Storages and services to
development applications, so there are several kinds of tool are used by Google Cloud Monitoring,
via monitoring tools, those occurred errors or bugs could be troubleshoot automatically, so the
performance could take it good place and optimized with the help of constant monitoring.

Especially those applications which powered by cloud and their performances, robustness and
overall healthiness shown while getting monitor services. Metadata, events and metrics are
collected From GCP, which comes in full-stack monitoring.
Those tools are listed below:

Google Cloud Storage Monitoring tool: Which is used to monitor storage’s containers in real-
time and analyze it.

Google Cloud File-store Monitoring tool: It manages the services of file-storage which requires
for application, and the file-system interface and data’s shared file-system is necessary for
applications. This platform allows you to make sure the readiness and robustness of instances,
rapidly trouble-shooting of errors.
Some of other tools like for resources, billing, storage disks, and networks, on the other side, it’s
confidentiality, integrity and availability are also monitored by Google Cloud Platform.

Monitoring Tools of Amazon EC2:


Amazon Web Services offers several kinds of monitoring tools that used to check your all instance
related services, depends what tools you configure to get examine. However, the part of
monitoring those services is mainly covers performance, availability and reliability of the instance
of Amazon EC2. You must be gather complete data of all fragments of Amazon web services
solutions to be monitor so you’ll be able to debug any kind of system failure or error occurred in
instance. Below the different kind of conditions may be occur, so getting performance analyzes all
the time is needed. There are some kind of services need to be monitor such as Utilization of
network, CPU, performance of Disks even its read/writes mechanism and some of other logs
needed to be observe.

There are two kind of monitoring tools comes in Amazon EC2: One is Manual Monitoring Tools
and other one is Automatic Monitoring Tools.

Manual Monitoring Tools are must be enable by users to check performance for specific resource
which is being utilized by consumer.

Automatic Monitoring Tools, which provides auto-check in performances of services which are
used by consumer.

1 Automatic Monitoring Tools


2 Amazon Cloud-Watch Alarms
3 Cloud-Watch Logs of Amazon
4 Check of system status
5 Amazon Cloud-Watch events
6 Instance status check
7 Management Package of AWS used for the system center of Microsoft and managing
operations
8 Amazon EC2 Scripts Monitoring

Manual Monitoring Tools: This part of manual monitoring allows users to monitor those
provided services by himself such like check of status, scripting monitors and alarming Cloud-
Watch aren’t enclosed with it. Some of the dashboards are displayed to user to monitor all of these
things according to the user’s requirements.

References
https://kinsta.com/blog/google-cloud-vs-aws/
https://cloud.google.com/compute/docs/machine-types#predefined_machine_types
https://aws.amazon.com/ec2/instance-types/
https://aws.amazon.com/products/storage/

You might also like