To host a static website on Amazon S3, you configure an Amazon S3 bucket for website hosting and then upload your website content to the bucket. You can also use the AWS SDKs to create, update, and delete the website configuration programmatically. The SDKs provide wrapper classes around the Amazon S3 REST API. If your application requires it, you can send REST API requests directly from your application.
For more information about configuring your bucket for static website hosting using the AWS Management Console, see Configuring a bucket as a static website using the AWS Management Console.
For more information about using the AWS CLI to configure an S3 bucket as a static website, see website in the AWS CLI Command Reference. For more information about programmatically configuring an S3 bucket as a static website, see the following topics.
Topics