Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Being Multi-Cloud with Cloudflare (billforward.net)
64 points by mjlee on Nov 21, 2017 | hide | past | favorite | 27 comments


Adding multiple cloud providers to be resistant on a global outage of one cloud provider and then adding a SPOF by cloudflare loadbalancing is one of the least intelligent ideas i heard this week.


Hi, I helped write this post.

We could have been more clear in the post but the availability gain here is focussed on internal tasks. As an example, we retry failed payments on a user defined schedule - we'd like to be able to do that from anywhere we choose.

Keeping these background processes going matters, and that's what we've worked hard to ensure we can achieve.


You’re not multi cloud anymore, though. Cloudflare is now your single provider.


This is an interesting point, and I think one that anyone considering this approach should consider. The way we segregate multi-cloud is the delivery of primarily our front-end app. Depending on if you are in an EU or US region you will be redirect to an API instance and then have direct connectivity of that API, this is mainly due to regulatory requirements.

As a 2nd data point check-out https://www.backplane.io/ - from Blake Mizeranyt the (former) technical lead of etcd


This is just global load balancing (via reverse proxy vs other methods).

Actually architecting and running your app in multiple clouds is the hard part.


I've previously had to work with an application that was deployed to multiple clouds. In our case, we deployed the whole app to each cloud as an independent environment, so our environments included entries like: foo-production, foo-staging, foo-development, bar-production, bar-staging. It kept the architecture a bit simpler, but in turn required more extensive monitoring and testing. The biggest annoyance was having to setup tools and services multiple times. If you automate stuff it's not so bad, but not all tools can be easily automated.

If I were creating a new app I'd probably contain each backend service to a single cloud environment. Different services can be in different cloud environments, but no cross-cloud services. I'm uncertain the extra complexity would be worth it, at least for many of the use-cases I'm considering. Having fewer environments to setup and maintain is a big win in my book.


Yes, this has been my experience with various companies attempting to do this - however there's been a lot of progress recently in both cloud vendor standardization and the rise of containers and kubernetes that makes this much easier.

Running multiple Kubernetes clusters in different cloud vendors with configuration details abstracted away in a more self-contained service that can be deployed by itself as the bootstrap process makes things much easier. Consul is a good system for this, deploy it once (manually if necessary) then everything else refers to it to figure out the environment details automatically.


We're using Rancher and Terraform to achieve this. The operational overhead is massively reduced compared to just a few years ago.


Architecturing and running in multiple clouds is easy, it's exactly the same as supporting multiple datacenters and that's not something new or ground breaking.

The only challenging part is the database access. Except cassandra, there isn't anything common or free that can take writes from multiple data centers simultaneously.


Riak Enterprise supports multiple data centers. Bet365 has, or is in the process, of purchasing all of Basho's IP, and plans are to open source the Enterprise bits[1].

Not sure if Riak is considered common, and the multi DC is not yet free.

http://www.computerweekly.com/news/450426130/Riak-NoSQL-snap...


Riak was included in the non free. I always mean free as in no money, not as freedom.


Multi data center was restricted to Riak Enterprise and required a paid contract. That's what I was referring to, as your comment was talking about data stores that supported multi-region or multi-cloud.


Forgot to say. I am familiar with Riak. Worked at one of the competitors of the company who acquired them.

I really hope that the Entreprise version will be open sourced and will be happy to add it to the list of multi cloud options. At the moment, I can't do it in good faith since it's not gonna be released any time soon, and it's impossible to procure now that the vendor is bankrupt.


That's like saying it's easy, except the hard part which is hard.

Whatever the "application" is, making it work across multiple clouds/regions will be complex, but load-balancing is usually not a big challenge today.


It's easy, if you have cassandra you can multi clouds, if you don't have cassandra you can't do multi clouds.

There are a few commercial products that can substitute but they don't have good advertising on HN.


What? It's never easy, but you can definitely do multi-cloud/regions without Cassandra. It's not the only database that does multi-region nor is it a good fit for every scenario.


Also CockroachDB supports multiple regions as a postgresql-compatible database and Apache Pulsar is next-gen Kafka with multi-region replication built-in.


You're right, but it's worse than you say.

It's also legal data requirements. Many EU businesses ask that their data never leave Europe. How do you separate your product in to multiple continents and still work seamlessly.

It is not easy. Sometimes it is just easier to stand up everything you have in NA in the EU, and get a new tld (like .eu). It's a mess. Multi-cloud is HARD.


We face this also. Out of scope of this blog post but suffice to say, you're right, it's hard.


CockroachDB?


Postgres XL?


Reads like an advertisement for Cloudflare with minimal actionable info ... except buy Cloudflare.


This reads more of an advert for Cloudflare (we use it and live it) very little info on HOW they used Cloudflare to solve their problem.

One of the best cloud agnostic platforms is CloudFoundry. It has so many capabilities it’s mind blowing


It seems like they wanted to do their own post without duplicating the content in the Cloudflare blog post. There are more details in the post linked at the bottom: https://blog.cloudflare.com/living-in-a-multi-cloud-world/


Nice spot, we have moved the link up to the top of the post such that people can jump directly to the CF blog link.


Thanks for the feedback, this is our first foray into technical blog content. We certainly have a bunch of deeper technical articles on the horizon!

I'll take a close look at CloudFoundry, thanks for the tip.


[flagged]


I laughed




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: