Closed njtimgeorge closed 3 years ago
Create a standard Amazon Linux workspace. This will be left as an exercise to the reader.
If you're on a budget, watch the directory service.
Set up github credentials: new secret key.
AWS on Amazon linux: https://www.aarondodd.com/aws/amazon/linux/jekyll/2019/02/17/running_jekyll_on_amazon_linux_2.html
amazon-linux-extras list sudo amazon-linux-extras install ruby2.6 sudo gem install jekyll bundler
Get ruby
Get jekyll
AWS workspace is expensive, complicated.
How about a Ruby docker container for all of the jekyll activities? Or even the jekyll container. Set up git. Set up AWS CLI. Etc
New strategy: download latest jekyll docker container and build in the container. Set up AWS CLI and github from within container.
make (build) make serve make deploy: deploy to S3 bucket as a zip
OK, new plan:
1) Console: create release bucket 2) Util: build 3) Util deploy.sh (deploy as zip?) 4) Console: create public bucket 5) CLoudshell: unzip and deploy
The workspace was too much administration, too heavyweight, and too expensive when considering recurring directory services charges. Got the job done anyway.
s3 bucket filesystem
ruby. Bundle?
jekyll install