






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Q1. Define grid computing and cloud computing. [2 marks] GRID COMPUTING: Grid computing is a distributed computing model that coordinates a network of heterogeneous computers working together to perform large computational tasks. Resources (CPU, memory, storage) from multiple machines are pooled and shared across geographic locations to solve complex problems that a single machine cannot handle efficiently. CLOUD COMPUTING: Cloud computing is the delivery of computing services ā including servers, storage, databases, networking, software, analytics, and intelligence ā over the Internet ('the cloud') to offer faster innovation, flexible resources, and economies of scale. Users pay only for the cloud services they use, helping them lower operating costs, run infrastructure more efficiently, and scale as business needs change. Q2. Describe the steps involved to host a static website using AWS S3. [4 marks] Steps to host a static website on Amazon S3: Step 1 - Create an S3 Bucket: Log into the AWS Management Console, navigate to S3, and create a new bucket. Give it a globally unique name (typically matching your domain name). Choose your desired AWS region. Step 2 - Enable Static Website Hosting: Open the bucket, go to Properties tab, scroll to 'Static website hosting', enable it, and specify the index document (e.g., index.html) and optional error document (e.g., error.html). Step 3 - Upload Website Files: Go to the Objects tab and upload all your website files (HTML, CSS, JS, images). Ensure the folder structure mirrors your website structure. Step 4 - Set Bucket Policy for Public Access: Under Permissions, first disable 'Block all public access'. Then add a bucket policy (JSON) granting s3:GetObject permission to all principals (*) so visitors can access the files. Step 5 - Access the Website: AWS provides a public endpoint URL in the format: http://bucket-name.s3-website-region.amazonaws.com. Optionally, configure a custom domain using Route 53 and enable HTTPS with CloudFront. Q3. Define Elastic Beanstalk and AWS(Elastic Beanstalk). Since the cost
and/or time of transporting large datasets to/from the cloud is too great ā 'Cloud computing is great, but it'll never work with Big Data.' True or False? Explain. [3 marks + 3 marks] ELASTIC BEANSTALK DEFINITION: AWS Elastic Beanstalk is a PaaS (Platform as a Service) offering from Amazon Web Services that allows developers to quickly deploy and manage web applications and services without worrying about the underlying infrastructure. The developer simply uploads their application code, and Elastic Beanstalk automatically handles provisioning, load balancing, auto-scaling, and health monitoring. Supported platforms include Java, .NET, PHP, Node.js, Python, Ruby, Go, and Docker. BIG DATA IN THE CLOUD ā TRUE OR FALSE? Statement: 'Cloud computing will never work with Big Data' ā FALSE Explanation: This statement is FALSE. Cloud computing is actually well-suited for Big Data processing. Modern cloud platforms provide purpose-built Big Data services that eliminate the transportation problem:
Q7. Describe the steps involved in creating a Virtual Private Cloud (VPC) in AWS, how to launch a service, include it in the public subnet of the VPC created, and how to connect to the instance from your local machine. [4 marks] Step 1 - Create a VPC: In the AWS console, go to VPC Dashboard. Click 'Create VPC'. Specify a CIDR block (e.g., 10.0.0.0/16). This creates an isolated virtual network in AWS for your resources. Step 2 - Create a Public Subnet: Within the VPC, create a subnet with a CIDR block (e.g., 10.0.1.0/24). Enable 'Auto-assign public IPv4 addresses' so instances in this subnet get public IPs automatically. Step 3 - Create & Attach Internet Gateway: Create an Internet Gateway (IGW) and attach it to your VPC. This allows resources in the public subnet to communicate with the internet. Step 4 - Configure Route Table: Create a route table for the public subnet. Add a route: Destination 0.0.0.0/0, Target: the Internet Gateway. Associate this route table with the public subnet. Step 5 - Launch EC2 Instance: Go to EC2, click 'Launch Instance'. Choose an AMI (e.g., Amazon Linux 2), select instance type (e.g., t2.micro for free tier). Under Network settings, select your VPC and the public subnet created. Step 6 - Configure Security Group: Create/select a security group. Add inbound rules: SSH (port 22) from your IP address. This controls who can connect to the instance. Step 7 - Create Key Pair: Create a new key pair (RSA .pem file) or use an existing one. Download and securely store the .pem file ā it is required to SSH into the instance. Step 8 - Connect via SSH: After the instance is running and has a Public IP, open a terminal. Run: ssh -i /path/to/key.pem ec2-user@. This connects you to the instance from your local machine.
PART B: KEY CONCEPTS & REVISION NOTES
1. Cloud Service Models (IaaS, PaaS, SaaS)
A cloud model where the provider supplies virtualised computing infrastructure over the internet. The customer manages OS, middleware, and applications; the provider manages hardware, networking, and virtualisation. Key characteristics:
A cloud model providing a platform and environment that allows developers to build, deploy, and manage applications without worrying about underlying infrastructure. Key characteristics:
A cloud model where the provider hosts applications and makes them available to customers over the internet via a subscription. Key characteristics:
Server Virtualisation: Divides physical server resources into multiple virtual machines (VMs). Each VM runs its own OS and applications. Enables better hardware utilisation (one physical server can host dozens of VMs). Storage Virtualisation: Pools physical storage from multiple devices into a single virtual storage unit. Simplifies storage management and improves utilisation. Network Virtualisation: Combines hardware and software network resources into a single virtual network. SDN (Software Defined Networking) is a key technology. Desktop Virtualisation (VDI): Delivers a desktop environment from a centralised server to end users. Users access their desktop remotely. Application Virtualisation: Applications are run from a server and streamed to client devices, without being installed locally.
5. Grid vs Cloud Computing Feature Grid Computing Cloud Computing Architecture Decentralised, distributed nodes Centralised data centres Ownership Resources pooled from many organisations Owned by cloud provider Scalability Limited by participant nodes Virtually unlimited elasticity Use case Scientific/research computation Commercial applications Billing Resource sharing, no direct billing Pay-per-use model Standards OGSA, Globus Toolkit REST APIs, proprietary APIs 6. Security in Cloud Computing
Reducing the attack surface of a virtual machine by disabling unnecessary services, applying security patches, configuring firewalls, and enforcing least-privilege access.
Encrypting data both in transit (using TLS/SSL) and at rest (using AES-256) to ensure that even if data is intercepted or storage is breached, it remains unreadable without the encryption key.
Continuously monitoring network traffic for anomalies, intrusion attempts, and policy violations. Tools like AWS CloudTrail, CloudWatch, and third-party SIEM solutions provide visibility.
A storage access control method that restricts which hosts can see specific storage LUNs (Logical Unit Numbers). Prevents unauthorised servers from accessing storage volumes in SAN environments.
Securely erasing data so it cannot be recovered after deletion. Important when decommissioning cloud storage to prevent data leakage.
7. Business Continuity in Cloud Compute Clustering: Groups of servers work together so if one fails, others continue serving requests. Eliminates single points of failure at the compute layer. Hypervisor Clustering: Multiple physical hosts with hypervisors are clustered so VMs can be restarted on surviving hosts if one host fails. VM Live Migration: Moving a running virtual machine from one physical host to another with no downtime. Allows maintenance without service interruption. NIC Teaming / Link Aggregation: Combining multiple network interface cards into one logical connection for redundancy and/or increased bandwidth. If one NIC fails, traffic flows through the other. RAID (Redundant Array of Independent Disks): RAID 5: Striping with distributed parity ā can tolerate 1 disk failure. RAID 6: Striping with double parity ā can tolerate 2 simultaneous disk failures. 8. Open Source Cloud Platforms
An open-source cloud computing platform compatible with AWS APIs. It allows organisations to build private/hybrid clouds that can interact with AWS. Key components include: Cloud Controller (CLC), Walrus (S3-compatible storage), Cluster Controller (CC), Storage Controller (SC), and Node Controller (NC).
An open-source cloud management platform that provides a feature-rich framework for building and managing private clouds and virtualised data centres. Supports KVM, VMware, and Xen hypervisors.
PART C: QUICK-REFERENCE DEFINITIONS Term Definition SLA (Service Level Agreement) A contract between cloud provider and customer defining the expected level of service, including uptime guarantees, performance metrics, and remedies if SLAs are not met. Hypervisor Software that creates and manages virtual machines by abstracting physical hardware. Type 1 (bare-metal) runs directly on hardware (e.g., VMware ESXi); Type 2 runs on top of an OS (e.g., VirtualBox). Elasticity The ability to automatically scale computing resources up or down based on demand, ensuring optimal performance and cost efficiency. Scalability The capability of a system to handle increased workload by adding resources. Horizontal scaling adds more machines; vertical scaling adds more resources to existing machines. Multi-tenancy Multiple customers sharing the same physical infrastructure while their data and applications remain logically isolated from each other. Auto-scaling Automatically adjusting the number of compute resources based on defined policies or actual demand. Load Balancer Distributes incoming network traffic across multiple servers to ensure no single server becomes overloaded, improving availability and responsiveness. CDN (Content Delivery Network) A network of geographically distributed servers that cache and deliver content to users from the nearest location, reducing latency. DevOps A set of practices combining software development (Dev) and IT operations (Ops) to shorten development cycles and provide continuous delivery. Containerisation Packaging an application and its dependencies into a lightweight container (e.g., Docker) that can run consistently across environments. Kubernetes An open-source container orchestration platform that automates deployment, scaling, and management of containerised applications. Serverless Computing A cloud execution model where the cloud provider dynamically manages server allocation. Developers write functions; the provider handles infrastructure (e.g., AWS Lambda). IAM (Identity & Access Management) AWS service for managing user access and permissions to AWS services and resources securely. Availability Zone Isolated data center locations within an AWS region, designed to be independent of failures in other zones. Region A geographic area containing multiple Availability Zones. AWS has regions worldwide (e.g., us-east-1, eu-west-1).
Prepared from JKUAT BBBC 2404 Cloud Computing CAT & Course Materials | Good luck in your exam!