r/openstack • • Dec 11 '20

Run a public cloud by yourself?

Hi all,

I'm new to openstack. I just did a test deployment to 6 virtual servers using Maas and Juju and that went pretty smooth, I'm very impressed. I already had some instances fired up, played around a bit.

So my end-goal is, I want to built my own public cloud with Openstack like e.g. Ramnode did but people tell me you can't operate openstack by yourself, it requires an entire team of individuals. Others say don't do it, leave public clouds to the big guys like Amazon, MS etc because it's too complex.

Is this true or a myth? What do you think?

13 Upvotes

36 comments sorted by

8

u/t_sawyer Dec 12 '20

Couple things to consider.

  1. Ramnode is deployed with multiple regions.

  2. Monitoring. SLAs how do you know you met or didn’t meet them?

  3. What Openstack services are you deploying? Cinder? Octavia? Swift?

  4. How do you plan on billing? Writing your own? Paying for fleio? Trying to use cloud kitty?

  5. Are you continuously updating images? You’ll need a pipeline for that.

  6. Tutorials or do you expect customers to just know how to use Openstack?

  7. Tickets? This might be where being a 1 man shop might hurt the most.

  8. Where are you getting a pool of ipv4 addresses?

  9. Backups. Your openstack database and customer files if you plan on deploying cinder or swift.

  10. Hardware maintenance possibly across regions.

I’d love to quit my job and run a public Openstack cloud. But, managing all of this on your own... you’ll never have a day off.

3

u/naturallyensconsed Dec 15 '22

How is your project going? Keen to hear about your experiences as I am currently planning on this exact thing!

1

u/martijnk79 Dec 12 '20

Well, I will start small obviously. Monitoring yes, SLAs not yet, maybe later. My target audience will be consumers first, businesses later so yeah if people can spawn instances, create private networks, add block storage. That should be enough for now. So cinder yes but no octavia or swift just yet. My goal is to start minimal and then expand as I go.

So for billing I was planning to pay for Fleio yes. Image updates yeah I will mostly use prebuilt images. Not sure about Windows yet but for Linux it should not be that hard to keep it updated.

Tickets might be an issue if there's too many. But again the goal is to have it all automated with Openstack. There will be no support, well just the basic support but no support like please install MySQL for me.

For IPv4, I already have a /23 and 2x /24 and a /48 IPv6.

As for backups, I will backup my own data. Customer is responsible for their backups.

Anyway I already have a rack in a DC with hardware, I won't do multiple regions for now. The DC is 10 minutes from my home so hardware maintenance should be doable. All my switches, power feeds, network are double as well so everything should be redundant.

And yeah I want to quit my job too and run a publick Openstack cloud. If you're interested in building one drop me a message ;)

2

u/jadon_n Dec 13 '20

I know you said you have your own hardware in a rack in a DC, but have you considered reselling another provider's platform or OpenStack offering on a white-label basis? IaaS providers can probably give you OpenStack for less than what a smaller company can do on its own, and that would give you the chance to focus on the things that give the most value to your customers, like personalized service or advanced support.

For full disclosure's sake, I work for a US-based company building a platform for offering OpenStack on an IaaS basis (I know US-based doesn't help, and I'm not trying to sell to you otherwise). I know exactly how much it costs us to provide an OpenStack cluster with specific amounts of compute and storage, and I know it's less than what some of the smaller OpenStack cloud providers can achieve for their costs. We are a big enough company to be able to negotiate better rates from vendors, and we have a mix of product lines that all help pay for DC space, networking, hardware, staff.

I recognize, however, this kind of approach can be more expensive in the long run than building your own cloud.

I do encourage you to consider what would differentiate your cloud or service from other providers like City Network or IntoVPS (or Ramnode who was already mentioned) who already operate OpenStack public clouds.

I also know that while you can build OpenStack on your own and operate it by yourself it helps to have someone with you to share the work. I was previously in charge of the team, which was pretty new to OpenStack, building the OpenStack platform I mentioned. We assigned big pieces of OpenStack to individual team members, and one of the most consistent bits of feedback I got from the team was how it would have helped them so much to have someone to work with on their work instead of working by themselves on their pieces of the project. It can help you to have someone to help solve problems and to encourage you when you feel burned out. Plus, it helps to have someone else who knows the important stuff (i.e. have a higher bus count).

2

u/martijnk79 Dec 14 '20

I've been reselling services from other providers (I currently still do) but it's too expensive and leaves very little room for profit. If you look at providers like OVH and Hetzner they are already at the bottom of the market with their price level.

Besides that it's a hobby in the first place. It's just great to built and run everything by yourself. It's complex too I agree, but that's what makes it challenging. Honestly I could just run WHMCS with Solusvm or something and be like the other 2000 providers that do the same. I could probably still sell and make the difference on service but that's just not challenging enough.

I want to be a local provider here in Belgium. The market here is very thin, there is hardly any providers and the ones that are there are overly expensive so people will usually just go to Germany or The Netherlands. So there is still room here for consumers and local businesses that want to keep their data within the country borders. I have no interest in being company #1542 selling services from Amsterdam or Frankfurt. I want to promote local, green hosting.

And yeah any help is welcome. If there's somebody out there with knowledge of openstack, linux and networking and wants to do the same but lacks the funding to do it himself I'm always open to a partnership.

2

u/jadon_n Dec 14 '20

That's great you want to be a local provider! I think that is really important and that there are too few local and small providers for cloud services.

You do make a good point about reselling, especially if the cloud service is your product and not something that you build on top of the cloud service.

I don't know what servers you are using, but I can recommend on the hardware side that Supermicro's MicroBlade servers are a great way to get hardware density at a really manageable cost. You can fit 56 reasonably good server nodes inside of a 6U shared enclosure, and Supermicro is generally much cheaper than Dell or HPE. You can't buy directly from Supermicro, though. You would have to buy from a reseller.

The company I work for does publish a bunch of publicly available info on OpenStack, including stuff geared towards learning about OpenStack and how to use OpenStack. One of the other big struggles we had with OpenStack was the lack of good, detailed documentation on building a production-ready cloud. I can DM you the URL if you want. I would post it here, but I'm new to this subreddit and don't have a good sense of the customs around posting promotion-adjacent links (I can post it here, too, if that turns out to be ok).

We are also really close to publishing an "OpenStack Operator's Guide in 40 hours" set of content aimed at giving someone the information and knowledge needed to run a public cloud as a maintainer in a single work week. It does not cover the architecture and setup for the cloud; that is something for a future guide. I can pass that along when we publish it in the next few weeks if that would help you.

1

u/martijnk79 Dec 15 '20

Well for storage I'm using refurb HP and Dell servers. It's much cheaper than new ones. Not that old though but previous generation. For the hypervisors I'm buying new ASRock Rack barebones with Ryzen CPUs. They are pretty solid and fast. No redundancy though so I need multiple nodes and HA enabled.

What you are saying is true though, there is not much good documentation on how to design and built a production ready cloud. Stuff like managing storage, expanding nodes etc. I can't find much info on that. There is enough info to setup a basic non-HA environment on one or a couple of nodes but that's it. So yeah I'm really struggling with that as well.

I'm trying different options in a virtual env now. I first did a test setup with Juju and now I'm trying Kolla-Ansible. I guess I have to find out everything as I go.

And sure yeah feel free to DM the url.

1

u/jadon_n Dec 15 '20

Thanks! I sent you a DM with the info. Sounds like you have a good plan. For sure, don't mix AMD and Intel for your compute. The Supermicro servers I mentioned are Intel machines. It can make problems for you and prevent compute features from working properly.

Thanks for sharing so much info about your use case! It's interesting learning about what other folks want to do with OpenStack and the challenges they face using it or getting started with it.

