Would AWS be suitable for hosting a SQL database for a small business?

I was wondering where small businesses that work with SQL databases (e.g. for customer data) typically store their databases. On privately-owned servers? On rented servers (such as AWS)? The context is that I’m helping a small business write a custom-management app that will involve a database, and I’d like to know where to store their data to make it accessible from multiple devices, but only to logged-in users (employees).

Take a look into RDS serveless offerings to accomplish something like this.

Maintaining your own servers sucks. Yeah, companies still do that, but there’s no good reason to for new applications. Look into this instead:

https://aws.amazon.com/rds/postgresql/

Yes, could be.

But depending on the sophistication of this client, there are even easier platforms to host a cloud app.

The real problem/challenge here is that clients often have ZERO experience or talent to manage a cloud app much less anything technology wise. Hence, so many SASS apps.

You should also consider Google’s AppEngine or Heroku (which is on AWS), etc. these are the OG serverless platforms.

Yes, this is a concern for me too. It’s for a local appliance repair company, so I don’t think they’d want to deal with any kind of regular software-related technical maintenance.

Heroku is definitely an option.

One attractive possibility is to get a Heroku subscription for my app (for their business), then bill them a monthly subscription that would cover its cost. Do you see any pitfalls with this approach?

Edit: This example was wrong and it’s better to use Amazon RDS

—

I’m just starting but from what I’ve read

Amazon has VMs (called EC2 instances), of various capabilities(CPU, RAM, …)

You can fire those up, set it up as you need, such as installing a database, give it a public IP and you’re off! Or you can even avoid the public IP on your database, and instead use a “hardened” EC2 instance which will act as a proxy(aka a Bastion)

And apparently you can configure load balancers and high availability but I don’t know how to do that yet

Also, what are some reasons to use Heroku over Amazon RDS (or vice-versa)?

yo, upvote my question. having 0 karma feels bad

What are some reasons to use RDS rather than, say, Heroku?

I think you’re comparing apples and oranges there. RDS is one service of a hundred that make up AWS.

Why choose AWS over Heroku? That’s a big question and the answer depends on a lot of things, like which technology set you’re more comfortable with, who’s going to maintain this app for the next decade and what skills they have, how price-sensitive you are, how scalable you want it to be, etc.

You’ll need to do that legwork yourself, since you know the application better than some rando on the internet. Besides, I don’t know Heroku, only AWS, so I can’t give you a fair answer anyhow.

Yes. It is suitable. AWS - RDS would suit you best. And is ok price wise.

What are some reasons to use RDS rather than Heroku?

Advise not to be th3 middle man. If you want to quit, they will be left to tackle this. Best have their own account

No reason really. It’s like decision between Mac and windows. Both serve the same purpose. Just need to see which one suits the client and at what costs

Using EC2 wouldn’t be the most coat effective solution. It would be a lot less expensive to use one of their database services.

Agreed. Thanks!!

Ok, this is very easy and it also let’s me know you’re very new to this cloud app game.

Let’s start at the very beginning. In the future you can buy me a filet mignon dinner but let’s get you up to speed first.

What is a cloud app? What services are required to operate a cloud app? At a minimum you’ll need,

  1. web server,
  2. app server (Python, Ruby, etc),
  3. a queue service for outta HTTPS request tasks (Celery, SQS, etc),
  4. database, structured storage (PostgreSQL+, RDS),
  5. unstructured storage (S3, local file system, :man_shrugging:t2:)

Is the folly of your question comparing GAE/Heroku and RDS crystal clear now?

RDS is only a component of an application. It’s called IAAS, infrastructure. GAE/Heroku are PAAS, platforms as a service. They provide and manage the complete portfolio of application services, instead of just one service.

Now on a scale of 1 to 10, your question asking skills suck, like a ~2 :roll_eyes: because the question is so nebulous all it invites is more questions :man_facepalming:t2:FAIL. But as a heuristic, any web app with fewer that ~10,000 users and unsophisticated owners should be on a PAAS.

In theory this can be a good idea, but if you’re not disciplined and savvy this will be hell.

Admittedly, I am very new to this cloud app game.

Some questions a beginner asks might seem stupid to a relative expert because, unsurprisingly, the relative expert may know things that render the beginner’s question senseless.

FYI, I was going to praise you for being the most helpful person in this thread until you insulted me out of nowhere. On a scale of 1 to 10, your cognitive empathy sucks, like a ~2.

I think they meant RDS vs Heroku Postgres