Instituto Superior Técnico

MECD · Instituto Superior Técnico

Cloud Computing and Virtualization

CNVCourse Page
  • 6 ECTS
  • P4
  • Exam: Mandatory
Overall
5
3
4
5
3
2
2
1
1
0
3.9
★★★★★
11 ratings
Workload
Very light
0
Light
0
Moderate
2
Heavy
7
Very heavy
0
Heavy9 ratings

Feedback

2025/2026
★★★★★
Workload:Heavy

4 months ago

The project was good, I advise doing it in a full group. The professors were also good but the materials are extensive and not easy to get through.

★★★★★
Workload:Heavy

4 months ago

O exame é acessivel até, o projeto parece fácil mas têm de dar o grind porque realmente tem partes tricky e dificeis...

Falem muito com o professor das práticas para saberem que caminho e rumo tomar e com outros colegas.

Para o exame estudem de exames antigos que sao parecidos e tentem perceber mesmo os exercicios mais de escrita e raciocinio.

★★★★★
Workload:Heavy

4 months ago

Professor das teóricas muito competente e acessível para dúvidas. Aulas laboratoriais mais úteis para fazer projeto mas não essenciais. O projeto acaba por ser bastante trabalhoso, em termos de tempo sugiro começar a testar na AWS o mais rápido possível porque fazer debug quando o projeto já está na cloud é um processo que demora tempo porque requer estar a fazer deploy várias vezes (que pode demorar entre 10 a 30 min). O exame é de escolha múltipla (tirando duas questões de código) e no moodle. Um crítica seria que em termos de materiais de estudo, apenas temos um exame exemplo para preparação para um exame que tem bastante teoria e pormenores.

★★★★★
Workload:Heavy

5 months ago

O projeto da cadeira foi muito interessante.
Foi das poucas disciplinas do Mestrado onde fiz algo próximo de um nível profissional. Este ano tivemos que fazer a análise e integração de um Load Balancer e Auto Scaler para 3 aplicações de níveis de computação diferente. Para isso usámos o Javassist para retirar métricas do código e tentarmos prever o custo computacional necessário para correr os requests do user.
Abordamos temas atuais como Cloud e FinOps e onde o Engenheiro de Cloud, no caso, pode melhorar a infraestrutura, custos e experiência do cliente.
Dica: Façam bastantes exames práticos, as perguntas são muito idênticas.
Material: Pc e conta AWS
Aulas Teóricas: Não fui, mas como não vou a nenhuma, não sou exemplo para ninguém
Aulas práticas: São excelentes para esclarecer dúvidas sobre o projeto, mas se não avançarem no projeto durante essa semana, é dispensável.

★★★★★
Workload:Heavy

5 months ago

The project requires a lot of dedication, but the fact that the course instructors are so dedicated helps immensely. I didn't quite grasp the purpose of the oral presentations—they seemed like an assessment component less directly related to the course material than the project or the exam—but it was something I hadn't encountered in other courses, and I think it was useful nonetheless. The slides contain a great deal of information, which makes the lectures somewhat dense. Personally, I found it a bit difficult to follow along; however, even though I didn't attend every class, what I recalled from the ones I did attend proved extremely helpful for the exam. I think the course is well-organized, and I recommend it.

★★★★★
Workload:Heavy

5 months ago

Theoretical Classes → Professor Luís Veiga clearly explains each topic and you can freely ask him any question.

Lab Classes → My TA was Afonso Fernandes, although he might appear to be a bit shy he explains and helps with the project a lot, would definitely recommend him. The lab classes themselves were initially focused on the 4 lab worksheets (1 per week). Then the statement came out in the beginning of the 3rd week and then you can of course opt to either focus on the project or the lab worksheets (all of the worksheets are useful for the project though).

Project → The project was the same as the previous year's. Capture some workload instrumentation metrics from the three available workloads (the workloads are the only thing that seems to differ from year to year), create your own loadbalancer(LB) and autoscaler(AS), request EC2 instance metrics from AWS, (e.g. CPU usage every 1-minute) and use these plus the workload instrumentation metrics to distribute the workload requests that have just arrived to the LB (or distribute the ones you already have in your LB queue) and to scale up or down.

  • Checkpoint (Optional - 15% of the Project Grade - used solely if it helps improving it): For the checkpoint the most important thing was to have your instrumentation metrics already chosen, working and saved somewhere (DynamoDB or on a local filesystem file).

    Opt to choose metrics that capture both memory and CPU pressure (e.g. memory accesses(LOADs and STOREs) and instruction count).

    Be sure you choose metrics that do not add too much overhead - e.g. create a test suite in which you compare instrumented vs not instrumented workloads and compare how the wall-clock time were affected between different metrics.

    Also be sure that this metric can actually determine the amount of work to be done with some good accuracy level, do not choose metrics that have a very low overhead but are trash at determining how "heavy" a workload is. You will probably create a linear regression model that translates workload input parameters to instrumentation metrics, show how accurate it is.

    Additionally, be sure your chosen metrics are not too correlated, if they are, discard one of them, probably one that has the most overhead.

    At this stage it is not mandatory to have your LB or AS already semi-functional, you can simply demonstrate the correct capturing of metrics using AWS' LB and AS - you need to create a simple video demonstrating the current state.

  • Final delivery: Another video and report are needed, be sure to include images/graphs of your metrics tests/architecture/flow, it helps with getting a good report grade. The video must show:

    • the AS scaling up and down -> possibly by creating/destroying more than one worker instance (depends on the amount of queued/recently incoming load) or always one if you do not have the time to implement fancy logic
    • the LB actually routing requests to different worker machines, depending on the overall machine load - should I pack incoming workload requests to save on costs and to be able to scale down? or should I distribute incoming requests to help with latency by not oversubscribing a single machine?
    • DynamoDB with workload instrumentation records and their input parameter
    • AWS Lambdas being used to handle some of the requests - are all machines fully loaded and does my queue have requests? if so, I should probably send these requests to a AWS lambda since the time it takes to boot up another EC2 worker instance takes longer than the lambdas take to run boot up and run my workload, and this waiting + EC2 boot up time will then be most of my request latency
    • the in-memory instrumentation metrics cache being used - if you have one
    • the online machine learning/linear regression model being re-trained with online (newly collected) data - if you end up implementing this


