Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

An $8,000 a month AWS bill is surprisingly high for this service.



So roughly $1300 in bandwidth, possibly could cut some there by putting Cloudflare in front of static assets, but no idea how much of that is from static vs dynamic assets.

Most of the compute cost ($2400) goes to an m4.xlarge and an m5.2xlarge. That could be reduced by using reserved instances - but there's other gotchas there if you're likely to change that anytime soon. Google cloud is much nicer in this regard with the auto discounts for continuous usage.

The provisioned IO for EBS $2500 makes me sick, but may be necessary to get adequate performance.

Honestly you could move everything onto two dedicated servers (one as a hot backup) and cut this down to $1000/month and get better performance. But that's the AWS tax.

I use AWS all the time for work, but I would never build my own business on it.


I agree with most of this. Some ways to save money are

1) Switch to the newest instance families

2) Save up the cash then reserve your instances.

3) Don't bother with the provisioned iops volume type, just use GP2 volumes large enough to give you the baseline IOPS you need

4) In general you have more block storage and snapshots than I'd expect, maybe that can be cut back?


the benefit is outsourcing operations. If he used dedicated instances he'd need to manage his SQL server, disks, deal with hardware failures...etc.

7k$/month is cheaper than hiring an additional head.


I don't think of RDS as zero-maintenance, but I'll agree it's probably less. You get different and arguably more complex problems under load with things like EBS performance. I'd rather have local disks which are simple for me to understand and debug.

Basically, with his skillset, maybe it makes sense. With my skillset I'd rather have the hassles with the dedicated setup.


I'm not sure I agree, now I have no clue where he's from, but assuming he would save 7k a month that'd be 84k a year.

Obviously there's other overhead/costs involved, but surely he could find somebody for 60k+ a year (I make less then that at my current development job but I'm from Michigan)?


That single person you are paying a sub-par wage won't be providing 24/7/365 support, which is a big benefit of AWS / cloud providers. It's also a bit of insurance on your hardware in case of failures, free replacement. Finally, if something catastrophic was to happen, with a recent-ish offsite backup it's usually pretty trivial to setup on a different region or even cloud provider. With your own hardware, that's a bit harder.

I agree though with one of the parents, AWS costs here can likely be significantly reduced. I cut costs in half by (a) reserving instances and (b) thinking about EBS and downgrading / downsizing where possible rather than using the defaults.


Could save (edit: not $3600) $1873 per month by using Linux instead of Windows. I see you are using SQL server, probably C# for the code, might be worth looking into running it with Mono.


That's more than he spends on EC2 servers entirely. So your math is off by at least an order of magnitude.


To the downvoter, your math sucks too!


The article says he's tracking when recipients open emails and click links. So for every email one of his users sends there's some potential network traffic and data to be stored. He was probably able to offer the service for free originally because those features weren't added until after the subscription service launched. His AWS bill before adding those features was probably a few hundred dollars per month at the most. He also mentioned he is financially secure from selling a previous spam tool he created, so he could afford to run it for free for a while.


Open/click tracking doesn't add much in terms of cost. That traffic is minor. The bulk of the traffic is the transmission of the emails.


I'm confused. In another comment you said "GMass doesn't actually send any emails through its own servers."

https://news.ycombinator.com/item?id=19211369


Let me clarify. GMass doesn't send any email, but we do have to transmit the email to someone that does send it, hence the bandwidth costs.


If it's client side, where does this communication happen?


It composes, personalizes, and "clicks" the send button. Google/gmail actually sends the email.


He makes it sound like that is all handled client side though, no? It uses the users own gmail account to send the emails.


No it's not all client side. Just the interaction with the UI is client-side. All the heavy lifting is server-side.


I am sorry if this sounds dense: But if you are sending the emails from server side, how are you getting to the user credentials / gmail login 2 step verifications etc.?

I am assuming you mean you send from the client UI but the extension talks to your server for scheduling the future sends etc. in which case you shouldn't have that much network bandwidth.


The user logs into his Gmail account on his own and uses the GMass extension, which operates within the Gmail UI, to create/schedule campaigns. On the back-end, GMass connects to the user's account over standard Google OAuth 2 to then send the emails.


Well I should have thought of Google apps . Good stuff!


Yeah, I think you should be able to get that under a $1000 without trying too hard. But at $130K/month revenue, it's hardly a priority.


$1000? $5 should be enough.


How do you figure? What do you think a system like this entails?


I didn't read thoroughly, but why does it need to run on AWS? Does the plugin send requests to a back end server and the server send the mass emails out?

My naive thought is that some frontend JS (without the help of a backend server) would be able to accomplish some of the features.


Just spitballing, but he mentions working around gmail hanging for minutes when sending thousands of emails somewhere, so I presume he's storing the addresses on a server and looping through them in gmail in bite sized chunks.


I thought so as well. But, if he's okay with it and the numbers pencil out well, there's not a lot of reason to improve it: probably better ROIs elsewhere.


I had the same thought and I'm curious how he was paying the AWS bill before making this a subscription service.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: