AWS Certified Cloud Practitioner Study Content
AWS Certified Cloud Practitioner Study Content
• https://d1.awsstatic.com/training-and-certification/docs-cloud-
practitioner/AWS-Certified-Cloud-Practitioner_Sample-Questions.pdf
Your AWS Certification journey
What is Cloud Computing
Section
How websites work
network
Client Server
• Storage: Data
Router Switch
Traditionally, how to build infrastructure
Home or Garage
Office Data center
Problems with traditional IT approach
• Pay for the rent for the data center
• Pay for power supply, cooling, maintenance
• Adding and replacing hardware takes time
• Scaling is limited
• Hire 24/7 team to monitor the infrastructure
• How to deal with disasters? (earthquake, power shutdown, fire…)
2003: 2006:
Amazon infrastructure is Re-launched
one of their core strength. publicly with
Idea to market SQS, S3 & EC2
AWS Cloud Number Facts
• In 2019, AWS had $35.02
billion in annual revenue
• AWS accounts for 47% of the
market in 2019 (Microsoft is
2nd with 22%)
• Pioneer and Leader of the
AWS Cloud Market for the
9th consecutive year
• Over 1,000,000 active users
• https://infrastructure.aws/
AWS Regions
• AWS has Regions all around the world
• Names can be us-east-1, eu-west-3…
• A region is a cluster of data centers
• Most AWS services are region-scoped
https://aws.amazon.com/about-aws/global-infrastructure/
How to choose an AWS Region?
https://aws.amazon.com/cloudfront/features/
Tour of the AWS Console
• AWS has Global Services:
• Identity and Access Management (IAM)
• Route 53 (DNS service)
• CloudFront (Content Delivery Network)
• WAF (Web Application Firewall)
• Most AWS services are Region-scoped:
• Amazon EC2 (Infrastructure as a Service)
• Elastic Beanstalk (Platform as a Service)
• Lambda (Function as a Service)
• Rekognition (Software as a Service)
• Region Table: https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services
Shared Responsibility Model diagram
https://aws.amazon.com/compliance/shared-responsibility-model/
AWS Acceptable Use Policy
• https://aws.amazon.com/aup/
"Resource": "*"
}
]
}
IAM Policies inheritance
Audit Team
Developers Operations
inline
Alice
m5.2xlarge
• m: instance class
• 5: generation (AWS improves them over time)
• 2xlarge: size within the instance class
EC2 Instance Types – General Purpose
• Great for a diversity of workloads such as web servers or code repositories
• Balance between:
• Compute
• Memory
• Networking
• In the course, we will be using the t2.micro which is a General Purpose EC2
instance
* this list will evolve over time, please check the AWS website for the latest information
EC2 Instance Types – Compute Optimized
• Great for compute-intensive tasks that require high performance
processors:
• Batch processing workloads
• Media transcoding
• High performance web servers
• High performance computing (HPC)
• Scientific modeling & machine learning
• Dedicated gaming servers
* this list will evolve over time, please check the AWS website for the latest information
EC2 Instance Types – Memory Optimized
• Fast performance for workloads that process large data sets in memory
• Use cases:
• High performance, relational/non-relational databases
• Distributed web scale cache stores
• In-memory databases optimized for BI (business intelligence)
• Applications performing real-time processing of big unstructured data
* this list will evolve over time, please check the AWS website for the latest information
EC2 Instance Types – Storage Optimized
• Great for storage-intensive tasks that require high, sequential read and write
access to large data sets on local storage
• Use cases:
• High frequency online transaction processing (OLTP) systems
• Relational & NoSQL databases
• Cache for in-memory databases (for example, Redis)
• Data warehousing applications
• Distributed file systems
* this list will evolve over time, please check the AWS website for the latest information
EC2 Instance Types: example
t2.micro is part of the AWS free tier (up to 750 hours per month)
Inbound traffic
Security
Group
WWW Outbound traffic EC2 Instance
EC2 Instance
IP XX.XX.XX.XX
Security Group 1
EC2 Instance Security
Inbound EC2 Instance
IP XX.XX.XX.XX Port 123 Group 1
Authorising Security Group 1 IP XX.XX.XX.XX
(attached)
Authorising Security Group 2
Security
Port 123 Group 3 EC2 Instance
IP XX.XX.XX.XX
(attached)
Classic Ports to know
• 22 = SSH (Secure Shell) - log into a Linux instance
• 21 = FTP (File Transfer Protocol) – upload files into a file share
• 22 = SFTP (Secure File Transfer Protocol) – upload files using SSH
• 80 = HTTP – access unsecured websites
• 443 = HTTPS – access secured websites
• 3389 = RDP (Remote Desktop Protocol) – log into a Windows instance
SSH Summary Table
EC2 Instance
SSH Putty
Connect
Mac
Linux
Windows < 10
Windows >= 10
Which Lectures to watch
• Mac / Linux:
• SSH on Mac/Linux lecture
• Windows:
• Putty Lecture
• If Windows 10: SSH on Windows 10 lecture
• All:
• EC2 Instance Connect lecture
SSH troubleshooting
• Students have the most problems with SSH
SSH – Port 22
WWW EC2 Instance
Linux
Public IP
SSH – Port 22
WWW EC2 Instance
Linux
Public IP
• We will configure all the required parameters necessary for doing SSH
on Windows using the free tool Putty.
EC2 Instance Connect
• Connect to your EC2 instance within your browser
• No need to use your key file that was downloaded
• The “magic” is that a temporary key is uploaded onto EC2 by AWS
• Useful for software that have complicated licensing model (BYOL – Bring Your
Own License)
• Or for companies that have strong regulatory or compliance needs
EC2 Dedicated Instances
• Instances run on hardware that’s
dedicated to you
US-EAST-1A US-EAST-1B
EBS Snapshot
Custom AMI
US-EAST-1A US-EAST-1B
Launch
Create AMI from AMI
EC2 Image Builder
• Used to automate the creation of Virtual Machines or container images
• => Automate the creation, maintain, validate and test EC2 AMIs
• Can be run on a schedule (weekly, whenever packages are updated, etc…)
• Free service (only pay for the underlying resources)
create create
AMI is distributed
(can be multiple regions)
EC2 Image Builder Builder EC2 Instance New AMI Test EC2 Instance
EC2 Instance Store
• EBS volumes are network drives with good but “limited” performance
• If you need a high-performance hardware disk, use EC2 Instance
Store
Security Group
EFS FileSystem
EBS vs EFS
Availability Zone 1 Availability Zone 2 Availability Zone 1 Availability Zone 2
EBS EBS
EFS EFS
Mount Mount
Target Target
snapshot restore
EBS Snapshot
EFS
EFS Infrequent Access (EFS-IA)
• Storage class that is cost-optimized for files not
accessed every day
• Up to 92% lower cost compared to EFS Standard
• EFS will automatically move your files to EFS-IA no access
for 60 days
based on the last time they were accessed EFS Standard
file system
• Built on Windows File Server FSx for Windows FSx for Windows
File Server File Server
• Supports SMB protocol & EC2 instance
\\fs-0123456789abcdef0.example.com\share
Windows NTFS
• Integrated with Microsoft Active
Directory over SMB
Windows client
Amazon FSx for Lustre
• A fully managed, high-performance, scalable file storage for High Performance
Computing (HPC)
• The name Lustre is derived from “Linux” and “cluster”
• Machine Learning, Analytics, Video Processing, Financial Modeling, …
• Scales up to 100s GB/s, millions of IOPS, sub-ms latencies
Region Corporate data center
• Let’s deep dive into the distinction, using a call center as an example
Vertical Scalability
• Vertical Scalability means increasing the size
of the instance
• For example, your application runs on a
t2.micro
• Scaling that application vertically means
running it on a t2.large
• Vertical scalability is very common for non
distributed systems, such as a database.
• There’s usually a limit to how much you can
vertically scale (hardware limit)
junior operator senior operator
Horizontal Scalability operator operator operator
• High Availability: Run instances for the same application across multi AZ
• Auto Scaling Group multi AZ
• Load Balancer multi AZ
Scalability vs Elasticity (vs Agility)
• Scalability: ability to accommodate a larger load by making the
hardware stronger (scale up), or by adding nodes (scale out)
Load Balancer
User 1
User 2
User 3
Why use a load balancer?
• Spread load across multiple downstream instances
• Expose a single point of access (DNS) to your application
• Seamlessly handle failures of downstream instances
• Do regular health checks to your instances
• Provide SSL termination (HTTPS) for your websites
• High availability across zones
Why use an Elastic Load Balancer?
• An ELB (Elastic Load Balancer) is a managed load balancer
• AWS guarantees that it will be working
• AWS takes care of upgrades, maintenance, high availability
• AWS provides only a few configuration knobs
• It costs less to setup your own load balancer but it will be a lot more
effort on your end (maintenance, integrations)
• 4 kinds of load balancers offered by AWS:
• Application Load Balancer (HTTP / HTTPS only) – Layer 7
• Network Load Balancer (ultra-high performance, allows for TCP) – Layer 4
• Gateway Load Balancer – Layer 3
• Classic Load Balancer (retired in 2023) – Layer 4 & 7
Application Load Network Load Balancer Gateway Load Balancer
Balancer
HTTP / HTTPS
/ gRPC TCP/UDP
Users Application
(source) traffic traffic (destination)
ALB NLB
3rd Party Security
Virtual Appliances
What’s an Auto Scaling Group?
• In real-life, the load on your websites and application can change
• In the cloud, you can create and get rid of servers very quickly
• The goal of an Auto Scaling Group (ASG) is to:
• Scale out (add EC2 instances) to match an increased load
• Scale in (remove EC2 instances) to match a decreased load
• Ensure we have a minimum and a maximum number of machines running
• Automatically register new instances to a load balancer
• Replace unhealthy instances
• Cost Savings: only run at an optimal capacity (principle of the cloud)
Auto Scaling Group in AWS
Maximum size
Load Balancer
• Resource-Based
• Bucket Policies – bucket wide rules from the S3 console - allows cross account
• Object Access Control List (ACL) – finer grain (can be disabled)
• Bucket Access Control List (ACL) – less common (can be disabled)
S3 Bucket Policy
Allows Public Access
IAM Policy
IAM User
S3 Bucket
Example: EC2 instance access - Use IAM Roles
IAM permissions
EC2 Instance Role
EC2 Instance
S3 Bucket
Advanced: Cross-Account Access –
Use Bucket Policy
S3 Bucket Policy
Allows Cross-Account
IAM User
Other AWS account
S3 Bucket
Bucket settings for Block Public Access
• http://bucket-name.s3-website.aws-region.amazonaws.com
S3 Bucket
• If you get a 403 Forbidden error, make sure the bucket (demo-bucket)
• Availability:
• Measures how readily available a service is
• Varies depending on storage class
• Example: S3 standard has 99.99% availability = not available 53 minutes a year
S3 Standard – General Purpose
• 99.99% Availability
• Used for frequently accessed data
• Low latency and high throughput
• Sustain 2 concurrent facility failures
• Use Cases: Big Data analytics, mobile & gaming applications, content
distribution…
S3 Storage Classes – Infrequent Access
• For data that is less frequently accessed, but requires rapid access when needed
• Lower cost than S3 Standard
Availability
>= 3 >= 3 >= 3 1 >= 3 >= 3 >= 3
Zones
Min. Storage
None None 30 Days 30 Days 90 Days 90 Days 180 Days
Duration Charge
Min. Billable
None None 128 KB 128 KB 128 KB 40 KB 40 KB
Object Size
Retrieval Fee None None Per GB retrieved Per GB retrieved Per GB retrieved Per GB retrieved Per GB retrieved
https://aws.amazon.com/s3/storage-classes/
S3 Storage Classes – Price Comparison
Example: us-east-1
Glacier Instant Glacier Flexible Glacier Deep
Standard Intelligent-Tiering Standard-IA One Zone-IA
Retrieval Retrieval Archive
Storage Cost
$0.023 $0.0025 - $0.023 $0.0125 $0.01 $0.004 $0.0036 $0.00099
(per GB per month)
GET: $0.0004
GET: $0.0004
POST: $0.03
POST: $0.05
Retrieval Cost GET: $0.0004 GET: $0.0004 GET: $0.001 GET: $0.001 GET: $0.01
(per 1000 request) POST: $0.005 POST: $0.005 POST: $0.01 POST: $0.01 POST: $0.02 Expedited: $10
Standard: $0.10
Standard: $0.05
Bulk: $0.025
Bulk: free
Expedited (1 – 5 mins)
Standard (12 hours)
Retrieval Time Instantaneous Standard (3 – 5 hours)
Bulk (48 hours)
Bulk (5 – 12 hours)
Monitoring Cost
$0.0025
(pet 1000 objects)
https://aws.amazon.com/s3/pricing/
S3 Encryption
Server-Side Encryption Client-Side Encryption
(Default)
User User
Amazon S3 Amazon S3
Shared Responsibility Model for S3
• Data migration:
Snowcone Snowball Edge Snowmobile
• Edge computing:
Snowcone Snowball Edge
Data Migrations with AWS Snow Family
Challenges:
Time to Transfer • Limited connectivity
100 Mbps 1Gbps 10Gbps • Limited bandwidth
10 TB 12 days 30 hours 3 hours • High network cost
100 TB 124 days 12 days 30 hours • Shared bandwidth (can’t
1 PB 3 years 124 days 12 days maximize the line)
• Connection stability
client Amazon S3
bucket
• With Snow Family:
ship
https://aws.amazon.com/blogs/aws/aws-snowball-edge-update/
Hybrid Cloud for Storage
• AWS is pushing for ”hybrid cloud”
• Part of your infrastructure is on-premises
• Part of your infrastructure is on the cloud
• This can be due to
• Long cloud migrations
• Security requirements
• Compliance requirements
• IT strategy
• S3 is a proprietary storage technology (unlike EFS / NFS), so how do you
expose the S3 data on-premise?
• AWS Storage Gateway!
AWS Storage Cloud Native Options
• Note: many databases technologies could be run on EC2, but you must
handle yourself the resiliency, backup, patching, high availability, fault
tolerance, scaling…
AWS RDS Overview
• RDS stands for Relational Database Service
• It’s a managed DB service for DB use SQL as a query language.
• It allows you to create databases in the cloud that are managed by AWS
• Postgres
• MySQL
• MariaDB
• Oracle
• Microsoft SQL Server
• Aurora (AWS Proprietary database)
Advantage over using RDS versus deploying
DB on EC2
• RDS is a managed service:
• Automated provisioning, OS patching
• Continuous backups and restore to specific timestamp (Point in Time Restore)!
• Monitoring dashboards
• Read replicas for improved read performance
• Multi AZ setup for DR (Disaster Recovery)
• Maintenance windows for upgrades
• Scaling capability (vertical and horizontal)
• Storage backed by EBS (gp2 or io1)
• BUT you can’t SSH into your instances
RDS Solution Architecture
Read/write
EC2 Instances
Possibly in an ASG
Amazon Aurora
• Aurora is a proprietary technology from AWS (not open sourced)
• PostgreSQL and MySQL are both supported as Aurora DB
• Aurora is “AWS cloud optimized” and claims 5x performance improvement
over MySQL on RDS, over 3x the performance of Postgres on RDS
• Aurora storage automatically grows in increments of 10GB, up to 128 TB
• Aurora costs more than RDS (20% more) – but is more efficient
• Not in the free tier
RDS Deployments: Read Replicas, Multi-AZ
• Read Replicas: • Multi-AZ:
• Scale the read workload of your DB • Failover in case of AZ outage (high availability)
• Can create up to 15 Read Replicas • Data is only read/written to the main database
• Data is only written to the main DB • Can only have 1 other AZ as failover
replication replication
SQL (relational)
Database
DynamoDB
• Fully Managed Highly available with replication across 3 AZ
• NoSQL database - not a relational database
• Scales to massive workloads, distributed “serverless” database
• Millions of requests per seconds, trillions of row, 100s of TB of storage
• Fast and consistent in performance
• Single-digit millisecond latency – low latency retrieval
• Integrated with IAM for security, authorization and administration
• Low cost and auto scaling capabilities
• Standard & Infrequent Access (IA) Table Class
DynamoDB – type of data
• DynamoDB is a key/value database
https://aws.amazon.com/nosql/key-value/
DynamoDB Accelerator - DAX
• Fully Managed in-memory cache for
DynamoDB applications
read/write
DynamoDB DynamoDB
2-way replication
Amazon
QuickSight
Amazon QuickSight
• Serverless machine learning-powered business intelligence service to
create interactive dashboards
• Fast, automatically scalable, embeddable, with per-session pricing
• Use cases:
• Business analytics
• Building visualizations
• Perform ad-hoc analysis
• Get business insights using data
• Integrated with RDS, Aurora,
Athena, Redshift, S3…
https://aws.amazon.com/quicksight/
DocumentDB
• Aurora is an “AWS-implementation” of PostgreSQL / MySQL …
• DocumentDB is the same for MongoDB (which is a NoSQL database)
• 2-3x better performance than common ledger blockchain frameworks, manipulate data using SQL
• Difference with Amazon Managed Blockchain: no decentralization component, in accordance with
financial regulation rules
https://docs.aws.amazon.com/qldb/latest/developerguide/ledger-structure.html
Amazon Managed Blockchain
• Blockchain makes it possible to build applications where multiple parties
can execute transactions without the need for a trusted, central
authority.
• Amazon Managed Blockchain is a managed service to:
• Join public blockchain networks
• Or create your own scalable private network
• Compatible with the frameworks Hyperledger Fabric & Ethereum
AWS Glue
• Managed extract, transform, and load (ETL) service
• Useful to prepare and transform data for analytics
• Fully serverless service
Glue ETL
S3 Bucket
Extract Load
Amazon RDS Transform Redshift
Infrastructure Infrastructure
ECS
ECS Service
• ECS = Elastic Container Service
• Launch Docker containers on
AWS New Docker Container
AWS
• You do not provision the
infrastructure (no EC2 Fargate
instances to manage) – simpler!
• Serverless offering
• AWS just runs containers for
you based on the CPU / RAM
you need
ECR
• Elastic Container Registry
• Private Docker Registry on ECR Fargate
AWS
• This is where you store your Image 1
Docker images so they can
be run by ECS or Fargate
Image 2
What’s serverless?
• Serverless is a new paradigm in which the developers don’t have to
manage servers anymore…
• They just deploy code
• They just deploy… functions !
• Initially... Serverless == FaaS (Function as a Service)
• Serverless was pioneered by AWS Lambda but now also includes
anything that’s managed: “databases, messaging, storage, etc.”
• Serverless does not mean there are no servers…
it means you just don’t manage / provision / see them
So far in this course…
u sh
p
New thumbnail in S3
trigger
pu
Image name
sh
New image in S3 AWS Lambda Function Image size
Creates a Thumbnail Creation date
etc…
Metadata in DynamoDB
Example: Serverless CRON Job
Trigger
Every 1 hour
CloudWatch Events
EventBridge AWS Lambda Function
Perform a task
AWS Lambda Pricing: example
• You can find overall pricing information here:
https://aws.amazon.com/lambda/pricing/
• Pay per calls:
• First 1,000,000 requests are free
• $0.20 per 1 million requests thereafter ($0.0000002 per request)
• Pay per duration: (in increment of 1 ms)
• 400,000 GB-seconds of compute time per month for FREE
• == 400,000 seconds if function is 1GB RAM
• == 3,200,000 seconds if function is 128 MB RAM
• After that $1.00 for 600,000 GB-seconds
• It is usually very cheap to run AWS Lambda so it’s very popular
Amazon API Gateway
• Example: building a serverless API
AWS Batch
EC2 Instance
ECS Insert
Amazon S3
Trigger processed object
Spot Instance
Amazon S3
Batch vs Lambda
• Lambda:
• Time limit
• Limited runtimes
• Limited temporary disk space
• Serverless
• Batch:
• No time limit
• Any runtime as long as it’s packaged as a Docker image
• Rely on EBS / instance store for disk space
• Relies on EC2 (can be managed by AWS)
Amazon Lightsail
• Virtual servers, storage, databases, and networking
• Low & predictable pricing
• Simpler alternative to using EC2, RDS, ELB, EBS, Route 53…
• Great for people with little cloud experience!
• Can setup notifications and monitoring of your Lightsail resources
• Use cases:
• Simple web applications (has templates for LAMP, Nginx, MEAN, Node.js…)
• Websites (templates for WordPress, Magento, Plesk, Joomla)
• Dev / Test environment
• Has high availability but no auto-scaling, limited AWS integrations
Other Compute - Summary
• Docker : container technology to run applications
• ECS: run Docker containers on EC2 instances
• Fargate:
• Run Docker containers without provisioning the infrastructure
• Serverless offering (no EC2 instances)
• ECR: Private Docker Images Repository
• Batch: run batch jobs on AWS across managed EC2 instances
• Lightsail: predictable & low pricing for simple application & DB stacks
Lambda Summary
• Lambda is Serverless, Function as a Service, seamless scaling, reactive
• Lambda Billing:
• By the time run x by the RAM provisioned
• By the number of invocations
• Language Suppor t: many programming languages except (arbitrary) Docker
• Invocation time: up to 15 minutes
• Use cases:
• Create Thumbnails for images uploaded onto S3
• Run a Serverless cron job
• API Gateway: expose Lambda functions as HTTP API
Deploying and Managing
Infrastructure at Scale Section
What is CloudFormation
• CloudFormation is a declarative way of outlining your AWS
Infrastructure, for any resources (most of them are supported).
• For example, within a CloudFormation template, you say:
• I want a security group
• I want two EC2 instances using this security group
• I want an S3 bucket
• I want a load balancer (ELB) in front of these machines
• Then CloudFormation creates those for you, in the right order, with the
exact configuration that you specify
Benefits of AWS CloudFormation (1/2)
• Infrastructure as code
• No resources are manually created, which is excellent for control
• Changes to the infrastructure are reviewed through code
• Cost
• Each resources within the stack is tagged with an identifier so you can easily see how
much a stack costs you
• You can estimate the costs of your resources using the CloudFormation template
• Savings strategy: In Dev, you could automation deletion of templates at 5 PM and
recreated at 8 AM, safely
Benefits of AWS CloudFormation (2/2)
• Productivity
• Ability to destroy and re-create an infrastructure on the cloud on the fly
• Automated generation of Diagram for your templates!
• Declarative programming (no need to figure out ordering and orchestration)
CDK Application
Availability zone 1
Multi AZ
Store / retrieve
Availability zone 2
session data
+ Cached data
ELB
Availability zone 3
Amazon RDS
Read / write data
Developer problems on AWS
• Managing infrastructure
• Deploying Code
• Configuring all the databases, load balancers, etc
• Scaling concerns
CodeCommit CodeBuild
• Benefits:
• Fully managed, serverless
• Continuously scalable & highly available
• Secure
• Pay-as-you-go pricing – only pay for the build time
AWS CodePipeline
• Orchestrate the different steps to have the code automatically pushed to production
• Code => Build => Test => Provision => Deploy
• Basis for CICD (Continuous Integration & Continuous Delivery)
• Benefits:
• Fully managed, compatible with CodeCommit, CodeBuild, CodeDeploy, Elastic Beanstalk,
CloudFormation, GitHub, 3rd-party services (GitHub…) & custom plugins…
• Fast delivery & rapid updates
Execute
commands
• No SSH access, bastion hosts, or SSH keys
needed Session
Manager
• No por t 22 needed (better security)
• Supports Linux, macOS, and Windows IAM
Permissions
• Send session log data to S3 or CloudWatch Logs
User
AWS OpsWorks
• Chef & Puppet help you perform server configuration automatically, or
repetitive actions
• They work great with EC2 & On-Premises VM
• AWS OpsWorks = Managed Chef & Puppet
• It’s an alternative to AWS SSM
• Only provision standard AWS resources:
• EC2 Instances, Databases, Load Balancers, EBS volumes…
Application
Server Layer
App Server Instances (EC2) OpsWorks Layers
Applications
Database
Layer
Database Server (RDS) OpsWorks Layers
Deployment - Summary
• CloudFormation: (AWS only)
• Infrastructure as Code, works with almost all of AWS resources
• Repeat across Regions & Accounts
• Beanstalk: (AWS only)
• Platform as a Service (PaaS), limited to certain programming languages or Docker
• Deploy code consistently with a known architecture: ex, ALB + EC2 + RDS
• CodeDeploy (hybrid): deploy & upgrade any application onto servers
• Systems Manager (hybrid): patch, configure and run commands at scale
• OpsWorks (hybrid): managed Chef and Puppet in AWS
Developer Services - Summary
• CodeCommit: Store code in private git repository (version controlled)
• CodeBuild: Build & test code in AWS
• CodeDeploy: Deploy code onto servers
• CodePipeline: Orchestration of pipeline (from code to build to deploy)
• CodeAr tifact: Store software packages / dependencies on AWS
• CodeStar: Unified view for allowing developers to do CICD and code
• Cloud9: Cloud IDE (Integrated Development Environment) with collab
• AWS CDK: Define your cloud infrastructure using a programming language
Global Infrastructure Section
Why make a global application?
• A global application is an application deployed in multiple geographies
• On AWS: this could be Regions and / or Edge Locations
• Decreased Latency
• Latency is the time it takes for a network packet to reach a server
• It takes time for a packet from Asia to reach the US
• Deploy your applications closer to your users to decrease latency, better experience
• Disaster Recovery (DR)
• If an AWS region goes down (earthquake, storms, power shutdown, politics)…
• You can fail-over to another region and have your application still working
• A DR plan is important to increase the availability of your application
• Attack protection: distributed global infrastructure is harder to attack
Global AWS Infrastructure
• Regions: For deploying
applications and
infrastructure
• Availability Zones:
Made of multiple data
centers
• Edge Locations (Points
of Presence): for
content delivery as
close as possible to
users
• More at:
https://infrastructure.aw
s/
Global Applications in AWS
• Global DNS: Route 53
• Great to route users to the closest deployment with least latency
• Great for disaster recovery strategies
• Global Content Delivery Network (CDN): CloudFront
• Replicate part of your application to AWS Edge Locations – decrease latency
• Cache common requests – improved user experience and decreased latency
• S3 Transfer Acceleration
• Accelerate global uploads & downloads into Amazon S3
• AWS Global Accelerator :
• Improve global application availability and performance using the AWS global
network
Amazon Route 53 Overview
• Route53 is a Managed DNS (Domain Name System)
• DNS is a collection of rules and records which helps clients understand
how to reach a server through URLs.
e q u est ain.com
R m
DNS p.mydo 6 7 .85
p .
mya 3 2 .45 to IP)
c k IP: ame
d b a o stn
n
Se cord: h Route 53
(A re
HT T
P
Hos Reque
t: m
yapp st IP:32
.my .4
dom 5.67.8
ain. 5
Web browser com
HT T
P Re
spon
se
Application Server
IP: 32.45.67.85
Route 53 Routing Policies
• Need to know them at a high-level for the Cloud Practitioner Exam
A: 11.22.33.44 Weight
20% 20
Route 53
Failover
Amazon CloudFront
• Content Delivery Network (CDN)
• Improves read performance,
content is cached at the edge
• Improves users experience
• 216 Point of Presence globally (edge
locations)
• DDoS protection (because
worldwide), integration with Shield, Source: https://aws.amazon.com/cloudfront/features/?nc=sn&loc=2
AWS Web Application Firewall
CloudFront – Origins
• S3 bucket
• For distributing files and caching them at the edge
• Enhanced security with CloudFront Origin Access Control (OAC)
• OAC is replacing Origin Access Identity (OAI)
• CloudFront can be used as an ingress (to upload files to S3)
Origin
Forward Request
to your Origin
S3
HTTP
Local Cache
CloudFront – S3 as an Origin
AWS Cloud
Public www
Private AWS
Private AWS
Edge Edge
Los Angeles Mumbai
Fast Fast
(public www) (private AWS)
https://aws.amazon.com/global-accelerator
AWS Global Accelerator vs CloudFront
• They both use the AWS global network and its edge locations around the world
• Both services integrate with AWS Shield for DDoS protection.
• CloudFront – Content Delivery Network
• Improves performance for your cacheable content (such as images and videos)
• Content is served at the edge
• Global Accelerator
• No caching, proxying packets at the edge to applications running in one or more AWS Regions.
• Improves performance for a wide range of applications over TCP or UDP
• Good for HTTP use cases that require static IP addresses
• Good for HTTP use cases that required deterministic, fast regional failover
https://speedtest.globalaccelerator.aws/#/
AWS Outposts
• Hybrid Cloud: businesses that keep an on-
premises infrastructure alongside a cloud
infrastructure
• Therefore, two ways of dealing with IT systems: AWS Corporate
• One for the AWS cloud (using the AWS console, Cloud data center
CLI, and AWS APIs)
• One for their on-premises infrastructure On-prem
servers
• AWS Outposts are “server racks” that offers the
same AWS infrastructure, services, APIs & tools
to build your own applications on-premises just as Extension of Outposts
in the cloud AWS services Racks
Amazon EC2 Amazon EBS Amazon S3 Amazon EKS Amazon ECS Amazon RDS Amazon EMR
AWS WaveLength
• WaveLength Zones are infrastructure deployments
embedded within the telecommunications providers’ Region
datacenters at the edge of the 5G networks
• Brings AWS services to the edge of the 5G networks Availability Zone 1 Availability Zone 2
applications VPC
Private Subnet Private Subnet
• Extend your VPC to more locations –
“Extension of an AWS Region”
• Compatible with EC2, RDS, ECS, EBS,
ElastiCache, Direct Connect …
• Example: Local Zone (Boston)
• AWS Region: N. Virginia (us-east-1) Private Subnet
• AWS Local Zones: Boston, Chicago, Dallas,
Houston, Miami, …
Global Applications Architecture
Single Region, Single AZ Single Region, Multi AZ
High Availability High Availability
Global Latency Global Latency
Difficulty Difficulty
Region Region
re
re
a
a
d/
d
wr
Region - A Region - B Region - A Region - B
ite
Availability Zone Availability Zone Availability Zone Availability Zone
Producer
Consumer
Send messages
Producer Poll messages
Consumer
Consumer
Amazon SQS – Standard Queue
• Oldest AWS offering (over 10 years old)
• Fully managed service (~serverless), use to decouple applications
• Scales from 1 message per second to 10,000s per second
• Default retention of messages: 4 days, maximum of 14 days
• No limit to how many messages can be in the queue
• Messages are deleted after they’re read by consumers
• Low latency (<10 ms on publish and receive)
• Consumers share the work to read messages & scale horizontally
SQS to decouple between application tiers
WEB SERVERS VIDEO PROCESSING
requests PUT
SQS Queue
scaling
Auto Scaling Group Auto Scaling Group
Amazon SQS – FIFO Queue
• FIFO = First In First Out (ordering of messages in the queue)
• Too detailed for the Cloud Practitioner exam but good to know:
• Kinesis Data Streams: low latency streaming to ingest data at scale from
hundreds of thousands of sources
• Kinesis Data Firehose: load streams into S3, Redshift, ElasticSearch, etc…
• Kinesis Data Analytics: perform real-time analytics on streams using SQL
• Kinesis Video Streams: monitor real-time video streams for analytics or ML
Kinesis (high level overview)
Amazon
Kinesis
Amazon S3
Click streams bucket
IoT devices
Amazon Kinesis Amazon Kinesis Amazon Kinesis
Streams Analytics Firehose
Amazon
Metrics & Logs Redshift
Amazon SNS
• What if you want to send one message to many receivers?
Direct Email Pub / Sub
Email
integration notification notification
Fraud Fraud
Service Service
Buying Buying
Service Service
Shipping Shipping
Service SNS Topic Service
Subscribers
SNS
Emails SMS & HTTP(S)
Mobile Notifications Endpoints
Amazon MQ
• SQS, SNS are “cloud-native” services: proprietary protocols from AWS
• Traditional applications running from on-premises may use open protocols
such as: MQTT, AMQP, STOMP, Openwire, WSS
• When migrating to the cloud, instead of re-engineering the application to
use SQS and SNS, we can use Amazon MQ
• Amazon MQ is a managed message broker service for
IAM Root User Sign in Event SNS Topic with Email Notification
Compute
Lambda AWS Batch ECS Task
EC2 Instance CodeBuild
Integration
(ex: Start Instance) (ex: failed build)
Maintenance Orchestration
S3 Event Trusted Advisor
(ex: upload object) (ex: new Finding) Amazon
EventBridge
Step CodePipeline CodeBuild
Functions
CloudTrail Schedule or Cron
(any API call) (ex: every 4 hours)
SDK
CloudWatch Logs
CloudTrail Console
CLI
Console
Inspect & Audit S3 Bucket
https://aws.amazon.com/codeguru/features/
Amazon CodeGuru Profiler
• Helps understand the runtime behavior of your
application
• Example: identify if your application is consuming
excessive CPU capacity on a logging routine
• Features:
• Identify and remove code inefficiencies
• Improve application performance (e.g., reduce CPU
utilization)
• Decrease compute costs
• Provides heap summary (identify which objects using
up memory)
• Anomaly Detection
• Support applications running on AWS or on-
premise
• Minimal overhead on application
https://aws.amazon.com/codeguru/features/
AWS Health Dashboard - Service History
• Shows all regions, all services
health
• Shows historical information
for each day
• Has an RSS feed you can
subscribe to
• At the AWS Cer tified Cloud Practitioner Level, you should know about:
• VPC, Subnets, Internet Gateways & NAT Gateways
• Security Groups, Network ACL (NACL), VPC Flow Logs
• VPC Peering, VPC Endpoints
• Site to Site VPN & Direct Connect
• Transit Gateway
• I will just give you an overview, less than 1 or 2 questions at your exam.
• We’ll have a look at the “default VPC” (created by default by AWS for you)
• There is a summary lecture at the end. It’s okay if you don’t understand it all
IP Addresses in AWS
• IPv4 – Internet Protocol version 4 (4.3 Billion Addresses)
• Public IPv4 – can be used on the Internet
• EC2 instance gets a new a public IP address every time you stop then start it (default)
• Private IPv4 – can be used on private networks (LAN) such as internal AWS
networking (e.g., 192.168.1.1)
• Private IPv4 is fixed for EC2 Instances even if you start/stop them
• Elastic IP – allows you to attach a fixed public IPv4 address to EC2 instance
• Note: has ongoing cost if not attached to EC2 instance or if the EC2 instance is
stopped
• IPv6 – Internet Protocol version 6 (3.4 × 10!" Addresses)
• Every IP address is public (no private range)
• Example: 2001:db8:3333:4444:cccc:dddd:eeee:ffff
VPC & Subnets Primer www
Region
Availability Zone 1 Availability Zone 2
VPC
VPC CIDR Range:
10.0.0.0/16
Public subnet Public subnet
Public Subnet
subnet
• Can have ALLOW and DENY rules
• Are attached at the Subnet level NACL
• Rules only include IP addresses
• Security Groups
• A firewall that controls traffic to and from an
ENI / an EC2 Instance
• Can have only ALLOW rules
• Rules include IP addresses and other security
groups Security group
Network ACLs vs Security Groups
https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Secur
ity.html#VPC_Security_Comparison
VPC Flow Logs
• Capture information about IP traffic going into your interfaces:
• VPC Flow Logs
• Subnet Flow Logs
• Elastic Network Interface Flow Logs
• Helps to monitor & troubleshoot connectivity issues. Example:
• Subnets to internet
• Subnets to subnets
• Internet to subnets
• Captures network information from AWS managed interfaces too: Elastic Load
Balancers, ElastiCache, RDS, Aurora, etc…
• VPC Flow logs data can go to S3, CloudWatch Logs, and Kinesis Data Firehose
VPC Peering
• Connect two VPC, privately using VPC peering
AWS’ network VPC A
Aß àB
VPC B
• Make them behave as if they were
in the same network
• Must not have overlapping CIDR (IP
address range)
VPC C
• VPC Peering connection is not VPC peering VPC peering
transitive (must be established for Aß àC Bß à C
VPC Endpoint
• VPC Endpoint Gateway: S3 & Gateway
DynamoDB
• VPC Endpoint Interface: the rest
S3 DynamoDB CloudWatch
AWS PrivateLink (VPC Endpoint Services)
• Most secure & scalable way to expose a service to 1000s of VPCs
• Does not require VPC peering, internet gateway, NAT, route tables…
• Requires a network load balancer (Service VPC) and ENI (Customer VPC)
AWS
private
Application Network Elastic Network Consumer
service Load Balancer Interface (ENI) Application
Site to Site VPN & Direct Connect
• Site to Site VPN
• Connect an on-premises VPN to AWS Public www Public www
• The connection is automatically
encrypted
Site-to-Site VPN
• Goes over the public internet (encrypted)
• Direct Connect (DX)
• Establish a physical connection between On-premises DC VPC
on-premises and AWS
• The connection is private, secure and fast
• Goes over a private network Private Private
• Takes at least a month to establish Direct Connect
Site-to-Site VPN
• On-premises: must use a Customer Gateway (CGW)
• AWS: must use a Vir tual Private Gateway (VGW)
VPC
Corporate
Site-to-Site VPN Private subnet
data center
https://aws.amazon.com/compliance/shared-responsibility-model/
What’s a DDOS* Attack?
*Distributed Denial-of-Service
normal users
Not accessible
Not responsive
attacker
application
server
masters
bots
DDOS Protection on AWS
• AWS Shield Standard: protects against DDOS attack for your website
and applications, for all customers at no additional costs
• AWS Shield Advanced: 24/7 premium DDoS protection
• AWS WAF: Filter specific requests based on rules
• CloudFront and Route 53:
• Availability protection using global edge network
• Combined with AWS Shield, provides attack mitigation at the edge
https://aws.amazon.com/answers/networking/aws-ddos-attack-mitigation/
AWS Shield
• AWS Shield Standard:
• Free service that is activated for every AWS customer
• Provides protection from attacks such as SYN/UDP Floods, Reflection attacks
and other layer 3/layer 4 attacks
• AWS Shield Advanced:
• Optional DDoS mitigation service ($3,000 per month per organization)
• Protect against more sophisticated attack on Amazon EC2, Elastic Load
Balancing (ELB), Amazon CloudFront, AWS Global Accelerator, and Route 53
• 24/7 access to AWS DDoS response team (DRP)
• Protect against higher fees during usage spikes due to DDoS
AWS WAF – Web Application Firewall
• Protects your web applications from common web exploits (Layer 7)
• Layer 7 is HTTP (vs Layer 4 is TCP)
• Deploy on Application Load Balancer, API Gateway, CloudFront
• Outbound to internet
Corporate DC
• Inbound from internet
VPN connection
• To / from Direct Connect & Site-
to-Site VPN
Peered VPC
Penetration Testing on AWS Cloud
• AWS customers are welcome to carry out security assessments or
penetration tests against their AWS infrastructure without prior approval for
8 services:
• Amazon EC2 instances, NAT Gateways, and Elastic Load Balancers
• Amazon RDS
• Amazon CloudFront
• Amazon Aurora
• Amazon API Gateways
• AWS Lambda and Lambda Edge functions
• Amazon Lightsail resources
• Amazon Elastic Beanstalk environments
• List can increase over time (you won’t be tested on that at the exam)
Penetration Testing on your AWS Cloud
• Prohibited Activities
• DNS zone walking via Amazon Route 53 Hosted Zones
• Denial of Service (DoS), Distributed Denial of Service (DDoS), Simulated DoS,
Simulated DDoS
• Port flooding
• Protocol flooding
• Request flooding (login request flooding, API request flooding)
• For any other simulated events, contact aws-security-simulated-
[email protected]
• Read more: https://aws.amazon.com/security/penetration-testing/
Data at rest vs. Data in transit
Encrypted in transit while uploading
SSL Connection
User manages the Keys
AWS CloudHSM
CloudHSM Client
Types of Customer Master Keys: CMK
• Customer Managed CMK:
• Create, manage and used by the customer, can enable or disable
• Possibility of rotation policy (new key generated every year, old key preserved)
• Possibility to bring-your-own-key
• AWS managed CMK:
• Created, managed and used on the customer’s behalf by AWS
• Used by AWS services (aws/s3, aws/ebs, aws/redshift)
• AWS owned CMK:
• Collection of CMKs that an AWS service owns and manages to use in multiple accounts
• AWS can use those to protect resources in your account (but you can’t view the keys)
• CloudHSM Keys (custom keystore):
• Keys generated from your own CloudHSM hardware device
• Cryptographic operations are performed within the CloudHSM cluster
AWS Certificate Manager (ACM)
• Let’s you easily provision, manage, and deploy
SSL/TLS Cer tificates
• Used to provide in-flight encryption for HTTPS
websites (HTTPS)
• Supports both public and private TLS provision and
maintain TLS certs Application
certificates Load
• Free of charge for public TLS certificates Balancer
AWS Certificate Manager
• Automatic TLS certificate renewal
• Integrations with (load TLS certificates on) HTTP
• Elastic Load Balancers
• CloudFront Distributions
Auto Scaling group
• APIs on API Gateway
CloudTrail Logs
indexing
Amazon S3 Amazon RDS Google Drive MS SharePoint 1st floor
Knowledge Index
3rdparty, (powered by ML)
User
APNs,
MS OneDrive Custom Amazon Kendra
Amazon Personalize
• Fully managed ML-service to build apps with real-time personalized recommendations
• Example: personalized product recommendations/re-ranking, customized direct marketing
• Example: User bought gardening tools, provide recommendations on the next one to buy
• Same technology used by Amazon.com
• Integrates into existing websites, applications, SMS, email marketing systems, …
• Implement in days, not months (you don’t need to build, train, and deploy ML solutions)
• Use cases: retail stores, media and entertainment…
Emails
Amazon Textract
• Automatically extracts text, handwriting, and data from any scanned
documents using AI and ML
{
“Document ID”: “123456789-005”,
analyze result “Name”: “”,
“SEX”: “F”,
“DOB”: “23.05.1997”,
…
}
Amazon Textract
https://aws.amazon.com/answers/account-management/aws-
multi-account-billing-strategy/
AWS Organization
Root OU
Master Account
Dev OU Prod OU
Finance OU HR OU
Service Control Policies (SCP)
• Whitelist or blacklist IAM actions
• Applied at the OU or Account level
• Does not apply to the Master Account
• SCP is applied to all the Users and Roles of the Account, including Root user
• The SCP does not affect service-linked roles
• Service-linked roles enable other AWS services to integrate with AWS Organizations
and can't be restricted by SCPs.
• SCP must have an explicit Allow (does not allow anything by default)
• Use cases:
• Restrict access to certain services (for example: can’t use EMR)
• Enforce PCI compliance by explicitly disabling services
SCP Hierarchy
FullAWSAccess SCP Root OU
• Master Account
• Can do anything
• (no SCP apply)
DenyAccessAthena SCP Master Account • Account A
• Can do anything
• EXCEPT access Redshift
DenyRedshift SCP Prod OU (explicit Deny from Prod OU)
• Account B
• Can do anything
AuthorizeRedshift SCP Account A • EXCEPT access Redshift
(explicit Deny from Prod OU)
DenyAWSLambda SCP HR OU Finance OU • EXCEPT access Lambda
(explicit Deny from HR OU)
• Account C
Account B Account C • Can do anything
• EXCEPT access Redshift
(explicit Deny from Prod OU)
SCP Examples
Blacklist and Whitelist strategies
Availability Zone - A
AWS Control Tower
• Easy way to set up and govern a secure and compliant multi-account
AWS environment based on best practices
• Benefits:
• Automate the set up of your environment in a few clicks
• Automate ongoing policy management using guardrails
• Detect policy violations and remediate them
• Monitor compliance through an interactive dashboard
• AWS Control Tower runs on top of AWS Organizations:
• It automatically sets up AWS Organizations to organize accounts and implement
SCPs (Service Control Policies)
AWS Resource Access Manager (AWS RAM)
• Share AWS resources that
you own with other AWS AWS Cloud – VPC Owner
accounts VPC
• Some users just want a quick self-service por tal to launch a set of
authorized products pre-defined by admins
launch
• ECS:
• EC2 Launch Type Model: No additional fees, you pay for
AWS resources stored and created in your application
• Fargate:
• Fargate Launch Type Model: Pay for vCPU and memory
resources allocated to your applications in your containers
Storage Pricing – S3
• Storage class: S3 Standard, S3 Infrequent Access, S3 One-Zone IA, S3
Intelligent Tiering, S3 Glacier and S3 Glacier Deep Archive
• Number and size of objects: Price can be tiered (based on volume)
• Number and type of requests
• Data transfer OUT of the S3 region
• S3 Transfer Acceleration
• Lifecycle transitions
• Similar service: EFS (pay per use, has infrequent access & lifecycle rules)
Storage Pricing - EBS
• Volume type (based on performance)
• Storage volume in GB per month provisionned
• IOPS:
• General Purpose SSD: Included
• Provisioned IOPS SSD: Provisionned amount in IOPS
• Magnetic: Number of requests
• Snapshots:
• Added data cost per GB per month
• Data transfer:
• Outbound data transfer are tiered for volume discounts
• Inbound is free
Database Pricing - RDS
• Per hour billing
• Database characteristics:
• Engine
• Size
• Memory class
• Purchase type:
• On-demand
• Reserved instances (1 or 3 years) with required up-front
• Backup Storage: There is no additional charge for backup storage up to
100% of your total database storage for a region.
Database Pricing - RDS
• Additional storage (per GB per month)
• Number of input and output requests per month
• Deployment type (storage and I/O are variable):
• Single AZ
• Multiple AZs
• Data transfer:
• Outbound data transfer are tiered for volume discounts
• Inbound is free
Content Delivery – CloudFront
• Pricing is different across different geographic regions
• Aggregated for each edge location, then applied to your bill
• Data Transfer Out (volume discount)
• Number of HTTP/HTTPS requests
Networking Costs in AWS per GB - Simplified
Region Region
AWS Cost Anomaly Create Cost Monitor Get Alerted Analyze Root Cause
Detection Identify unusual spend at Receive alerts when Analyze the root cause
reduce cost surprises the granularity level unusual spend is detected behind the anomaly and
with Machine Learning that you specify the impact on your costs
AWS Service Quotas
• Notify you when you’re close to a service quota value threshold
• Create CloudWatch Alarms on the Service Quotas console
• Example: Lambda concurrent executions
• Request a quota increase from AWS Service Quotas or shutdown resources before limit is reached
monitor
Web Applications
Database of users
What is Microsoft Active Directory (AD)?
• Found on any Windows Server
with AD Domain Services Domain Controller
John
• Database of objects: User Password
Accounts, Computers, Printers,
File Shares, Security Groups
• Centralized security
management, create account,
assign permissions
AWS Directory Services
• AWS Managed Microsoft AD auth trust auth
• Create your own AD in AWS, manage users
locally, supports MFA
• Establish “trust” connections with your on-
premise AD On-prem AD AWS Managed AD
Simple AD
AWS IAM Identity Center
(successor to AWS Single Sign-On)
• One login (single sign-on) for all your
• AWS accounts in AWS Organizations
• Business cloud applications (e.g., Salesforce, Box, Microsoft 365, …)
• SAML2.0-enabled applications
• EC2 Windows Instances
• Identity providers
• Built-in identity store in IAM Identity Center
• 3rd party: Active Directory (AD), OneLogin, Okta…
AWS IAM Identity Center – Login Flow
AWS IAM Identity Center
Advanced Identity - Summary
• IAM
• Identity and Access Management inside your AWS account
• For users that you trust and belong to your company
• Organizations: Manage multiple accounts
• Security Token Service (STS): temporary, limited-privileges credentials to
access AWS resources
• Cognito: create a database of users for your mobile & web applications
• Directory Services: integrate Microsoft Active Directory in AWS
• IAM Identity Center : one login for multiple AWS accounts & applications
Other AWS Services
Other AWS services section
• Other services represent services I couldn’t group with the other ones
• They are services reported by students as sometimes, but rarely,
appearing on the AWS exam
• The lectures are short and brief and most likely without hands-on
Corporate
secure
data center
Users Users
WorkSpaces WorkSpaces
Amazon AppStream 2.0
• Desktop Application Streaming Service
• Deliver to any computer, without acquiring, provisioning infrastructure
• The application is delivered from within a web browser
Amazon AppStream 2.0 vs WorkSpaces
• Workspaces
• Fully managed VDI and desktop available
• The users connect to the VDI and open native or WAM applications
• Workspaces are on-demand or always on
• AppStream 2.0
• Stream a desktop application to web browsers (no need to connect to a VDI)
• Works with any device (that has a web browser)
• Allow to configure an instance type per application type (CPU, RAM, GPU)
AWS IoT Core
• IoT stands for “Internet of Things” – the
network of internet-connected devices that
are able to collect and transfer data
• AWS IoT Core allows you to easily connect
IoT devices to the AWS Cloud
• Serverless, secure & scalable to billions of
devices and trillions of messages Publish & subscribe
messages
• Your applications can communicate with your
devices even when they aren’t connected AWS IoT Core
• Integrates with a lot of AWS services
(Lambda, S3, SageMaker, etc.)
• Build IoT applications that gather, process,
analyze, and act on data
Amazon Elastic Transcoder
• Elastic Transcoder is used to conver t media files stored in S3 into media
files in the formats required by consumer playback devices (phones
etc..)
• Benefits:
• Easy to use
• Highly scalable – can handle large volumes of media files and large file sizes
• Cost effective – duration-based pricing model
• Fully managed & secure, pay for what you use
Amplify Studio
Amplify backend
AWS Device Farm
• Fully-managed service that tests your web and mobile apps against
desktop browsers, real mobile devices, and tablets
• Run tests concurrently on multiple devices (speed up execution)
• Ability to configure device settings (GPS, language, Wi-Fi, Bluetooth, …)
test application
(web, native, hybrid)
S3 EC2
Core functions of the app
Ready to scale, but minimal setup
Web Server
Servers
Disaster Recovery Strategies
Warm Standby Cost
Multi-Site / Hot-Site Cost
EC2 EC2
full version of the app, full version of the app,
but at minimum size at full size
failover
• Quickly and easily recover your physical, virtual, and cloud-based servers into AWS
• Example: protect your most critical databases (including Oracle, MySQL, and SQL Server),
enterprise apps (SAP), protect your data from ransomware attacks, …
• Continuous block-level replication for your servers
Corporate Data Center / Any cloud AWS Cloud
Elastic Disaster Recovery
OS
Staging Production
Apps continuous replication
(seconds)
failover
DB AWS Replication (minutes)
Agent
Disks Low-cost EC2 instances Target EC2 instances
& EBS volumes & EBS volumes
failback
AWS DataSync
• Move large amount of data from on-premises to AWS
• Can synchronize to: Amazon S3 (any storage classes – including
Glacier), Amazon EFS, Amazon FSx for Windows
create start
• Operate
AWS CloudFormation AWS Config AWS CloudTrail Amazon CloudWatch AWS X-Ray
• Evolve
AWS CloudFormation AWS CodeBuild AWS CodeCommit AWS CodeDeploy AWS CodePipeline
2) Security
• Includes the ability to protect information, systems, and assets while delivering
business value through risk assessments and mitigation strategies
• Design Principles
• Implement a strong identity foundation - Centralize privilege management and reduce (or even
eliminate) reliance on long-term credentials - Principle of least privilege - IAM
• Enable traceability - Integrate logs and metrics with systems to automatically respond and take
action
• Apply security at all layers - Like edge network, VPC, subnet, load balancer, every instance,
operating system, and application
• Automate security best practices
• Protect data in transit and at rest - Encryption, tokenization, and access control
• Keep people away from data - Reduce or eliminate the need for direct access or manual
processing of data
• Prepare for security events - Run incident response simulations and use tools with automation
to increase your speed for detection, investigation, and recovery
• Shared Responsibility Model
Security
AWS Services
• Identity and Access Management
IAM AWS-STS MFA token AWS Organizations
• Detective Controls
AWS Config AWS CloudTrail Amazon CloudWatch
• Infrastructure Protection
Amazon CloudFront Amazon VPC AWS Shield AWS WAF Amazon Inspector
• Data Protection:
KMS S3 Elastic Load Balancing (ELB) Amazon EBS Amazon RDS
• Incident Response
IAM AWS CloudFormation Amazon CloudWatch Events
3) Reliability
• Ability of a system to recover from infrastructure or service disruptions,
dynamically acquire computing resources to meet demand, and mitigate
disruptions such as misconfigurations or transient network issues
• Design Principles
• Test recovery procedures - Use automation to simulate different failures or to recreate
scenarios that led to failures before
• Automatically recover from failure - Anticipate and remediate failures before they
occur
• Scale horizontally to increase aggregate system availability - Distribute requests
across multiple, smaller resources to ensure that they don't share a common point of
failure
• Stop guessing capacity - Maintain the optimal level to satisfy demand without over or
under provisioning - Use Auto Scaling
• Manage change in automation - Use automation to make changes to infrastructure
Reliability
AWS Services
• Foundations
• Change Management
AWS CloudFormation
• Monitoring
• Cost-Effective Resources
Spot instance Reserved instance
Amazon S3 Glacier
• Matching supply and demand
volumes
• S3 Lifecycle Configurations, S3 Intelligent
Tiering S3 Intelligent Tiering Data Lifecycle Manager
https://aws.amazon.com/blogs/aws/new-aws-well-architected-tool-review-workloads-against-best-practices/
AWS Cloud Adoption Framework (AWS CAF)
• Helps you build and then execute a comprehensive
plan for your digital transformation through
innovative use of AWS
• Created by AWS Professionals by taking advantage of
AWS Best Practices and lessons learned from 1000s
of customers
• AWS CAF identifies specific organizational capabilities
that underpin successful cloud transformations
• AWS CAF groups its capabilities in six perspectives:
Business, People, Governance, Platform, Security,
and Operations
CAF Perspectives and Foundational Capabilities
Business Capabilities
• Business Perspective helps ensure that your cloud investments
accelerate your digital transformation ambitions and business outcomes.
• People Perspective serves as a bridge between technology and
business, accelerating the cloud journey to help organizations more
rapidly evolve to a culture of continuous growth, learning, and where
change becomes business-as-normal, with focus on culture,
organizational structure, leadership, and workforce.
• Governance Perspective helps you orchestrate your cloud initiatives
while maximizing organizational benefits and minimizing transformation-
related risks.
CAF Perspectives and Foundational Capabilities
Business Capabilities
CAF Perspectives and Foundational Capabilities
Technical Capabilities
• Platform Perspective helps you build an enterprise-grade, scalable,
hybrid cloud platform; modernize existing workloads; and implement
new cloud-native solutions.
https://aws.amazon.com/premiumsupport/knowledge-center/
AWS IQ
• Quickly find professional help for your AWS projects
• Engage and pay AWS Certified 3rd party experts for on-demand project work
• Video-conferencing, contract management, secure collaboration, integrated billing
• For Customers
Submit Request Review Responses Select Expert Work Securely Pay per Milestone
describe your project Connect to experts Based on rates, Give experts appropriate Charges added into
(requirements & timelines) experience, … access to your AWS account your AWS Bill
• For Exper ts
Improved Security
Focus on
Automation
Stronger
Compliance
Enable Sustain, Build, or Migrate Operate
Create a baseline governance Determine the fastest and Achieve operational Reduced
AWS Managed Services and control model using most efficient way to outcomes at scale, anywhere, Operating Costs
inputs from people, process, integrate, develop, and through observability,
and tool sets migrate your workloads compliance, and financial
Simplified
management
Management
Frictionless
Innovation
Exam Preparation Section
Quick note on Distractors
• There are many services you will find in questions that are distractors
• There are over 200 AWS services, and we can’t cover them all
• Quicksight, Cognito, AppStreams, Server Migration Service, etc…
• I have covered all services that from my research and experience,
people get questions for at the exam.
• https://aws.amazon.com/certification/certified-cloud-practitioner/
Practice makes perfect
• If you’re new to AWS, take a bit of AWS practice thanks to this course
before rushing to the exam
• The exam recommends you have 6 months or more of hands-on
experience on AWS
• Practice makes perfect!
• You would know right away if you passed / failed the exams
• You will not know which answers were right / wrong
• You will know the overall score a few days later (email notification)
• To pass you need a score of at least 700 out of 1000
• If you fail, you can retake the exam again 14 days later
AWS Certification Paths – Architecture
Architecture
Solutions Architect
Design, develop, and manage
cloud infrastructure and assets,
work with DevOps to migrate
applications to the cloud
Dive Deep
Architecture
Application Architect
Design significant aspects of
application architecture including
user interface, middleware, and
infrastructure, and ensure
enterprise-wide scalable, reliable,
and manageable systems Dive Deep
https://d1.awsstatic.com/training-and-
certification/docs/AWS_certification_paths.pdf
AWS Certification Paths – Operations
Operations
Systems Administrator
Install, upgrade, and maintain
computer components and
software, and integrate
automation processes
Dive Deep
Operations
Cloud Engineer
Implement and operate an
organization’s networked computing
infrastructure and Implement
security systems to maintain
data safety
Dive Deep
AWS Certification Paths – DevOps
DevOps
Test Engineer
Embed testing and quality
best practices for software
development from design to release,
throughout the product life cycle
DevOps
Cloud DevOps Engineer
Design, deployment, and operations
of large-scale global hybrid
cloud computing environment,
advocating for end-to-end
automated CI/CD DevOps pipelines Optional Dive Deep
DevOps
DevSecOps Engineer
Accelerate enterprise cloud adoption
while enabling rapid and stable delivery
of capabilities using CI/CD principles,
methodologies, and technologies
AWS Certification Paths – Security
Security
Cloud Security Engineer
Design computer security architecture
and develop detailed cyber security designs.
Develop, execute, and track performance
of security measures to protect information
Dive Deep
Security
Cloud Security Architect
Design and implement enterprise cloud
solutions applying governance to identify,
communicate, and minimize business and
technical risks
Dive Deep
AWS Certification Paths – Data Analytics &
Development
Data Analytics
Cloud Data Engineer
Automate collection and processing
of structured/semi-structured data
and monitor data pipeline performance
Dive Deep
Development
Software Development Engineer
Develop, construct, and maintain
software across platforms and devices
AWS Certification Paths – Networking & AI/ML
Networking
Network Engineer
Design and implement computer
and information networks, such as
local area networks (LAN),
wide area networks (WAN),
intranets, extranets, etc. Dive Deep
AI/ML
Machine Learning Engineer
Research, build, and design artificial
intelligence (AI) systems to automate
predictive models, and design machine
learning systems, models, and schemes
Congratulations!
Congratulations!
• Congrats on finishing the course!
• I hope you will pass the exam without a hitch J
• Overall, I hope you learned how to use AWS and that you will be a
tremendously good AWS Cloud Practitioner
Your AWS Certification journey
https://d1.awsstatic.com/training-and-certification/docs/AWS_certification_paths.pdf