AWS Builder Center
LUMEN — Week 2: Understanding AWS Compute, Storage, and Networking Before Building AI Agents

LUMEN — Week 2: Understanding AWS Compute, Storage, and Networking Before Building AI Agents

Follow my journey building LUMEN, an ambient AI companion for blind and low-vision users, while learning AWS, Strands Agents, DevOps, and AI/ML

Series: LUMEN - Ambient AI companion for blind and low-vision users. (4 articles)

  1. …
  2. 4
    LUMEN — Week 2: Understanding AWS Compute, Storage, and Networking Before Building AI Agents This article
In my previous article, I shared how I started learning AWS Cloud Foundations, focusing on account security, billing safety, IAM permissions, and the fundamentals of managing access to cloud resources.
That first stage was about understanding how to secure an AWS account and establish a safe environment for cloud experimentation.
Now, it's time to move one step deeper.
Before LUMEN can eventually process camera input, manage application data, or support AI-powered interactions through cloud infrastructure, I need to understand three fundamental areas of AWS:
Compute, storage, and networking.
These are the building blocks behind most cloud applications. Whether an application runs on virtual machines, stores files in object storage, or communicates through private networks, these concepts determine how its infrastructure works.
Rather than jumping directly into managed AI services or agent orchestration, I want to understand these building blocks first.
That's where Week 2 of my learning journey begins.

Week 2 — Core Compute, Storage, and Networking

LUMEN is intended to become an ambient AI companion that can help blind and low-vision users better understand their surroundings.
As the project evolves, its infrastructure may need to support several capabilities:
  • Processing application workloads.
  • Storing application data and relevant files.
  • Managing communication between different services.
  • Protecting potentially sensitive information.
  • Controlling infrastructure costs.
AWS provides several services that can support these requirements.
For this week, I have selected six learning milestones focused on understanding the fundamentals of compute, storage, networking, and cost monitoring.
Here's what I plan to explore.

1. Understanding Amazon EC2 and the Instance Lifecycle

The first milestone is learning about Amazon Elastic Compute Cloud (EC2).
EC2 provides virtual servers in the cloud, allowing developers to run applications without managing physical hardware.
I plan to launch a small EC2 instance using an instance type such as t2.micro or t3.micro , depending on current Free Tier eligibility and regional availability.
The objective isn't to deploy LUMEN on EC2 yet. Instead, I want to understand how virtual machines work and what happens throughout their lifecycle.
My planned hands-on activities include:
  • Launching a small EC2 instance.
  • Understanding instance types and basic configuration options.
  • Connecting to the instance through SSH.
  • Exploring the instance from the terminal.
  • Stopping and terminating the instance.
  • Understanding the difference between stopping and terminating an instance.
One particularly important concept I want to understand is the relationship between EC2 instances and their associated EBS volumes.
Stopping an instance doesn't necessarily mean all associated resources stop generating charges. For example, EBS volumes can continue incurring storage charges even when the EC2 instance is stopped.
Terminating an instance has different implications, depending on the storage configuration and deletion settings.
This is an important distinction because simply stopping a virtual machine doesn't always mean that its associated costs have disappeared.
For a personal project like LUMEN, understanding these details will help me avoid unnecessary cloud expenses as I experiment with infrastructure.

2. Learning Amazon S3 and Object Storage

The second milestone focuses on Amazon Simple Storage Service (S3).
S3 is an object storage service that allows applications to store and retrieve data.
Unlike a traditional file system, S3 organizes data into buckets containing objects.
I want to understand how this storage model works and why it is commonly used in cloud-based applications.
My planned activities include:
  • Creating an S3 bucket.
  • Uploading objects through the AWS Management Console.
  • Downloading objects through the console.
  • Using the AWS CLI to upload and download objects.
  • Exploring the different S3 storage classes.
I also want to understand the conceptual differences between storage classes such as:
S3 Standard: Designed for frequently accessed data.
S3 Standard-Infrequent Access (Standard-IA): Intended for data accessed less frequently but requiring rapid retrieval when needed.
S3 Glacier storage classes: Designed for archival data that may not need immediate access.
Understanding these storage classes is important because different applications have different storage and retrieval requirements.
For example, a future version of LUMEN might need to manage application files or other data generated during user interactions.
Not all data would necessarily need the same storage strategy. Frequently accessed application data and long-term archival data could have very different requirements.
At this stage, I'm focusing on understanding the storage concepts rather than deciding how LUMEN should store its data.

3. Understanding S3 Bucket Policies and Public Access Settings

Creating an S3 bucket is only one part of learning object storage.
The next important step is understanding how access to that data is controlled.
For this milestone, I plan to explore S3 bucket policies and Block Public Access settings.
Bucket policies are resource-based policies that define which principals can perform particular actions on objects and buckets.
Public access settings provide additional safeguards to help prevent accidental exposure of S3 resources.
This topic is particularly important for LUMEN.
The long-term vision involves an application that may interact with camera input, environmental information, voice interactions, and potentially location-related context.
Some of this information could be highly personal.
If future versions of LUMEN use S3 for storing application data, I need to understand how to prevent unauthorized access and accidental public exposure.
My planned learning activities include:
  • Exploring S3 bucket policies.
  • Understanding how permissions apply to buckets and objects.
  • Reviewing S3 Block Public Access settings.
  • Understanding why public access should remain disabled unless there is a specific, justified requirement.
  • Learning how IAM policies and bucket policies work together.
The objective is to develop a security-first approach to storage.
I don't want to treat security as something that can be added after the application is already handling sensitive information.
It needs to be part of the design from the beginning.

4. Building a VPC Manually to Understand AWS Networking

The fourth milestone is probably one of the most important learning exercises this week.
I want to understand Amazon Virtual Private Cloud (VPC) and how AWS networking works.
A VPC provides a logically isolated network environment where AWS resources can be deployed.
It allows developers to define networking configurations, including IP address ranges, subnets, routing, and connectivity.
Instead of relying entirely on the VPC creation wizard, I plan to build a minimal VPC manually.
The components I want to understand include:
VPC: The logically isolated network environment.
Public subnet: A subnet configured with a route that allows eligible resources to communicate with the internet through an internet gateway.
Private subnet: A subnet without a direct route to an internet gateway.
Internet Gateway (IGW): A component that enables communication between a VPC and the internet when routing and security configurations permit it.
Route Table: A set of rules that determines where network traffic is directed.
My planned hands-on exercise is to create:
  • One VPC.
  • One public subnet.
  • One private subnet.
  • One internet gateway.
  • Appropriate route tables and subnet associations.
I want to configure each component individually rather than simply accepting the defaults provided by the VPC wizard.
The reason is simple: I want to understand what actually happens behind the scenes.
For example, creating a public subnet doesn't automatically make every resource inside it publicly accessible. Routing, public IP addressing, security groups, and other configurations also matter.
Similarly, a private subnet is not automatically connected to the internet just because it exists inside a VPC.
Understanding these relationships will help me make better infrastructure decisions later.
For LUMEN, networking could become important when different application components need to communicate securely.
I want to understand how to separate resources, control network traffic, and establish appropriate connectivity before building more complex cloud architectures.

5. Understanding Security Groups vs. Network ACLs

While learning VPC networking, I also want to understand two important AWS networking security mechanisms:
  • Security Groups.
  • Network Access Control Lists (Network ACLs).
Both help control network traffic, but they operate differently.
Security Groups are associated with network interfaces and act as virtual firewalls for resources.
Network ACLs operate at the subnet level and provide another layer of traffic control.
Some of the differences I want to understand include:
Security Groups:
  • Operate at the resource or network-interface level.
  • Are stateful.
  • Support allow rules.
Network ACLs:
  • Operate at the subnet level.
  • Are stateless.
  • Support both allow and deny rules.
I don't want to simply memorize these definitions.
As part of this milestone, I plan to write an explanation of the differences in my own words and document it in:
 /docs/notes.md 
Writing down technical concepts is a useful way to test whether I actually understand them.
If I cannot explain the difference between two networking components without referring to documentation, I probably need to spend more time understanding them.
This habit will also help me maintain technical documentation as LUMEN becomes more complex.

6. Setting Up a CloudWatch Billing Alarm

