Static websites are a brilliant way to create performant sites. My website is built using Gatsby and hosted on Amazon S3. I have created a simple script to help you quickly upload your site to S3 by running one simple command in your project terminal.

Prerequisites

Before we start, you must ensure that you have completed the following:

  • Install AWS CLI (Amazon Web Services Command Line Interface) on your machine.
  • Create a bucket in Amazon S3 (this is where we will be uploading our project files to).

This guide assumes that you have some familiarity navigating the AWS Console and each Amazon Web Service.

#aws-s3 #npm #amazon-web-services #amazon #aws #cloud #aws-services

How to Upload to Amazon S3 via AWS CLI and NPM scripts
1.30 GEEK