Muhammad Zaman

Muhammad Zaman We Run Facebook and google ads

02/06/2026

AWS RDS Storage Types - Complete Summary

1. Magnetic Storage (Oldest)
What is it?
Traditional HDD (Hard Disk Drive) storage.
Features
Lowest cost
Slowest performance
High latency
Used mainly for legacy systems
Use Cases

Old applications

Databases that don't require high performance

Exam Point

❌ Not recommended for new applications.

2. General Purpose SSD (gp2)

What is it?

An SSD storage type designed for most workloads.

Key Concept

Performance depends on storage size.

Formula

IOPS = 3 \times Storage\,(GB)

Examples

Storage IOPS

100 GB 300
500 GB 1500
1000 GB 3000

Advantages

Faster than Magnetic

Good for most applications

Disadvantages

Need more storage to get more IOPS

Less flexible

Use Cases

Small websites

Medium business applications

Learning projects

3. General Purpose SSD (gp3)

What is it?

The newer version of gp2.

Biggest Improvement

Storage and IOPS are separate.

You can choose:

Storage = 100 GB

IOPS = 3000

without buying extra storage.

Advantages

✅ Better performance

✅ More flexible

✅ Cheaper than gp2

✅ Recommended for new deployments

Use Cases

E-commerce websites

CRM systems

Company applications

Most databases

Exam Point

If the question says:

> "General-purpose workload at low cost"

Answer:

gp3

Understanding IOPS

What is IOPS?

IOPS = Input/Output Operations Per Second

Measures how many read/write operations storage can perform in one second.

Example

3000 IOPS means:

Storage can perform approximately 3000 read/write operations every second.

Important

Storage (GB) = How much data you can store

IOPS = How fast storage works

4. Provisioned IOPS SSD (io1)

What is it?

High-performance SSD storage.

You choose exactly how many IOPS you need.

Example

Storage = 100 GB

IOPS = 10,000

AWS guarantees that performance.

Advantages

✅ Very fast

✅ Consistent performance

✅ Predictable

Disadvantages

❌ More expensive

Use Cases

Banking systems

Payment applications

Large production databases

5. Provisioned IOPS SSD (io2)

What is it?

The newer and improved version of io1.

Advantages

✅ Highest performance

✅ Highest durability

✅ Better reliability

✅ Lowest latency

Use Cases

Banking systems

Stock trading platforms

Financial systems

Mission-critical applications

Exam Point

If the question says:

> "Highest performance"

or

> "Mission-critical database"

Answer:

io2

gp3 vs io2

Feature gp3 io2

Cost Lower Higher
Performance High Very High
IOPS Good Excellent
Reliability High Highest
Latency Low Very Low
Recommended For Most applications Critical applications

Easy Real-Life Analogy

Magnetic

Old bicycle 🚲

gp2

Regular car 🚗

gp3

Modern efficient car 🚙

io1

Sports car 🏎️

io2

Formula 1 race car 🏁

Final AWS Certification Cheat Sheet

If Question Mentions:

Requirement Answer

Lowest Cost Magnetic
General Purpose gp3
Most Applications gp3
Need Better Than gp2 gp3
Guaranteed IOPS io1/io2
High Performance Database io1
Mission Critical io2
Highest Reliability io2
Banking/Financial System io2

Memory Shortcut

Magnetic → gp2 → gp3 → io1 → io2

From slowest and oldest to fastest and most reliable.

For your AWS learning journey, focus most on gp3 and io2 because these are the storage types you will see most often in modern AWS environments and certification exams.

What is AWS Lambda?​AWS Lambda is a serverless, event-driven compute service that lets you run code for virtually any ty...
26/04/2026

What is AWS Lambda?

​AWS Lambda is a serverless, event-driven compute service that lets you run code for virtually any type of application or backend service without provisioning or managing servers. You simply upload your code as a ZIP file or container image, and Lambda automatically handles the rest. It executes your code only when needed and scales automatically from a few requests per day to thousands per second.

​How It Works

​When a specific trigger occurs (like an image upload to S3 or an HTTP request), Lambda retrieves your code, launches it in a managed runtime environment, and executes the logic. Once the task is finished, the resources are released, and you are only billed for the exact duration the code was running.

​Key Benefits