The final milestone for Week 2 focuses on cost monitoring.
In my previous article, I discussed AWS Budgets and why billing safeguards are important before experimenting with cloud services.
This week, I want to explore another monitoring mechanism: Amazon CloudWatch alarms.
CloudWatch provides monitoring capabilities for AWS resources and applications.
For this learning exercise, I plan to configure a billing alarm that can notify me when estimated charges exceed a defined threshold.
This will act as an additional layer of awareness alongside AWS Budgets.
The idea is to understand how billing metrics can be monitored and how alarms can trigger notifications when a threshold is crossed.
One important detail is that billing alarms are based on estimated charges and are not hard spending limits.
They also require the appropriate billing monitoring configuration, including enabling billing metric data for CloudWatch in the supported billing region.
For a personal learning project, I want to establish a habit of monitoring costs before experimenting with additional services.
As LUMEN eventually moves toward AI workloads, model usage, storage, and other cloud resources, cost awareness will become increasingly important.

How These Concepts Connect to LUMEN

At first glance, EC2, S3, and VPC might seem unrelated to the actual goal of building an AI companion.
After all, LUMEN is primarily an accessibility-focused AI project.
However, these services represent the infrastructure layer that could eventually support the application.
Consider a simplified example of how these concepts might fit into a future architecture:
  • Compute: EC2 or other compute services could run application components or backend workloads.
  • Storage: S3 could provide object storage for appropriate application files and data.
  • Networking: VPC could help isolate and control communication between cloud resources.
  • Security: IAM, bucket policies, security groups, and network ACLs could help enforce access restrictions.
  • Monitoring: CloudWatch could help monitor infrastructure and configured billing metrics.
This is only a conceptual connection, not the current architecture of LUMEN.
I haven't started implementing these components in the application yet.
My priority is to understand what these services do, how they interact, and what security and cost considerations come with using them.
I believe this foundational understanding will make it easier to make architectural decisions when the project starts incorporating more advanced AI capabilities.

What Do I Hope to Learn This Week?

By the end of these learning exercises, I want to be comfortable explaining several important cloud concepts:
  1. How EC2 instances work and how their lifecycle affects costs.
  1. How Amazon S3 stores objects and how different storage classes are used.
  1. How S3 bucket policies and public access settings protect stored data.
  1. How VPCs, subnets, internet gateways, and route tables work together.
  1. The difference between security groups and network ACLs.
  1. How CloudWatch billing alarms provide additional cost monitoring.
More importantly, I want to move beyond reading documentation and gain practical experience with these services.
I also want to document what I learn so that these concepts become part of the project's technical knowledge base.
Since these are planned exercises, I will update my progress as I work through them rather than treating them as completed milestones.

What's Next?

Once I have a better understanding of AWS compute, storage, and networking, the next stage of my learning journey will move closer to the technologies that inspired LUMEN in the first place.
Some of the areas I eventually want to explore include:
AWS Lambda: Understanding serverless computing and event-driven application development.
Amazon Bedrock: Exploring managed foundation models and how they can support AI-powered applications.
Strands Agents: Learning how to build AI agents that can interact with tools and coordinate tasks.
Multimodal AI: Exploring how models can process different types of input, including images, audio, and text.
DevOps: Understanding how to automate deployments, manage infrastructure, and establish reliable development workflows.
These are future learning directions, not services or technologies that LUMEN has already integrated.
I want to approach them with a stronger understanding of the infrastructure underneath.

Follow the Journey

LUMEN started as an idea for the AWS Agents for Humans Hackathon, but it has gradually become a much bigger learning experience.
I'm not just trying to build an AI-powered application.
I'm also learning how to design its infrastructure, understand cloud security, manage costs, and eventually integrate agentic AI into a meaningful accessibility-focused solution.
Week 1 was about understanding AWS account security, IAM, and billing fundamentals.
Week 2 is about understanding the infrastructure building blocks: compute, storage, and networking.
There is still a long way to go before LUMEN becomes a working system, but I believe learning these fundamentals properly will make the journey more meaningful.
If you're interested in AWS, agentic AI, DevOps, or accessibility-focused technology, follow along as I continue building LUMEN one milestone at a time.
Project: LUMEN — Ambient AI Companion for Blind and Low-Vision Users
Previous article: LUMEN — Week 1: Learning AWS Cloud Foundations Before Building AI Agents
This is the next article in the LUMEN series. Next up: continuing the AWS learning journey with more hands-on infrastructure exercises and exploring the foundations needed for AI-powered applications

Series: LUMEN - Ambient AI companion for blind and low-vision users. (4 articles)

  1. …
  2. 4
    LUMEN — Week 2: Understanding AWS Compute, Storage, and Networking Before Building AI Agents This article
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article