AWS Cloud Practitioner
AWS Cloud Practitioner
Training Materials
Introduction
Cloud Computing
P On-demand delivery of IT resources and applications via the
internet with pay-as-you-go pricing
Before AWS
Guessing theoretical maximum peaks?
P Is there enough resource capacity?
P Is this sufficient storage?
With AWS
With AWS:
P Servers
P
Databases
P Storage
P Higher-
level
application
s
With AWS
Resources can be:
P Initiated within seconds
P Treated as “temporary and disposable”
Free from the inflexibility and constraints
Agility
3 factors:
Speed
Experimentation
Culture of innovation
Agility:
Increase Speed and Global Reach
Instant global reach
Rapid availability of new resources
Agility:
Increase Experimentation
AWS enables
P Operations as code
P Safe Experimentation
P Comparative testing
Agility:
Increase Innovation
Quick experimentation with low cost/risk
More experimentation and more often
Agility:
The AWS Infrastructure
Instant elasticity
Scalability
Flexible
Reliability
Secure
Regions and Availability Zones
2 3
3 3 3 3
3
3 6 3 2 2 2
4
1
2
Edge Locations
Multiple Edge
Locations
Regional Edge
Caches
High Availability
High availability:
P Functional and accessible systems
P Minimized downtime
P No human intervention
Fault
Tolerance
Fault Tolerance:
P Operational applications during component
failure
P Built-in redundancy of components
Elasticity, Scalability, and High Performance
AWS
Elastic infrastructure
Innovative new services/products
Deployment in multiple regions
P Lower latency
P Better customer experience
Elasticity, Scalability, and High Performance
Customer
Use services at your own pace
Use tools to meet your needs
Adapt your consumption
P Scale up as workload grows
P Shutdown unneeded resources
P Use Auto Scaling
Security and Compliance
2 3
3 3 3 3
3
3 6 3 2 2
4
2 1
2
3
3
AWS Region Table
Availability
Zones Regio
Physical
ly n
distinct
Own
Coolin
uninterruptibl
g
e power
equipment
supply
Backup Networ
generators king
Availability Zones
Isolating Availability Zones
Protects zones from failure
Designed for high availability
Handles requests through
other zones
10.0.0.0/24
Subnet A1
10
.0.
2.
0/
23
us-west-2 (Oregon)
Subnet B1
Example Test- VPC 10.0.0.0/16
10.0.0.0/24
10.0.1.0/24
Private Subnet B1
Availability Zone A
us-west-2 (Oregon)
Summa
ry You created:
P VPC in the Oregon region
P An internet gateway
P One public subnet
P One private subnet
Learn More
P Route tables and isolation methods
POther Amazon VPC features (e.g., VPC endpoints and peering
connections)
P Security groups
P Amazon Elastic Cloud Compute (EC2)
P Amazon Relational Database Service (RDS)
AWS Security Groups
AWS Security
Is the highest priorities
Security groups
P Act as built-in firewalls
P Control accessibility to
instances
AWS Corporate
Admin Network
Security p
ssh
/rdp
/rd
ssh
ssh/rdp
www server app server db server
AWS Fargate
Amazon EKS
Amazon Elastic Compute Cloud (EC2)
What is Amazon EC2?
Elastic Compute
Cloud
ü Application Server
ü Web Server
ü Database Server
ü Game Server ü
Mail Server ü
Media Server
ü Catalog
Server
ü File Server
What is Amazon EC2?
Amazon EC2
Instances
Pay as you go
Broad selection of HW/SW
Global hosting
Much more
(aws.amazon.com/ec2)
Product Demonstration
üL o g i n to AW S console.
ü Launch E C 2 Wizard.
ü Select AMI (SW).
ü Select Instance type (HW).
üConfi gure network. ü
Confi gure storage. ü
Collect private key. ü
Launch.
ü Connect.
Instance
Types
Families Description Example Use Cases
General Purpose Websites, web applications, Dev, code repos,
t2, m4, m3
Balanced micro services, business apps
Performance
Compute Front-end fleets, web-servers, batch processing,
c3, c4, cc2 Optimized High distributed analytics, science and engineering apps,
CPU Performance ad serving, MMO gaming, video-encoding
GPU Optimized Amazon AppStream 2.0, video encoding,
g2, p2
High-end GPU machine learning, high perf databases, science
Memory Optimized
r3, r4, x1, cr1 In-memory databases, data mining
Large RAM footprint
Storage Optimized
d2, i2, i3, hi1, NAS, data warehousing, NoSQL
High I/O, High density
hs1
Choosing the Right Amazon EC2 Instances
EC2 Instance types are optimized for different use cases,
workloads & come in multiple sizes. This allows you to optimally
scale resources to your workload requirements.
AWS utilizes Intel® Xeon® processors for EC2 Instances providing
customers with high performance and value.
Consider the following when choosing your instances: core
count, memory size, storage size & type, network performance,
I/O requirements & CPU technologies.
Hurry Up & Go Idle - A larger compute instance can save you
time and money, therefore paying more per hour for a shorter
amount of time can be less expensive.
EC2 Instances Powered by Intel
Technologies
Intel AVX2 Yes Yes Yes Yes - Yes Yes Yes Yes Yes Yes
Intel
Turbo
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Boost
SSD SSD
C5: Compute Optimized
Instances
Based on 3.0 GHz Intel Xeon
Processors (Skylake)
Scalable
25%
price/performance Up to 72 vCPUs and 144 GiB of
improvement over memory (2:1 Memory:vCPU ratio)
C4
25 Gbps NW bandwidth
Support for Intel AVX-
512
“We saw significant performance improvement on
Amazon EC2 C5, with up to a 140% performance
improvement in industry standard CPU
benchmarks over C4.”
C4
“We are eager to migrate onto the AVX-512 enabled
C5 c5.18xlarge instance size… . We expect to decrease
the processing time of some of our key workloads by
more than 30%.”
M5: Next-Gen General Purpose instance
14%
Powered by 2.5 GHz Intel Xeon
price/performance Scalable Processors (Skylake)
improvement With
M5 New larger instance size—m5.24xlarge
with
96 vCPUs and 384 GiB of
memory (4:1 Memory:vCPU ratio)
Improved network and EBS
performance on smaller instance sizes
Support for Intel AVX-512 offering up
to twice the performance for vector
M4 and floating point workloads
M5
Elastic Load Balancing (ELB)
Introduction to Elastic Load Balancing
Managed load balancing service
Application 1
Application 2
Application Application 3
Load Balancer
Application Load Balancer Use Cases
Application
Load Balancer
}
Auto Scaling
Unuse
adjusting
d
← capacity as
Capacit Capaci Capaciy
needed
y ty t
Su M T W Th F Su M T W Th F
Sa Sa
Day of the Week Day of the Week
Available
Capacity Available Capacity
Critical Questions
How can I make sure that my workload has enough EC2
resources to meet fluctuating performance requirements?
Scalability
Automation
Scaling Out and
Scaling In
Elastic Load
Balancing
Policy settings
P Scheduled
P On-demand
PScale-out
policy
P Scale-in policy
Dynamic Auto Scaling
Elastic
Load
Balancin
g
Auto Scaling
group
is: >= 80
Functionality
P Store virtually unlimited number of objects
P Access any time, from anywhere
Getti ng Started with S3
media/ my-bucket-
welcome.mp4 name
media/
welcome.mp4
media/
welcome.mp4
my-bucket-
name
media/ media/ media/
welcome.mp4 welcome.mp4 welcome.mp4
regio
n
Designed for seamless scaling
my-bucket-
name
prod9.mp4 prod10.mp4 prod11.mp4
prod12.mp4
Access the Data Anywhere
AWS Management Console
AWS command line interface
AWS software development kits
Common Use Cases
Storing application assets
Static web hosting
Backup and disaster recovery (DR)
Staging area for big data
Summary
Fully managed cloud storage service
Store virtually unlimited number of objects
Access any time, from anywhere
Rich security controls
Common use cases
Amazon Relational Database Service (RDS)
Challenges of Relational
Databases
Server maintenance and energy
footprint Software installation and
patches Database backups and high
availability Limits on scalability
Data security
OS install and patches
Amazon RDS
Managed service that sets up and operates a relational database
in the Cloud
User Applicati
s onserver Amazon
RDS
s
AWS
Cloud
Amazon
RDS
Customer manages:
P Application Optimization
P Database schema
P Data
AWS manages:
P OS installation and patches
P Database software installation and
patches
P Database backups
P High availability
P Scaling
P Power, rack and stack
P Server maintenance
Amazon RDS DB Instances
Amazo
Amaz
on
n
RD
RDSS
D• CPU
•B Memory
M
• Network
Performance
IDB Instance
RDSDB
RDS n• Magnetic
Storage
• General Purpose
DB
maste
r maste
s (SSD)
instan
r
ce
t• Provisioned IOPS
instanc a
e DBEngines
n DB
Engines
Amazon RDS In a Virtual Private Cloud
VP
C
Public
subnet
Amazo
Ap n
EC2
p instanc
e
interne
t atewa
g User
y s
Private
subnet
RD
M S
DB
instanc
e
Availability Zone 1
High Availability with Multi-AZ
VP
C
Public
subnet
Amazo
n EC Ap
2 p
instanc
e
Private Private
subnet subnet
RDS RDS
DB
instanc
e
M SYNCHRONOU
S S DB
stand
by
instanc
e
Amazo
n EC Ap
2 p
instan
ce
Private Private
subnet subnet
RDS RDS
DB
instanc
e
M FAILOVE
R S DB
stand
by
instan
ce
Promote to master if Ap
Amazo
n
EC2
p instanc
necessary e
Functionality Private
subnet
Read-heavy database RDS DB
read
M R
RDS DB
replica
workloads Offload read instanc
e
instan
queries ce
Availability Zone
1
Use Cases
üHigh throughput
Web and Mobile Applications üMassive storage scalability
üHigh availability
üLow-cost database
E-commerce Applications üData security
üFully managed solution
• Managed Services
• Managed Services
P Guest O S
P Application
P Security group
Amazon
Amazon EC2 Amazon
S3 Workspaces
Summary
AWS and the customer share security responsibilities
IAM Policy