News for hackers. Stuff that matters.
Re:I Hit $115k/Month with a Status Quo Improvement by sciurus on Wednesday February 20, 2019 @01:41PM (#19210672)
An $8,000 a month AWS bill is surprisingly high for this service.
Re:I Hit $115k/Month with a Status Quo Improvement by ajaygoel on Wednesday February 20, 2019 @02:28PM (#19211137)
Re:I Hit $115k/Month with a Status Quo Improvement by eloff on Wednesday February 20, 2019 @02:41PM (#19211265)
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.

Re:I Hit $115k/Month with a Status Quo Improvement by sciurus on Wednesday February 20, 2019 @03:33PM (#19211693)
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?

Re:I Hit $115k/Month with a Status Quo Improvement by cobookman on Wednesday February 20, 2019 @03:10PM (#19211505)
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.

Re:I Hit $115k/Month with a Status Quo Improvement by eloff on Wednesday February 20, 2019 @03:31PM (#19211666)
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.

Re:I Hit $115k/Month with a Status Quo Improvement by penagwin on Wednesday February 20, 2019 @03:27PM (#19211635)
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)?

Re:I Hit $115k/Month with a Status Quo Improvement by brucen on Wednesday February 20, 2019 @05:38PM (#19212789)
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.

Re:I Hit $115k/Month with a Status Quo Improvement by aboutruby on Wednesday February 20, 2019 @03:16PM (#19211557)
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.
Re:I Hit $115k/Month with a Status Quo Improvement by eloff on Wednesday February 20, 2019 @03:29PM (#19211647)
That's more than he spends on EC2 servers entirely. So your math is off by at least an order of magnitude.
Re:I Hit $115k/Month with a Status Quo Improvement by eloff on Wednesday February 20, 2019 @04:43PM (#19212289)
To the downvoter, your math sucks too!
Re:I Hit $115k/Month with a Status Quo Improvement by mbrameld on Wednesday February 20, 2019 @02:24PM (#19211097)
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.
Re:I Hit $115k/Month with a Status Quo Improvement by ajaygoel on Wednesday February 20, 2019 @02:29PM (#19211144)
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.
Re:I Hit $115k/Month with a Status Quo Improvement by sciurus on Wednesday February 20, 2019 @03:21PM (#19211591)
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

Re:I Hit $115k/Month with a Status Quo Improvement by ajaygoel on Wednesday February 20, 2019 @04:52PM (#19212374)
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.
Re:I Hit $115k/Month with a Status Quo Improvement by ttty on Wednesday February 20, 2019 @08:13PM (#19213671)
If it's client side, where does this communication happen?
Re:I Hit $115k/Month with a Status Quo Improvement by selflesssieve on Wednesday February 20, 2019 @03:31PM (#19211673)
It composes, personalizes, and "clicks" the send button. Google/gmail actually sends the email.
Re:I Hit $115k/Month with a Status Quo Improvement by jumbopapa on Wednesday February 20, 2019 @03:19PM (#19211578)
He makes it sound like that is all handled client side though, no? It uses the users own gmail account to send the emails.
Re:I Hit $115k/Month with a Status Quo Improvement by ajaygoel on Wednesday February 20, 2019 @04:53PM (#19212384)
No it's not all client side. Just the interaction with the UI is client-side. All the heavy lifting is server-side.
Re:I Hit $115k/Month with a Status Quo Improvement by SubuSS on Wednesday February 20, 2019 @09:01PM (#19213915)
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.

Re:I Hit $115k/Month with a Status Quo Improvement by ajaygoel on Wednesday February 20, 2019 @10:37PM (#19214321)
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.
Re:I Hit $115k/Month with a Status Quo Improvement by SubuSS on Wednesday February 20, 2019 @11:46PM (#19214603)
Well I should have thought of Google apps . Good stuff!
Re:I Hit $115k/Month with a Status Quo Improvement by eloff on Wednesday February 20, 2019 @02:01PM (#19210871)
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.
Re:I Hit $115k/Month with a Status Quo Improvement by Kiro on Wednesday February 20, 2019 @02:19PM (#19211035)
$1000? $5 should be enough.
Re:I Hit $115k/Month with a Status Quo Improvement by mbrameld on Wednesday February 20, 2019 @02:27PM (#19211124)
How do you figure? What do you think a system like this entails?
Re:I Hit $115k/Month with a Status Quo Improvement by teacpde on Wednesday February 20, 2019 @02:00PM (#19210865)
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.

Re:I Hit $115k/Month with a Status Quo Improvement by ddebernardy on Wednesday February 20, 2019 @02:14PM (#19210984)
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.
Re:I Hit $115k/Month with a Status Quo Improvement by pnathan on Wednesday February 20, 2019 @01:45PM (#19210721)
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.
Re:I Hit $115k/Month with a Status Quo Improvement by jumbopapa on Wednesday February 20, 2019 @02:01PM (#19210873)
I had the same thought and I'm curious how he was paying the AWS bill before making this a subscription service.