<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Akinlabi Alexander</title>
    <description>The latest articles on DEV Community by Akinlabi Alexander (@sir-alex).</description>
    <link>https://dev.to/sir-alex</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1466178%2Fa7786e29-96e8-46d8-bd76-dd42eec04bd5.png</url>
      <title>DEV Community: Akinlabi Alexander</title>
      <link>https://dev.to/sir-alex</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sir-alex"/>
    <language>en</language>
    <item>
      <title>10 LINUX COMMAND</title>
      <dc:creator>Akinlabi Alexander</dc:creator>
      <pubDate>Mon, 17 Jun 2024 11:09:12 +0000</pubDate>
      <link>https://dev.to/sir-alex/10-linux-command-1l33</link>
      <guid>https://dev.to/sir-alex/10-linux-command-1l33</guid>
      <description>&lt;h1&gt;
  
  
  Introduction
&lt;/h1&gt;

&lt;p&gt;Linux is an open-source operating system kernel originally developed by Linus Torvalds in 1991. Linux commands form the backbone of system management and interaction in Linux-based operating systems. They are powerful tools that allow users to perform a wide range of tasks efficiently from the command line interface.&lt;/p&gt;

&lt;p&gt;LINUX COMMANDS&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;cal: This displays the calendar. &lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu3gt29qsc3lo389rwekj.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu3gt29qsc3lo389rwekj.PNG" alt="Image description" width="404" height="202"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;export -p: This shows a list of all currently exported environment &lt;br&gt;
variables.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fonkorwvl1t72f2eky89o.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fonkorwvl1t72f2eky89o.PNG" alt="Image description" width="800" height="415"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;printenv: Displays the values of all evironment variables.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1i0klwqudvmbfv8fkbev.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1i0klwqudvmbfv8fkbev.PNG" alt="Image description" width="800" height="424"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;who: This shows who is currently logged in. &lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmvvuzi1krh3ulirgq4ty.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmvvuzi1krh3ulirgq4ty.PNG" alt="Image description" width="800" height="101"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;uname: This displays system information.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzkwfid1qlg2mvvq8kkpw.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzkwfid1qlg2mvvq8kkpw.PNG" alt="Image description" width="536" height="98"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;last: This shows the recent login history of users.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnapkwk2bopnhd7xeji1j.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnapkwk2bopnhd7xeji1j.PNG" alt="Image description" width="800" height="269"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;finger: This shows information about all the users currently logged into the system, including their usernames, login time and terminal.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh2mw42pnm2vtl7tcnp7i.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh2mw42pnm2vtl7tcnp7i.PNG" alt="Image description" width="800" height="73"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;last reboot: This shows reboot history&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F92ms0o05eno5zhbqch1p.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F92ms0o05eno5zhbqch1p.PNG" alt="Image description" width="800" height="82"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;df: This displays free disk space.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhlxj10r6sid5fyot91ym.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhlxj10r6sid5fyot91ym.PNG" alt="Image description" width="800" height="204"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;w: This shows which users are online and what they are doing.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fofs5a312ah7aymsbjvnb.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fofs5a312ah7aymsbjvnb.PNG" alt="Image description" width="800" height="92"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;p&gt;Linux commands are essential tools for managing files, monitoring system resources, and administering networks efficiently. Whether you're a system administrator, developer, or everyday user, mastering these commands empowers you to navigate and control Linux environments effectively. Their versatility and durability make Linux a powerful choice for a wide range of computing tasks, ensuring reliability and efficiency in system operations.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>HOSTING A STATIC WEBSITE USING AWS S3 BUCKET AND CLOUDFRONT</title>
      <dc:creator>Akinlabi Alexander</dc:creator>
      <pubDate>Tue, 11 Jun 2024 16:04:05 +0000</pubDate>
      <link>https://dev.to/sir-alex/hosting-a-static-website-using-aws-s3-bucket-and-cloudfront-e3k</link>
      <guid>https://dev.to/sir-alex/hosting-a-static-website-using-aws-s3-bucket-and-cloudfront-e3k</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjx69m1v9wt75icmwso4c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjx69m1v9wt75icmwso4c.png" alt="Image description" width="800" height="357"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Introduction
&lt;/h1&gt;

&lt;p&gt;In the ever-evolving landscape of web development and hosting, efficiency, scalability, and reliability are paramount. Amazon Web Services (AWS) offers a powerful combination of services for hosting static websites, leveraging the simplicity and affordability of Amazon S3 (Simple Storage Service) buckets, coupled with the global content delivery capabilities of Amazon CloudFront.&lt;br&gt;
Amazon S3 is an object storage service designed to store and retrieve any amount of data from anywhere on the web. Its simplicity lies in its ability to store data as objects within buckets, which act as logical containers. For hosting a static website, each HTML, CSS, JavaScript, image, or other static file is treated as an object within an S3 bucket. &lt;/p&gt;

&lt;p&gt;Amazon CloudFront: Global Content Delivery Network (CDN)&lt;br&gt;
While S3 provides a reliable storage solution, Amazon CloudFront takes static website hosting to the next level with its Content Delivery Network (CDN) capabilities. CloudFront accelerates the delivery of your website's content by caching it at edge locations around the world.&lt;/p&gt;

&lt;p&gt;By caching content closer to your users, CloudFront reduces latency and improves the overall performance of your website. Furthermore, it helps mitigate the impact of traffic spikes and distributes the load across multiple servers, ensuring a seamless browsing experience for visitors regardless of their geographic location.&lt;/p&gt;

&lt;h1&gt;
  
  
  Overview
&lt;/h1&gt;

&lt;p&gt;This guide outlines the steps to host a static website on AWS S3 bucket and accelerate its delivery using Amazon CloudFront content delivery network (CDN).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Prerequisites&lt;br&gt;
Before getting started, ensure you have the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An AWS account&lt;/li&gt;
&lt;li&gt;A static website ready to be hosted&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Creating S3 Bucket
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9t1id7k7urq6by1xd7mu.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9t1id7k7urq6by1xd7mu.PNG" alt="Image description" width="800" height="268"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Sign in to the AWS Management Console: Go to the AWS Management Console and sign in to your AWS account.&lt;/li&gt;
&lt;li&gt;Navigate to S3: Once logged in, you can find the S3 service by typing "S3" in the search bar at the top of the console. Click on the "S3" service from the search results. &lt;/li&gt;
&lt;li&gt;Enter any bucket name of your choice e.g alex-buc 
&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkcvhak95g2jd2in78poo.PNG" alt="Image description" width="800" height="385"&gt;
&lt;/li&gt;
&lt;li&gt;Review and Create: Review your configuration settings and click on the "Create bucket" button to create your S3 bucket.
&lt;/li&gt;
&lt;li&gt;Open the bucket you created&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Uploading Files and Folders
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmzbdiqxm4nc966tknvau.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmzbdiqxm4nc966tknvau.PNG" alt="Image description" width="800" height="373"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;To upload individual files, click on the "Upload" button. This will open a file selection dialog where you can select the files you want to upload from your local machine.&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Enabling static website hosting
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Open the bucket you created &lt;/li&gt;
&lt;li&gt;Click on properties
&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1pk7t19y4fjvmr1elsqt.PNG" alt="Image description" width="800" height="83"&gt;
&lt;/li&gt;
&lt;li&gt;In the "Static website hosting" settings, you'll find an option to enable static website hosting. Click on the "Edit" button.
Select the option to enable static website hosting.&lt;/li&gt;
&lt;li&gt;At first, it will be disabled
&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqg0jko0bj13cw6k8nsvw.PNG" alt="Image description" width="800" height="319"&gt;
&lt;/li&gt;
&lt;li&gt;Enable it 
&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft78fx6agi488tw4hsmdo.PNG" alt="Image description" width="800" height="434"&gt;
Specify the index document (e.g., index.html) and error document (optional) for your website.&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F99bn2d7uztqlok0pglzg.PNG" alt="Image description" width="800" height="276"&gt;
&lt;/li&gt;
&lt;li&gt;After configuring the static website hosting settings, click on the "Save changes" button to apply the changes.&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Creating CloudFront Distribution
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3wonitpsfgq6ixr610po.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3wonitpsfgq6ixr610po.PNG" alt="Image description" width="800" height="268"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Navigate to the CloudFront service by typing "CloudFront" in the search bar at the top of the console. Click on the "CloudFront" service from the search results.
&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwto6pre3ebqru6v3c02u.PNG" alt="Image description" width="800" height="149"&gt;

&lt;ul&gt;
&lt;li&gt;Enter your bucket details in the origin
&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4jaoyqgmdbu6n8qx0l6n.PNG" alt="Image description" width="800" height="412"&gt;
&lt;/li&gt;
&lt;li&gt;Edit the origin access from public &lt;/li&gt;
&lt;li&gt;Click on origin access control settings&lt;/li&gt;
&lt;li&gt;Origin Settings:
Choose the S3 bucket that you want to serve as the origin for your CloudFront distribution. You can either select an existing S3 bucket from the dropdown menu or specify the S3 bucket's website endpoint.
Leave other settings as default or configure them according to your requirements.
&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn929rfkakxv919gqyzrx.PNG" alt="Image description" width="800" height="404"&gt;
&lt;/li&gt;
&lt;li&gt;Scroll down and Enable security protection&lt;/li&gt;
&lt;li&gt;Implement AWS WAF to filter and block malicious traffic before it reaches your CloudFront distribution.
Create and associate WAF web ACLs (Web Access Control Lists) with your CloudFront distribution to define rules for filtering traffic based on IP addresses, HTTP headers, URI strings, and more.
&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3xzsch0k1iq50c5gws98.PNG" alt="Image description" width="800" height="285"&gt;
&lt;/li&gt;
&lt;li&gt;Click on the "Create Distribution" button to create your CloudFront distribution. Wait for Deployment: (It may take some time for your CloudFront distribution to deploy)&lt;/li&gt;
&lt;li&gt;Copy this policy and paste it inside the bucket policy. 
&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv2oftkgeedav56jxbm43.PNG" alt="Image description" width="800" height="298"&gt;
To do these;

&lt;ul&gt;
&lt;li&gt;click on bucket you created after copying the policy, &lt;/li&gt;
&lt;li&gt;go to your file permission 
&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Forzb8p2jq0lnsk1cy20f.PNG" alt="Image description" width="800" height="90"&gt;
&lt;/li&gt;
&lt;li&gt;edit the bucket policy and paste &lt;/li&gt;
&lt;li&gt;Paste it here and save click save
&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz6igjsca1hmyir9jkro1.PNG" alt="Image description" width="800" height="418"&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;Go back to your cloudFront and copy the distribution domain name
&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2ezbxwq36tunysj91zil.PNG" alt="Image description" width="800" height="388"&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Testing
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;Paste the distribution domain name on a new webpage&lt;/li&gt;
&lt;li&gt;Here is the result after running it successfully
&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5lsijmk98l2lb311dnfu.PNG" alt="Image description" width="800" height="432"&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With the following steps, I have successfully hosted a static website on AWS S3 bucket and accelerated its delivery using Amazon CloudFront. This website is now highly available and scalable.&lt;/p&gt;

&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;p&gt;Leveraging AWS S3 and CloudFront for hosting a static website offers a powerful, scalable, and cost-effective solution for web developers and businesses alike. By combining the simplicity of S3 with the global reach of CloudFront, you can deliver an exceptional web experience to your users while minimizing infrastructure overhead and maximizing performance.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
