Introduction
Static websites deliver HTML, JavaScript, images, video and other files to your website visitors.
Static websites are very low cost, provide high-levels of reliability, require almost no IT
administration, and scale to handle enterprise-level traffic with no additional work.
See FAQs for more information >>
What You Will Learn
Host a static website using AWS Amplify in the AWS console. AWS Amplify provides fully
managed hosting for static websites and web apps. Amplify’s hosting solution leverages
Amazon CloudFront and Amazon S3 to deliver your site assets via the AWS content delivery
network (CDN).
Set up continuous deployment: Amplify offers a Git-based workflow with continuous
deployment, allowing you to automatically deploy updates to your site on every code commit.
AWS Experience
Beginner
Time to Complete
10 minutes
Cost to Complete
Total cost of hosting your static website on AWS is dependent on your usage
Outside of AWS Free Tier Limits: typically $1-3/mo.
Within AWS Free Tier Limits: typically $0.50/mo.
To see a breakdown of the services used and their associated costs, see pricing for AWS
Amplify and Amazon Route 53
Tutorial Prerequs
AWS Account with administrator-level access* Sign up for AWS.
Git provider: You can use AWS CodeCommit (included in the AWS Free Tier) or GitHub.
[*]Accounts created within the past 24 hours might not yet have access to the services required for
this tutorial.
Implementation
Create and connect repository
Confirm build settings
Save and deploy
Was this tutorial helpful?
Yes
No
Feedback
Host a static website with Amazon S3
You can also use Amazon S3 to host your static website. Hosting a static website on Amazon S3
delivers a highly performant and scalable website at a fraction of the cost of a traditional web server.
To host a static website on Amazon S3, configure an Amazon S3 bucket for website hosting and
upload your website content. Using the AWS Management Console, you can configure your Amazon
S3 bucket as a static website without writing any code. Depending on your website requirements,
you can also use some optional configurations, including redirects, web traffic logging, and custom
error documents.
For more information about hosting a static website on Amazon S3, including instructions and step-
by-step walkthroughs, refer to the implementation guide.
Congratulations!
You successfully built a static web application on AWS! As a great next step, dive deeper into AWS
Amplify and see the full set of tools and services for developing mobile and web apps on AWS.