A user who is considering moving from self-hosted to GitLab.com Gold plan has asked this question.
We are currently planning to move from our hosted instance to a Gold account on gitlab.com.
However we just learned the news that you will be moving your infrastructure to Google compute engine, and we are a little concerned with speed.
I am part of a web agency based in China, where most of Google's infrastructure is blocked, on our side we have a MPLS solution already that allows us to access blocked resources, however I would like to know more from your side what this change could mean for us.
I see that they currently have no data centers in Hong Kong, however I see that they are planning to open them. Do you already have plans of where your solution will be deployed?
At the moment I am optimistic on the access after GCP migration. It sounds to me only the resources by Google Inc. are blocked. I have some VMs on Google Cloud Platform at the moment for testing or demoing GitLab. No any trouble to access them from China by either IP or domain names.
Hello @xiaogang_gitlab, do you have any info on where (which datacenters) the infrastructure will be deployed in Asia? I had widely different results on my side when trying to access services located in HongKong vs Taiwan or Singapore for instance.
Many (very probably everything) Google Cloud Platform properties are server-side blocked in Cuba. This is what I get when trying to open Google's Cloud:
Thus, GitLab moving to GCP will effectively make it unavailable to us Cubans (I realize we're under the noise floor, but still it is kind of sad when myself and several of my friends have been using this great service for years).
Maybe http://www.gcping.com/ can help here, too.
In case the Global HTTP Load Balancer is used, the network packages enter the google internal backbone very early.
Please note the sanction is for the countries involved in the following countries: Crimea; Cuba; Iran; North Korea; Sudan and Syria. Please do take time to review this "U.S. Department of The Treasury" link [1]. As there are legal restrictions that were imposed for those mentioned countries
Hi @xiaogang_gitlab, @andrewn , I confirm that I was able to access the registry from China as well getting the same authentication error.
However I also tested to download a blob to check the speed (I think I am doing something wrong with the authentication, even tho I am able to correctly list blobs with the same token), and have noticed that the requests are still going trough AWS.
Is the registry already migrated but the data still on AWS or am I misunderstanding something?
@dario.martini - your conclusion is spot on, great investigation The data will - for a couple of weeks, at least - remain on AWS. Your issue appears to be unrelated to the GCP migration. When did this start happening to you? I don't think AWS would block requests with a HTTP 400 response, so I think something else must be wrong.
@andrewn not sure yet what the issue is with the 400 error, I have been able to do the same thing on registry.docker.io with no problem, and I have used this system to test the connectivity before. Do you have any clue that could point me in the right direction so I can better run tests?
I can see that the initial authentication seems successful in both cases, however in the case of Gitlab's registry I get blocked by AWS after being correctly redirected to it.
GCP completely banned iran from accessing services hosted on GCP .
Gitlab migration to GCP means no one from iran can access gitlab without proxy.
curl https://cloud.google.com/<!DOCTYPE html><html lang=en> <meta charset=utf-8> <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width"> <title>Error 403 (Forbidden)!!1</title> <style> *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px} </style> <a href=//www.google.com/><span id=logo aria-label=Google></span></a> <p><b>403.</b> <ins>That’s an error.</ins> <p>Your client does not have permission to get URL <code>/</code> from this server. <ins>That’s all we know.</ins>
curl www.gcping.com<?xml version='1.0' encoding='UTF-8'?><Error><Code>AccessDenied</Code><Message>Access denied.</Message><Details>We're sorry, but this service is not available in your location</Details></Error>% [reza:~]$