Skip to content

panyapoc/simplestaticweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

SimpleStaticWeb

S3 Static Website

  1. Make S3 bucket to host the website
aws s3 mb s3://mybucket --region ap-southeast-1
  1. Copy the asset to the bucket
aws s3 cp ./dist s3://mybucket/ --recursive
  1. Create CF
aws

Use in WebServer

  1. Launch EC2: Amazon Linux 2 AMI
  2. Select t2.micro
  3. User data
#!/bin/bash
sudo yum install git
sudo yum install tmux
tmux
git clone https://github.com/panyapoc/simplestaticweb.git
cd simplestaticweb/
sudo python -m SimpleHTTPServer 80
  1. SG open port 80

About

simplestaticweb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published