
- 6 ECTS
- P4
- Exam: Mandatory
Feedback
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.
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.
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.
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.
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.
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.
4 months ago
last year
I did this course in Taguspark.
The theoretical classes professor Luís Veiga was fantastic. The course was very interesting and the project was a lot of fun to work on.
The project focused on configuring a Linux image, setting up your services, load balancer, autoscaler, using instrumentation data and deploying everything and stress testing to ensure you can respond to the workload requests.
I think there's a bit too many topics to cover and we end up glancing over a lot of them. I would prefer a more focused approach on fewer topics.
The lab classes felt useless. The time allocated felt it had no purpose. You were supposed to already have finished the weekly labs by the time you went to the class, but there was nothing planned for the class itself aside the paper presentations which were a fraction of the time slot.
I really recommend this course for anyone who wants to learn about different cloud solutions and virtualization intricacies.
The reviews below this point may be outdated. Course content, teaching methods, and requirements may have changed since then.
last year
5 years ago
Project
The project statement really incomplete and vague about what needed to be done. Not in the sense that there was a lot of freedom and you could make your own decisions, but more like important things were just missing. You have to attend a bunch of office hours before you actually understand what you’re supposed to do. Luckily, Professor Luís Veiga cares and helps a lot, but it really shouldn’t be necessary (I feel like the SEC Prof also cares, and still we didn’t need to go ask about every single line of the statement).
The first delivery involves a virtualization component. For people who just saw the word 'Cloud' in the course name and don’t like low-level stuff, this part is torture. It has to be done in Java 7, the tool we have to use isn’t well documented and there aren’t many resources online about it. The only thing you can rely on are the professor’s examples (which are actually good).
I enjoyed the second part of the project, but I had already been working with AWS for a year. It’s pretty confusing and uses the cloud in a very specific way that’s really not ideal for beginners. The lab sessions that cover the Cloud are not of much help for this assignment, because the professor just speedruns through everything.
I feel the project doesn't help you learning about AWS. Someone who does this project will still struggle to deploy a simple server with a database. Not that it's that hard, but this course does not really teach you how to use the Cloud.
I think the project is a lot of work (not as much as CMU or SEC) and you don't really learn that much.
Teaching staff
The teaching team overall is disorganized and kind of does things last-minute.
Theoretical classes
The theory lectures are delivered at such a fast pace it feels like they're running on overdrive, with “OkAyS” flying out at around 60 per minute. Most of the Cloud topics can be easily learned online if you're curious and read a few articles.
Exam
The exam covers a lot of outdated and useless subjects. The questions are poorly written and seem more designed to trip you up than to check if you know the material. You spend a lot of time memorizing stuff you’ll forget a few days after the exam.
Conclusion
If you want to learn Cloud, you’re better off picking an easy course and learning on your own in your free time, because this is not where you're going to learn it.
5 years ago
Disclaimer: Although people look at the course name and see 'Cloud', don't forget that there's also 'Virtualization' in the name. A lot of people enrolled in this course thinking they'd just learn about the Cloud, only to find out that half the course covers low-level subjects. Keep that in mind.
Teachers
The course was taught by Professor Luís Veiga. He's a decent professor, but teaches at a very fast pace. I think that's necessary given the amount of topics covered.
Theory
Personally, and based on reviews from other students, CNV is kind of a trap.
Half the course is about Virtualization, where you cover system emulation and emulation optimizations, especially Assembly and Java Byte Code. For those who enjoy low-level stuff, it's cool. Personally, I don't like low-level stuff, and yet this was the part I enjoyed the most (which says a lot).
The other part of the theory is about Cloud. It covers various cloud services, what each one does and how. The Professor talked about them in a very superficial way, and it felt more like a brief presentation of each system. I don't feel like I learned much from the cloud part.
We also covered MapReduce and a bit of Big Data. I think those subjects are very important, and they were very fun to me, but it's kind of a diamond in the rough.
Project
The project was focused on using AWS code instrumentation tools to figure out where most computational power is being used. Then we had to build a Load Balancer using that info.
The project is relatively easy and you learn to use AWS. At the same time, it feels like it's missing something.
Conclusion
I'd say a lot of people fall into this course because it has 'Cloud' in the name, but you don't explore it that much. I don't regret taking it, but I didn't gain much either. Maybe you'd be happier with other courses (and don't forget that you can switch in the beginning, so you can always try it out).
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?