Paper Presentation → Complete waste of time, mostly good grades though.

Exam → Multiple-choice with two open ended questions. It seems like an open ended Map-Reduce question is always included. Not hard at all.

As said in other comments, there is a lot of focus on the virtualisation part (at least half of the theoretical classes), which IMO was probably the most fun part of the course since you dive deep into how and why stuff is done and how it was optimised.

When it comes to the cloud part, FaaS optimisations were also nice to learn about, plus how cloud storage works when it comes to the distributed aspect, which was a recap of DAD.

I felt like Azure, GAE, Map-Reduce, Stream Processing and the very last theoretical lecture about data center design were probably the most boring parts. Probably because you do not dive that deep and there is also less to understand and more to just memorise - e.g. I do not feel the need to know which specific GAE file you need to use to configure X or Y, that the /temp directory is the only one you can write to or how it differs in terms of pricing when compared to Azure or AWS.

★★★★★
Workload:Heavy

4 months ago

About the course

Objectives

Attain an integrated perspective of cloud computing and virtualization, with combined approaches for the design of modern large scale and distributed computing systems, and with their underlying mechanisms and algorithms. Understand a vertical approach to the various virtualization and cloud computing technologies, enhancing applications and services with improved flexibility, resource and economic efficiency, scalability and adaptability. To be able to develop reliable and scalable systems and applications, on cloud computing over current virtualization platforms and applications models. To be able to assess and evaluate solutions, given the alternatives and tradeoffs involved in the employment and management of virtualization infrastructure for cloud computing.

Syllabus

Introduction to Virtualization and Cloud Computing, IaaS, PaaS, SaaS. System virtualization: system VM architecture, CPU virtualization, memory; hardware support; case studies (VMWare, QEMU/KVM, Xen). Cloud computing systems (Amazon EC2, OpenStack, Microsoft Azure); VM scheduling, migration and replication; monitoring and scalability (CloudWatch, Autoscaling). Process-level virtualization: Java VM specification and architecture, security model, just- in-time compilation and optimization, garbage collection, case studies (Jikes RVM). Cloud computing platforms (Google App Engine, Azure); monitoring and scalability (Azure Fabric Controller). Big-Data storage: block storage, file storage, key-value stores (Dynamo, S3, Datastore), tabular (BigTable, Percolator). Big-Data Processing: Map-reduce, dataflows (Pig, Dryad/LINQ), streams (Spark, Flink). Cross-cutting concerns: energy efficiency, dynamic provisioning, energy centered design.

Prerequisites

Base knowledge of computer architecture, operating systems, Java programming language, distributed systems.

Cross Competence Component

The laboratory project during the semester, in its two stages, requires and develops teamwork in the design and implementation. The final report of the project (6 pages) requires and develops written communication. The presentation of a scientific conference paper in a lab class requires and develops oral communication (presentation and answering questions from the audience). The presentation amounts to 10% of the global course grade.

Laboratorial Component

Introduction to instrumentation (binary, bytecode). Development of sample instrumentation tools for x86 binaries and Java. Introduction and lab exercises running Amazon Web Services (EC2, CloudWatch, DynamoDB). Design and implementation of a Java-based instrumented application as prototype of an elastic and scalable distributed system deploying a CPU-intensive/data- processing workload over cloud resources using cloud application programming interfaces to manage computation (virtual machines) and distributed storage.

Programming And Computing Component

In the programme where this course is offered the Programming and Computing skills are assured in accordance with MEPP 2122.

Ethical Principles

All members of a group are responsible for the group's work. In any assessment, every student shall honestly disclose any help received and sources used. In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.

Something missing or out of date?

Assessment

Normal Method: Exam (40%), Project (45%), Paper Presentation (10%) and Attendance/Participation (5%). There is a checkpoint to the Project whose grade can only improve the final grade. It has a weight of 15% in the global Project grade. Student-Workers: Exam (45%), Project (45%), Paper Presentation (10%). "Época Especial": Exam (50%), adapted Project (50%).

Has the assessment changed, or is something missing?

Bibliography

Main Bibliography

  • Cloud Computing: Theory and Practice_ Second Edition: Dan C. Marinescu 2017 Morgan Kaufmann_ISBN 9780128128107
    • Virtual Machines: Versatile Platforms for Systems and Processes: James Smith and Ravi Nair 2005 Morgan Kaufmann_ISBN 9781558609105
    • Cloud Computing for Science and Engineering: Ian Foster and Dennis B. Gannon 2017 MIT Press_ISBN: 97802620372420

Missing a book or some materials?