I have looked at Google Cloud Run, Microsoft Azure and Kamatera so far. These are free trials, and I deleted and removed all projects after playing with them.
I am working on a chatting application for my portfolio. I'm using MERN to create the app and I can run it locally and connect to the local server with any device on the network. Before I got into this I didn't realize setting up a cloud server was going to be so confusing, and that's after trying to watch tutorials on youtube and going through documentation.
On google, people have talked about VM Instances, (Bare Metal Solution?) Servers, networks, VPC's, VPC Networks, serverless VPC, etc. and I have explored all of these things and I just don't understand why it's so hard to get a node.js file running somewhere remote.
Microsoft Azure and Kamatera were pretty much the same experience.
I'm not the smartest or faster person, I've got cognitive issues, but if anyone can kind of give me some simple steps or explanations to get me started in the right direction, I'd really appreciate it.
I don't need a complete write-up or guide, just a push in the right direction for my specific project, which is just getting my node.js code somewhere so the client can connect to through it. I think?
It’s not that it’s hard to get node code running on a remote server per se, it’s that there’s a lot of decisions to make and finicky details related to the “non-functional” parts of serving an app over the internet: getting traffic to the app, configuring multiple copies of the app, storing state, the developer experience of shipping your app from laptop to production, secrets management, etc. By and large, the differentiator of most cloud providers and “platforms as a service” is in how they approach handling those details, and there’s usually a spectrum of configurability and convenience. In general, as you add options to configure, you get less convenient, but more easily able to address more use cases.
In general, I recommend new developers target the thing that’s most convenient, which usually means the thing with the fewest configuration options. For node apps, my go to recommendations right now are Glitch and Railway. I’ve also heard good things about Render, and Fly, but I haven’t used either personally, so can’t speak to either. Generally though, I think you’ll have an easier time looking for a platform as a service instead of targeting a cloud provider directly.
Thank you. As a new developer, I really need to start with simplicity, getting into the larger cloud options has been overwhelming