If you are looking for guides to help learn Kolla-Ansible or tools to help get you started, Kayobe (https://docs.openstack.org/kayobe/latest/) is a great tool that uses Kolla-Ansible and OpenStack Bifrost to deploy OpenStack fully to baremetal servers. It has really good defaults and base configuration for Kolla-Ansible. There is a virtualized version of Kayobe you can try out that I can recommend here https://github.com/stackhpc/a-universe-from-nothing/.

1

u/t_sawyer Dec 12 '20

Not trying to discourage you, but 1000 ipv4 addresses (much more desirable) is pretty limiting.

You’re going after consumers first, who will likely target your cheapest $5/month vps. Which gives you a max of $5000/month which is less than I make.

You could charge more for an instance with ipv4 but then going to DO Vultr Linode Ramnode etc is an option for them. You could also charge less for ipv6 vps’s like Vultr does. But, I’m not sure how many consumer customers you’d get that choose ipv6 to save, say, $2.5/month.

1

u/martijnk79 Dec 13 '20

Well yes but I'm not trying to sell a service + IPv4. I'm selling other stuff as well. Mostly storage. If I can offer cheap storage so people can built and run their own private cloud (cough seedbox) I would make money there as well. Also the goal is to discourage IPv4 usage, people would be able to setup a router and use the IPv4 with that. Have the other machines use NAT or IPv6 only.

I think 1000 IPs a fair enough amount to start with, I'm not going to get 10.000 IPs just yet and then wait for the first customer to come in. I don't even have the hardware to serve so many customers. It will be gradually expanded over the years.

Plus if I need extra IPv4 space it won't be an issue, I can always get more subnets.

5

u/comfyhead Dec 11 '20

While the infrastructure itself may be straightforward enough, it seems like you would also have to think about how to prevent abuse, which might be a much larger task than can be managed by yourself.

1

u/martijnk79 Dec 11 '20

Abuse in what way? You mean hacking, scanning etc?

3

u/r1ckm4n Dec 11 '20

Hacking, scanning, your nodes being used as C&C, copyright violations, illegal porn of the worst variety terrorism, you name it. People are fucking animals. You will need to find a lawyer that you can call when you get angry sopenas/warrants from various law enforcement agencies because a bad egg customer decided to be an idiot and get caught.

Story time: I worked for a small hosting company many years ago. I was on the night shift, so I was provisioning dedicated boxes, rolling up RPM's for servers to do patches and the like (we ran RedHat 9 back then), I was in the datacenter doing some cable management, I walked back out to the common office area to get some zips I saw a bunch of dudes waltz in wearing FBI wind breakers. We were in a shared office building so the building super let them in. There was no call ahead, they just showed up with a warrant, and the warrant was for one of our dedicated servers. They made everyone all stand on one side of the office away from phones and computers, I had to direct them to the server in question. They put this yellow gizmo on it, yanked the unit and took it with them. This was not the first, nor was it the last time FBI, State Police, Secret Service, ATF, and various other law enforcement agencies were yanking servers, remotely shutting down websites, calling because X investigation needed Y data, etc. We eventually put a lawyer on retainer so we could have a smooth and orderly process to handle these so they would stop pulling whole servers out of the rack - we leased those servers so we had to account for anything missing. Prior to that the CEO had some lawyer buddy write up all our business documents and that was it.

3

u/DMRv2 Dec 13 '20

This is continually my greatest fear with even providing infrastructure services, i.e., as a techie friend maintaining someone else's router in an apartment building. People are indeed animals and you do not want to be anywhere near those kinds of situations when someone's number is inevitably drawn.

2

u/r1ckm4n Dec 13 '20

Yeah, the hosting outfit I worked for spent a metric fuck ton on legal compliance as our customer base grew. We had a bingo-like game going in the break room and were only missing a few LE agencies by the time I had left.

1

u/martijnk79 Dec 12 '20

Well luckily I'm in Europe not US. I've been hosting for a couple of years already but with different software and yeah I got my fair share of abuse but I did minimize it by using extensive fraud checking (Maxmind) and ID/credit card checking with new customers. So I'm not too worried.

2

u/r1ckm4n Dec 12 '20

Interpol. Most European hosting operations also cooperate with outside law enforcement. Europe is not the privacy mecca people think it is.

3

u/shubhamoy Dec 12 '20

Managing Openstack cluster does require a good knowledge of all the moving parts.

If someone is hosting there production workloads on the "public cloud" obviously it'll require some uptime commitment which will require us to design a fully HA architecture.

Orchestration, billing, backup, and many more components need to be considered.

1

u/martijnk79 Dec 12 '20

Agreed. But I already have that in terms of hardware. I just need to built the software now. I have double infiniband fabrics for storage, double switches for public network. A+B power feeds. I got several hosts to run CEPH/Nova. I got redundant LACP gigabit internet and I have enough IPv4 and IPv6 subnets.

So everything is there :) I just need to built the software around it.

2

u/shubhamoy Dec 12 '20

At the software level also, we need to design the high-availability. Like master-slave, active-active, or active-backup.

There's a cloud database, message queue, caching, load balancers, and many more which will allow us to have a seamless operation.

8

u/inexactbacktrace Dec 11 '20

I've worked with, administered, and sold OpenStack basically since it came out, and I'll put it to you this way. The amount of automation required to run a public OpenStack cloud by yourself would require a team of individuals to write.

