Bash scripting for a hello world in the cloud; using bundling tools and deployment CLIs.
Nothing against the people at Vercel, nor next.js.
It's good to use a tool because it brings value and/or convenience to the workflow...
...But it's better when there is a contrast, and alternatives to compare with.
- Node LTS installed
- AWS CLI installed
- An AWS developer account (12 month free trial: requires willingness to give them a credit card)
3 steps is what we need to deploy. The essence of it, will be an index.html
file being read from the cloud:
- Generate the application's static build with webpack / parcel / vite (Create the readable
index.html
file. Runnable files, when deploying a server) - Set up a hosting account with AWS / Heroku (Set up rules in somebody else's computer, aka the cloud)
- Deploy through your CLI. CLI commands are easily runnable everywhere. (Push your updates to the cloud)