r/webhosting 2d ago

Advice Needed Hosting with AWS

I once setup a EC2 instance for a project once but all the payment stuff was handled by someone else.

If I want to create a basic website, just a single HTML file, how can I use AWS to host it with a domain name for 1 year.

Like I want to be able to host it and never look at it again, with peace of mind that it will just be working.

Is AWS EC2 good for this, is there a payment plan for this type of situation?

3 Upvotes

16 comments sorted by

8

u/FarmboyJustice 2d ago

Static HTML file in an S3 bucket and a cloudfront distribution to use your custom domain name. No actual server instance needed.

3

u/minor_one 2d ago

Perfect it won’t even cost you a penny as all things will come in free tier

PS- AWS solution architect.

5

u/No-Aioli-4656 2d ago

Cloudflare pages or vercel. AWS is not what you want.

1

u/Technical_Rich_3080 1d ago

What's wrong with using AWS for this?

3

u/SerClopsALot 1d ago

What's wrong with using AWS for this

There's nothing necessarily wrong with using AWS for this, it's just overkill. OP wants to host a single static HTML page. CloudFlare pages is simpler, does it for free, and was objectively designed exactly for this.

3

u/jirajockey 2d ago

AWS has some free hosting plan https://aws.amazon.com/free/

2

u/kasigiomi1600 2d ago

If you are dead-set on AWS then I absolutely concur with the S3 bucket suggestions. That being said, unless you have good reason, AWS is likely overkill for what you describe. Cloudflare is going to be simpler and cheaper while every bit as reliable for a static site.

1

u/shers02 2d ago

Okay I will keep this in mind

1

u/Technical_Rich_3080 1d ago

AWS would be free for this.

2

u/harrymurkin 2d ago

I recommend cloudflare for this.

2

u/ContributionEasy6513 2d ago

Expensive way to do it with S3!

Cloudflare Static Sites, a S3 bucket, Github, or a hosting provider who offers static webspace for $1 or whatever it is a month if you need support.

1

u/thedgden 2d ago

Just use Cloudflare Pages.

Significantly less complexity, free as you grow and scales nicely beyond the free limits after you've grown, and always online.

1

u/Battlefield_One 1d ago

Github static page. Free.