10 Advanced Cloud Applications

Cloud Computing · Unit 10

Advanced Cloud Applications

Exam-focused notes for Advanced Cloud Applications (Cloud Computing, BIT408): what the TU syllabus asks and how it has actually been tested, with 1 solved past questions from this unit.

Advanced Cloud Applications in short

The cloud is now the main place where machine learning is built and used. This chapter shows why, how it is done, and what real cases look like.

Advanced Cloud Applications: notes

Machine learning in cloud computing

Machine learning (ML) is a method where a computer learns patterns from data and then makes predictions, instead of following fixed rules. It needs large data, strong processors and good tools. The cloud supplies all three on demand.

Why the cloud suits machine learning:

  • Scalable computing: training needs many CPUs or GPUs for a short time. The cloud rents them by the hour and releases them afterwards.
  • Large storage: data lakes such as S3 hold the training data cheaply.
  • Managed ML platforms: Amazon SageMaker, Azure Machine Learning and Google Vertex AI give tools for the whole ML process.
  • Ready-made AI services: image recognition, speech to text, translation and chatbots are offered through simple APIs.
  • Easy deployment: a trained model can be published as a web endpoint that applications call.
  • Pay as you use: no large upfront purchase of expensive GPU hardware.

Typical ML workflow in the cloud:

  • Collect and store the data in cloud storage.
  • Clean and prepare the data.
  • Train the model on rented machines, trying different settings.
  • Test the model on data it has not seen.
  • Deploy the model as an endpoint, which is called inference.
  • Monitor accuracy and retrain when data changes.

Cloud ML is delivered in three styles. Use the ready AI APIs for common tasks with no ML skill. Use a managed platform to train your own model. Use IaaS virtual machines with GPUs for full control.

What this unit covers

  • Machine learning in cloud computing
  • Machine learning use cases and justification
  • Cloud computing case studies

Machine learning in cloud computing

0 · 5 marks

How do you use machine learning in cloud? Justify with a case. [5]

Show solved answer

Machine Learning in Cloud Computing

Overview

Machine learning (ML) in cloud environments refers to leveraging cloud computing infrastructure and services to build, train, deploy, and manage ML models at scale. Cloud platforms provide on-demand computational resources, storage, and specialized ML services that make ML development more accessible and cost-effective.

Key Uses of ML in Cloud

1. Scalable Model Training

  • Cloud provides distributed computing resources (GPUs, TPUs) to train large models on massive datasets
  • Eliminates need for expensive on-premises infrastructure
  • Pay-as-you-go pricing reduces capital expenditure

2. Managed ML Services

  • Cloud providers offer pre-built ML services (e.g., AWS SageMaker, Google Cloud ML, Azure ML)
  • Reduces development time and complexity
  • Handles infrastructure management automatically

3. Data Storage and Processing

  • Cloud storage (S3, GCS, Azure Blob) stores training datasets
  • Big data tools (Spark, Hadoop) process data at scale
  • Enables ML on datasets too large for local systems

4. Model Deployment and Serving

  • Deploy trained models as APIs/microservices
  • Auto-scaling handles variable traffic
  • Real-time predictions with low latency

Case Study: E-commerce Recommendation System

Scenario: An online retailer needs to recommend products to millions of users.

Cloud ML Solution:

PhaseCloud Implementation
Data CollectionStore user behavior (clicks, purchases) in cloud data warehouse
TrainingUse cloud GPU clusters to train collaborative filtering model on historical data
Model StorageSave trained model in cloud object storage
DeploymentDeploy model as REST API on cloud container service (Kubernetes)
InferenceGenerate real-time recommendations; auto-scale during peak traffic
MonitoringTrack model performance; retrain periodically with new data

Benefits:

  • Handles millions of concurrent users without infrastructure investment
  • Scales automatically during holiday shopping seasons
  • Reduces time-to-market for new recommendation features
  • Cost-effective: pay only for resources used

Conclusion: Cloud ML enables organizations to implement sophisticated ML solutions efficiently, combining computational power, storage, and managed services to solve real-world problems at enterprise scale.

Open this answer on its own page →