Ask HN: How do you learn to use AWS when you are terrified to being overcharged?
I don't get any money from programming, and I would like to learn to use AWS but I am a very risk averse kind of people and I don't want to be overcharge in case I do some silly thing in the web. I would like a service that guarantees that no matter what happens you don't pay more than a small amount for learning, I don't mind if my code disappear from the server or the application is no longer working when the money is over. I imagine that working in the cloud is about being at risk but, just in the learning phase I would like to have the minimum risk when learning. Any ideas?
17 comments
[ 3.3 ms ] story [ 51.7 ms ] threadSomething else to keep in mind... Amazon have a reputation for being pretty good about issuing refunds in situations where people rack up large bills due to various kinds of accidents. There are a number of such stories in old HN posts, and my own experience was very favorable: I setup a couple of big instances for a demo at a conference, and then a week or two later had a heart attack, and didn't get around to shutting down the instances until about 3 months later. I wound up getting billed several thousand dollars, but Amazon had no problem issuing me a refund. YMMV, of course.
The problem people have is that when they generate an API key they grant that key "everything" even account management stuff. Instead of giving it the least privilege needed to accomplish whatever it is that it does.
Then they'll inadvertently upload it to e.g. GitHub or similar in some source code and bad guys have bots which will steal it then make use of your account for all kinds of evil purposes.
Having things like 2F on your main account (which you should) won't save you from this. And if you go to bed, by the time you wake up the account charges could be in the tens of thousands even with billing alerts.
OK, yeah, that was the one scenario I was thinking about. I just didn't know if there was some other AWS hack being employed commonly.
For this, there is at least a solution, even if people don't use it, and that is to use IAM roles. Create your root account and never (or almost never) use it, except to create IAM users with more limited permissions, and then use the AIM user for all your day to day stuff.
I interpreted "doing something silly" as "firing up 10,000 instances and forgetting to shut them back down", rather than fraud.
Amazon verifies accounts heavily to stop fraud and abuse. I needed a legitimate telephone number (which they called).
If latter, may I suggest you try digitalocean then ? I know you are talking about AWS sepcifically but for your use case, get a $5 DO VPS and play as much as you want.