Create Your AWS Static Website - Free

Deploy a static website on AWS with ease using S3 and CloudFront. Read guide below







Note: Some regions (e.g., Hong Kong, Bahrain, Cape Town) are opt-in. Ensure they are enabled in your AWS account settings.

Select a Design:

Frequently Asked Questions (FAQ)

1. What is this service about?

This service allows users to create a static website by sending a request to an API. The website will be hosted on AWS with a basic HTML & CSS template.

2. How do I create a website using this API?

You can create a website by making an API request using cURL, JavaScript Fetch API, Postman, or a direct URL with parameters.

curl --location 'https://5cm6nygur0.execute-api.us-east-1.amazonaws.com/create-website' \
--header 'Content-Type: application/json' \
--data '{
"aws_access_key": "YOUR_AWS_ACCESS_KEY",
"aws_secret_key": "YOUR_AWS_SECRET_KEY",
"region": "ap-south-1"
}'

3. Upload your own HTML files but not reflected in live?

You need to invalidate cache:
Go to AWS > CloudFront > Distributions > Click on your website distribution > Invalidations > Create invalidation > type here "/*" (without quotes only /*) > Create invalidation

4. What details do I need to provide?

Required parameters:
- AWS ACCESS KEY
- AWS SECRET KEY
- Make sure IAM user has full permission to create S3 Bucket and CloudFont

5. How do I create IAM user?

Login to AWS account:
* Search for IAM in searchbar and Open
* Go to Users > Create a User > type any Username >
* Set Permissions > Attach Policies > you need to add 2 policies
* AmazonS3FullAccess & CloudFrontFullAccess
* Create user
* To get Access Key and Secret Key read next step

6. How do I get my Access Key and Secret Key?

To get your API credentials:
1. Go to AWS Management Console.
2. Navigate to IAM (Identity and Access Management).
3. Click on Users and select your user.
4. Under Security Credentials, create a new Access Key.
5. Copy the Access Key ID and Secret Access Key (store it safely).

7. Where will my website be hosted?

The website will be hosted on AWS S3 cloud storage platform.

8. Can I edit my website after creation?

Currently, the API supports one-time website creation. To update, Login to your AWS account and upload updated HTML files and Style them.

9. Can I delete my website?

Yes, Any time you need to login to AWS account and delete S3 bucket and CloudFont.

10. Do we store anything?

No, we do not store anything all you keys will go away when you refresh website.

11. What if I face issues?

If you have any issues, check:
- Your API request format
- CORS settings (if using a browser)
- Error messages in the API response