Mid Notes
Mid Notes
Characteristics
- Remotely hosted: services hosted on remote infrastructure
- Ubiquitous: Service or data are available from anywhere
- Commodified: Pay for what you want.
Deployment Models
Services models
ADVANTAGES:
- Cost saving: Companies can reduce their capital expenditures and use
operational Cost Savings expenditures for increasing their computing
capabilities.
- Scalability/Flexibility: Companies can start with a small deployment
and grow to a large deployment fairly rapidly
- Reliability: Services using multiple redundant sites can support
business continuity and disaster recovery.
- Maintenance: Cloud service providers do the system maintenance, and
access is through Maintenance APIs that do not require application
installations onto PCs, thus further reducing maintenance
requirements.
- Mobile accessibility : Mobile workers have increased productivity due
to systems accessible in n-infrastructure-available-from-anywhere.
DISADVANTAGES:
- Requires constant stable Internet connection
o Cloud computing is impossible if you cannot connect to the
Internet.
o A dead Internet connection means no work and in areas where
Internet connections are few or inherently unreliable, this could
be a deal-breaker.
- Stored data might not be secure:
o With cloud computing, all your data is stored on the cloud.
The questions is How secure is the cloud?
o Can unauthorized users gain access to your confidential data?
- Stored data can be lost:
o Theoretically, data stored in the cloud is safe, replicated across
multiple machines.
o But on the off chance that your data goes missing, you have no
physical or local backup.
Put simply, relying on the cloud puts you at risk if the
cloud lets you down.
Cloud broker;
- Needed for cloud integration
- Manages the use, performance and delivery of cloud services and
negotiates relationships between cloud providers and cloud
consumers.
- Three types of integration;
o Service Intermediation: Broker enhances a service by improving
capability and providing value-added services to consumers. The
improvement can be managing access to cloud services, identity
management, performance reporting, enhanced security, etc.
o Service Aggregation: Broker combines and integrates multiple
services into one or more new services. The broker provides data
integration and ensures the secure data movement.
o Service Arbitrage: It is similar to service aggregation with the
flexibility to choose services from multiple agencies. For
example, a broker can select a service with the best response
time.
Cloud carries;
- Provide access to consumers through network, telecommunication and
other access devices.
HDFS:
Distributed file system that is fault tolerant, scalable and extremely easy to
expand
- Provides interface to applications to move themselves close to data
- Design to “just work” however a working knowledge helps in
diagnostics and improvements
COMPONENTS OF HDFS:
There are two (and a half) types of machines in a HDFS cluster
• NameNode – is the heart of an HDFS filesystem, it maintains and
manages the file system metadata. E.g; what blocks make up a
file, and on which datanodes those blocks are stored.
• DataNode – where HDFS stores the actual data, there are usually
quite a few of these.
HDFS DATA ORGNAIZATION:
- Each file written into HDFS is split into data blocks
- Each block is stored on one or more nodes
- Each copy of the block is called replica
- Block placement policy
- First replica is placed on the local node
- Second replica is placed in a different rack
- Third replica is placed in the same rack as the second replica