Migrate packages.gitlab.com to k8s/GCP
This issue aims to migrate all components except for CloudFront + S3 bucket to GCP/k8s.
Currently, we run the following in AWS:
- Single VM with all the packagecloud components (resque, rainbows, unicorn, nginx)
- ElastiCache Redis
- RDS MySQL
- CloudFront Distribution
- S3 bucket
This issue aims to implement the proposed architecture in an effort to have a more reliable, scalable & maintainable packages.gitlab.com service:
![](/-/project/1304532/uploads/103d4b73e3e473935fca1107fc073c64/image.png)
With the proposed architecture, we'll have the following running in AWS:
- CloudFront Distribution
- S3 bucket
... and in GCP:
- k8s deployments for resque, rainbows and unicorn
- Cloud SQL (MySQL)
- Memorystore (Redis)
This issue supersedes https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/19118 as it will provide autoscaling (HPA) for the different deployments.
Edited by Gonzalo Servat