​No Servers to Manage: You don't have to patch, update, or manage any underlying infrastructure; AWS handles the heavy lifting.

​Continuous Scaling: Lambda scales your application automatically by running code in response to each trigger, shifting capacity up or down instantly.

​Subsecond Metering: You are charged for every millisecond your code executes and the number of times it’s triggered, ensuring no pay for idle time.

​Features

​Bring Your Own Code: Supports multiple languages (Node.js, Python, Go, Java, etc.) and allows for custom runtimes or container images.

​Flexible Resource Model: You can easily adjust the amount of memory allocated to your functions, which proportionally scales CPU power and network bandwidth.

​Built-in Fault Tolerance: Lambda maintains compute capacity across multiple Availability Zones in a region to protect against individual machine or data center failures.

​Automatic Scaling: It handles high request volumes without any manual configuration, spinning up new instances of your function as traffic increases.

​Edge Computing: You can use Lambda@Edge to run code at Amazon CloudFront locations, responding to users with lower latency.

​Limitations

​While powerful, Lambda has specific boundaries you need to keep in mind:

​Throttle Limits: There is a regional "Concurrency Limit" (standardly 1,000) on how many functions can run simultaneously; exceeding this results in throttling.

​Resource Limits: Functions have a maximum ex*****on timeout (15 minutes) and a maximum memory allocation (10,240 MB).

​Service Limits: There are restrictions on deployment package sizes (e.g., 50 MB zipped/250 MB unzipped) and the /tmp storage capacity.(create me image like a note book type)

AWS EC2 DefinitionAmazon EC2 (Elastic Compute Cloud) is a web service that provides secure, resizable compute capacity i...
25/04/2026

AWS EC2 Definition
Amazon EC2 (Elastic Compute Cloud) is a web service that provides secure, resizable compute capacity in the cloud. It allows you to launch "virtual servers" (called instances) in minutes, letting you run applications without buying physical hardware. You can scale your servers up or down instantly based on how much traffic your website receives.

Benefits of EC2
Elastic Web-Scale Computing: You can increase or decrease capacity within minutes. You can commission one or thousands of server instances simultaneously.

Complete Control: You have root access to every instance. You can stop, start, or customize them exactly like a physical machine in your office.

Reliable: Built on Amazon's highly available environment. You can quickly replace instances if one fails by using multiple Availability Zones.

Secure: Works within your VPC and uses Security Groups (firewalls) to control exactly which traffic can reach your server.

EC2 Instance Types
AWS offers different "sizes" of servers optimized for specific tasks:

General Purpose: Balanced CPU, memory, and networking. Good for web servers and small databases.

Compute Optimized: High-performance processors. Best for batch processing or scientific modeling.

Memory Optimized: Designed for fast performance for workloads that process large data sets in memory (like RAM-heavy databases).

Storage Optimized: For workloads that require high, sequential read and write access to very large data sets on local storage.

Accelerated Computing: Uses hardware accelerators (GPUs or FPGAs) for graphics, data filtering, or machine learning.

HPC Optimized: Built specifically to run High-Performance Computing workloads at scale (like complex weather simulations).

EBS (Elastic Block Store) Features
EBS is the "hard drive" for your EC2 instance.

High Performance Volume: Built for workloads that require low latency and high speed.

Availability: Data is automatically replicated within its Availability Zone to prevent loss from a single hardware failure.

Encryption: Secure your data "at rest" and "in transit" with a single click.

Snapshots: Take a "point-in-time" backup of your disk to save your progress or move data to a new region.

Access Management: Use IAM to control exactly who can create, attach, or delete your storage volumes.

Elastic Volumes: You can increase volume size or change the drive type while the server is still running.

EBS Volume Types
1. Solid State Drives (SSD)
General Purpose SSD (gp2/gp3): The default choice. Balances price and performance for a wide variety of workloads.

Provisioned IOPS SSD (io1/io2): For "extreme" performance. Best for large, busy databases that need guaranteed speed.

2. Hard Disk Drives (HDD)
Throughput Optimized HDD (st1): Low-cost magnetic storage for frequently accessed, large workloads like log processing or big data.

Cold HDD (sc1): The lowest cost volume type. Best for data that is rarely accessed (like old archives).

