<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Robert Harrell on Medium]]></title>
        <description><![CDATA[Stories by Robert Harrell on Medium]]></description>
        <link>https://medium.com/@robert.harrell0708?source=rss-ffbb5b28105a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*y7mwQNQFxh9WU55lLASi7A.jpeg</url>
            <title>Stories by Robert Harrell on Medium</title>
            <link>https://medium.com/@robert.harrell0708?source=rss-ffbb5b28105a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 05:08:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@robert.harrell0708/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to host a Static Website on AWS]]></title>
            <link>https://medium.com/@robert.harrell0708/how-to-host-a-static-website-on-aws-1da5b3cbe88a?source=rss-ffbb5b28105a------2</link>
            <guid isPermaLink="false">https://medium.com/p/1da5b3cbe88a</guid>
            <category><![CDATA[cloud-services]]></category>
            <category><![CDATA[static-web-hosting]]></category>
            <dc:creator><![CDATA[Robert Harrell]]></dc:creator>
            <pubDate>Mon, 18 May 2026 05:03:13 GMT</pubDate>
            <atom:updated>2026-05-22T05:56:11.527Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*asXQq4e_mDSIoCa5VK9CzA.jpeg" /></figure><h3>Scenario:</h3><p>Level Up Bank is a made-up fintech startup that helps people manage their money online. They mainly get new customers through their website, where they can learn about all the cool services they offer and chat with the bank. Right now, their website is on a server they keep in-house, which means they have a team of IT folks who take care of it. This adds to their expenses and makes things a bit tricky to manage. To make things easier, Level Up Bank is switching their website to AWS S3.</p><h3>Benefits of hosting a website on AWS:</h3><ol><li>Cost savings: Hosting a static website on AWS S3 is a smarter financial move than using an EC2 or a server at your own place. That’s because AWS S3 only charges for the storage you use, and data transfer costs are low. In contrast, an EC2 instance comes with extra costs for power, storage, and data transfer.</li><li>Improved scalability: AWS S3 automatically scales up when your website gets busier, so you don’t have to worry about it. If your website gets more visitors, AWS S3 can easily handle the extra load without any downtime.</li><li>High availability: AWS S3 is designed to be reliable and available all the time, ensuring your website is always accessible to users. This is thanks to multiple availability zones and redundancy.</li><li>Reduced management overhead: Since AWS S3 takes care of everything, Level Up Bank can lighten the load on its IT team. This lets the team focus on more important things, like creating new banking features and making the customer experience better.</li></ol><h3>Creating a Static Website:</h3><p>First, you will need to create an S3 bucket.</p><ol><li>Sign in to the AWS Management Console and open the Amazon S3 console at <a href="https://console.aws.amazon.com/s3/">https://console.aws.amazon.com/s3/.</a></li><li>In the left navigation pane, choose General purpose buckets.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nZkr2gzV6uD5oLZ0O8uenQ.png" /></figure><p>3. In the buckets list, choose the name of the bucket that you want to enable static website hosting for.</p><p>4. Choose Properties.</p><p>5. Under Static website hosting, choose Edit.</p><p>6. Choose Use this bucket to host a website.</p><p>7. Under Static website hosting, choose Enable.</p><p>8. In Index document, enter the file name of the index document, normally it’s index.html. Then select save changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*1Vwwop0dty494tOvtfnyaQ.png" /></figure><p>Great news! The S3 bucket is all set for web hosting. Now, let’s get an index.html file created and uploaded to it.</p><h3>Creating an index.html file</h3><ol><li>Open your favorite text editor.</li><li>Copy and paste the code below and save as index.html.</li></ol><pre>&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br>&lt;head&gt;<br> &lt;title&gt;Level Up Bank&lt;/title&gt;<br> &lt;style&gt;<br>  body {<br>   margin: 0;<br>   padding: 0;<br>   font-family: Arial, sans-serif;<br>   background-color: black;<br>            color: white;<br>  }<br>  <br>  .container {<br>   max-width: 1200px;<br>   margin: 0 auto;<br>   padding: 20px;<br>  }<br>  <br>  h1 {<br>   text-align: center;<br>   font-size: 90px;<br>   margin-top: 50px;<br>   margin-bottom: 50px;<br>  }<br>  <br>  p {<br>   font-size: 18px;<br>   line-height: 1.5;<br>   margin-bottom: 20px;<br>  }<br>  <br>  .button {<br>   display: inline-block;<br>   padding: 10px 20px;<br>   background-color: #4CAF50;<br>   color: #FFFFFF;<br>   font-size: 16px;<br>   border-radius: 5px;<br>   text-decoration: none;<br>   margin-right: 10px;<br>   margin-bottom: 20px;<br>  }<br>  <br>  .button:hover {<br>   background-color: #3e8e41;<br>  }<br>  <br>  .feature {<br>   display: flex;<br>   flex-direction: row;<br>   justify-content: space-between;<br>   align-items: center;<br>   margin-bottom: 50px;<br>  }<br>  <br>  .feature img {<br>   max-width: 400px;<br>   max-height: 400px;<br>   margin-right: 50px;<br>  }<br>  <br>  .feature-text {<br>   flex: 1;<br>  }<br>  <br>  .feature h2 {<br>   font-size: 36px;<br>   margin-bottom: 20px;<br>  }<br>  <br>  .feature p {<br>   font-size: 24px;<br>   line-height: 1.5;<br>   margin-bottom: 20px;<br>  }<br>  <br>  .feature button {<br>   margin-top: 20px;<br>  }<br> &lt;/style&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br> &lt;div class=&quot;container&quot;&gt;<br>  &lt;h1&gt;Level Up Bank&lt;/h1&gt;<br>  &lt;div class=&quot;feature&quot;&gt;<br>   &lt;img src=&quot;https://www.simplilearn.com/ice9/free_resources_article_thumb/Introduction_to_Cyber_Security.jpg&quot; alt=&quot;Image 1&quot;&gt;<br>   &lt;div class=&quot;feature-text&quot;&gt;<br>    &lt;h2&gt;Secure Banking&lt;/h2&gt;<br>    &lt;p&gt;At Level Up Bank, we take security seriously. All of our accounts are protected with multi-factor authentication and 24/7 monitoring. Your money is safe with us.&lt;/p&gt;<br>    &lt;a href=&quot;#&quot; class=&quot;button&quot;&gt;Learn More&lt;/a&gt;<br>   &lt;/div&gt;<br>  &lt;/div&gt;<br>  &lt;div class=&quot;feature&quot;&gt;<br>   &lt;img src=&quot;https://news.okstate.edu/articles/agricultural-sciences-natural-resources/images/cash_app_banner.jpg&quot; alt=&quot;Image 2&quot;&gt;<br>   &lt;div class=&quot;feature-text&quot;&gt;<br>    &lt;h2&gt;Easy Transfers&lt;/h2&gt;<br>    &lt;p&gt;Sending and receiving money has never been easier. With our intuitive interface, you can transfer money to anyone, anywhere, with just a few clicks.&lt;/p&gt;<br>    &lt;a href=&quot;#&quot; class=&quot;button&quot;&gt;Learn More&lt;/a&gt;<br>   &lt;/div&gt;<br>  &lt;/div&gt;<br>  &lt;div class=&quot;feature&quot;&gt;<br>   &lt;img src=&quot;https://www.cloudtalk.io/wp-content/uploads/2021/12/Article-202105-FirstCallResolution-2x.png&quot; alt=&quot;Image 3&quot;&gt;<br>   &lt;div class=&quot;feature-text&quot;&gt;<br>    &lt;h2&gt;24/7 Support&lt;/h2&gt;<br>    &lt;p&gt;Need help with your account? Our customer support team is available 24/7 to assist you with any questions or issues you may have.&lt;/p&gt;<br>    &lt;a href=&quot;#&quot; class=&quot;button&quot;&gt;Learn More&lt;/a&gt;<br>   &lt;/div&gt;<br>  &lt;/div&gt;<br>  &lt;p&gt;Contact us today to open an account or learn more about our services:&lt;/p&gt;<br>   &lt;div class=&quot;contact-info&quot;&gt;<br>    &lt;p&gt;Level Up Bank&lt;/p&gt;<br>    &lt;p&gt;123 Main St&lt;/p&gt;<br>    &lt;p&gt;New York, NY 10001&lt;/p&gt;<br>    &lt;p&gt;Phone: (555) 555-5555&lt;/p&gt;<br>    &lt;p&gt;Email: info@levelupbank.com&lt;/p&gt;<br>   &lt;/div&gt;<br>  &lt;/div&gt;<br> &lt;/div&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;<br></pre><p>3. Lastly, upload the index.html file to your newly created S3 bucket.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lBdFyxx7dapHLSHOQT-pwQ.png" /></figure><p>Finally, let’s make sure your website is set up to allow public access! If you skip this step, your customers might get a “403 Forbidden” error when they try to visit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/1*oxpr84KIaSOjrt4Z-lzLlQ.png" /></figure><h3>Configuring Permission:</h3><p>To make your static website accessible, follow these steps:</p><p>1. Open the Amazon S3 console at <a href="https://console.aws.amazon.com/s3/">https://console.aws.amazon.com/s3/</a>.</p><p>2. Find the bucket you’ve set up as your static website.</p><p>3. Click on Permissions.</p><p>4. In the Block public access (bucket settings) section, select Edit.</p><p>5. Remove the Block all public access option and then click Save changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VRa6WGdBoJGeu6WsInakuw.png" /></figure><h3>Create a Bucket Policy:</h3><p>1. Go to Buckets and pick the name of the bucket you want to work with.</p><p>2. Select Permissions.</p><p>3. Under Bucket Policy, click Edit.</p><p>4. To give your website public read access, copy the following bucket policy and paste it into the Bucket policy editor.</p><pre>{<br>    &quot;Version&quot;: &quot;2012-10-17&quot;,<br>    &quot;Statement&quot;: [<br>        {<br>            &quot;Sid&quot;: &quot;PublicReadGetObject&quot;,<br>            &quot;Effect&quot;: &quot;Allow&quot;,<br>            &quot;Principal&quot;: &quot;*&quot;,<br>            &quot;Action&quot;: [<br>                &quot;s3:GetObject&quot;<br>            ],<br>            &quot;Resource&quot;: [<br>                &quot;arn:aws:s3:::Bucket-Name/*&quot;<br>            ]<br>        }<br>    ]<br>}</pre><p>5. Make sure the Resource is set to your bucket name. In the example bucket policy, Bucket-Name is just a placeholder for your bucket name. To use this policy with your own bucket, you’ll need to update this name to match your bucket’s name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7mWRzFPzlkyw-4Y60k0MQw.png" /></figure><p>6. Click Save changes.</p><p>You should now be able to visit your website using the <strong>“Bucket website endpoint”</strong> link that’s under the<strong> Bucket properties</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6_WUxutaXLdg8P-JHqez1w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8zh39IxBgqzWpQ_YrRA83A.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1da5b3cbe88a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>