Which AWS service is best for hosting a static website (HTML/CSS/JS)?
Answer
Amazon S3
Explanation
S3 can host static website content when you configure website hosting on a bucket. Static assets like HTML, CSS, and JavaScript can be served directly from S3. CodeDeploy and Batch relate to application deployment and batch processing, not static hosting. EC2 Auto Scaling is for running dynamic compute instances.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Which AWS service can provide content delivery closer to users to reduce latency?
View question →
Which statement about AWS security groups is true?
View question →
You want to deploy a highly available multi-tier web application. Which AWS architecture feature helps with availability?
View question →
In AWS, what is the primary purpose of Amazon S3?
View question →
Which AWS tool can be used to provision resources using infrastructure as code?
View question →
Which feature helps protect access to your AWS resources?
View question →