saa3_wk7
saa3_wk7
saa3_wk7
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Online Proctored Exam Tips & Tricks
Preparation and Test Day Tips if using Pearson or PSI Online – Proctoring!
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Certified Solutions Architect - Associate
Helpful Resources
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
All Slide Content – Final Review
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Global Infrastructure
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Regions
A Region location around the world where AWS clusters data centers
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Availability Zones (AZs)
One or more discrete data centers with redundant power, networking, and
connectivity located within an AWS Region
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Points of Presence (PoP)
310+ Points of Presences and 13 regional edge locations
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
IAM Policies
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Policy Interpretation Deep Dive!
IAM Policies are the bedrock of strong IAM security. Understanding how the policies work and being able to
interpret them is critical for success as an Architect and on the exam
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Policy Interpretation Deep Dive!
IAM Policies are the bedrock of strong IAM security. Understanding how the policies work and being able to
interpret them is critical for success as an Architect and on the exam
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Resource Names (ARN)
A way to uniquely identify AWS resources
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Security Token Service (STS)
Request temporary, limited-privilege credentials for AWS IAM
STS
Amazon Confidential © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Revoking Temporary Credentials
Remember that Roles can be assumed by MANY identities who will all get the same permissions. What
happens if those credentials are compromised?
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS S3 – Overview
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Simple Storage Service (S3)
Provides infinitely scalable, highly durable object storage in the AWS Cloud
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Simple Storage Service (S3)
Provides infinitely scalable, highly durable object storage in the AWS Cloud
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Your Choice of Amazon S3 Storage classes
Become familiar with which class you should choose – and when
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EC2
Provides secure, resizable compute capacity in the AWS Cloud, enabling servers
to be spun up in minutes without the need for physical hardware.
Provide various security standards and features, Offer five pricing models to pay for Amazon EC2
reduce the risk of human error and eliminate the instances: On-Demand, Savings Plans, Dedicated
attack surface. Hosts, Spot Instances and Per Second Billing.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EC2
Provides secure, resizable compute capacity in the AWS Cloud, enabling servers
to be spun up in minutes without the need for physical hardware.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EC2 Billing
Provides secure, resizable compute capacity in the AWS Cloud, enabling servers
to be spun up in minutes without the need for physical hardware.
Lower prices on Amazon Pay for compute Take advantage of Use your eligible
EC2 instance usage capacity by the second unused EC2 capacity in software licenses from
regardless of instance with no long-term the AWS cloud. Spot vendors such as
family, size, OS, tenancy, commitments. instances can provide up Microsoft and Oracle on
or AWS Region for to 90% savings over on- Amazon EC2
commitments on usage. demand instance types.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
EC2 Placement Groups
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
EC2 Placement Groups
There are three types of placement groups you can use with EC2 instances. Each has their advantages and
disadvantages to your proposed architecture.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Cluster Placement Group
Placement Groups are the bread and butter of a Solutions Architect. Understanding when, and how, to
deploy your resources is a critical skillset
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Spread Placement Group
Placement Groups are the bread and butter of a Solutions Architect. Understanding when, and how, to
deploy your resources is a critical skillset
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Partition Placement Group
Placement Groups are the bread and butter of a Solutions Architect. Understanding when, and how, to
deploy your resources is a critical skillset
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Caching & File Servers
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon ElastiCache
A fully managed, in-memory caching service
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon ElastiCache – Reddis vs. MemcacheD
A fully managed, in-memory caching service
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Elastic File System (EFS)
Simple, Serverless, set-and-forget file system
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon FSx for Windows File Server
Fully Managed file storage built on Windows Server
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Database Offerings
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Purpose-built Database Offerings
Relational Key - Value Document In Memory
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Move to fully managed databases
Migrate on-premises or self-managed databases to fully managed services
Relational Non-relational
databases databases
Amazon RDS (Relational Database Service)
Set up, operate, and scale a fully managed RDS with just a few clicks
PostgreSQL-Compatible MySQL-Compatible
Edition Edition
Easily deploy and Data encryption at rest Automatic Multi-AZ Scale compute
maintain hardware, and in transit, data replication, with and storage with a few clicks,
OS, and DB software, with industry compliance automated backup, plus minimal downtime for
with built-in and assurance programs snapshots, and your application
monitoring
failover
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Aurora
MySQL and PostgreSQL compatible relational database – built for the cloud
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon DynamoDB
Fast and Flexible Key-Value database service for any scale
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
DynamoDB Accelerator (DAX)
Even faster—
DAX microsecond latency
Scales to millions of
requests per second
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon CloudTrail
CloudTrail logs, continuously monitors, and retains account activity related to actions across your AWS
infrastructure, giving you control over storage, analysis, and remediation actions.
Key Benefits
Amazon GuardDuty makes it easy for you to
continuously monitor your AWS accounts,
workloads, and data stored in Amazon S3.
Use Cases
Use up-to-date common vulnerabilities and
exposures (CVE) information combined with
factors such as network accessibility to create
context-based risk scores that help you
prioritize and address vulnerable resources.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Security Groups & NACLS
Two AWS features to increase security in your VPC: security groups and network ACLs.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Security Groups & NACLS
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Security Groups
A security group acts as a virtual firewall, controlling the traffic that is allowed to reach and leave
the resources that it is associated with
Inbound
Source Protocol Port range Description
• Name
• Description Allows inbound
• Protocol traffic from
The security group
• Port range resources that are
ID (its own resource All All
• IP address assigned to the
ID)
• IP range same security
• Security Group name group.
Outbound
Destination Protocol Port range Description
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS NACLs
A network access control list (ACL) is an optional layer of security for your VPC that acts as a firewall
for controlling traffic in and out of one or more subnets
Inbound
Rule # Type Protocol Port range Source Allow/Deny
You might set up network ACLs with rules similar to All IPv4
100 All All 0.0.0.0/0 ALLOW
your security groups in order to add an additional layer traffic
of security to your VPC.
All IPv4
* All All 0.0.0.0/0 DENY
traffic
Outbound
Destinati
Rule # Type Protocol Port range Allow/Deny
on
All IPv4
100 All All 0.0.0.0/0 ALLOW
traffic
All IPv4
* All All 0.0.0.0/0 DENY
traffic
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Virtual Private Cloud (VPC)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Virtual Private Cloud (VPC)
Provision a Logically Isolated Section of the AWS Cloud
• Control your virtual networking environment
• Subnets
• Route tables
• Security Groups
• Network ACLs
• Connect to your on-premises network via VPN or
Direct Connect
• Control if and how your instances access the
internet
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Virtual Private Cloud (VPC)
AWS Cloud
VPC
Amazon EC2 AWS Lambda Amazon RDS Amazon Redshift Amazon Amazon Simple Storage
DynamoDB Service (S3)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
VPC IP Addressing
Bring your own addressing plan.
Plan your IP address space before creating it!
• Consider future AWS region expansion.
• Consider future connectivity to corporate
networks.
• Consider subnet design.
• VPCs can be /16 between and /28.
• CIDR cannot be modified once created
• But you can add new CIDRs to
expand the VPC IP addressing
• Overlapping IP spaces = future headache!
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How to segment my networks inside a VPC?
VPC Subnets
VPC 10.0.0.0/16
• You can add one or more subnets Availability Zone A Availability Zone B
in each Availability Zone
Subnet A1 Subnet B1
• AZs provides fault isolations
10.0.0.0/24 10.0.2.0/24
• Subnets are allocated as a subset
of the VPC CIDR range
Subnet A2 Subnet B2
10.0.1.0/24 10.0.3.0/24
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How to direct traffic out of my Subnets
VPC Subnets VPC
• Internet Gateway
• Virtual Private Gateway Public subnet
Route table
• VPC Endpoints
• Direct Connect
• VPC Peering
Private subnet Router Route table
• AWS Transit Gateway
• Subnets are named “Public Subnets” when
connected to an Internet Gateway Corporate data center
Route table
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How to connect my VPC to the Internet?
Internet Gateway Internet
• Horizontally scaled, redundant, highly VPC
available VPC component
• Connect your VPC Subnets to the Internet Internet gateway
Private subnet
Private subnet
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Can I have outbound only Internet access?
NAT Gateway Internet
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Can I filter traffic reaching my instances?
VPC
Security Groups
Internet gateway
• VPC Virtual stateful firewall HTTPS (TCP 443)
Security group “Web ELB”
• Inbound and Outbound customer
defined rules
• Instance/Interface level inspection
Elastic Load Balancing (ELB)
Micro segmentation
“Web ELB” HTTP (TCP 80)
Mandatory, all instances have an Security group “Web Tier”
associated Security Group
• Can be cross referenced
Web Server Web Server
Works across VPC Peering Amazon EC2
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
0.0.0.0/0
Can I filter traffic on a subnet level? HTTPS
(TCP 443)
• Stateless
• IP and TCP/UDP port based 10.0.0.0/16 MySQL (TCP 3306)
NACL “Database Access”
• Supports allow and deny rules
• Deny all at the end Private subnet
Other IPs
Other Ports
Network
access
control list MySQL DB
Amazon Aurora
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How to connect privately to public AWS Services?
VPC Endpoints
• Connect your VPC to: Amazon VPC PrivateLink
• Supported AWS services VPC VPC
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS KMS
How to connect directly to other VPCs?
VPC Peering
VPC VPC
• Scalable and high available
Public subnet Public subnet
• Inter-account peering
VPC Peering
• Same or different AWS Regions
• Bi-directional traffic EC2 EC2
• Remote Security groups can be Instance Instance
Route table Route table
referenced
• Routing policy with Route Tables;
not all subnets need to connect
Private subnet Private subnet
to each other
• No transitive routing, requires
full-mesh to interconnect
multiple VPCs EC2 EC2
Instance Instance
• No support for overlapping IP Route table Route table
addresses
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Route 53 (DNS)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Route 53
A reliable and cost-effective way to route end users to Internet applications
Connects user requests to infrastructure running in AWS. Highly available and scalable
cloud Domain Name System (DNS) web service
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Route 53 DNS Resolution Request
Yes Main No
• AWS DNS service Site
Healthy
• Domain Registration
• Domain name resolution Region us-east-1 Region us-west-2
(N. Virginia) (Oregon)
• 100% availability SLA
App Version A App Version B App DR
• Health Checks 95% Traffic A/B 5% Traffic
Testing
• DNS Failover
• Latency Based Routing
• Geo Based Routing
• Weighted Round Robin Elastic Load Balancer Elastic Load Balancer Elastic Load Balancer
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Route 53 Resolver endpoints
Inbound endpoint
VPC 10.0.0.0/16, 2001:db8:ec2::/56
Instance
Inbound
endpoint 10.0.0.2
Route 53 Resolver
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Route 53 Resolver endpoints
Outbound endpoint
VPC 10.0.0.0/16, 2001:db8:ec2::/56
Instance
10.0.0.2 / fd00:ec2::253
Route 53 Resolver
Outbound
endpoint Resolver rules
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Direct Connect
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Direct Connect
Use AWS Direct Connect to securely link your on-premise environment to AWS
Directly connect your data center to AWS over a standard 1 gigabit or 10 gigabit
Ethernet fiber-optic connection
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Direct Connect
How to add redundancy to my dedicated circuits?
• For redundancy, DX can deployed
with single or multiples: AWS Cloud
• Circuits
• Providers
• Customer Gateways Direct Connect Direct Connect
Location Location
• Direct Connect Locations
• Customer data centers AWS DX Device AWS DX Device AWS DX Device AWS DX Device
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Direct Connect
How to access my VPCs or AWS Public Services over my DX?
AWS Cloud
• VIFs: Virtual Interface
VPC 1A VPC 1B Public AWS Services
• Private VIFs
• Access to VPC IP address
• Public VIFs Private Private Amazon Simple Storage
Virtual Interface Virtual Interface Service (S3)
• Access to AWS Public IP
address space Public
Virtual Private Virtual Interface
Gateways
Direct Connect
Location
AWS DX Device
Corporate
data center
Customer gateway
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Direct Connect Gateway
How to connect to multiple AWS Regions/Accounts over DX?
AWS Cloud
• Global resource
Region 1 Region 2
• Connect to multiple VPCs
• VPCs can be on same or different VPC 1A VPC 1B VPC 2A
• Regions
Private Private Private
• Accounts (same Payer ID) Virtual Interface Virtual Interface Virtual Interface
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Transit Gateway
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How to connect directly to other VPCs?
AWS Cloud
AWS Transit Gateway
VPC VPC VPC
• Connect thousands of VPC across
accounts …
• Connect your VPCs and on-
premises through a single
gateway
• Centralize VPN and AWS Direct
Routing Domain A Routing Domain B
Connect connections
• Control segmentations and data
flow with Routing Tables Route table Route table
AWS Transit Gateway
• Hub and Spoke design
• Up to 50 Gbps per VPC
connection (burst) VPC Shared Services VPC
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How to connect at scale across accounts / Regions?
AWS Transit Gateway + AWS DX Gateway
AWS Cloud
• Transit VIF
Region 1 Region 2
• Connects to a AWS Transit
Gateway VPC 1A VPC 1B VPC 2A
• Simplify your network
architecture and management
overhead
AWS Transit Gateway
• Create a hub-and-spoke model
that spans multiple
• VPCs
AWS Direct Connect Gateway
• Regions
• AWS accounts Direct Connect
Location AWS DX Device
Corporate
data center Customer gateway
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Global Accelerator
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Improve Availability and Performance of Global Services
AWS Global Accelerator
• Uses AWS Global Network Users in US Users in Europe
from Edge to Region www.example.com www.example.com
IP: 198.51.100.2 AWS Global Accelerator IP: 198.51.100.2
• Client traffic ingresses via
closest available Edge location AWS Cloud
• Static IP Anycast
Region us-east-1 (N. Virginia) Region eu-west-1 (Ireland)
Service Service
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
IPv4 vs. IPv6
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
IPv4 Addressing
Availability Zone Availability Zone
...
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
IPv6 Addressing
Availability Zone Availability Zone
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Auto Scaling
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Auto Scaling
Automatically launch or terminate Amazon EC2 instances
Amazon EC2
Auto Scaling
Lower costs
VPC
ASG’s combines
purchase options,
instance types, and m5.large Spot ASG Min: 1 Max: 10
AZs in a single ASG
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Elastic Load Balancing
Distribute network traffic to improve the scalability of your applications
Automatically distributes incoming application traffic across multiple targets, such as
Amazon EC2 instances, containers, IP addresses, Lambda functions, and virtual
appliances
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Elastic Load Balancing
Type of load balancers
HTTP(S)
Clients Application Load Balancer ECS / EKS
AWS Lambda
AWS WAF Amazon Cognito
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Network Load Balancer (NLB)
ECS / EKS
Clients Network
Load
Balancer
Direct Connect
PrivateLink IAM
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Decoupling and Messaging
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Simple Queue Service (SQS)
A fully managed message queue for microservices, distributed systems, and serverless applications
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon SQS Queue Types
Standard vs. FIFO – What’s the difference and why should I care?
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Simple Notification Service (SNS)
Fully managed pub/sub messaging, SMS, email, and mobile push notifications
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Simple Notification Service (SNS)
Fully managed pub/sub messaging, SMS, email, and mobile push notifications
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Kinesis
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Kinesis
Easily collect, process, and analyze video and data streams in real time
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Kinesis Data Streams
Capture, Process, and Store data streams in real time
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Kinesis Video Streams
Capture, Process, and Store Video in real-time
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Kinesis Data Firehose
Reliably load real-time streams into data lakes, warehouses, and analytical services
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Kinesis Data Analytics
Gain actionable insights from streaming data with serverless, fully managed Apache Flink
Netflix uses Amazon Web Services (AWS) for nearly all its
computing and storage needs, including databases,
analytics, recommendation engines, video transcoding,
and more. Monitoring and optimizing its network is
critical for Netflix to continue improving customer
experience, increasing efficiency, and reducing costs.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Cognito
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Cognito
Simple and Secure User Sign-Up, Sign-In, and Access Control
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda
Run code without thinking about servers or clusters!
File Processing
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda – A closer look
Run code without thinking about servers or clusters!
File Processing
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda – Customer Use Case
Run code without thinking about servers or clusters!
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Containers on AWS
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Fargate
Serverless compute for containers
Serverless, pay-as-you-go compute engine that lets you focus on building applications
without managing servers
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Elastic Container Service
Highly secure, reliable, and scalable way to run containers
Fully managed container orchestration service that helps you easily deploy, manage, and
scale containerized applications
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Elastic Kubernetes Service
The most trusted way to run Kubernetes
Gives you the flexibility to start, run, and scale Kubernetes applications in the AWS Cloud
or on-premises. Runs upstream Kubernetes and is certified Kubernetes conformant
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you!
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.