AWS VPC DefinitionAn AWS VPC (Virtual Private Cloud) is your own private, isolated section of the AWS cloud where you ca...
24/04/2026

AWS VPC Definition
An AWS VPC (Virtual Private Cloud) is your own private, isolated section of the AWS cloud where you can launch resources like servers and databases. It acts like a virtual data center, giving you full control over your network environment, including IP addresses and connectivity. It ensures that your resources are logically separated from other users' traffic for maximum security.

VPC Components
VPC CIDR: The range of private IP addresses for your network (e.g., 10.0.0.0/16). It defines how many total devices can live in your VPC.

Subnet: A slice of your VPC's IP range where you place resources. Public subnets connect to the internet; Private subnets do not.

Gateways: * Internet Gateway (IGW): The "door" that allows your VPC to talk to the internet.

NAT Gateway: Allows private instances to download updates from the internet without letting the internet "see" them.

Route Tables: A set of rules (like a map) that tells network traffic where to go to find its destination.

NACL (Network Access Control List): An optional layer of security for the subnet that acts as a firewall for controlling traffic entering and leaving.

Security Group: A virtual firewall for your instance (like an EC2) that controls which specific traffic is allowed in or out.

Key Concepts: VPC & Subnets
Isolation: Every VPC is physically and logically isolated from others.

Regional Scope: A VPC lives within one AWS Region, but subnets can span across different Availability Zones for reliability.

Customization: You decide which parts of your network are public and which are strictly private.

Key Concepts: VPC Security
Layered Defense: Security happens at two levels: the NACL (at the subnet level) and the Security Group (at the server level).

Stateful vs. Stateless: Security Groups are Stateful (if you let a request in, the response is automatically allowed out). NACLs are Stateless (you must manually allow both the "In" and "Out" traffic).

AWS CloudWatch is a monitoring service that tracks the health and performance of your AWS resources and applications in ...
24/04/2026

AWS CloudWatch is a monitoring service that tracks the health and performance of your AWS resources and applications in real-time. It works by collecting data (metrics and logs), watching for specific patterns, and acting automatically when problems are detected.

How it Works:
Collect: It gathers data points (like CPU usage) and text files (like server logs) from your resources.

Monitor: It organizes this data so you can see trends and current status.

Act: It triggers "Alarms" or automated fixes if a setting goes outside your safe limits.

Analyze: It allows you to search logs and view graphs to find the root cause of issues.

Key Features:
Watch (Metrics): Tracks "numbers" like how much memory your server is using or how many people are visiting your site.

Monitor (Logs): Collects and stores text records (Log files) from your applications to help you troubleshoot errors.

Act (Alarms): Automatically sends an email or reboots a failing server if a metric hits a dangerous level (e.g., Disk Space > 90%).

Dashboard: A single screen with charts and graphs that gives you a "bird’s-eye view" of your entire clo ud environment.

☁️ AWS CloudTrail — Simple + Complete (Features, Benefits, Pricing)I’ll keep it clear, structured, and exam-ready.📌 What...
24/02/2026

☁️ AWS CloudTrail — Simple + Complete (Features, Benefits, Pricing)
I’ll keep it clear, structured, and exam-ready.
📌 What is CloudTrail?
👉 It records everything happening in your AWS account
(Who did what, when, from where)
⚙️ Main Features (Very Important)
1. 🧾 Management Events (IMPORTANT)
👉 Track account-level actions
Examples:
Create/Delete EC2
Create IAM user
Modify S3 bucket
💰 Pricing:
✅ FREE (by default in Event History – last 90 days)
⚠️ If you store in S3 via trail → small cost
2. 📂 Data Events (IMPORTANT)
👉 Track actual data access (more detailed)
Examples:
File upload/download in Amazon S3
Running functions in AWS Lambda
💰 Pricing:
❌ NOT FREE (paid)
Charged per event
More expensive because of high volume
3. 🛤️ Trails
👉 Used to save logs to S3
Single-region OR multi-region
💰 Pricing:
⚠️ S3 storage cost applies
4. 📜 Event History
👉 Shows last 90 days activity
💰 Pricing:
✅ FREE
5. 🔐 Log File Integrity Validation
👉 Detects if logs are changed
💰 Pricing:
✅ FREE feature
6. 📊 CloudTrail Insights
👉 Detects unusual activity
Example:
Sudden spike in API calls
💰 Pricing:
❌ PAID
7. 🔔 Integration with Amazon CloudWatch
👉 Real-time alerts & monitoring
💰 Pricing:
⚠️ CloudWatch charges apply
🎯 Benefits of CloudTrail
🔐 1. Security
Track suspicious activity
Detect unauthorized access
📋 2. Compliance
Helps in audits (GDPR, ISO, etc.)
Keeps activity records
🔍 3. Troubleshooting
Find who deleted/changed resources
👁️ 4. Visibility
Full visibility of user actions
🛡️ 5. Tamper Detection
With integrity validation
👉 Know if logs are modified

