If you ever run something serious then I would definitely consider to create docker container. Any Cloud, VPS Server or Dedicated also good. But real deal is:
never use self installed database and use cloud database like firebase or AWS database. Transferring your service to another provider will be super easy and super reliable.
I want to talk about the pros and cons of a virtual private server a VPS versus dedicated hosting. I use both, I use dedicated hosting for many years and now I’ve moved over everything to VPS.
Let me give you a quick run-through dedicated hosting is you get your own physical box it’s not shared with anybody your own hardware your own hard drive etc etc the cost for that could be as low as a hundred bucks a month and much higher,
the advantage of that is that you have full control you don’t have to worry about somebody running up you know slowing down the web server because their website gets attacked by some DOAs or something it gives you a lot of control.
The problem with the traditional dedicated server is that you have a single point of failure meaning if the hard drive fails you’re down, if the CPU fails you’re down, the power supply is down it goes down, your site is down because you got to go in there fix it.
Now the modern hosting companies who provide physical servers for you they’ll have a team they’ll come in to fix things so it could be that that could be fine but you may have a situation when you have a physical server physical dedicated server where your site will be
down because a hardware failure.
I had dedicated servers for years or so or longer maybe like and AD hardly hardware failures maybe twice that was down for minutes so it’s not like a huge issue unless you’ve got some site where you cannot afford to ever be down, keep that in mind also in terms of hard
I’m going to mention it because some people could imagine if you get a physical server you want to get yourself a physical hardware RAID with at least two disk so if one hard drive fails the other one just takes over and they hot-swap put another one in and everything’s good Bob’s your uncle fantastic the other downside with a physical dedicated server is that when you need to upgrade.
Let’s say your site starts building up your app starts building up something happened to me recently where it’s getting in a lot of lot more users and everything was starting to really
slow down now if you’re on a physical dedicated server to upgrade it
is a real pain there’s gonna be downside whether you try to add RAM or add CPU or increase the disk size or speed or maybe you’re just gonna have to switch to a whole brand-new physical data physical dedicated server you gotta keep that in mind as well you know some downtime their major
I can tell you from the point of view as an app developer even if you would see of your app you know some complex app likes to do web and you move and you have one physical dedicated
server with this OS this
Apache this hardware and you move to another physical dedicated server to upgrade because you need the power and you have the same operating system and the same software.
I can tell you from my experience there’s always almost always going to be problems of configuration always going to be problems of kind of configuration because they’re not the
same machine so you got
to keep that in mind that could delay you hours if not a dare to trying to configure things on a new server so if you’re in a physical dedicated server what you got to do is you got a plan on some overlay if you will where your retiring server one to
go to server two cause you need the power be sure that you have server two all configured running and tested for a few days at least a few days before you transfer from the old server to new.
So if you can’t account for any downtime you’re gonna have in configuration issues you’re gonna have Virtual Private servers are basically cloud-based hosting where you basically
get a virtualized server.
But it’s depending on the host hosting company, it could be even on one big box that’s shared by many people or it could be on distribute across many physical boxes.
Basically PAAS is an environment/dashboard/control panel where you can manage your IAAS. Say for an example AWS Management Console, Rackspace cloud console (Both are running on the Openstack back-end) & Windows Azure management console.