Amazon S3

Amazon Simple Storage Service - S3 Amazon S3 = Simple Storage Service. One of the main building blocks of AWS. Marketed as infinitely scaling storage. Backbone of many websites and integrated by many AWS services. Use Cases of Amazon S3 Backup & Storage (files, disks, etc.). Disaster Recovery (replicate data to another region for failover). Archival (cheap storage with Glacier). Hybrid Cloud Storage (extend on-premises storage to the cloud). Hosting applications/media (e.g., videos, images). Data Lake (store massive datasets for big data analytics). Delivering Software Updates. Hosting Static Websites. Examples: ...

January 26, 2026 · 16 min · 3392 words · Ahmad Hassan

Databases & Analytics

AWS Databases & Analytics – Notes What is a Database? Stores data in a structured way. Allows indexes for efficient querying/searching. Unlike raw storage (EBS, S3, EFS, EC2 Instance Store), databases provide structure and relationships between data. Types of Databases a. Relational Databases (SQL) Oldest and most common type. Data stored in tables (rows & columns) with relationships. Example: Students table linked to Departments table by department_id. Query language: SQL (Structured Query Language). Scaling: Vertical (scale up) is common, horizontal scaling is harder. b. NoSQL Databases (Non-Relational) Stands for Non-SQL (not relational). Modern, built for specific purposes and flexible schema. Benefits: Flexible and schema-less. Scales horizontally (add distributed servers). High performance, optimized for specific models. Examples: Key-value stores. Document stores (JSON). Graph databases. In-memory databases. Search databases. JSON (JavaScript Object Notation) commonly used to store data. Supports nested fields, arrays, and evolving schemas. AWS Shared Responsibility Model for Databases Managed Databases (AWS responsibility): Quick provisioning. Built-in High Availability (HA). Easy scaling (vertical + horizontal). Automated backups, restore, patching, upgrades. Integrated monitoring & alerting. AWS handles OS patching & maintenance. Self-Managed Databases (Your responsibility on EC2): You handle resiliency, patching, backups, HA, fault tolerance, scaling. Much more operational overhead. Exam Tip For the CCP exam: Know which AWS managed database fits which use case. Example: RDS (Relational), DynamoDB (NoSQL key-value), Neptune (Graph), ElastiCache (In-memory), OpenSearch (Search). Key takeaway: Use AWS managed databases unless explicitly required to run your own. Managed services simplify ops, scaling, backups, and patching. ...

January 25, 2026 · 12 min · 2501 words · Ahmad Hassan

Other Compute Services ECS, Lambda, Batch, Lightsail

Docker Introduction (Before ECS) What is Docker? Docker = software development platform to deploy applications. Traditional way: install apps directly on Linux → works but not portable. Docker way: package app into containers. Docker Containers Run the same way everywhere (no compatibility issues). Works with any programming language, OS, technology. Easier to maintain, deploy, and scale. Scaling containers = seconds. Powerful and widely used for modern app deployment. ...

January 24, 2026 · 9 min · 1793 words · Ahmad Hassan

Deployments & Managing Infrastructure at Scale

Deployments & Managing Infrastructure at Scale CloudFormation Overview What it is: AWS service for Infrastructure as Code (IaC). Declarative way of describing AWS resources (you state what you want, not how to create it). Supports almost all AWS resources. Example use case: Define: Security Group, 2 EC2 instances using that SG, an S3 bucket, a Load Balancer. CloudFormation will automatically create all resources in the correct order with the exact configuration. Benefits of CloudFormation Infrastructure as Code No manual creation of resources. Changes reviewed via code review (improves control and governance). Cost Advantages Resources in a stack are automatically tagged for easier cost tracking. Can estimate costs before deployment. Enables cost-saving automation, e.g., delete stacks at 5 PM, recreate at 8 AM. Productivity Easily destroy and recreate infrastructure. Generates diagrams of resources and their relationships. Declarative programming: CloudFormation figures out dependencies (e.g., DynamoDB before EC2). Reusability Use existing templates from AWS docs or community. Almost everything in AWS is supported. If not, use Custom Resources. Visualization Infrastructure Composer can visualize stacks. Example: WordPress stack diagram shows ALB Listener, DB, Security Groups, Launch Config, etc. Helps understand relations between components. ...

January 23, 2026 · 11 min · 2312 words · Ahmad Hassan

Leveraging the AWS Global Infrastructure

AWS Global Infrastructure Why Build a Global Application? Reduced Latency Latency = Time for a network packet to reach a server. Deploying in multiple AWS Regions or Edge Locations reduces lag by placing servers closer to users. Example: Users in India get faster response if an Asia region hosts the app instead of only US. Disaster Recovery (DR) Do not rely on a single Region. In case of disasters (earthquake, storm, power failure, politics), failover to another Region ensures high availability. Security & Attack Resistance ...

