Skip to content

Instantly share code, notes, and snippets.

View john20xdoe's full-sized avatar
:shipit:

Lee Alexis john20xdoe

:shipit:
  • Philippines
View GitHub Profile
@john20xdoe
john20xdoe / S3-Static-Sites.md
Created May 19, 2021 05:18 — forked from bradwestfall/S3-Static-Sites.md
Use S3 and CloudFront to host Static Single Page Apps (SPAs) with HTTPs and www-redirects. Also covers deployments.

S3 Static Sites

What this will cover

  • Host a static website at S3
  • Redirect www.website.com to website.com
  • Website can be an SPA (requiring all requests to return index.html)
  • Free AWS SSL certs
  • Deployment with CDN invalidation

Resources

@john20xdoe
john20xdoe / System Design.md
Created March 26, 2018 08:05 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?