Skip to content
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

Manage switchover and data synchronisation between live and alternative #1958

Open
1 of 4 tasks
Tracked by #1803
rija opened this issue Jul 2, 2024 · 4 comments
Open
1 of 4 tasks
Tracked by #1803

Comments

@rija
Copy link
Contributor

rija commented Jul 2, 2024

User Story

As a website user
I want to not meet downtime whenever a new version of of the GigaDB with infrastructure changes is released
So that I'm not interrupted or delayed when I use GigaDB

Acceptance criteria

Given a release of GigaDB is made involving infrastructure changes
When the infrastructure change are performed
Then there is no visible downtime to website users

Given a release of GigaDB is made involving infrastructure changes
When the infrastructure changes are made
Then it doesn't cause downtime to users of the live bastion users

Additional infos

Question: What if a deployment includes new data with regard to the data sync on alternative of live data?

Pre-requisite:

  • Have gigadb.org's DNS server is moved to Clouflare
@rija rija changed the title 2) Manage switchover and data synchronisation between live and alternative Manage switchover and data synchronisation between live and alternative Jul 2, 2024
@rija rija added this to the A.3. Move gigadb.org to the cloud milestone Jul 3, 2024
@rija
Copy link
Contributor Author

rija commented Jul 3, 2024

Hi @pli888,

Please note the pre-requisite here, we need to be using Cloudflare as the DNS server for the gigadb.org domain.
We don't need to transfer domain. We just need to tell Alibaba Registry we use Clouflare as the DNS server by setting up Alibba registry records with the two name servers address Cloudflare will generate when we add new domain to Cloudflare DNS configuration.

@kencho51
Copy link
Contributor

kencho51 commented Jan 14, 2025

Hi @rija @pli888,

I found a tool that may be able to sync two rds instance, it is call pgsync, someone has tried to use it to sync 2 rds psql instances

@kencho51
Copy link
Contributor

Regarding the RDS cross region backup, here are some information to note:

  1. The source and destination regions have to be followed this table: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReplicateBackups.html

  2. The official CentOS AMI only available in some aws region as in here: https://www.centos.org/download/aws-images/#centos-amazon-ami-images, for example, only the following 6 regions in Asia Pacific have the CentOS AMI:

Image

3 Currently,

region user services
ap-east-1 (HK) gigadb current production gigadb.org
ap-northeast-1 (Tokyo) Peter vsftpd_nodemonitor_peter
ap-northeast-2 (Seoul) Ken development
ap-southeast-1 (Singapore) - gigabyte, gigablog
ap-southeast-2 (Sydney) gigadb current alternative gigadb.org
ap-south (Mumbai) Peter developemt
  1. As discussed in 20/2 VOH, the productions will be deployed to Tokyo and Seoul regions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs changes
Status: Move GigaDB to cloud
Development

No branches or pull requests

2 participants