AWS Practitioner
AWS Practitioner
aws/aws101/en-US/1-getting-started/01-architecture
During Modules 1–10, you build your AWS Cloud knowledge by learning about AWS Cloud concepts,
The lessons in each module include videos, supporting information, and links to additional
The knowledge checks and quizzes are opportunities to review the key concepts that were
covered in each module. After answering each question, review the detailed answer
In the final Module 11, you learn about the structure of the AWS Certified Cloud Practitioner exam. You
also review strategies that help you to increase the probability of passing the exam.
Course Overview:
o From basic (compute, storage, network security) to complex (blockchain, AI, robotics,
specialized tools).
Client-Server Model:
Pay-as-you-go Model:
o Pay only for what you use (like a coffee shop paying staff only for hours worked).
AWS Philosophy:
database engines).
o Pay-as-you-go: Only pay for resources used (e.g., avoid paying for developer
environments on weekends).
o On-Premises: High upfront costs, long setup times (research, purchase, delivery,
installation, configuration).
EC2 Operation:
needed.
EC2's Impact:
o Different types of EC2 instances are available, each optimized for specific tasks.
o Analogy: Just like a coffee shop needs different employees (cashier, barista, etc.), AWS
Instance Families:
o General Purpose: Balanced compute, memory, and networking. Suitable for diverse
o Storage Optimized: Optimized for workloads requiring high performance for locally
stored data.
EC2 Pricing Options: Several options exist to cater to different usage patterns and budgets.
On-Demand:
o Pay only for the instance's running duration (per hour or per second).
Savings Plans:
o Lower prices in exchange for a commitment to consistent usage (dollars per hour) for 1
or 3 years.
o Flexible: Applies across instance families, sizes, OS, regions, Fargate, and Lambda.
Reserved Instances:
o Discounted pricing (up to 75% off On-Demand) for steady-state, predictable workloads.
Spot Instances:
Dedicated Hosts:
Scalability and Elasticity: AWS's key benefit: adjusting capacity to meet changing business
needs.
o Balancing hardware purchase: Too little for peak times, too much for average use.
o Buying for average usage: Risk of service disruption during peak loads.
o Buying for peak usage: Wasteful spending on idle resources (low utilization).
AWS Solution:
o Happy customers (always get service) and happy finance team (good ROI).
o Decoupled system: Order taking (Morgan) separate from drink making (Rudy).
o Plan for failure: Create redundant instances (multiple Morgans) to avoid single points of
failure.
o System now highly available, but needs to also scale with demand. (This is the next topic
Traffic Management Challenge: Uneven distribution of traffic to EC2 instances can lead to
some instances being overloaded while others are idle. Similar to customers lining up at one
Solution: Load Balancing: Distributes incoming requests evenly across EC2 instances. A
o Regional Construct: Runs at the regional level, providing automatic high availability.
o Automatic Scalability: Handles traffic growth without manual intervention or cost
changes.
o Integration with Auto Scaling: Seamlessly integrates with EC2 Auto Scaling. ELB is
notified of new instances and removes terminated instances from the pool.
o External and Internal Traffic: Used for both external (internet-facing) and internal
o Without ELB: Each front-end instance needs to know about every back-end instance,
o With ELB: Front-end instances communicate with a single ELB URL. ELB distributes traffic
to back-end instances.
Benefits of ELB:
o Simplified management.
o Scalability.
Next Steps: ELB is one method for back-end communication. Other services may be more
blocked).
in one component doesn't disrupt others. (Analogy: Cashier puts order on an order board;
o Improved scalability.
o Greater flexibility.
Messages (coffee orders) are placed in queues (order board) until processed.
Example: Notifying a customer via SMS when their coffee order is ready.
EC2 Instances:
Serverless Computing:
AWS Lambda:
Container Services:
monitoring).
AWS Fargate:
o Serverless compute platform for ECS and EKS.
o ECS/EKS: Containerized workloads. Choose ECS or EKS as your orchestration tool. Then
Cloud Computing:
internet.
o Amazon EC2:
o Messaging Services:
consumed.
o Container Services:
management).
o AWS Lambda: Serverless compute; upload code, configure triggers, pay only for
o Solution: Multiple locations across the city ensure customers can still get coffee.
Key Takeaway: AWS's global infrastructure, with its multiple regions, is designed for high
availability, similar to the coffee shop chain with multiple locations. This ensures service
Data Residency and Sovereignty: Data must live and operate somewhere. 1 AWS allows
companies to run applications in data centers they don't own. 2 A key concern is what happens in
hardware, real estate, staffing, etc.). Backups are often the primary strategy, but "hope" is not a
good plan.
AWS Regions:
o AWS data centers are grouped into Regions (e.g., Paris, Tokyo, Sao Paulo, Dublin, Ohio). 3
o Each Region has multiple data centers with compute, storage, and other services. 4
Data Isolation: Data within a Region never leaves without explicit permission. Crucial for
Data Sovereignty: Data is subject to the local laws of the Region's location.
o Compliance: Mandatory requirements (e.g., data must stay within specific country
o Feature Availability: New AWS services may not be available in all Regions
immediately.8
o Pricing: Operational costs vary by Region (taxes, etc.), resulting in different pricing
structures.9
Serving Global Customers: Proximity to customers is important, but what if customers are
geographically dispersed?
Content Delivery Networks (CDNs): Cache copies of data closer to customers worldwide.
o Delivers data, video, applications, and APIs globally with low latency and high transfer
speeds.
Edge Locations:
AWS Outposts:
o Brings a fully operational AWS "mini-Region" into a customer's own data center.
(tens of miles apart) for high availability and disaster recovery, while logically unified for
your application.
Interacting with AWS Services: Primarily done through APIs (Application Programming
API Calls: Used to provision, configure, and manage AWS resources (e.g., launching EC2
Not ideal for production due to manual, point-and-click nature, which is prone to
human error.
o AWS Elastic Beanstalk: Platform for deploying and scaling web applications. 7
o AWS CloudFormation: Infrastructure as code.8
Key Takeaways:
Amazon Virtual Private Cloud (VPC): Logically isolated section of the AWS Cloud. Allows you
to define your own virtual network and launch resources within it.
Subnets: Ranges of IP addresses within a VPC. Resources are grouped into subnets.
Public Subnets: Resources have internet access (e.g., cashier in the coffee shop analogy,
Private Subnets: Resources have no internet access (e.g., baristas focused on making coffee,
Key Analogy: Coffee shop with cashiers (public subnet) interacting with customers and baristas
(private subnet) focused on their tasks. VPC provides this separation and control over access.
VPC (Virtual Private Cloud): Your private network in AWS. EC2 instances, ELBs, etc., reside
within it.
o Internet Gateway (IGW): "Front door" for public-facing resources. Allows internet traffic
to/from the VPC (e.g., for public websites). Analogy: Coffee shop's front door.
o Virtual Private Gateway (VGW): "Private doorway" for internal resources. Creates a
VPN connection between your on-premises network and the VPC. Analogy: Private bus
o AWS Direct Connect: Dedicated, private fiber connection from your data center to
AWS. Highest security and lowest latency. Analogy: Secret magic doorway.
Key Points:
VPC Security: A VPC is a "fortress," but perimeter security is only one aspect. AWS offers
Security Groups:
| Level | Subnet | Instance | | Direction | Inbound and Outbound | Inbound (Outbound default allow) | |
o Return traffic follows a similar path, with Security Groups remembering the connection
Security in Depth: Use both NACLs and Security Groups for comprehensive network security.
o Routing Policies:
latency.2
Geolocation DNS: Routes traffic based on the user's location (e.g., North
resources.4
assigned weights.5
o Example:
Seattle user accesses website; static assets delivered from CloudFront Edge
Dublin user accesses the same website; static assets delivered from CloudFront
AWS Networking Simplified: Focus shifts from complex topology to defining communication
permissions. If you can answer "who should be allowed to communicate with whom," you can
o Connectivity Options:
o Global Networks:
focusing on the essential components needed to get a business started. It's not exhaustive, but
Customer Loyalty Program: Need to track customer orders and purchases for rewards and
analysis.
Requirement: Databases and storage solutions are needed to manage customer data
effectively.
Key Challenge: Choosing the right database and storage solution for different data types and
EC2 Instance Storage Needs: Applications running on EC2 instances require access to CPU,
Block-Level Storage:
o Efficient for applications like databases, enterprise software, and file systems.
o Provides persistent block storage volumes (EBS volumes) that can be attached to EC2
instances.
instance.
EBS Snapshots:
Amazon S3 (Simple Storage Service): Object storage service for storing and retrieving
Core Concepts:
o S3 Standard: High durability (11 nines), data stored in at least three facilities. Suitable
for frequently accessed data. Also used for static website hosting.
o S3 Standard-IA (Infrequent Access): For less frequently accessed data that needs
o S3 Glacier Flexible Retrieval: For long-term archiving (audit data). Retrieval times
from minutes to hours. Vault lock policies for compliance (WORM - Write Once, Read
Many).
o Other storage classes exist (S3 One Zone-IA, S3 Glacier Instant Retrieval, S3 Glacier Deep
Archive).
S3 Lifecycle Policies:
o Automate data movement between storage tiers based on defined rules (e.g., move data
from S3 Standard to S3-IA after 90 days, then to Glacier after 120 days).
o Reduces management overhead.
Use Case: Shared file systems for applications (e.g., multiple servers analyzing data). Replaces
Benefits:
o Multiple EC2 instances can access the EFS file system concurrently.
Access | Multiple instances concurrently | Single instance (per volume) | | Scaling | Automatic, scales as
data grows | Manual provisioning, fixed size | | Scope | Regional (accessible from any AZ in region) |
Availability Zone (AZ) specific | | Type | File system (Linux) | Block storage (hard drive) | | Use Cases |
Shared file systems, big data analytics | Databases, application storage, boot volumes |
Relational Databases (RDBMS): Used when data relationships need to be maintained (e.g.,
Key Concepts:
Supported Database Engines: MySQL, PostgreSQL, Oracle, Microsoft SQL Server, and others.
Migration Options:
o Lift-and-Shift to EC2: Migrate existing database to run on EC2 instances. Maintains
major engines. Provides automated patching, backups, redundancy, failover, and disaster
o Amazon Aurora: AWS's most managed relational database option (MySQL and
Features include:
Point-in-time recovery.
Key Features:
NoSQL Database:
o Relational Databases (SQL): Rigid schema, complex queries, potential scaling issues. 4
scalability.
DynamoDB Characteristics:
o Non-relational (NoSQL).5
o Purpose-built for specific use cases (high-volume, flexible data).
o Fully managed.
Schema | Rigid | Flexible | | Queries | Complex (joins) | Simple (single table) | | Scalability | Challenging |
Data Warehouses: Designed for historical data analysis (business intelligence), not real-time
operations.
o Traditional databases struggle with the scale and complexity of analytical queries.
o Note: "Historical" can be recent (e.g., "last hour's sales"). The key is that the data is
static (past).
Key Takeaway: Redshift simplifies and accelerates big data analytics, allowing businesses to
Amazon Database Migration Service (DMS): Helps migrate existing databases to AWS.1
Key Features:
Migration Types:
o Homogenous: Source and target databases are the same type (e.g., MySQL to RDS
o Heterogeneous: Source and target databases are different types (e.g., Oracle to
PostgreSQL).5 Requires schema and code conversion using the AWS Schema Conversion
Migration Process:
database.10
detection.
o Amazon Managed Blockchain: For blockchain solutions (decentralized, but may not be
o Amazon QLDB (Quantum Ledger Database): Immutable ledger for financial records,
Database Acceleration:
o Amazon ElastiCache: Caching layer for databases (Memcached and Redis). Improves
Key Takeaway: AWS provides a wide range of databases and acceleration tools to ensure
businesses can select the optimal solutions for their specific workloads and performance
requirements. The emphasis is on using the "best tool for the job."
Review of AWS Storage and Database Services:
o EBS (Elastic Block Store): Persistent block storage for EC2 instances.
o Relational Databases (RDS, Aurora): For structured data with relationships (MySQL,
PostgreSQL, etc.).
o EFS (Elastic File System): Managed file system for shared access.
Key Takeaway: Understanding the different storage and database options is crucial for
choosing the right solution for each specific data type and workload.
AWS Security: Shared Responsibility Model (AWS "of the cloud," customer "in the cloud").
access, compliance).
Consolidated billing.
o DDoS Protection:
AWS WAF (Web Application Firewall): Filters web traffic for malicious
signatures.
o Data Security:
Encryption at Rest: Data is encrypted when stored (e.g., DynamoDB).
Key Takeaway: AWS offers a comprehensive suite of security tools and services to help
customers secure their cloud environments, but it's a shared responsibility. Understanding the
shared responsibility model and leveraging the available services are crucial for building a
o Shared Responsibility Model: AWS secures "the cloud," the customer secures "in the
cloud."
o Compliance:
AWS Compliance Center and AWS Artifact provide information and documents.
Compliance is a shared responsibility.
o DDoS Protection:
ELB, Security Groups, AWS Shield, and AWS WAF are used for defense.
o Encryption:
Monitoring: Observing systems, collecting metrics, and using them to make decisions or take
action.
Amazon CloudWatch:
o CloudWatch Alarms: Trigger actions based on metric thresholds (e.g., send an SNS
o Benefits:
Centralized monitoring.
System-wide visibility.
AWS CloudTrail:
o Logs every API call made to AWS (who, what, when, where, response).
o Five Pillars:
Cost Optimization.
Performance.
Security.
Fault Tolerance.
Service Limits.
o CloudTrail: API call logging for auditing and compliance (who, what, when, where).
o Trusted Advisor: Automated best practice checks for cost, performance, security, and
fault tolerance.
Key Takeaway: This module introduces some of the essential monitoring and analysis tools in
AWS. While not an exhaustive list, these services provide a solid foundation for understanding
o Always Free: Services that are free for all AWS customers (e.g., Lambda with 1 million
o 12 Months Free: Services that are free for the first 12 months of your AWS account
o Trials: Short-term free trials for specific services (e.g., Lightsail with 750 hours for one
month).
o AWS Billing Console: Provides access to billing information, cost analysis tools, and
invoices.
Easier management.
o AWS Budgets: Set custom budgets and receive alerts when costs or usage exceed or
Custom reports.
AWS Support:
o AWS Basic Support: Free for all customers. Includes customer service, documentation,
o AWS Business Support: Phone support, enhanced Trusted Advisor, infrastructure event
management.
Managers (TAMs).
AWS Marketplace:
integration).
o AWS Support: Different tiers for different needs (Basic, Developer, Business, Enterprise
On-Ramp, Enterprise).7
Key Takeaway: AWS offers a variety of tools and support options to help customers understand
and manage their cloud costs effectively.10 There are also resources available to help with
AWS Cloud Adoption Framework (CAF): Provides guidance for smooth migration.
Business
People
Governance
Platform
Security
Operations
o Rehosting (Lift and Shift): Move applications as-is. Quickest, but may not be
optimized.
o Replatforming (Lift, Tinker, and Shift): Make minor cloud optimizations (e.g., move
to RDS).
o Snowmobile: 100 PB, for massive migrations and data center shutdowns.
Pre-trained AI services.
Key Takeaway: AWS offers a wide range of tools and services to support migration and
innovation, including physical data transfer solutions, machine learning platforms, and access to
emerging technologies.
Review of Migration and Innovation Concepts:
o AWS Cloud Adoption Framework (CAF): Guidance for cloud migration planning,
3. Repurchase
4. Refactor
5. Retire
6. Retain
1. Snowcone
2. Snowball Edge
3. Snowmobile
Six Pillars:
workloads. Uses a traffic light system (green, orange, red) for identifying areas of improvement.
2. Benefit from massive economies of scale: Lower costs due to AWS's scale.
5. Stop spending money running and maintaining data centers: Focus on core
business.