Pretty sure it's forever, the catch isn't about how long you use it but rather how much computational power you use. But for a small site, you shouldn't worry about it much. I have a site with max. a couple of thousand views per month and never had to pay a cent.
But what happens when there is a spike of views, e.g. a DOS attack? Would you have to pay then or did you make some precaution that the views would never reach a certain threshold?
You can also use AWS' free tier. Been hosting my site there for free 👍
May I know what product are you using for the free tier. EC2 ? Elastic beanstalk?
Just checked, I'm running an Elastic Beanstalk app itself running an EC2 instance.
Elastic Beanstalk doesn't cost anything. EC2 has 750 hours free per month (which ultimately means you can only run one instance) for 12 months.
Is it for free forever? Or only for a limited time, e.g. 30 day?
Pretty sure it's forever, the catch isn't about how long you use it but rather how much computational power you use. But for a small site, you shouldn't worry about it much. I have a site with max. a couple of thousand views per month and never had to pay a cent.
But what happens when there is a spike of views, e.g. a DOS attack? Would you have to pay then or did you make some precaution that the views would never reach a certain threshold?
It seems like AWS has its own DDOS protection service
aws.amazon.com/shield/?whats-new-c...
I personally haven't undertaken any measures regarding denial of service attacks, perhaps if my site reaches a certain size.
AWS can be quite confusing, but it's the biggest hosting provider at the moment (I believe), I think it's worth looking it up and researching 👍
Apologies, I need to correct myself!
I made a little bit of research, it's free for 12 months, so not indefenitely.
However, once these 12 months are done, you only pay what you use.
Thanks for clarifying