Cloud Foundations - Notes
Cloud Foundations - Notes
Cloud Foundations - Notes
Introduction
What is cloud computing?
1. On-Demand availability of computing system resources, especially like storage and computing
power.
2. Option to use some else’s computer via the internet.
Use a thin computer (Laptop) to connect to a remote computer which is powerful. (Client - servers)
But any failure on the powerful computer will bring down the client computers.
Hence a pool of computers is created and hosted and shared on an on-demand basis. The shared
resource will be virtualized and delivered. Most of the maintenance of hardware is done by the cloud
provider.
Impacts:
Division of labour! (Specialization) - Gives better efficiency since the expert in one field sticks to it and
invests time improving it. The IT infra handling part separated from the core businesses allowing them to
focus on the business value rather than the infra setup and maintenance.
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
SWOT Analysis
Strengths Weaknesses
Allow risk sharing (unused resource handling) Limited customization(any option outside the
cloud providers scope)
Option to abandon infra without cost leverage Evolving internal systems and requirement for
change
SWOT
Opportunities Threats
All enterprise system can be on the cloud Denial of service attacks - cybersecurity
Account hijacking
Some instances where the cloud is secure (physical security). Other instances where local is secure
depends on the consumer.
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
The developer keeps on improving the apps while sysAdmins tend to hold a state of the application
without change.
So while both work together the conflict is always inevitable.
If we make a developer work with the ops team to enable changes seamlessly and add automations for
deployment and maintenance.
Then the generalised term of ‘devops engineer’ arises. While google termed it as site reliability engineer.
Capacity Planning
The server needs for a specific application/business can be approximated and configured. But when the
utilization of the server is less than the max capacity and when the utilization of the server is reaching
above 100% (outage) then the capacity planning fails.
To avoid this cloud offer 2most important factors -> ‘Scale’ - increase capacity with the demand and
‘flexibility’ - reduce capacity when demand falls.
The customer is devoid of the all over capacity of the resources and only uses what is required for them.
In the meantime, cloud providers have a separate use for the available resources on the cloud which is
not utilized. It is provided as a low cost computation service to other customers.
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
Business problems
Businesses would have to consider a lot of points pros and cons before taking the decision to implement
cloud computing and the problems they face while using on-premise or data center are lists here:
a. Infrastructure as a service is required
b. Expertise of managing the data center
c. Business focus should not shift to handling the infra rather it should be within the business
priority actions.
d. Availability at uncertain loads
e. Provisional latency
f. Elasticity
g. Redundancy(Failure tolerance)
h. Infra refresh(life cycle to hardware)
i. Long term/Lock in
j. Confidentiality
k. Compliance
l. Audit trail
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
All the requirements to handle a complete IT infrastructure is being shown. The list reminds of both the
physical and virtual(software) requirements.
Why cloud?
Utilization factor when compared to Datacenter is better in Cloud (Elasticity) and time incurred in
deploying the hardware is reduced
History
From the 1950's the programming logic remained the same but the architecture of the infra has been
improving and helping us speed up the processing and delivery.
Current Era - The Fifth Inflection Point – Virtualization and Cloud computing
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
Definitions
Style of computing in which massively scalable IT related capabilities are provided “as a service” using
internet technologies to multiple “external customers”
Pool of abstracted, highly scalable, and managed compute infrastructure capable of hosting
end-customer applications and billed by consumption.
2. A
ll you need is a credit card
3. T
he cloud always saves you money
4. T
he cloud always reduces your workload
5. I ntegration
a. S
eamlessly blend cloud and your on-premises
b. N
ot suitable to blend public and private cloud
6. C
loud provider can guarantee security
7. U
sing virtualization and cloud computing is same
8. C
loud computing is only about technology
There are myths only but also would come true if implemented without much expertise or knowledge in
it.
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
SPIDERS
SaaS
PaaS
IaaS
bigData
Elastic
Resilient
Subscription
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
https://www.youtube.com/watch?v=XZmGGAbHqa0
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
What powers up cloud computing and makes organisation, developers and administrators be inclined
towards it. The pointers mentioned in the above picture add those values to the cloud.
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
Cloud Offerings
Since the type of tools used inside each cloud has its own name here are the generalized names of the
tools that each cloud provides. For example, elastic infrastructure is the same technology but used as
EC2 instances in AWS , virtual machines in Azure and GCP.
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
The actions items of classical enterprise are now packaged as a cloud provider and hence all those
services become managed services. The cloud customer just needs those services as plug and play and
pay only for those services.
A model where a service provider makes resources, such as applications and storage, available to the
general public over the internet.
The hosting environment is shared between many customers possibly reducing the costs for an
individual customer.
Leveraging economies of scale enables a dynamic use of resources, because workload peaks of some
customers occur during times of low workload of other customers
It is hosted and managed by a 3rd party from one or more data centers
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
Private:
Alternatively, the private cloud may be hosted exclusively in the data center of an external provider, then
referred to as an outsourced private cloud.
Public Cloud providers also offer means to create an isolated portion of their cloud made accessible to
only one customer: a Virtual Private cloud which is the default behavior for many public cloud providers.
Community:
IT resources required by all collaborating partners are offered in a controlled environment accessible
only by the community of companies that generally trust each other.
Hybrid:
Eg any cloud along with any static in-house data center are integrated.
Applications can choose the right environment leveraging the best from each option.
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
Subscription model
1. C
ustomers avoid large upfront capital expense
2. P
ay as an ongoing operational expense
3. E
asily and quickly scale up or down based on business demand and only pay for what is needed.
4. B
etter matches today’s financial drivers
5. N
o buying, it’s always ‘Renting’
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
Delta T calculation for triggering the ‘add provision’ or ‘remove provision’ needs to be set by the user with
respect to the application needs and demand monitoring.
Note: Delta T is the time taken for a new resource to get added into the infra and act as added capacity
to the infra. Without proper calculation of which the capacity graph will look like steep steps up and step
down.
Failure takes out a large chunk Failure takes out a small chunk
One shoe fitting all model Specific h/w for specific task
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
Introduction to Virtualization
Option to utilize a resource to fullest. Divide and rule formula, rather than having one big machine.
a. Virtualization of the computing resources, including servers, network and storage, allows dynamic
flexibility.
e. Physical connectivity is done up front and configuration is done in software at provisional time.
The single OS bears all the underlying bare metal to the application level.
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
Virtualized Stack
Multiple OS on the bare metal and application runs within an OS on the same machine but on different
virtual machines
Characteristics of VM in Cloud
Business Perspective:
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
Technology Perspective:
1. Partitioning: In virtualization, many applications and operating systems are supported in a single
physical system by partitioning the available resources.
2. Isolation: Each virtual machine is isolated from its host physical system and other virtualized
machines. Because of the isolation, if one virtual-instance crashes, it doesn’t affect the other
virtual machines. In addition, data isn’t shared between one virtual container and another.
3. Encapsulation: A virtual machine can be represented as a single file, so you can identify it based
on the service it provides. In essence, the encapsulated process could be a business service.
4. Flexible: Should be able to configure and reconfigure to meet the growing and changing needs.
Virtualization Drawbacks
Amplified physical failures
Licensing costs
2. Virtualized machines come with fixed sizes inside the fixed machines. i.e. max cores
cannot exceed the hardware machines limits.
3. Smaller footprints
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
Containerization vs Virtualization
Container vs Virtualization
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
Use cases where both options are combined is also a valid scenario.
PaaS overview
Abstracts the infra layer and enables us to monitor both infra and application layers. Helps in managing
the underlying layers.
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
The main models being the primary IaaS, PaaS and SaaS, any higher level service models can be
created out of these and above and combination goes on.
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
Cost Based:
Other factors that may be specific to the product as well as the organization
Value based:
And hence you will need to analyze the cost aligned with multiple factors and decide/plan the strategies.
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
Similarly many other such data collection is managed by cloud and provided as a managed service like
monitoring and dashboards etc.
Fault handling
Global concurrency
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
2. W
hich cloud provider
3. F
actoring defining the business process and integration
4. S
ecurity options
5. F
oundation, stateless, future etc.
6. M
icro service approach
2. Secure Distributed Collaboration – SLA maintenance even when Cloud provider faces some service
offline
3. C
redential Federation – decentralized single-sign-on mechanism
4. P
lacement of functionality – huge impact if not placed properly
5. F
ederated Data Collaboration – use on-prem and cloud else bring everything inside cloud
6. Loose coupling – different evolution cycle for the different services and hence loose coupling will help
in retaining the infra intact and still act with individuality.
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
1. Python
2. Javascript
3. Java
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
Infrastructure automation
Infrastructure provisioning can be automated using machine-readable scripts, instead of performing
manual provisioning. This leads to considerable increase in speed of infrastructural operations, and
eliminates the human error.This is known an Infrastructure as Code (IaC)
Options:
a. Chef.io
b. Puppet.com
c. Ansible
d. CI using Jenkins
CI CD models
The developer pushes their codes to version control (git)
The CI/CD automatically kicks in when the code is pushed to git and publishes the code in staging and
starts testing/pushes to production, according to the pipeline flow design. Can also be used with a
docker.
IoT
Physical objects to interact with digital and connected through the internet. Ex. Smart refrigerators, smart
AC, smart water heaters, etc.
Google Brillo:-
https://www.youtube.com/watch?v=2rPkbyyviGI
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
Glossary
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved
PG Program in Cloud Computing
● Horizontal Scalability: Ability to connect multiple hardware or software entities, such as servers,
so that they work as a single logical unit.
● Encapsulation: It is the mechanism that binds together code and the data it manipulates.
● Containerization: an OS-level virtualization method used to deploy and run distributed
applications without launching an entire VM for each app.
● Session Affinity: Session affinity overrides the load-balancing algorithm by directing all requests
in a session to a specific application server.
● Stateless: Class that does not have any class level attribute or an object that is instantiated,
used and thrown away e.g. HTTP
© 2013 - 2021 Great Lakes E-Learning Services Pvt. Ltd. All rights reserved