classnotes RTX 4070 Ti SUPER · faster-whisper · DeepSeek

5102 - Foundations of Comp Sys

← 5102 - Foundations of Comp Sys

FCS_22 Aug

Date 2026-08-22 Length 2h 39m Words 19,784 Segments 2,111
⤓ Download transcript (.txt with timestamps) ⤓ Plain transcript (.txt) ⤓ Transcript (.md)

Summary


session: "5102-foundations-of-comp-sys/2026-08-22 0000 FCS 22 Aug"

title: "FCS 22 Aug"

date: "2026-08-22 00:00"

duration: "2h 39m"

language: "en"

model: "deepseek-ai/DeepSeek-V3.2"

parts: 4

transcript_chars: 103746

generated: "2026-11-23T13:30:32+05:30"


FCS 22 Aug

Overview

This introductory lab session established the practical framework for the Foundations of Computer Systems course. While the syllabus covers core hardware and OS concepts (CPU, memory, instruction sets), this lab uses modern cloud infrastructure (AWS EC2) as a platform to provision and analyze a virtual server, demonstrating how these foundational components enable application execution. The session walked through provisioning a VM, configuring security and networking, and connecting via SSH. It concluded by framing the holistic "production compute stack" and the shared responsibility model for availability, observability, and performance in a managed environment.

Learning outcomes

Core concepts

Virtual Machine (VM)

A software-emulated computer system with defined virtual CPU, memory, storage, and networking, provisioned from a cloud provider's physical hardware. It serves as the accessible "server" for this course's practical analysis, replacing a physical on-premises machine.

Production Compute Stack

The layered components required to run an application in a production environment. The listed layers are: Compute, Network, Storage, Identity & Security, Availability, Observability, Performance, and Operations. This framework shifts focus from merely launching a VM to managing its ongoing health and business impact.

Shared Responsibility Model

The division of accountability in cloud computing between the provider and the customer. The provider is responsible for the physical infrastructure (hardware, data centers). The customer is responsible for everything provisioned on top (the VM, OS configuration, application, and monitoring setup). This model clarifies who is accountable during incident analysis.

Observability vs. Simple Monitoring

Observability is the continuous monitoring of all services, resources (CPU, memory, disk, network), and logs to understand system state and often enable automated remediation. It extends beyond simple threshold alerting to provide insights for diagnosis.

Abstraction in Cloud

The underlying physical infrastructure (servers, network cards) is virtualized and not directly visible or manageable by the user. Instead, its services (compute, storage) are consumed as abstractions, allowing focus on application deployment rather than hardware maintenance.

Formulas and maths

(Not covered in this session)

Worked examples

Provisioning an EC2 Instance

1. Region: us-east-1 (Northern Virginia).

2. Instance Name: web-server-id-fata-01.

3. OS/AMI: Ubuntu.

4. Architecture: 64-bit (x86). ARM noted as an alternative.

5. Instance Type: t3.micro.

6. Storage: Default set to 8 GiB (Gibibytes).

7. Key Pair: Created a new RSA key pair for SSH authentication.

8. Network: Used default VPC and subnet. Assigned a public IP (example: 100.31.192.92).

9. Security Group: Configured to allow inbound traffic on port 22 (SSH).

10. User Data: Provided a shell script to update packages and install Apache web server on first boot.

Post-Connection Verification

1. Connected via PuTTY using the private key.

2. Checked Apache service status: systemctl status apache2.

3. Demonstrated need for sudo for privileged commands (e.g., sudo systemctl restart apache2).

Performance Dashboard Analysis

A sample observability dashboard showed:

High CPU Calculation

For a VM with 3 vCPUs running at 2.5 cores utilization:

\[

\text{Utilization \%} = \frac{2.5}{3} \approx 83\%

\]

This is near the suggested performance threshold of 85%.

Questions asked in class

Key takeaways

Exam-style questions

1. You provision an AWS EC2 instance but cannot connect via SSH. List three configuration points you would check and explain the responsibility for each (Provider/Customer).

2. A performance dashboard shows CPU at 91%, Memory at 88%, Disk I/O at 74%, and Network at 42%. Which resource is most likely the primary bottleneck, and what team (Application, DevOps, Platform) should be engaged first for analysis?

3. Compare the responsibilities for "Operating System Configuration" and "Physical Server Health" between an on-premises deployment and an AWS EC2 deployment.

Glossary

Follow-ups

Transcript

One line per segment, [hh:mm:ss] timestamp first.

loading…