AWS Course - All Slides
AWS Course - All Slides
Table of Contents
Section 8 - Elastic Load Balancing and Auto Scaling on AWS ............................................................................. 288
Section Outline ..................................................................................................................................................... 289
Elastic Load Balancing .......................................................................................................................................... 291
Target Groups, Listeners, and Health Checks ....................................................................................................... 292
Cross-Zone Load Balancing, Connection Draining & Subnet Design for HA ......................................................... 299
ELB Security Groups.............................................................................................................................................. 304
ELB and SSL Certificates ....................................................................................................................................... 308
Knowledge In Action – Project 3 ........................................................................................................................... 316
ELB – Client IP Address, Monitoring, Stickiness, and PFS ..................................................................................... 320
Application Load Balancer.................................................................................................................................... 325
Network Load Balancer ........................................................................................................................................ 329
ELB – Gateway Load Balancer (GWLB) ................................................................................................................. 333
Amazon Auto Scaling ........................................................................................................................................... 335
Auto Scaling ......................................................................................................................................................... 336
Amazon AutoScaling – Launch Templates and Scaling Policies ........................................................................... 342
Knowledge In Action – Project 4 ........................................................................................................................... 348
Visit DolfinED’s website to browse the available courses and enroll at a discounted
price.
www.dolfined.com/course-catalog
When you visit the above URL @ www.dolfined.com, Enroll in the free course,
TCP/IP Introduction and Cloud Pre-Requisite Knowledge
Which will teach you many topics required for Cloud and IT in general, including
TCP/IP, IP Routing, IP Subnetting, Containers, Virtualization, SSL and Digital
Certificates, Encryption, NAT, and PAT, among other topics.
The course is full of animation and graphics, high quality knowledge, audio, and
video. Definitely worth having a look at.
Section Outline
Cloud Services
Section Outline
Project 1 – Requirement # 1
Design a solution for a web application that will be hosted in AWS to satisfy the
following requirements:
1) The application will be launched in a VPC with CIDR block 10.0.0.0/16 with:
• 2 Public subnets in two different AZs. Use 10.0.10.0/24 and 10.0.20.0/24.
• 2 Private Subnets in the same AZs as in 1) above. Use 10.0.100.0/24 and 10.
0.200.0/24.
Section Outline
Knowledge
Encryption 101
Project 1 – Requirements
Design a solution for a multi-tier web application to meet the following requirements:
5) The Domain name will be registered with AWS.
6) The application will have users across the globe. Ensure that the solution has a way
of ensuring a good application performance for all users.
Project 1 – Requirements
Section Outline
High Availability, Fault Tolerance, Scalability & Elastic Load Balancing 101
Project 1 – Requirements
Project 1 –Requirements
Design a solution for a multi-tier web application to meet the following requirements:
5) The Domain name will be registered with AWS.
6) The application will have users across the globe. Ensure that the solution has a
way of ensuring good performance for users in remote locations too.
7) Launch an RDS database in the above VPC. Ensure failover to another AZ in case of
a failure of the primary RDS instance.
8) As the traffic increases, the solution must have a component that decouples the
web/app tier from the database tier to avoid overwhelming the database.
9) Ensure that the data is encrypted as it is stored.
10) Ensure that the web/app tier is highly available across the two availability zones.
The load should be distributed evenly across the web/app instances.
11) The solution must be connected to the corporate Datacenter with two
connections, primary with low latency and a secure internet-based backup.
NAT Gateway
Bastion Host
VPC Peering
VPC Endpoints
Direct Connect
Section Outline
EC2 Monitoring
EBS Snapshots
AWS Batch
Section Outline
Auto Scaling
Amazon Aurora
Amazon Redshift
Section Outline
Amazon DynamoDB
ElastiCache
Section Outline
Section Outline
Amazon CloudFront
Amazon Route 53
Global Accelerator
Section Outline
AWS Lambda
Lambda@Edge
API Gateway
Section Outline
Amazon FSx
Section Outline
Section Outline
Amazon MQ
Step Functions
Section Outline
Amazon CloudWatch
Section Outline
AWS Organizations
AWS CloudFormation
Parameter Store
AWS Config
Section Outline
AWS CloudHSM
Amazon Shield
Satisfied Requirements:
All the below plus,
• Cost effective.
• Least Overhead (Can be fully
serverless).
Satisfied Requirements:
• Caters to global user base.
• Protected, resilient to attacks.
• Scalable Highly available.
• Can block certain countries.
Amazon GuardDuty
Amazon Inspector
Amazon Cognito
Amazon Cognito
Access
AWS Services
AWS
ADV
Knowledge In Action…
Design a security solution for a two-tier web application deployed to AWS across
two Availability Zones. The web application consists of an auto-scaled fleet of EC2
instances, in public subnets, behind an Application Load Balancer (ALB). A
CloudFront Distribution is used to serve the content with the ALB as the origin. The
solution must incorporate automated detection and remediation of threats against
the application generated from Internet sources. This solution's goal is to improve
the application’s security posture and minimize the impact of Internet-sourced
attacks, including DDoS attacks. Notification should be sent out via email to the
administrators. The solution must be efficient and very cost-effective in achieving
the required with the least ongoing overhead. Minor changes to the current
architecture are acceptable.
Security group
CloudWatch
Events
WAF Filtering
Rule
SNS Network
Amazon
Topic ACL(s)
GuardDuty
Section Outline
Section Outline
EMR Cluster
Amazon Athena
• It scales automatically.
• Query results are stored in S3 in .csv format.
• Can query encrypted data in S3 and can
encrypt query results.
Complex Joins, Queries and Not meant for this use case. Ideal for this use case.
Aggregations.
Ad-hoc SQL queries. Ideal for this case. Not meant for this case.
Amazon Glue
Data catalog
infer the schema, and move data between S3 Bucket Glue Loads Amazon
data stores in AWS. transformed
data To Targets
EMR
AWS Analytics
Amazon Glue – Use Cases
Amazon
Redshift
Glue EMR
Is a fully managed, pay as you go, ETL Is a managed big data platform known for its
tool for big data. It can transform the speed and ease of data conversions. It also
data and make it ready for analytics supports ETL jobs.
purposes.
Platform Serverless. Server-based.
Based on Hadoop Framework. Based on Hadoop framework.
Runs on top of Hadoop Spark. Supports many of the Hadoop services
including Spark, Hive, and Pig among others.
Cost More expensive. Less expensive.
Crawler
Mobile
client AWS Glue
Athena
Users
Internet
AWS glue data
catalog
Client
Amazon Kinesis
Amazon QuickSight
AWS Analytics
Amazon QuickSight
1. Data Sources
5. Dashboards
Data Pipeline
Data Pipeline
AWS Analytics
AWS Data Pipeline
EC2 EMR
• AWS Data Pipeline is a fully managed, scalable, web
service which can be used to automate data
movement and transformation.
• It can be used with many AWS data stores as data ETL/Copy/SQL
sources or destinations.
Use cases:
• Moving data into cloud.
• ETL data from S3, RDS, or DynamoDB into Redshift.
• ETL unstructured data (Ex. Clickstreams, Logs).
• Data Loads and Extracts.
Knowledge In Action…
Design a solution for a company that will collect clickstream data from multiple
online shopping websites in near-real time. The solution must make this data
available for analytics to gain insights in a timely manner. The solution must be cost-
effective and requires the least ongoing overhead.
Additional Services
Section Outline
Section Outline
Amazon Elasticsearch
AWS Analytics
Elasticsearch - Background
AWS Analytics
Amazon Elasticsearch (ES)
Elastic Transcoder
Elastic Transcoder
Amazon AppSync
Amazon AppSync
Amazon WorkSpaces
Amazon WorkSpaces
Amazon WorkDocs
Amazon WorkDocs
Amazon X-Ray
AWS X-Ray
Service Graph
• X-Ray provides tools to view, filter, and
gain insights into the application flows.
• Using X-Ray, customers can understand
how an application and its underlying
services are performing.
• Using X-Ray and the insights, we can
analyze and troubleshoot performance
problems.
• X-Ray generates a detailed service
graph from the collected data.
https://docs.aws.amazon.com/xray/latest/devguide/aws-xray.html
Benefits:
• Create a service map.
• Identify errors and bugs.
• Build custom analysis and visualization
apps.
https://docs.aws.amazon.com/ram/latest/userguide/shareable.html#shareable-vpc
Cost Explorer
End of Course