January 22, 2026 · 16 min · 3218 words · Ahmad Hassan

Cloud Integrations

AWS Cloud Integrations Purpose of Cloud Integration Multiple applications often need to communicate with each other. AWS provides different integration patterns to enable communication between distributed systems. Communication Patterns A. Synchronous Communication Definition: Applications directly communicate in real-time. Example: A Buying Service directly calls a Shipping Service to start shipment after a purchase. Characteristics: Real-time and direct connection. Immediate response required. If one service is down or overloaded, the other is affected. Disadvantages: Not resilient to failures or traffic spikes. Services are tightly coupled. B. Asynchronous (Event-Based) Communication Definition: Applications communicate indirectly through an intermediate system (like a queue). Example: The Buying Service places an order message in a queue, and the Shipping Service processes it later. Characteristics: Services are decoupled (operate independently). Enables scalability and fault tolerance. Allows buffering during high traffic (prevents overload). ...

January 21, 2026 · 7 min · 1384 words · Ahmad Hassan

Cloud Monitoring

Cloud Monitoring Cloud Monitoring helps understand and visualize the performance and health of AWS resources. The main AWS service for monitoring is Amazon CloudWatch. CloudWatch Metrics Definition Metrics: Variables that represent the performance of AWS resources over time. Examples: CPUUtilization (for EC2) NetworkIn and NetworkOut Billing (total AWS spending) Key Points Metrics are timestamped data points collected periodically. You can visualize metrics in CloudWatch Dashboards. Billing Metric: Available only in us-east-1 region. Represents total AWS spending for the entire account. Resets monthly. Common Metrics by Service Service Common Metrics Notes EC2 CPUUtilization, StatusCheck, NetworkIn/Out RAM metrics are not available EBS DiskReadOps, DiskWriteOps Measures disk I/O S3 BucketSizeBytes, NumberOfObjects, AllRequests Tracks storage and request activity Billing EstimatedCharges Account-wide billing data (us-east-1) Service Limits API usage Helps monitor resource limits Custom Metrics User-defined Push your own metrics if needed Metric Frequency Standard Monitoring: every 5 minutes (default, free). Detailed Monitoring: every 1 minute (paid). CloudWatch Alarms Alarms trigger actions based on metric thresholds. Example: When CPU utilization > 90%, send an alert. Alarm Actions Auto Scaling Actions – increase/decrease EC2 instance count automatically. EC2 Actions – stop, terminate, reboot, or recover instances. SNS Notifications – send alerts via email, SMS, or other channels. Billing Alarms Set alarms on the Billing metric to get notified when estimated charges exceed a certain amount (e.g., $10 or $20). Alarm States State Meaning OK Metric within normal range INSUFFICIENT_DATA Not enough data points ALARM Threshold breached (bad condition) Evaluation Options You can configure: Statistic type (average, min, max, percentage) Evaluation period (e.g., 5 minutes, 1 hour) Summary CloudWatch Metrics track performance data. CloudWatch Alarms automate responses or notifications when thresholds are crossed. Billing Metrics and Alarms help control costs. Custom Metrics allow monitoring of user-defined data. Amazon CloudWatch Logs Purpose CloudWatch Logs is used to collect, monitor, store, and analyze log files from various AWS services and on-premises systems. Enables real-time monitoring and troubleshooting of applications and infrastructure. What Are Log Files? Logs are records of events and activities generated by applications or systems. Used for debugging, troubleshooting, and performance analysis. Example: logs that record user actions, errors, cleanup tasks, or background processes. Log Sources CloudWatch Logs can collect logs from: ...

January 20, 2026 · 11 min · 2153 words · Ahmad Hassan

VPC & Networking

