Category: 12. Deploying Gatsby

  • Conclusion

    When you’ve finished building your Gatsby site and have ensured no issues remain that block release, it’s important to give careful thought to deployment. You’ll want to facilitate the optimal deployment infrastructure for your site, both now and in the future. Thanks to environment variables, path prefixes, and asset prefixes, Gatsby provides a variety of…

  • GitHub Pages

    Though GitHub Pages isn’t a typical hosting platform, its ease of use means it’s a popular solution for Gatsby developers who want to host their websites directly through their GitHub repositories. There are three different options for Gatsby developers who have selected GitHub Pages for deployment: Use a path that corresponds to the GitHub account name…

  • Firebase

    Firebase, now part of Google, is a developer-oriented hosting platform that, like Heroku, offers a CLI for developers who wish to perform infrastructure operations through the terminal. Firebase enables deployment of both dynamic web applications and static sites to a global CDN. Before getting started with this service, users wishing to deploy Gatsby sites need to…

  • Heroku

    Heroku, now part of Salesforce, is a common hosting solution for both single-page JavaScript applications and static sites. The Heroku CLI offers rich interactions with Heroku’s build and deployment capabilities, as well as a variety of other features for continuous integration and continuous deployment. If you’re using the Heroku CLI, the quickest way to set up builds…

  • Amazon S3

    For Gatsby developers who desire deeper interaction with their deployments, Amazon S3 is a lower-level alternative to AWS Amplify. An object storage provider offered by AWS, Amazon S3 also provides an integration with Amazon CloudFront, a global CDN. Once you have an account with access to the AWS Console, you can install the AWS CLI and configure it…

  • Azure

    Azure is Microsoft’s native hosting platform, with a variety of services including serverless features and static website hosting through Azure Static Web Apps. The Azure Static Web Apps service also includes support for a built-in CDN, authentication, continuous deployment, and HTTPS. In order to utilize Azure as your static site host, your Gatsby site needs to…

  • 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,…

  • Gatsby Cloud

    Gatsby Cloud is a platform provided by Gatsby (the company), which was cofounded by Gatsby creator Kyle Mathews and Sam Bhagwat in 2019. Gatsby Cloud’s primary value proposition is the expertise of the Gatsby core team and tools catering directly to the Gatsby framework. As of this writing, Gatsby Cloud offers the following features: Quick Connect. Gatsby Cloud’s…

  • Vercel

    Like Netlify, Vercel (formerly known as Zeit) offers a cloud platform for static sites like Gatsby sites and a trigger-based mechanism from Git providers to conduct continuous deployment. Vercel’s offerings include autoscaling, a global edge network, asset compression, cache invalidation, and a zero-configuration developer experience. Like Netlify, Vercel is most powerful when integrated directly with a…

  • Netlify

    As of this writing, Netlify is one of the most popular solutions among Gatsby developers (including this author) seeking a convenient hosting platform for Gatsby sites. Netlify performs continuous deployments triggered by interactions with source control providers such as GitHub, GitLab, and Bitbucket, and it provides a slew of other features, including a global CDN, full…