Manual deploys - AWS Amplify Hosting

Manual deploys

Manual deploys allows you to publish your web app with Amplify Hosting without connecting a Git provider. You can drag and drop a folder from your desktop and host your site in seconds. Alternatively, you can reference assets in an Amazon S3 bucket or specify a public URL to the location where your files are stored.

For Amazon S3, you can also set up AWS Lambda triggers to update your site each time new assets are uploaded. See the Deploy files stored on Amazon S3, Dropbox, or your Desktop to the AWS Amplify console blog post for more details about setting up this scenario.

Amplify Hosting does not support manual deploys for server-side rendered (SSR) apps. For more information, see Deploying server-side rendered apps with Amplify Hosting.

Drag and drop manual deploy

To manually deploy an app using drag and drop
  1. Sign in to the AWS Management Console and open the Amplify console.

  2. In the upper right corner, choose Create new app.

  3. On the Start building with Amplify page, choose Deploy without Git. Then, choose Next.

  4. In the Start a manual deployment section, for App name, enter the name of your app.

  5. For Branch name, enter a meaningful name, such as development or production.

  6. For Method, choose Drag and drop.

  7. Either drag and drop a folder from your desktop onto the drop zone or use Choose .zip folder to select the file from your computer. The file that you drag and drop or select must be a a zip folder that contains the contents of your build output.

  8. Choose Save and deploy.

Amazon S3 or URL manual deploy

To manually deploy an app from Amazon S3 or a public URL
  1. Sign in to the AWS Management Console and open the Amplify console.

  2. In the upper right corner, choose Create new app.

  3. On the Start building with Amplify page, choose Deploy without Git. Then, choose Next.

  4. In the Start a manual deployment section, for App name, enter the name of your app.

  5. For Branch name, enter a meaningful name, such as development or production.

  6. For Method, choose either Amazon S3 or Any URL.

  7. The procedure for uploading your files depends on the upload method.

    • Amazon S3

      1. For Amazon S3 Bucket, select the name of the Amazon S3 bucket from the list. Access control lists (ACLs) must be enabled for the bucket you select. For more information, see Troubleshooting Amazon S3 bucket access.

      2. For Zip file, select the name of the zip file to deploy.

    • Any URL

      1. For Resource URL, enter the URL to the zipped file to deploy.

  8. Choose Save and deploy.

Note

When you create the zip folder, make sure you zip the contents of your build output and not the top level folder. For example, if your build output generates a folder named “build” or “public”, first navigate into that folder, select all of the contents, and zip it from there. If you do not do this, you will see an “Access Denied” error because the site's root directory will not be initialized properly.

Troubleshooting Amazon S3 bucket access

When you create an Amazon S3 bucket, you use its Amazon S3 Object Ownership setting to control whether access control lists (ACLs) are enabled or disabled for the bucket. To manually deploy an app to Amplify from an Amazon S3 bucket, ACLs must be enabled on the bucket.

If you get an AccessControlList error when you deploy from an Amazon S3 bucket, the bucket was created with ACLs disabled and you must enable them in the Amazon S3 console. For instructions, see Setting Object Ownership on an existing bucket in the Amazon Simple Storage Service User Guide.