Before Creation Make S3 and cloudfront Make sure to set origin in cloudfront and restrict bucket access