-
-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provision of resources in a popular cloud providers for PostgreSQL cluster deployment #464
Open
vitabaks
wants to merge
274
commits into
master
Choose a base branch
from
cloud
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vitabaks
changed the title
Cloud
Provision of cloud resources to a popular cloud providers for PostgreSQL cluster deployment
Sep 2, 2023
Test: AWS
Result:
passed |
Test: GCP
Result:
passed |
Test: DigitalOcean
Result:
passed |
Test: Hetzner
Result:
passed |
Test: GCP Load BalancerCommit: 2b98634 Note: Currently, only Global External classic proxy Network Load Balancer is supported.
Result:
Screenshots:
Check Primary
Check Replica
Switchover
result:
passed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue: #458
Provision of cloud resources (virtual machine + disk) to a popular cloud providers for PostgreSQL cluster deployment:
Create a Cloud Load Balancer - entry point for connecting to a database in a cluster (if 'cloud_load_balancer' is 'true', default: true)
Create a Bucket in the cloud and configure backups to this bucket (if 'pgbackrest_install' or 'wal_g_instal' is 'true', default: false)
Role:
cloud-resources
Examples:
AWS
Note: "ami-05fb0b8c1424f266b" is Ubuntu 22.04 LTS (from 2023-12-07)
GCP
Azure
Note: instead of 'server_image', use variables:
azure_vm_image_offer
,azure_vm_image_publisher
,azure_vm_image_sku
,azure_vm_image_version
. Default: '0001-com-ubuntu-server-jammy', 'Canonical', '22_04-lts-gen2', 'latest'.DigitalOcean
Hetzner Cloud
Additionally:
vitabaks/postgresql_cluster
'authorized-keys
ssh_public_keys
(optional, default '')mount
/etc/fstab
and mount the file systemmount
(optional, default '')pg_data_mount_path
(default '/pgdata')pg_data_mount_fstype
(default 'ext4')zfs
' specified in themount.fstype
variable.patroni_superuser_password
,patroni_replication_password
,pgbouncer_auth_password
(if not defined)mask_password
' is 'true
' (default 'false'), do not print the superuser password in connection infoperf
,FlameGraph
and postgres dbgsym/debuginfo packagesinstall_perf
, default 'false'enable_<extension_name>=true
variable.pre_deploy_command
,post_deploy_command
Consider sponsoring the project via GitHub or Patreon