Hosting an SPA Using AWS

{
  "Version":"2012-10-17",
  "Statement": [{
    "Sid": "Allow Public Access to All Objects",
    "Effect": "Allow",
    "Principal": "*",
    "Action": "s3:GetObject",
    "Resource": "arn:aws:s3:::example.com/*"
  }
 ]
}

Misc

Security:

You need to invalidate cloudfront in order for the updates to s3 to be pushed.

Proper routing

Contact form