Skip to main content

Deploy your site

You can deploy your site manually using amplify cli or using amplify console.

Using Amplify CLI#

Run the following command to add hosting:

amplify add hosting

This adds the hosting resources to the backend.

Publish your site, run the following command:

amplify publish

This command will build and publish both the backend and the frontend of the project.

You can now deploy the build folder almost anywhere easily, for free or very small cost (read the Deployment Guide).

Using Amplify Console#

Getting started with Amplify Console

The AWS Amplify Console provides a Git-based workflow for developing, deploying, and hosting both the frontend and backend of your Amplify web app. Once you connect a feature branch, all code commits are automatically deployed to an amplifyapp.com subdomain or your custom domain.