🏗 How Direct Connect Works (Step-by-Step)Let’s go through the full process technically.🏦 STEP 1 — Your Bank Has Its Own ...
19/02/2026

🏗 How Direct Connect Works (Step-by-Step)
Let’s go through the full process technically.
🏦 STEP 1 — Your Bank Has Its Own Data Center
Inside your Karachi bank building you have:
Servers
Database systems
Core banking system
Network router
All traffic leaves your building through your edge router.
🧵 STEP 2 — You Order a Dedicated Fiber Circuit
You contact:
A telecom provider (PTCL / Transworld / international carrier)
They install:
✔ Fiber optic cable
✔ From your bank building
✔ To the nearest Direct Connect Location
This is a physical private line.
🏢 STEP 3 — Inside Direct Connect Location
This is a secure building (not AWS Region).
Inside this building:
Your fiber arrives
AWS has networking equipment (routers)
A cross-connect cable connects your fiber to AWS router
Now your traffic can enter AWS network.
🌍 STEP 4 — Traffic Enters AWS Backbone
Once connected to AWS router:
Your data enters the AWS Global Backbone
Operated by Amazon Web Services
This backbone is:
Private
High-speed fiber network
Global
Not public internet
Now your traffic travels:
🏙 STEP 5 — Arrival at Singapore Region
Now traffic reaches:
Singapore AWS Region (ap-southeast-1)
Inside the Region:
You have created a VPC
Your VPC spans multiple Availability Zones
You have EC2, RDS, etc.
🔁 Full End-to-End Flow
Here is the complete clean diagram:
Copy code

[Karachi Bank Data Center]

Bank Router

Fiber Optic Cable (Telecom)

[Direct Connect Location]

AWS Router

AWS Global Backbone

[Singapore Region]

VPC

Availability Zones

EC2 / RDS / Applications

how API works
21/01/2026

how API works

☁️ EC2 Tenancy Options – Differences with Real ExamplesWhen launching an EC2 instance, tenancy defines how the physical ...
17/01/2026

☁️ EC2 Tenancy Options – Differences with Real Examples
When launching an EC2 instance, tenancy defines how the physical server is shared.
1️⃣ Shared Instance (Default)
Your EC2 runs on shared physical hardware with other AWS customers.
AWS isolates instances using virtualization.
Lowest cost option.
🔹 Real Example:
A small startup website or personal project where cost is important.
👉 Used by most customers.
2️⃣ Dedicated Instance
Your EC2 runs on hardware dedicated only to your AWS account.
No other customer’s instances run on the same hardware.
AWS still manages the host.
🔹 Real Example:
A company handling sensitive data that needs hardware isolation.
👉 Used for compliance or security requirements.
3️⃣ Dedicated Host
You get full control of a physical server.
You can choose how instances are placed.
Supports BYOL (Bring Your Own License).
🔹 Real Example:
A large enterprise using existing software licenses (Oracle, Windows ok).

16/01/2026

Difference Between Linux Machine and Terraform

Linux Machine

A Linux machine is an operating system environment (server or VM).
It is used to run applications, services, and commands.
You manually install and configure software on it.
Examples: Ubuntu server, Amazon Linux on EC2.
Terraform
Terraform is an Infrastructure as Code (IaC) tool.
It is used to create and manage cloud resources automatically.
It works using configuration files, not as an OS.
It can create EC2, VPC, RDS, GCP resources, etc.

Address

Karachi
05444

Website

Alerts

Be the first to know and let us send you an email when Muhammad Zaman posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Share