Amazon Aurora PostgreSQL from A to Z
- Descrição
- Currículo
- FAQ
- Revisões
PS:
-
Focus of this course is on Designing, Building and Managing Aurora PostgreSQL clusters
-
This course will NOT teach you SQL or Database design
Who will benefit from this course?
-
Cloud Architects, & Engineers looking to leverage Aurora PostgreSQL
-
Database Administrators interested in diving deep into Aurora Postgres
-
Cloud Developers looking to leverage Aurora Postgres for building cloud native applications
-
Anyone interested in learning how Aurora Postgres is different from community version of Postgres
Objectives
By the end of this course you will be able to:
-
Design & deploy highly available, and scalable Aurora PostgreSQL clusters
-
Ensure security of your DB cluster from all perspectives (Network, Data, A&A …)
-
Effectively use the Aurora features such as Global Database, Serverless, Cloning, Cache management etc.
-
Carry out monitoring using CloudWatch metrics, Events, Logs
-
Query performance tuning using tools such as Performance Insights
Pre-Requisites
This course is intended for anyone who is interested in using AWS Aurora PostgreSQL database for their cloud applications. If you are new to PostgreSQL then no worries as the course starts with the fundamentals of PostgreSQL.
-
Hands on with AWS
-
Experience with any RDBMS
-
Basic Unix shell scripting
-
Open to learn
Course outline
Course is divided into multiple sections. Each section starts with a lesson titled “Section Objectives”. To gain a better understanding of the topics covered in the course, please check out the first lesson (preview) in sections of your interest.
-
Fundamentals of PostgreSQL
-
Aurora Architecture deep dive & cluster setup
-
Monitoring features and tools (CloudWatch, Enhanced Monitoring, Performance Insights ..)
-
Designing highly available, and scalable clusters
-
Cluster configuration management
-
Query performance tuning
-
Aurora Postgres Security
-
Effectively using Aurora features such as Global Database, Serverless, Cache management
-
Aurora Disaster Recovery
-
Backup Recovery
-
Cluster management tasks such as vaccuming, analyze, explain etc.
Why I built this course?
Aurora is complex and architecturally very different from the databases available in the market. When I started to learn it, the biggest challenge was the non availability of Aurora specific information. The only source of information is the Amazon Aurora documentation website which in my humble opinion is not the most effective way to learn. It took me quite sometime to wrap my head around Aurora’s architecture and features; the tutorials in the documentation involve manual steps, mostly on the console, as a result they are not easy to follow. Long story short, for folks new to Aurora (& Postgres) learning Aurora can be daunting.
Based on my personal experience with learning Aurora Postgres, I decided to put together this course to help others get up to speed with Aurora in minimum possible time. So if I have to describe in one line, why I built this course – “It is to accelerate students learning”.
Disclaimer
-
Course content developed using publicly available sources such as AWS documentation & blogs
-
Opinions/views expressed in the course are my (Rajeev Sakhuja) own and does not reflect opinions/views of my employer or Amazon/AWS
-
3Section ObjectivesVídeo Aula
Section objectives
-
4Part-1 : Storage, Processes & Query processingVídeo Aula
In this lesson students will learn the building blocks of PostgreSQL database server
-
5Part-2 : WAL, Checkpointing, Archiver & Background processesVídeo Aula
PostgreSQL achieves high performance by way of Write Ahead Logging (WAL). In this lesson you will learn how WAL works.
-
6Part-3 : High availability, Standby servers & ReplicationVídeo Aula
PostgreSQL provides standby server support. By the end of this lesson you will have a solid understanding of how standby works!!
-
7Part-4 : Scaling, Read vs Write scalingVídeo Aula
You will learn about various features for PostgreSQL scaling.
-
8Part-5 : Tools, Config, Logs & CatalogVídeo Aula
Throughout this course, you will use many PostgreSQL tools. This lesson will provide you a gentle introduction of some of the tools.
-
9Section ObjectivesVídeo Aula
Section Objectives
-
10AWS PostgreSQL optionsVídeo Aula
You will learn about all the options for setting up PostgreSQL on AWS cloud.
-
11RDS Vs Aurora PostgreSQLVídeo Aula
This lesson will help you in understanding the main differences between RDS PostgreSQL and Aurora PostgreSQL
-
12Aurora specific featuresVídeo Aula
Aurora has many unique features due to its decoupled storage architecture, in this lesson you will learn about all of those features.
-
13Aurora - PostgreSQL version & releasesVídeo Aula
You will learn about the Aurora PostgreSQL release cycles
-
14Deciding between RDS & Aurora PostgreSQLVídeo Aula
This lesson will help you with deciding between RDS and Aurora PostgreSQL
-
15Section ObjectivesVídeo Aula
-
16Development environment & project repositoryVídeo Aula
Setup the development environment:
* Clone the Git repo
* Install Visual studio code
-
17Hands on : Test VPC SetupVídeo Aula
Setup the test VPC using Cloud Formation
-
18Hands on : Aurora DB Cluster SetupVídeo Aula
Setup the Aurora DB Cluster using a CloudFormation template
-
19Hands on : Bastion Host SetupVídeo Aula
Setup an Amazon Linux 2 Bastion host in public subnet
-
20Hands on : Windows Bastion Host SetupVídeo Aula
Setup a Windows Bastion Host in public subnet
-
21AWS CLI & Utility ScriptsVídeo Aula
A quick overview of the utility scripts
-
22Hands on : Test Setup CleanupVídeo Aula
Environment cleanup instructions
-
23Section ObjectivesVídeo Aula
Section Objectives
-
24Aurora Storage ArchitectureVídeo Aula
In this lesson you will learn about how the decoupled storage architecture works under the covers.
-
25Database Instance Classes & I/O performanceVídeo Aula
Aurora's decoupled architecture requires user to pick up an appropriate DB VM/instance.
-
26Database Instance Right SizingVídeo Aula
In this lesson you will learn how to select the right DB instance for a workload.
-
27Primary instance, Replicas & EndpointsVídeo Aula
Aurora exposes multiple types of endpoints; by the end of this lesson, you will have a fairly good understanding of how these endpoints work.
-
28Hand on : Read ReplicaVídeo Aula
In this hands on lesson, we will add a read replica to our test cluster.
-
29Aurora Reads & WritesVídeo Aula
You will learn about the quorum model used by Aurora for Reads/Writes to the storage tier.
-
30AZ +1 Fault Tolerance ModelVídeo Aula
Aurora's architecture is highly fault tolerant - in this lesson you will learn how high fault tolerance is achieved.
-
31Aurora Standby ReplicationVídeo Aula
Aurora uses replication to keep the replicas up to date in terms of buffer cache. This mechanism is transparent to the user.
-
32Hands on : Replication LagVídeo Aula
Learn how to monitor the replication lag.
-
33Section ObjectivesVídeo Aula
Section Objectives
-
34Baseline, KPI & Metric MonitoringVídeo Aula
Learn the baselining mechanism to ensure proactive issue remediation.
-
35Introduction to Pgbench toolVídeo Aula
You will learn about the commonly used PostgreSQL Pgbench tool.
-
36RDS CloudWatch Metrics & DimensionsVídeo Aula
Learn about the Aurora CloudWatch metrics.
-
37RDS Aurora MetricsVídeo Aula
You will learn about the common CloudWatch metric published by Aurora
-
38Hands on : Aurora CloudWatch MetricsVídeo Aula
Observe the various CloudWatch metrics for Aurora
-
39RDS Enhanced MetricsVídeo Aula
By the end of this lesson, you will be able to describe the difference between CloudWatch & Enhanced metrics
-
40Hands on : Enhanced MetricsVídeo Aula
In this exercise, you will try out enhanced metrics
-
41RDS Database LogsVídeo Aula
-
42PostgreSQL Log files & configurationVídeo Aula
PostgreSQL writes log files to the local file system. In this lesson you will learn how to access these logs.
-
43Hands on : Checkout PostgreSQL LogsVídeo Aula
In this hands on exercise, you we will run some queries against the PostgreSQL engine and observe the log messages.
-
44RDS EventsVídeo Aula
Aurora emits events that users can subscribe to. In this lesson you will learn about the various categories of events and the payload format of these events.
-
45Hands on : RDS Event retention to CloudWatchVídeo Aula
In this hands on exercise you will learn how to store Aurora events in CloudWatch
-
46Section ObjectivesVídeo Aula
Section Objectives
-
47Aurora Storage ScalingVídeo Aula
In this lesson you will learn how Aurora dynamically resizes the storage.
-
48Aurora Compute ScalingVídeo Aula
User decides on the size of the DB instance and the number of read replicas. In this lesson you will learn about the Aurora horizontal, vertical & autot scaling capabilities,
-
49Hands on : Vertical ScalingVídeo Aula
In this hands on exercise, you will try out the vertical scaling.
-
50Hands on : Auto ScalingVídeo Aula
Try out the Auto Scaling policy in this exercise.
-
51Aurora FailoverVídeo Aula
You will learn how Aurora manages the failover.
-
52Hands on : Aurora failoverVídeo Aula
Try out the Aurora Failover in your test setup.
-
53Aurora Cluster Cache ManagementVídeo Aula
Aurora offers this feature for fast recovery after the failover.
-
54Section ObjectivesVídeo Aula
Section Objectives
-
55Cluster & DB Parameter GroupsVídeo Aula
You will learn how to manage PostgreSQL engine configuration by way of Parameter Groups
-
56Hands on : Parameter GroupsVídeo Aula
Try out the custom parameter group in this exercise.
-
57RDS Option Groups & ExtensionsVídeo Aula
You will learn about RDS option groups and PostgreSQL extensions.
-
58PostgreSQL ExtensionsVídeo Aula
Learn about PostgreSQL extensions
-
59Aurora Supported ExtensionsVídeo Aula
Learn how Aurora supports the PostgreSQL extensions.
-
60Hands on : Address standardizer extensionVídeo Aula
Try out the standard PostgreSQL extension : Address Standardizer
-
61Hands on : Using the S3 extensionVídeo Aula
Try out the extension for export/import of data to/from S3 bucket
-
62Section ObjectivesVídeo Aula
Section Objectives
-
63PostgreSQL Stats SubsystemVídeo Aula
An overview of the standard PostgreSQL stats subsystem
-
64PostgreSQL Stats FunctionsVídeo Aula
An overview of the stats functions available for accessing the stats data
-
65Hands on : Stats views and functionsVídeo Aula
Hands on exercise that will provide you hands on experience with the stats subsystem
-
66PostgreSQL Wait events and LocksVídeo Aula
Learn about the PostgreSQL locks and waits
-
67Hands on : Wait & Lock eventsVídeo Aula
Check out the locks and wait events in your test cluster
-
68pg_stat_statements extensionVídeo Aula
Learn about the extension : pg-stat-statements
-
69Hands on : pg_stat_statements extensionVídeo Aula
Use the pg-stat-statements to see the statements and client status in real time
-
70Section ObjectivesVídeo Aula
Section Objectives
-
71PostgreSQL Query Processing, Plan, Paths, OptimizerVídeo Aula
Learn about the various components of the backend process that executes the SQL queries in PostgreSQL
-
72Explain commandVídeo Aula
Learn about the query plan generated by the Explain command
-
73Hands on : Explain commandVídeo Aula
Try out the explain command to generate the query plan
-
74PostgreSQL Analyze commandVídeo Aula
Learn what Analyze command does and why it is important
-
75Multi Version Concurrency Control (MVCC)Vídeo Aula
Learn about the PostgreSQL Multi Version Concurrency Control protocol
-
76Vacuuming - Addressing table bloatVídeo Aula
Learn how table bloat is addressed by Vacuuming
-
77Vacuum - Addressing the wraparoundVídeo Aula
Learn how wrap around is addressed by Vacuuming
-
78Vacuum commandVídeo Aula
Learn to use Vacuum command
-
79Hands on : vacuum commandVídeo Aula
Try out the vacuum command
-
80Auto vacuumingVídeo Aula
Learn how to use Auto vacuuming