AWS Amplify

AWS Amplify is a service provided by Amazon Web Services (AWS) that offers a client library, a command-line toolchain, and an AWS Console for continuous deployment and static site hosting. With the Amplify CLI, Gatsby developers can provision full-stack implementations that account for in-app authentication, data storage, serverless GraphQL and REST APIs, web analytics, Lambda functions, and more. The Amplify Console grants access to both single-page application and static site hosting, as well as features such as continuous deployment, globally available CDNs, custom domains with HTTPS, feature branch deployments, and site-level password protection.

To use AWS Amplify, you need to create an AWS account and have a Gatsby site ready for import.

TIP

There is a Gatsby Auth starter with AWS Amplify available as an example of a Gatsby site optimized for use with this service.

Once you log in to the AWS Amplify Console, click “Get started” under the Deploy heading, which will take you to a wizard where you can connect a branch from your code repository managed by GitHub, GitLab, Bitbucket, or AWS CodeCommit. This allows AWS Amplify to perform continuous deployment. AWS Amplify will then prepopulate some default build settings, including environment variables.

After you click “Save and deploy,” the AWS Amplify Console will trigger a new build and deployment and make your build artifacts available at a URL that ends in *.amplifyapp.com. Once this process is complete, AWS Amplify will also display screenshots of your Gatsby site on various devices.

NOTE

For more information about AWS Amplify, consult the Gatsby documentation’s guide to Gatsby on AWS Amplify, the Gatsby blog post on publishing Gatsby sites to AWS Amplify, and the livestream by Jason Lengstorf and Nader Dabit on building and deploying Gatsby sites with AWS Amplify.


Posted

in

,

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *