Creating a Static Website Using S3 and CloudFront
The objective of the project is to host my CV as a static HTML website using S3 and CloudFront. The image above outlines the project workflow. I started by creating an S3 bucket with public access policy enabled then I upload my CV document as an HTML file. I then navigated to the CloudFront Console, created a new distribution and set the Origin Domain as the bucket created above. I then changed the Origin access from Public to Origin access control settings (OAC). Afterwards, I created a new OAC and selected it. I created the distribution the copied the CloudFront OAC to the bucket policy. This is as shown in the figure below. Once, that finished propagating, I copied the link to test my website. As the image above displays, the project objective was archived. Lessons Learned: Uploading a website on S3 allows you to easily edit and update it. S3 hosted website can be accessed from any browser. CloudFront ensure low latency Conclusion: You can successfully host a static website on S3 even without having a domain.

The objective of the project is to host my CV as a static HTML website using S3 and CloudFront.
The image above outlines the project workflow.
I started by creating an S3 bucket with public access policy enabled then I upload my CV document as an HTML file.
I then navigated to the CloudFront Console, created a new distribution and set the Origin Domain as the bucket created above. I then changed the Origin access from Public to Origin access control settings (OAC). Afterwards, I created a new OAC and selected it.
I created the distribution the copied the CloudFront OAC to the bucket policy. This is as shown in the figure below.
Once, that finished propagating, I copied the link to test my website.
As the image above displays, the project objective was archived.
Lessons Learned:
- Uploading a website on S3 allows you to easily edit and update it.
- S3 hosted website can be accessed from any browser.
- CloudFront ensure low latency
Conclusion:
You can successfully host a static website on S3 even without having a domain.