DEV Community

Cover image for Deploying a Static Website to AWS S3 using Jenkins or Github Actions
amlan
amlan

Posted on

2 1

Deploying a Static Website to AWS S3 using Jenkins or Github Actions

Deploying a static website should be non-complicated as they just consist of simple HTML pages. They can also contain some dependencies on Javascript but just for some client side functionalities. In this post I will going through a process of easily deploying a static website without spinning up a hosting server. This will be a cost effective solution since there are no big costs involved to launch any web servers. The process I describe will also give you an easy way to host static HTML files or static websites.

In this post I will be describing two methods to deploy the static website to S3:

Using Jenkins: Build an automated pipeline on Jenkins to upload the static files to S3 bucket
Using GitHub Action: Use GitHub actions to upload the static files to S3 bucket

Read the full post here:

https://amlanscloud.com/jenkinsdeploys3/

Top comments (2)

Collapse
 
bayuangora profile image
Bayu Angora

With Vercel or Netlify, you can simply build and deploy static site without additional Jenkins or Actions.

Collapse
 
amlana24 profile image
amlan

Yep thats right. This was more of a learning exercise for me to build this in Jenkins.

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Explore a trove of insights in this engaging article, celebrated within our welcoming DEV Community. Developers from every background are invited to join and enhance our shared wisdom.

A genuine "thank you" can truly uplift someone’s day. Feel free to express your gratitude in the comments below!

On DEV, our collective exchange of knowledge lightens the road ahead and strengthens our community bonds. Found something valuable here? A small thank you to the author can make a big difference.

Okay