Cloud Hosting
Deploy your website on AWS with Amplify
Connect your project, let AWS build it, and open your public website.
GitHub stores your project. Amplify builds it and puts the website online. Start with a small website that already works on your computer. This example uses a React project made with your coding tool.
Before you start
- A working React project and a coding tool that can check its build.
- A GitHub account and permission to connect the project repository.
- An AWS account with Amplify access. Check your billing and Free Tier eligibility first.
Get the project ready
Ask your coding tool to check the website before uploading it.
Ask AI to run the build and note its command and output folder. Save the complete project to GitHub using your tool's GitHub connection or file upload. Leave out passwords and private API keys.
Check the project and explain what Amplify needs to build it.
Example request to copy
Prepare this React website for AWS Amplify Hosting. Check that its framework and Node.js version are supported, run its build, and fix build errors. Tell me the build command, output folder, and any required settings. Keep passwords, private API keys, .env files, and node_modules out of the GitHub upload. Tell me which checks you actually ran, then help me save the complete project to GitHub. Explain any step I must do myself.
The repository's top level contains package.json and the project files. You have the build command and output folder noted down.
Connect GitHub to Amplify
Choose the project that AWS will publish.
In the AWS Console, open Amplify and choose Deploy an app or Create new app. Select GitHub, authorize access to your repository, then choose that repository and its publishing branch, usually main. Choose Next.
Amplify reads the project and suggests build settings.
Need a little more help?
If GitHub does not list the repository, check that the Amplify GitHub App has access to it. If AWS asks for a service role, review the console-guided Create and use a new service role option. Ask your AWS account administrator if access is blocked.
The selected repository and branch appear in the app setup.
Check the settings and deploy
Use the build settings confirmed in step 1.
Compare the build command and output folder with your project notes. Correct them if needed, choose Next, review the app details, and select Save and deploy. Wait for deployment to finish.
Amplify installs dependencies, builds the project, and publishes the result.
Deployment succeeds and Amplify displays a website link.
Open it and share the link
Check what a visitor will actually see.
Open the amplifyapp.com link. Try the main links and buttons, then check the page on your phone. Share this website address.
Amplify serves the website over HTTPS.
Your website opens and its main action works.
Ready to finish?
- The public website opens over HTTPS.
- Its main links and action work on a phone.
- You have checked the app's AWS usage and billing.
Optional help & next steps
Optional: use your own domain
Keep the amplifyapp.com address until the website works. Then open the app's Custom domains settings and add a domain you own. Follow the DNS records shown for your app and wait for verification and HTTPS setup.
Your domain can use Route 53 or another DNS provider. You do not need to transfer it to AWS. Domain registration and renewal are separate costs.
When you change the website later
Save and push the updated code to the branch connected in step 2. With automatic builds enabled, Amplify starts another build and deployment. Check its status and open the website again after it succeeds.
If the build fails or a page does not open
Open the failed deployment and read its build log. Share the first relevant error with your coding tool, leaving out credentials and private values. Ask it to fix the project, push the change, and check the next deployment.
If the home page opens but another React page returns 404 when refreshed, ask your coding tool to check Amplify's SPA rewrite configuration. If your project needs a database, login, or a private API, ask it to identify those separate connections before treating the deployment as complete.
Cost and practice-app cleanup
Check AWS Billing and the app's usage after deployment. Builds, stored files, and visitor traffic can create charges; free benefits are not a promise of unlimited hosting. Other AWS services and external APIs have their own charges.
When you no longer need a practice app, use Amplify's app settings to delete that app after confirming it is the intended one. Check separately for any other resources or services you created. The AWS getting-started source below includes the cleanup procedure.
Sources, cost & review notes
Based on official AWS documentation reviewed November 4, 2026. We did not create an AWS account or perform a live Amplify deployment for this guide.
Amplify charges for usage such as builds, storage, and data transfer; server-rendered apps add compute charges. Free Tier benefits depend on your account. Check current pricing, credits, and billing before deploying. A custom domain is a separate purchase.
- Amplify Hosting: supported frameworks and Git deployments (opens a new tab) (reviewed 2026-11-04)
- AWS console flow: connect, build, deploy, and clean up (opens a new tab) (reviewed 2026-11-04)
- Check the detected build settings (opens a new tab) (reviewed 2026-11-04)
- GitHub repository access (opens a new tab) (reviewed 2026-11-04)
- Custom domains and HTTPS (opens a new tab) (reviewed 2026-11-04)
- Current Amplify pricing and Free Tier information (opens a new tab) (reviewed 2026-11-04)
Based on official AWS documentation reviewed November 4, 2026. We did not create an AWS account or perform a live Amplify deployment for this guide.