
For example, you can automatically trigger updates to your site using the Amplify Console, S3, and AWS Lambda. You can continue to use S3 to sync your files while also leveraging the hosting features offered by the Amplify Console. Many developers use S3 for static hosting. Provide the URL and choose Save and deploy.
From the Amplify Console, choose Deploy without a Git provider and then choose Any URL. Change the query param at the end of the URL to “dl=1” to force the browser to download the link. Create a shared link for the uploaded zip file. Log in to your Dropbox account and upload your build artifacts zip file to Dropbox. Try making some code changes and upload a staging version of your site by choosing Add new environment. That’s it! Your site should be live at. Drag and drop the output folder as shown below and choose Save and Deploy. For example, you can host both a dev and prod version of your site. Every Amplify app can have multiple environments. On the following screen, enter your app name and the name of your environment. The easiest way to host your site is to drag a folder from your desktop: Any URL – upload files to your Dropbox account to host a site.įirst, if you have an existing app, run the following command to create an output directory (typically named dist or public):. Deploy files from S3 – upload files to an S3 bucket to push updates to your site automatically. There are three locations from where you can manually deploy files: This post describes how to deploy files manually from several different locations. You can now use Amplify hosting with your own CI workflows, or to quickly generate a shareable URL to share a prototype. The Amplify Console offers fully managed hosting with features such as instant cache invalidation, atomic deploys, redirects, and custom domain management. You can deploy files stored on your desktop, Amazon S3, or files stored with any cloud provider. Product Manager, AWS.ĪWS Amplify recently launched a manual deploy option, providing you with the ability to host a static web app without connecting to a Git repository. This article was written by Nikhil Swaminathan, Sr.