Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Jekyll on AWS

Jekyll on AWS

Slides presented at JekyllConf 2016

Julio Faerman

May 07, 2016
Tweet

More Decks by Julio Faerman

Other Decks in Programming

Transcript

  1. Why  host  a  jekyll website  on  AWS? • Free  and

     beyond • Higly Scalable and  durable  with  Amazon  S3 • "Do  It  Yourself"  with  Amazon  EC2 • Optimized  distribution  with  Amazon  CloudFront • Continuous  Delivery • Serverless Applications  Lambda,  API  Gateway   and  DynamoDB and  other  services
  2. region Availability  Zone Availability  Zone DNS Elastic Load   Balancer

    webserver webserver storage volume storage volume ?
  3. Amazon  S3  (Standard  Storage) • High  durability  (11  9’s) •

    High  availability  (4  9’s) • High  throughput – ”At  the  top,  I  was  pushing  more  than  one  gigabyte  of  data  to  S3  every   second  -­ 1117,9  megs/sec  to  be  precise  (…)  all  coming  from  a  single   machine. ” http://improve.dk/pushing-­the-­limits-­of-­amazon-­s3-­upload-­performance/ • Full  featured   – Static  Website  Hosting,  Security,  Versioning,  Events,  Lifecycle,   Acceleration,… • Free  tier • Low  cost
  4. Continuous  delivery Bloggers AWS   CodeCommit Github SNS topic SQS

    queue AWS CLI Amazon S3 email   notification HTTP   notification
  5. Continuous  delivery Bloggers AWS   CodeCommit Github SNS topic SQS

    queue AWS CLI Amazon S3 email   notification HTTP   notification Auto  Scaling  Group MIN=0  MAX=1 CloudWatch Alarm ApproximateNumberOfMessagesVisible
  6. Blogging  with  non-­hackers  too SQS queue Watchman Auto  Scaling  Group

    MIN=1  MAX=1 Amazon S3 Sync Client AWS CLI System Scheduler
  7. Can  I  haz AWS  Lambda? Bloggers AWS   CodeCommit Github

    SNS topic SQS queue Amazon S3 AWS Lambda
  8. Jekyll  for  Servless Applications Amazon DynamoDB Amazon S3 AWS Lambda

    Amazon   Machine   Learning AWS  IoT Amazon  API   Gateway Amazon   Elastic   Transcoder Amazon Cognito Amazon   Kinesis Amazon SWF client mobile client Client  Facing Backend #jekyllonaws