One advantage of “cloud” computing is that you only pay for what you use: So you can start with a single small server / few GB / few SES emails and scale up (& pay more) as you need to, as you get more income from more customers.
AWS is not the cheapest platform, but they’re usually close, and AWS is the most established, fully-featured, configurable, and scalable.
You might find some things cheaper elsewhere, but they usually come with limitations. Eg. Dropbox provides cheaper storage than S3 per GB, but isn’t really suitable for hosting a website.
AWS has a good pricing calculator if you google it. It’ll probably be hard to understand exactly how much capacity you need since it’s a new application, but you can try to guesstimate and then punch those figures in to see your outlay monthly.
To help keep costs down, you should generally use reserved instances where you pay partially or all up front for a 1 or 3 year term, and EC2 pricing drops pretty significantly. The idea here is once you know your minimum commit rate to support your platform, you reserve that amount of capacity and then use on demand instances in an auto scaling group to handle more load when it needs it. If your site needs more load consistently, add more reserved instances and on and on.
also try to learn to build your application to utilise spot instances if you can. if you put in the time up front, you could build it to scale across spot instances in the same region to look for the most cost effective deployment
It can certainly add up quickly. There are a lot of options for reducing your spend, but always read the pricing section for each service you intend to use in detail.
The better you profile your Application and its expected behavior both in terms of services you will need and external customer traffic, that is what will give you a good estimate of how much it will cost.
Are you running this as a one person operation? Or a small business?
Like others have suggested, if you prepay with “reserved instances”, then you will be able to get a nice discount.
To add to this, if OP is leaning towards the 2nd option, S3 hosted http sites can be the cheapest around. A lot of people forget you can treat S3 like a basic hosting platform.
If you’re starting from the top, it would be worth considering various architectures for your use case and running a cost analysis from each.
Spot instances were mentioned. It sounds like your workload might be well understood, so Reserved Instances can help with savings, and even consider Serverless application models. Serverless can save you loads if you plan accordingly.
If you don’t leverage the best parts of the cloud, any cloud will be expensive. Also, your performance and availability requirements will drive how expensive it is. If you need to design for 99.999% uptime, then yes it will be more expensive than 99.99%.
Yes it’s expensive, especially if you do it wrong.
But… For the quality of the service it’s pretty well priced.
Eg if you tried to do an object store with 11 9’s durability, it would cost you a lot more. But if you did it yourself you probably wouldn’t, so it might be cheaper.
Also worth considering how cacheable your application is, if you can’t just host on s3. If it’s highly cacheable, you can skip ec2 and use lambda functions + cloudfront - you’ll pay much less for your compute if you can serve most requests from cloudfront cache.
I didn’t know this was even possible to be honest! Ill have to look in to this, but if it is cheaper would the contents not be visible via an open repo?