<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Andong Samuel</title>
    <description>The latest articles on DEV Community by Andong Samuel (@andong_samuel_d74c7b5ab10).</description>
    <link>https://dev.to/andong_samuel_d74c7b5ab10</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4238132%2F924410c0-bf62-442d-9bb7-cb5ce42e9981.png</url>
      <title>DEV Community: Andong Samuel</title>
      <link>https://dev.to/andong_samuel_d74c7b5ab10</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/andong_samuel_d74c7b5ab10"/>
    <language>en</language>
    <item>
      <title>IaaS Explained: A Beginner's Guide Using Amazon EC2 as a Case Study</title>
      <dc:creator>Andong Samuel</dc:creator>
      <pubDate>Wed, 11 Nov 2026 02:25:40 +0000</pubDate>
      <link>https://dev.to/andong_samuel_d74c7b5ab10/iaas-explained-a-beginners-guide-using-amazon-ec2-as-a-case-study-434d</link>
      <guid>https://dev.to/andong_samuel_d74c7b5ab10/iaas-explained-a-beginners-guide-using-amazon-ec2-as-a-case-study-434d</guid>
      <description>&lt;p&gt;By Samuel Andong, Cloud Computing student&lt;br&gt;
When I started my cloud computing course, I kept hearing three terms: IaaS, PaaS and SaaS. This article explains the first one, Infrastructure as a Service, in simple language. It then looks at Amazon EC2 as a real case study.&lt;br&gt;
What is IaaS?&lt;br&gt;
Infrastructure as a Service (IaaS) is a cloud model where a provider rents you computing resources over the internet. These resources are virtual servers, storage, and networking. You do not buy or maintain any physical hardware. You create what you need in minutes, and you pay for what you use.&lt;br&gt;
Think of renting an empty building. The owner looks after the land, the walls, the electricity and the security guards. You decide what goes inside, how to arrange it, and who comes in.&lt;br&gt;
IaaS vs PaaS vs SaaS&lt;br&gt;
The main difference is who manages what.&lt;br&gt;
Model&lt;br&gt;
You manage&lt;br&gt;
The provider manages&lt;br&gt;
Example&lt;br&gt;
IaaS&lt;br&gt;
Operating system, runtime, apps, data&lt;br&gt;
Servers, storage, networking, virtualization&lt;br&gt;
Amazon EC2, Oracle Cloud Infrastructure&lt;br&gt;
PaaS&lt;br&gt;
Your app and data&lt;br&gt;
Everything below the app, including the OS&lt;br&gt;
Cloudflare Workers, Railway&lt;br&gt;
SaaS&lt;br&gt;
Only your own use of it&lt;br&gt;
The whole application&lt;br&gt;
Gmail, Google Docs&lt;br&gt;
IaaS gives you the most control, but also the most responsibility. If you rent a server, you must install updates, secure it and set it up yourself.&lt;br&gt;
Key characteristics of IaaS&lt;br&gt;
• On-demand: you can create or delete a server in minutes.&lt;br&gt;
• Pay as you go: you are billed for usage, not for owning hardware.&lt;br&gt;
• Scalable: you can add more servers when traffic grows and remove them when it drops.&lt;br&gt;
• Full control: you choose the operating system, software and network rules.&lt;br&gt;
• Global: you can place servers in data centers around the world.&lt;br&gt;
Case study: Amazon EC2&lt;br&gt;
Amazon Elastic Compute Cloud (EC2) is the IaaS service from Amazon Web Services (AWS). It lets you rent virtual machines, called instances, and it is one of the best-known IaaS products in the world.&lt;br&gt;
The main building blocks&lt;br&gt;
• Instances: the virtual servers. You pick a type based on CPU, memory and cost. Some are small for tests, and others are large for heavy workloads.&lt;br&gt;
• AMI (Amazon Machine Image): a template that holds the operating system and software. You pick an AMI, such as Ubuntu or Windows, when you launch a server.&lt;br&gt;
• EBS (Elastic Block Store): storage disks that attach to your instance, like a hard drive.&lt;br&gt;
• VPC and security groups: your private network and the firewall rules that decide which traffic can reach your server, for example port 80 for web traffic and port 22 for SSH.&lt;br&gt;
• Key pairs: a secure login method, so you connect with a private key file instead of a password.&lt;br&gt;
• Regions and Availability Zones: AWS has data centers in many parts of the world. You choose where your server runs, and you can spread servers across zones for reliability.&lt;br&gt;
How you pay&lt;br&gt;
EC2 offers several pricing options:&lt;br&gt;
• On-Demand: pay per use with no commitment. This is best for beginners and short projects.&lt;br&gt;
• Reserved or savings plans: commit to a period of usage for a lower price.&lt;br&gt;
• Spot instances: use spare capacity at a large discount, with the risk that AWS may take it back.&lt;br&gt;
AWS has offered a free tier for new accounts. Always check the current terms and set a billing alert so you are not surprised by a bill.&lt;br&gt;
Scaling&lt;br&gt;
Auto Scaling can add EC2 instances when traffic rises and remove them when it falls. A load balancer spreads visitors across the servers. This is how a busy website can survive a sudden spike without crashing.&lt;br&gt;
Comparison: Amazon EC2 vs Oracle Cloud Infrastructure&lt;br&gt;
Oracle Cloud Infrastructure (OCI) is another major IaaS provider. It offers the same core idea as EC2, which is virtual servers, storage and networking on demand, but it uses different names for many things.&lt;br&gt;
Feature&lt;br&gt;
Amazon EC2 (AWS)&lt;br&gt;
Oracle Cloud Infrastructure&lt;br&gt;
Virtual server&lt;br&gt;
Instance&lt;br&gt;
Compute instance&lt;br&gt;
Server sizes&lt;br&gt;
Instance types&lt;br&gt;
Shapes&lt;br&gt;
OS templates&lt;br&gt;
AMI&lt;br&gt;
Images&lt;br&gt;
Disk storage&lt;br&gt;
EBS&lt;br&gt;
Block Volume&lt;br&gt;
Private network&lt;br&gt;
VPC&lt;br&gt;
VCN (Virtual Cloud Network)&lt;br&gt;
Firewall rules&lt;br&gt;
Security groups&lt;br&gt;
Security lists and network security groups&lt;br&gt;
Organizing resources&lt;br&gt;
Accounts and tags&lt;br&gt;
Compartments&lt;br&gt;
Server login&lt;br&gt;
Key pair&lt;br&gt;
SSH key pair&lt;br&gt;
Free option&lt;br&gt;
Free tier for new accounts&lt;br&gt;
Always Free resources and a trial credit&lt;br&gt;
The terms differ, but the workflow is almost the same: pick an image, choose a server size, set the network rules, add an SSH key and launch. Once you understand one IaaS provider, learning another is mostly learning its vocabulary. Free offers and limits change often, so check each provider's current terms before you sign up.&lt;br&gt;
Example: hosting a website on EC2&lt;br&gt;
Here is the typical flow for putting a small website online on IaaS:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create an AWS account and choose a region.&lt;/li&gt;
&lt;li&gt;Launch an instance and select an Ubuntu AMI.&lt;/li&gt;
&lt;li&gt;Create a key pair and download the private key.&lt;/li&gt;
&lt;li&gt;Set the security group to allow SSH (port 22) from your own IP and HTTP (port 80) from anywhere.&lt;/li&gt;
&lt;li&gt;Connect with SSH, install a web server such as Nginx, and copy your files to it.&lt;/li&gt;
&lt;li&gt;Open the instance's public address in a browser to see the site.
Compare this with a PaaS platform. On a platform like Cloudflare, I connected my GitHub repository and the platform published my site. With IaaS, I would have to create the server, install the web server and secure it myself. That is more work, but it gives me full control.
Benefits of IaaS
• No upfront hardware cost
• Fast setup and easy experimentation
• Flexible scaling up and down
• Full control of the operating system and software
• Reliable infrastructure run by experts
Challenges of IaaS
• More responsibility: you handle patches, security settings and backups.
• Cost surprises: a forgotten running server keeps charging you.
• Skills needed: you need to understand servers, networking and security.
• Vendor lock-in: moving to another provider can take effort.
When should you choose IaaS?
Choose IaaS when you need full control, custom software, or special network settings. Choose PaaS when you just want to deploy code quickly, and SaaS when you only need a ready-made tool.
Conclusion
IaaS is the foundation of cloud computing. It gives you virtual servers, storage and networks on demand, with control over everything above the hardware. Amazon EC2 shows how this works in practice: you choose a server, set up the network, install your software and pay for what you use. For a student, IaaS is a great way to learn how real systems run, as long as you secure your servers and watch your costs.
References
• AWS documentation: What is Amazon EC2? (docs.aws.amazon.com)
• AWS Pricing for EC2 (aws.amazon.com/ec2/pricing)
• NIST definition of cloud computing, Special Publication 800-145&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>aws</category>
      <category>beginners</category>
      <category>cloud</category>
      <category>infrastructure</category>
    </item>
  </channel>
</rss>