VPC & Networking (Overview) What is a VPC? VPC (Virtual Private Cloud) is a private, isolated section of the AWS cloud where you can launch and manage your AWS resources (like EC2, RDS, etc.). It provides control over networking, including IP addressing, subnets, routing, and security. Think of it as your own virtual data center in AWS. Why VPC Matters VPC concepts are essential for networking-related AWS services. In-depth knowledge is required for advanced certifications such as: AWS Certified Solutions Architect – Associate AWS Certified SysOps Administrator – Associate For CCP, understanding high-level concepts and their purpose is sufficient. Key Components to Know (for CCP) Component Purpose / Function VPC The virtual private network environment in AWS. Subnets Divide a VPC into smaller networks; can be public (internet-accessible) or private. Internet Gateway (IGW) Allows communication between resources in a public subnet and the internet. NAT Gateway Enables outbound internet access for private subnets without exposing them publicly. Security Groups Act as stateful firewalls controlling inbound and outbound traffic at the instance level. Network ACLs (NACLs) Stateless firewalls controlling traffic at the subnet level. VPC Flow Logs Capture network traffic information for monitoring and troubleshooting. VPC Peering Connects two VPCs privately using AWS’s internal network. VPC Endpoints Enable private connectivity to AWS services (like S3, DynamoDB) without using the internet. Site-to-Site VPN Connects an on-premises network to a VPC over the internet securely. Direct Connect Establishes a dedicated physical connection between on-premises and AWS for low latency. Transit Gateway Central hub to connect multiple VPCs and on-premises networks efficiently. CCP Exam Relevance The VPC topic accounts for less than 1–2 questions on the exam. Focus on definitions, purposes, and relationships between components. Hands-on familiarity with the default VPC (created automatically by AWS) is helpful. Key Takeaways Understand what each component does and why it’s used. No need to configure or design a VPC for the CCP level. Exam tests conceptual clarity, not technical implementation. IP Addresses in AWS IPv4 Overview IPv4 (Internet Protocol version 4) provides around 4.3 billion unique addresses. Common format: 192.0.2.1 (four octets). Used for most existing networks and devices. Public IPv4 Public IPs are reachable over the internet. Assigned automatically when creating EC2 instances (if enabled). Behavior: Released when instance is stopped. A new public IP is assigned when instance is started again. Pricing: AWS charges $0.005/hour per public IPv4 address (including Elastic IPs). Free Tier: 750 hours of public IPv4 usage per month. Private IPv4 Used for internal communication within private networks (e.g., inside a VPC). Example range: 192.168.0.0/16. Not accessible from the internet. Remains the same for an EC2 instance’s entire lifetime, even after stop/start. Elastic IP (EIP) A static public IPv4 address that remains the same even if an instance is stopped and restarted. Useful for consistent IP mapping (e.g., DNS records). Charged if allocated but not associated with a running instance. IPv6 Overview IPv6 (Internet Protocol version 6) is the newer protocol with 3.4 × 10³⁸ addresses (virtually unlimited). Example format: 2600:1f18:abcd:1234::1. All IPv6 addresses are public (no private range). Free to use in AWS (no hourly charge). IPv4 vs IPv6 (Quick Comparison) Feature IPv4 IPv6 Address Space 4.3 billion 3.4 × 10³⁸ Format 4 decimal octets (e.g., 192.168.0.1) Hexadecimal blocks (e.g., 2600:1f18::1) Private Range Yes No Internet Reachability Optional Always Public AWS Cost $0.005/hour Free Example Usage Legacy systems, internal networking New apps, scalable internet exposure Exam Tip Know the difference between public, private, and elastic IPs. Remember: IPv6 = free + public-only + huge address space. For CCP, focus on behavior and cost, not configuration details. VPC (Virtual Private Cloud) Overview Definition VPC (Virtual Private Cloud) is a private, isolated network in AWS used to deploy cloud resources like EC2 instances, databases, etc. Each VPC is region-specific. If you use multiple AWS Regions, you have separate VPCs in each region. VPC Structure A VPC contains subnets, which are partitions of the VPC network. Each subnet is associated with one Availability Zone (AZ). CIDR Range (Classless Inter-Domain Routing) defines the IP address range of a VPC. Example: 10.0.0.0/16. ...

January 19, 2026 · 15 min · 3042 words · Ahmad Hassan

Security & Compliance

AWS Security & Compliance Shared Responsibility Model Definition: The framework that defines which security tasks are handled by AWS and which are managed by the customer. Key Idea: AWS is responsible for security of the cloud. Customer is responsible for security in the cloud. AWS Responsibility (Security of the Cloud) AWS manages and secures: Infrastructure: Hardware, software, networking, facilities. Managed Services: Full responsibility for services like S3, DynamoDB, RDS. Global Infrastructure: Regions, Availability Zones (AZs), and Edge Locations. Compute, Storage, Database, and Networking layers of their services. Service Software: Ensuring AWS services are updated, secure, and operational. Example: For RDS, AWS handles: ...

January 18, 2026 · 28 min · 5910 words · Ahmad Hassan

Machine Learning

Machine Learning Overview Machine Learning (ML) is not deeply tested in the CCP exam. You only need to understand main AWS ML services and their high-level use cases. Amazon Rekognition Definition: A machine learning-based image and video analysis service that can automatically detect and recognize objects, people, text, scenes, and activities. Core Features / Capabilities: Object and Scene Detection: Identifies items in images or videos (e.g., person, dog, mountain bike). Facial Analysis: Detects faces and analyzes attributes like gender, age range, and emotion. Face Search and Verification: Compares faces for user verification or security applications. Celebrity Recognition: Identifies well-known people in images or videos. Text Detection: Extracts text from images (useful for reading signs, runner numbers, etc.). Content Moderation: Flags inappropriate or unsafe content. Pathing / Movement Tracking: Tracks object or person movements (e.g., in sports or surveillance). Use Cases: ...

January 17, 2026 · 11 min · 2156 words · Ahmad Hassan
ESC