Unit 1 of 1 · BCA Sem 5

Unit 1: Cloud services, virtualization and private cloud practice

Cloud Computing Laboratory notes · PTU syllabus (UGCA1942)

3 min read5 topics9 exam questions
On this page
  1. Unit summary
  2. Cloud companies and their services
  3. A warehouse application using a SaaS tool
  4. Virtualization: creating and managing virtual machines
  5. Using public cloud services
  6. Setting up a private cloud with open-source tools
  7. Key terms
  8. Quick revision
  9. Important questions

Unit summary

In this lab you work with the cloud directly: you survey cloud companies and classify their services, build a warehouse application with a SaaS tool, create and manage virtual machines, explore the services of a public cloud, and set up a small private cloud with open-source software. Keep a record with screenshots of every step, since the practical file and viva are based on it.

After this unit you can

  • Classify cloud providers and their services as SaaS, PaaS or IaaS
  • Create a simple warehouse application with a SaaS provider's tools
  • Create, clone, migrate and manage virtual machines with VMware Workstation or VirtualBox
  • Use public cloud services and set up a private cloud with open-source tools

PTU syllabus topics

  • Cloud companies and their SaaS/PaaS/IaaS services
  • warehouse application using SaaS tools
  • virtualization with VMware Workstation or VirtualBox (creation, migration, cloning and management of VMs)
  • exploring public cloud IaaS
  • PaaS and SaaS services
  • setting up a private cloud using open-source tools (Eucalyptus, OpenStack)
1

Topic 1

Cloud companies and their services

List the main cloud companies and tag each service under SaaS, PaaS or IaaS.

ProviderSaaSPaaSIaaS
AmazonWorkMail, ChimeElastic BeanstalkEC2, S3
GoogleGmail, Google WorkspaceApp EngineCompute Engine
MicrosoftMicrosoft 365, Dynamics 365Azure App ServiceAzure Virtual Machines
SalesforceSales Cloud, Service CloudHerokuNone
IBMWatson-based applicationsCloud FoundryIBM Cloud virtual servers

Exam tip

In the viva, explain the test: if you only log in and use it, it is SaaS; if you upload your code, it is PaaS; if you rent a virtual machine, it is IaaS.

2

Topic 2

A warehouse application using a SaaS tool

Use a SaaS platform such as Google Sheets with Apps Script or Forms, Zoho Creator or a low-code SaaS tool to build a simple warehouse (stock) application.

  1. 1Create tables or sheets for Items (code, name, quantity, reorder level), Suppliers and Stock movements (in and out).
  2. 2Add a form to record stock received and issued.
  3. 3Use formulas to calculate the current stock: opening quantity plus received minus issued.
  4. 4Highlight items below the reorder level and share the application with another user with limited access.

Example

Reorder rule: an item has 40 units in stock after receiving 25 and issuing 15 from an opening 30 (30 + 25 − 15 = 40). Its reorder level is 50, so the sheet marks it red and the application shows it in the reorder list.

3

Topic 3

Virtualization: creating and managing virtual machines

Use VMware Workstation or Oracle VirtualBox with a guest operating system such as Ubuntu.

ProcessCreating and managing a virtual machine
  1. 1

    Install the virtualization software

    VMware Workstation or VirtualBox

  2. 2

    Create a new VM

    Choose the OS, CPU cores, RAM and disk size

  3. 3

    Install the guest operating system

    Attach the ISO and complete the installation

  4. 4

    Take a snapshot

    Save the state so you can roll back

  5. 5

    Clone the VM

    Create an exact copy (linked or full clone)

  6. 6

    Migrate or export the VM

    Export as OVA or move the files to another host

  • Para-virtualization: the guest OS is aware of the hypervisor. Install the guest additions or VMware Tools so that the guest cooperates with the host, improving speed and enabling features such as shared folders and clipboard.
  • Management tasks: start, pause, stop, resize memory, add a virtual disk, set the network mode (NAT, bridged, host-only) and delete unused VMs.

Exam tip

A snapshot is a restore point in the same VM; a clone is a separate new VM. Do not mix them up.

4

Topic 4

Using public cloud services

Create a free-tier account with a provider such as AWS, Google Cloud or Microsoft Azure and set a billing alert first.

  • IaaS: launch a virtual machine (for example an EC2 instance), connect to it by SSH, install a web server and open the port in the security group.
  • PaaS: deploy a small web application on a platform such as Google App Engine or Azure App Service.
  • SaaS: use an office suite or a CRM service and share a document with a team.
  • Storage: create a bucket in the storage service, upload a file and set its permissions.

Example

Free-tier discipline: an instance left running for 30 days at 0.50 rupees per hour costs 0.50 × 24 × 30 = 360 rupees. Always stop or delete resources when the experiment is finished.

5

Topic 5

Setting up a private cloud with open-source tools

Build a small private cloud using OpenStack (or Eucalyptus) on a spare server or in virtual machines.

ProcessPrivate cloud setup
  1. 1

    Prepare the machines

    Linux host with virtualization support and enough RAM

  2. 2

    Install the cloud software

    OpenStack through DevStack or packages

  3. 3

    Configure identity, compute, storage and networking

    Keystone, Nova, Cinder or Swift, Neutron

  4. 4

    Upload an image

    Add an OS image such as Ubuntu

  5. 5

    Launch an instance

    Create a flavour, a key pair and start a VM

  6. 6

    Access and manage

    Use the dashboard to monitor and stop instances

OpenStack componentPurpose
NovaCompute: creates and runs virtual machines
Swift and CinderObject storage and block storage
NeutronNetworking
KeystoneIdentity and authentication
GlanceStores virtual machine images
HorizonWeb dashboard

Key terms

SaaS, PaaS and IaaS
Software, platform and infrastructure delivered as a service
Snapshot
A saved state of a VM used to roll back
Clone
An independent copy of a VM
Guest additions
Software that lets a guest OS cooperate with the hypervisor
Private cloud
A cloud built and used by one organisation
OpenStack
An open-source platform for building private and public clouds
Billing alert
A warning when cloud spending crosses a limit

Quick revision

  • Tag services: use only = SaaS, deploy code = PaaS, rent a VM = IaaS.
  • VM workflow: create, install the OS, snapshot, clone, migrate.
  • Set billing alerts and delete resources after use.
  • OpenStack: Nova compute, Neutron network, Keystone identity, Glance images.

Important exam questions

Practice questions written to the PTU exam pattern for this unit's syllabus: short answers (Section A style) and long answers (Sections B and C style).

Short-answer questions

  1. Q1.Give two examples each of SaaS, PaaS and IaaS.
  2. Q2.What is a snapshot?
  3. Q3.Difference between a snapshot and a clone.
  4. Q4.What is OpenStack used for?
  5. Q5.Why should a billing alert be set on a cloud account?

Long-answer questions

  1. Q1.Describe the steps to create, clone and migrate a virtual machine using VirtualBox or VMware Workstation.
  2. Q2.Explain how you built a warehouse application using a SaaS tool.
  3. Q3.Explain the steps to set up a private cloud using OpenStack.
  4. Q4.Describe the use of IaaS, PaaS and SaaS services on a public cloud.

Stuck on this unit?

Message SBS on WhatsApp for help with Cloud Computing Laboratory, or to ask about studying BCA at Synetic.

WhatsApp us