CC 5
CC 5
1. Security Issues:
These are problems related to keeping the data safe on the cloud.
• Data Integrity: Anyone can access cloud data if not protected well. Cloud does not separate
sensitive data from regular data, so it's easy to misuse.
• Data Theft: Vendors often rent servers instead of owning them, increasing the risk of hacking
and stealing data.
• Vendor Security: The security depends on the cloud vendor. If the vendor doesn’t ensure
strong security, the data is at risk.
• User-level Security: Even if a customer is blocked from some actions, they might still find
ways to misuse data.
• Information Security: Data can be stolen while moving between servers or while being
processed.
2. Data Issues:
These problems are related to storing, accessing, and managing data in the cloud.
• Data Loss: Data can be lost due to technical failures or legal problems.
• Data Location: Users don’t always know where their data is stored, which raises trust issues.
• Data Lock-in: Difficult to move data from one cloud provider to another due to different
formats or rules.
• Data Segregation: Data from different users is stored together, which may lead to leakage or
mixing.
• Data Confidentiality & Auditing: Cloud data is often stored in public environments,
increasing the chance of attack.
• Data Deletion: Deleting data may not be possible sometimes, and this can affect backups.
• Data Integrity Check: Ensuring that data is accurate and untampered is challenging.
3. Performance Issues:
• App Hang-ups: Occurs when the server runs out of memory or processing power.
• Scalability Problems:
4. Energy-Related Issues:
• Rising Energy Bills: Electricity costs are a big challenge for cloud providers.
Fault tolerance means the system continues to work even if something goes wrong.
• System Failures: If systems crash, data may be lost or services may stop.
• Software Bugs: Some bugs may only appear during real use, not during testing. Cloud
systems must be ready to handle such failures.
Cloud security challenges are the risks or threats that can affect the confidentiality, integrity, and
availability of your data stored on cloud platforms. These include:
• Public Cloud: Data is more exposed to the public, so it has higher risk.
• SaaS (Software as a Service): Users depend on the provider for all security.
• PaaS (Platform as a Service): Developers must secure the apps they build.
• IaaS (Infrastructure as a Service): Users are responsible for securing OS, data, and apps.
• Flooding Attack: Too many requests are sent to crash the system.
• Data Deletion & Lock-in: Data may be deleted accidentally or locked by vendors.
• Shared Resources: In cloud, many users share the same server, increasing risk.
• Weak Authentication: Poor passwords or access control can lead to unauthorized access.
• Access Control ensures only authorized users can access the data.
Data that is being transferred between user and cloud or between cloud servers.
• Authentication & Identity Management ensures only verified users access data.
• Monitoring & Logging tracks who accessed the data and when.
Cloud computing has many benefits, but there are some major challenges or hurdles that affect its
growth and usage. These are:
• Sensitive data is stored online, so there is always a risk of data breaches, hacking, and
misuse.
• Users may not fully trust cloud providers with their confidential data.
2. Downtime or Unavailability
• Cloud services depend on the internet. If the internet or cloud server goes down, services
are not accessible.
• Even big companies like AWS or Google Cloud sometimes face outages.
• They have less control over how data is stored, managed, or backed up.
• Uploading and downloading large data to/from the cloud can be slow and expensive.
• Poor security settings can lead to unauthorized access and data leaks.
6. Vendor Lock-In
• Different countries have different rules about where and how data can be stored (like GDPR
in Europe).
• Cloud providers must meet all the legal and compliance requirements.
8. Performance Issues
• If the application is not optimized or if cloud servers are overloaded, users may experience
slow performance.
Even though cloud computing offers many benefits like flexibility, cost-saving, and scalability, it also
faces several challenges. These include:
4. Cost Management
• Cloud may appear cheaper, but costs can increase unexpectedly due to:
o Incompatible platforms
• Different countries have different data protection laws (like GDPR, HIPAA).
8. Performance Issues
• Latency and speed issues may arise, especially in high-traffic or global applications.
• Older systems may not easily integrate with modern cloud platforms.
o DevOps
o Cloud architecture
• Cloud service issues (like outages or bugs) may take time to resolve.
Definition:
Software as a Service (SaaS) is a cloud computing model where software applications are delivered
over the internet. Users can access the software via a web browser without installing or maintaining
it on their local machines.
How SaaS Works:
2. Users access the software through the internet (no need to install).
Advantages of SaaS:
• No installation needed.
• Reduced IT workload.
Disadvantages of SaaS:
• Internet-dependent.
Real-Life Analogy:
Software as a Service (SaaS) has become popular due to several key factors that support its rapid
growth and adoption. These driving forces include:
1. Low Cost
• SaaS reduces the need for expensive hardware and software installations.
2. Easy Accessibility
• SaaS applications are accessible via the internet from anywhere, using any device.
3. Automatic Updates
4. Scalability
• SaaS platforms can easily scale up or down based on the user’s needs.
5. Faster Deployment
• SaaS apps are ready to use quickly, with no lengthy installation or setup process.
• Cloud providers offer built-in data security, backups, and disaster recovery, which are hard to
manage in local systems.
• With better internet access worldwide, more users can rely on online applications like SaaS.
Question 5.10:
Answer:
Cloud computing relies on a set of standards to ensure interoperability, security, and scalability.
Common standards include:
1. Common Standards: Ensure systems work together, especially across different cloud
providers.
2. Open Cloud Consortium: Promotes open frameworks and data standards for cloud
computing.
3. Distributed Management Task Force (DMTF): Provides specifications like CIMI (Cloud
Infrastructure Management Interface) for resource management.
4. Standards for Applications: Define how apps can be deployed and managed (e.g., SOA -
Service-Oriented Architecture).
5. Standards for Developers: APIs and tools that developers use for cross-platform support.
This model, developed by NIST (National Institute of Standards and Technology), includes the
following components:
• Cloud Auditor: Evaluates cloud services for performance, security, and compliance.
• Cloud Broker: Manages service delivery and relationships between provider and consumer.
There’s also a diagram in your book showing these entities and their interactions (e.g.,
communication lines between consumer and provider via broker and carrier).
Question 5.11:
Discuss the scope between provider and consumer of NIST cloud computing reference
architecture.
Answer:
This question is asking you to describe how responsibilities and operations are shared between cloud
providers and cloud consumers.
Key Points:
o Responsible for managing their own data and applications hosted on the cloud.
o May need to configure settings or manage virtual machines depending on service
type.
3. Scope of Interaction:
o IaaS: Consumer manages the full virtual machine, OS, applications, etc.
4. Other Entities:
For messaging in cloud computing, the suitable standards and protocols often depend on the use
case (like asynchronous messaging, real-time messaging, or integration). But here are some widely
accepted standards and protocols commonly used for messaging in cloud environments:
o A Java API standard for sending messages between two or more clients.
4. REST/HTTP-based Messaging
o Many cloud messaging services (like AWS SNS/SQS, Azure Service Bus) support REST
APIs for messaging.
5. WebSockets
• For reliable enterprise messaging: Use AMQP or JMS (if using Java).
• For easy cloud integration with web apps: Use REST/HTTP APIs or WebSockets.
Sure! Here’s a simple explanation of different security standards in cloud computing — these are like
rules or guidelines to keep data safe when using cloud services.
1. ISO/IEC 27001
• It helps organizations keep their data safe by setting up security rules, processes, and checks.
2. NIST SP 800-53
• Created by NIST (a U.S. government group), this gives a list of security controls (rules) to
protect computer systems and data.
• It’s detailed and helps organizations manage risks and secure their cloud systems.
• It lists important security controls and best practices that cloud providers and users should
follow.
• This standard protects payment card information like credit card data.
• If cloud services store or process medical data, they must follow HIPAA rules.
• It sets requirements for cloud providers to work with government agencies securely.
Why these standards matter?
• They guide companies on how to keep cloud systems safe and follow laws.
End User Computing refers to systems and tools that let non-technical users (like employees or
customers) create and manage applications or data without needing help from IT experts.
Examples include:
It helps users solve problems quickly and increases productivity, but may also lead to security or data
issues if not managed properly.
Cloud Computing means using the internet to access and store data or run software instead of using
a local computer or server.
For example:
Benefits include:
Hadoop is an open-source software framework created by Apache to deal with big data – which
means very large and complex sets of data that are hard to manage using traditional tools.
Hadoop helps in both storing and processing such data efficiently across many computers connected
in a network.
How Hadoop Works
o It splits large files into smaller parts and stores them on multiple computers.
o This makes storage fast, reliable, and safe (even if one computer fails, data is not
lost).
2. MapReduce:
o It divides a task into smaller parts, processes them in parallel on many computers,
and then combines the results.
• Flexible: Can handle all kinds of data – text, images, videos, etc.
• Fault-tolerant: Even if some computers crash, Hadoop keeps working without data loss
Uses of Hadoop
1. Big Data Analysis – Used by companies to analyze huge data sets (e.g., customer behavior,
trends).
2. Search Engines – Used by Google, Yahoo, etc., to index and search data quickly.
3. Social Media – Platforms like Facebook use it to analyze user activity and ads performance.
5. Banking & Finance – Detects fraud, risk management, and customer analysis.
==========
Here's a simple explanation of how cloud computing provides scalability and fault tolerance:
• Auto-scaling: Cloud platforms like AWS, Azure, or Google Cloud automatically add more
resources when demand increases (like more users on a website).
• On-demand resources: You can add more servers, storage, or services instantly, without
buying new hardware.
• Pay-as-you-go: You only pay for what you use, making it affordable to scale up or down
anytime.
Example: An e-commerce site gets high traffic during a sale. Cloud automatically adds more
servers to handle it and removes them later.
Fault tolerance means the system keeps working even if some parts fail.
• Redundancy: Cloud providers store copies of your data in multiple locations (data centers). If
one fails, another takes over.
• Load balancing: Workloads are spread across several servers, so if one server crashes, others
handle the work.
• Backups and recovery: Regular backups ensure data is safe and can be restored if there's a
problem.
Example: If one server in a cloud data center fails, traffic is redirected to another healthy server
without downtime.
Features of Hadoop
1. Open Source
2. Scalable
3. Fault Tolerant
o If one computer (node) fails, Hadoop automatically shifts work to other working
nodes.
o It keeps multiple copies of data to prevent loss.
4. Cost-Effective
o Hadoop splits data and processes it at the same time on different machines.
6. Flexible
Modules of Hadoop
• Breaks big files into smaller blocks and stores them on different machines.
2. MapReduce
• It processes data in parallel (at the same time) across multiple machines.
• Decides which task runs where and when across the cluster.
4. Hadoop Common
• This is a set of shared tools and libraries used by all other modules.
• NameNode (Master):
o Does not store actual data, only metadata (file names, block locations).
• DataNode (Slave):
Note: In newer Hadoop versions, YARN is used instead of MapReduce for resource management.
What is MapReduce?
MapReduce is a programming model used in Hadoop to process and analyze large data sets in a
parallel and distributed way. It divides a large task into smaller parts, processes them on different
machines, and then combines the results.
It mainly has two main functions:
• Reduce: Takes grouped data from the map phase and produces the final result
Phases of MapReduce
2. Map Phase
o After mapping, data is shuffled and sorted so that all values with the same key are
grouped together.
4. Reduce Phase
o The grouped key-value pairs are processed to produce the final output.
5. Output Phase
o The final result is written to the Hadoop Distributed File System (HDFS).
Workflow of MapReduce
o The large input dataset is divided into smaller chunks called input splits.
2. Mapping
o Each split is processed by a Map task that reads the data and converts it into key-
value pairs.
o The output from the Map tasks is shuffled to group all pairs with the same key
together.
4. Reducing
o The grouped data is passed to Reduce tasks, which process and combine the data to
produce summarized output.
5. Output
o The final results from the Reduce tasks are written back to the Hadoop Distributed
File System (HDFS).
Features of MapReduce
• Scalability: Can process petabytes of data by distributing tasks over many nodes.
• Simplicity: Programmers only write Map and Reduce functions; the framework handles the
rest.
• Flexibility: Can process different data types like text, images, or videos.
Google App Engine is a cloud platform by Google that lets developers build and host web
applications without worrying about managing servers. It automatically handles infrastructure,
scaling, and load balancing.
• Supports Multiple Languages: Like Python, Java, Go, Node.js, and more.
• Built-in Security: Provides security features and integrates with Google Cloud security.
• Integrated Developer Tools: Easy deployment and debugging with Google Cloud tools.
1. Data Store
2. Google Accounts
3. URL Fetch
4. Mail
1. Java Runtime
2. Python Runtime