r/openstack • u/martijnk79 • 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?
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.
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.
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.
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
1
8
u/t_sawyer Dec 12 '20
Couple things to consider.
Ramnode is deployed with multiple regions.
Monitoring. SLAs how do you know you met or didn’t meet them?
What Openstack services are you deploying? Cinder? Octavia? Swift?
How do you plan on billing? Writing your own? Paying for fleio? Trying to use cloud kitty?
Are you continuously updating images? You’ll need a pipeline for that.
Tutorials or do you expect customers to just know how to use Openstack?
Tickets? This might be where being a 1 man shop might hurt the most.
Where are you getting a pool of ipv4 addresses?
Backups. Your openstack database and customer files if you plan on deploying cinder or swift.
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.