Question: Has anyone attached a domain to a Google Cloud SQL instance? also ssl certs? kind of doggy paddling here.

Asked By
kurtz.brandon
Asked At
2018-01-15 17:35:28

Found 15 possible answers.

User Answered At Possible Answer
pizza 2018-01-15 17:43:55 It already has SSL certs I believeā€¦ https://console.cloud.google.com/sql/instances/{your-instance}/ssl?project={your-project}
ulan 2018-01-16 04:17:54 i am planning to have a staging server that has an arm processor and my prod server will probably be on a x86. is this against the idea of "keeping the staging and prod environments as close as possible"?
coderanger 2018-01-16 04:30:06 That sounds like a horrible idea On almost every level
ulan 2018-01-16 04:39:57 how so?
coderanger 2018-01-16 04:45:11 I mean to start out with, you can't actually test the same packages on both
matthias 2018-01-16 04:49:56 agreed. being able to run the exact same code in staging and prod feels like must. What's the reason for running different architectures for the 2 environments?
ulan 2018-01-16 04:52:51 mainly just because I saw this https://www.scaleway.com/baremetal-cloud-servers/ and saw that it's cheaper. but if it will just complicate things then it's not worth it.
matthias 2018-01-16 04:53:54 that is very affordable. I do see why it's tempting i'd still be skeptical. In theory it should be "just fine". In practice, you might see an outright failure, but in reality it might be just some very wacky problem you lose a lot of time on. I also like to have staging as close as possible to the prod environment so that it's possible to hit with real stress tests and further reduce the possibility of issues. Of course that costs money :slightly_smiling_face:
coderanger 2018-01-16 04:57:56 I wouldn't even say "in theory" it would be fine In a perfect world, but even theory says it's going to cause problems :slightly_smiling_face:
matthias 2018-01-16 04:58:39 I could see taking a change on intrepreted code, but i'd be worried for sure
coderanger 2018-01-16 04:59:07 You would still have to test kernel upgrades, interpreter upgrades, etc.
ulan 2018-01-16 04:59:10 I see. it's also good that I had some doubt on my idea as well and didn't go through with it yet oh well, i guess we could just use it for CI stuff.
matthias 2018-01-16 05:00:04 but here is another thought. do you know if you could run prod on ARM? Might be a long shot, but I've had a lot of clients over provision things when t2.small would have been plenty with some horizontal scaling the RAM is pretty limited on those C1s all depends on the use case
ulan 2018-01-16 05:00:45 the problem with scaleway though is that they don't have servers in asia and we operate in asia.
matthias 2018-01-16 05:02:03 that latency might be painful in that case. I used to work for a company that operated in US and Japan. Some things had to come across the ocean and it was hard to explain why the performance sucked over and over until we moved stuff fully in country

Related Questions