2

u/The_Valyard Dec 11 '20

This is an interesting statement that needs a bit of unpacking.

Firstly Openstack is old and a LOT has changed over the the past 10 years. Looking at its capabilities today its certainly a lot easier to do things.

Secondly how you consume openstack matters a heck of a lot on how difficult design/deploy/admin is for you. I very frequently see folks come here and other boards and are like "HAI I WANT TO MAKE MY OWN CLOUD SO I DEPLOYED UPSTREAM.. BUT <INSERT THING NOT WORKING> HALP!" I mean upstream is great but the expectation on minimum height to ride is steep. In almost all cases going with a mature distribution like RDO (or the commercial version Red Hat Openstack platform) or the Canonical take on things is going to be a waaay easier time.

Thirdly a team of engineers? Not necessarily.. there are powerful native orchestration (heat/charms) capabilities and deeply integrated automation frameworks (ansible/puppet) to do the heavy lifting. From a business pov the most practical way of pulling this off is to decide what you need to do to run your operation (eg whiteboard your operation process/workflow) then get some help from redhat services or Canonical or openstack pro shop xyz to write out the automation and incorporate that into some ITSM layer like service now or remedy helix. You spend what makes sense based on what makes you money: you invest X to save Y, where X is less than Y over some practical amount. Crafted correctly the amount of hands on that you need is mostly for maintenance or investigation all normal operations use self service capability of the itsm layer. The more reliability your operation needs also will affect your orbit between enterprise support and DIY.

1

u/rnmkrmn Dec 11 '20 edited Dec 11 '20

I'm pretty much in the same boat. Best of luck to you.

1

u/martijnk79 Dec 12 '20

Well perhaps I should find some knowledgeable people here and we can built and run one together :)

1

u/remek Dec 11 '20

I'd focus more on containers if you really want to pursuit some entrepreneur endeavor within infrastructure industry. And Openstack isn't a particularly strong platform for containers.

1

u/martijnk79 Dec 12 '20

I don't know about containers, I rather stick with VMs for now. Like I said I just need to get a basic platform running, have some paying customers. Then I can expand and look into stuff like that.

4

u/The_Valyard Dec 11 '20

Openstack is excellent for running openshift however.

Ocp on virt via libvirt/nova or ocp on managed metal via ironic.

Openshift on Openstack is essentially Red Hat's flagship architecture.

3

u/remek Dec 11 '20

Yeah, it is now. But I feel that they will find a different vehicle for Openshift in the future. Their whole reference architecture is just a ridiculously complex beast with so many highly complex moving parts (OpenStack + OpenShift + CEPH)

1

u/The_Valyard Jan 18 '21

I have a hard time accepting that rationale. When I have interviewed people making those statements it is often flimsy reasoning.

Eg.

  1. read about it, or read others talk about it + various 3rd party anecdotes.. didn't seem like a "next next finished" kind of deployment so "clearly" its the tech that's flawed.

  2. did try it, went with upstream because paying for a refined product is icky.. Couldn't get it to work so "clearly" the tech is flawed.

  3. did try it way back in the day, super klunky due to early days of development and wrote it all off as a science experiment. Not appreciating that opensource while often immediately available needs time to incubate and mature. Opensource is not a finished product out of the gate.. the point is you try it, find bugs, participate in fixing them and grow the code.

Redhat has invested immense resources into maturing ceph into Red Hat Ceph Storage 4 and Openshift Container Storage 4. Leveraging high degrees of automation, management (ocs is heavily operator driven), telemetry/reporting.

Redhats openstack platform is well documented and stable. When positioned to host ocp either virtually or as managed bare metal it makes for a great pairing when trying to realize a fully software defined data center.

2

u/remek Jan 18 '21

I just think that in the future, the complexity of OpenStack and Ceph layer will not be justified. OpenStack+CEPH is strong for first generation of cloud-native applications (built from VMs, volumes etc.) and I just think that this is not how we will build software in the future. And maintaining those technologies only to be a "hidden backend" for another orchestration layer which is ultimately being provided "as a service" just doesn't seem to be justified nor optimal.

2

u/tuxillo Apr 15 '25

Is there any update? :D

1

u/[deleted] Jun 25 '24

[removed] — view removed comment

1

u/orwadira Sep 27 '24

Very interested how this went, too.