<?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 Jeff Vaval on Medium]]></title>
        <description><![CDATA[Stories by Jeff Vaval on Medium]]></description>
        <link>https://medium.com/@jeffvaval78?source=rss-a3a666024b2b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*OYqDrQmclcbo8Z6YTx_Dsw.jpeg</url>
            <title>Stories by Jeff Vaval on Medium</title>
            <link>https://medium.com/@jeffvaval78?source=rss-a3a666024b2b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 09:21:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jeffvaval78/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 Create An S3 Bucket With Public Access]]></title>
            <link>https://medium.com/@jeffvaval78/how-to-create-an-s3-bucket-with-public-access-214a84ec733d?source=rss-a3a666024b2b------2</link>
            <guid isPermaLink="false">https://medium.com/p/214a84ec733d</guid>
            <dc:creator><![CDATA[Jeff Vaval]]></dc:creator>
            <pubDate>Tue, 23 Apr 2024 00:27:25 GMT</pubDate>
            <atom:updated>2024-04-23T00:50:30.092Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*n-4Gd90p8EOZgKfsVut_Hw.jpeg" /></figure><p>Today we are going to focus on how to create an s3 bucket with public access. If you weren&#39;t aware S3 is an object simple storage service provided by AWS. S3 is cheaper option to store big chunks of data and it&#39;s also durable and highly available.</p><p><strong>First thing first logging on to your AWS account.</strong></p><ol><li>After logging on you are going to search for S3 in the search bar at the top or if you been on it recently it should be under recently visited.</li><li>When you get to the S3 Dashboard you are going to click “create bucket”, from there you are going to create a name for your bucket .Always remember your bucket name has to be unique or it will not work.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*VbrY9-b02UNA4wGoRpQ3FA.png" /></figure><p>3. Leave all the default settings as is and scroll down to create bucket. After some time and the bucket is created, you are going to open the newly created bucket.</p><p>4.From there you can start adding objects into your S3 bucket by clicking on “uploads” and add the file from your desktop. After the upload click on the file that you added, and it should give you information on your file and you should see an Object URL. If we use that URL, it should give us an access denied as such.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pICcRQeUd0Ky5TXpxKVPFQ.png" /></figure><p>5. After you get the error message go back into your bucket and click on ‘Permissions”. After clicking on it you should see ‘Block Public Access” click on edit and enable all public access and save changes and from there you going to type in confirm.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/614/1*rlx7u1T9x-LB38ZES5lksQ.png" /></figure><p>6.Last but not least you are going to create a bucket policy by going back to permission and clicking edit on bucket policy, then you are going to click on policy generator. Select S3 bucket policy for policy type, since we are allowing users to access, we are going to leave it on allow and for the principal we are going to use (*) it allows all users access. For the actions we are going to look and search for (GetObject) and select it that will allow every user access to get objects from your bucket. Finally, the Amazon Resource Name (ARN) if you go back to the bucket policy page it should be under bucket ARN copy and paste it into the policy generator and add “/*” that action give all the users access to every object you have in the buckets, from there click add statement and generate the policy, copy and paste the policy into bucket policy and save changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vpn7iybVWkiadocddFUXJw.png" /></figure><p>7.After the bucket policy is created, you are going to go back to that URL refresh the page or open the link in incognito mode and VOILAS 👌, that is how you create an S3 bucket with public access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F4FZFogRnrb7aEzbwBVyuA.png" /></figure><p>🙋🏾‍♂️🙋🏾‍♂️🙋🏾‍♂️🙋🏾‍♂️🙋🏾‍♂️🙋🏾‍♂️🙋🏾‍♂️🙋🏾‍♂️🙋🏾‍♂️🙋🏾‍♂️🙋🏾‍♂️🙋🏾‍♂</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=214a84ec733d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Create An Apache Server Using Amazon LINUX]]></title>
            <link>https://medium.com/@jeffvaval78/how-to-create-an-apache-server-using-amazon-linux-41157ad506ed?source=rss-a3a666024b2b------2</link>
            <guid isPermaLink="false">https://medium.com/p/41157ad506ed</guid>
            <dc:creator><![CDATA[Jeff Vaval]]></dc:creator>
            <pubDate>Sun, 07 Apr 2024 20:24:15 GMT</pubDate>
            <atom:updated>2024-04-07T21:20:06.607Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/307/1*p9ut3qLO6-jOKar19ygsRg.png" /></figure><p><em>In this project I am going to create an Apache server using Amazon Linux. Before we start there&#39;s a couple of things we need to do before we start, such as launching your EC2 Instance or updating all your packages on the server, installing an Apache HTTP web server and enabling the Apache server.</em></p><p><strong>First thing fist launching your EC2 Instance</strong></p><ol><li><em>Log on to your Aws account and navigate to the console panel and search for EC2. When you get to the EC2 dashboard on the left-hand side you should look for Instances and click on it and launch instances.</em></li><li><em>From there you are going to choose your instance name and for the AMI you are going to choose the AMAZON LINUX since it&#39;s in the free tier, we don&#39;t want to spend more money than we need to. Select the instance type t2.micro, it’s also in the free tier.</em></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a0bBlADHntySB-V7W8jlbQ.jpeg" /></figure><p><em>3. Next we are going to create a key pair so you can log into your instances. After choosing a name you can just create it with the default settings. This is an important part make sure you know the folder that the key pair is going to be downloaded into.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/457/1*ZKbpnHvNM2b45YeK3pnSHw.png" /></figure><p><em>4. When you get to network settings you are going to create a new security group. As the name intel it&#39;s going to act like a security guard that controls ingoing and outgoing traffic into your server. Make sure you pick the rule that allow “SSH traffic From My IP”</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*he9zAwIWcVhvQKHHPjDLrQ.png" /></figure><p><em>5. Everything else can stay as default and you can go head and create your instance.</em></p><p><em>It takes a couple minutes before it become operational if you go to all your instances, you should see that it&#39;s in a running state as shown below.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qbj9QK-5ck5xWI4EHuA-lw.png" /></figure><p><em>6. Open the instance you created and at the top right you should see a connect button click on it and it should open a page with four options and from those four you are going to click on SSH Client and follow the prompt.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*nlQufAYqp-jfslkyHNpw7Q.png" /></figure><p><em>Open your command prompt or whichever service that you use. For example since I am on windows I&#39;m going to be using PowerShell. Locate the folder with the key pair. In my case its in my downloads I’m going to navigate my prompt into the Downloads folder using the Command (cd). type cd Downloads and it should switch your folder as such. Copy the example on the ssh client and run it on the command prompt, it will ask “Are you sure you want to continue with the connecting?” you will type yes.</em></p><p><em>Boom now you are connected.</em></p><p><strong>Installing Apache Server</strong></p><p>To install the Apache server, we need to run a couple commands first.</p><ol><li>Updating all packages by running the command</li></ol><blockquote><em>sudo yum update -y</em></blockquote><p>2. This command install the Apache HTTP Webserver</p><blockquote><em>sudo yum install -y httpd.x86_64</em></blockquote><p>3. Start the Apache webserver</p><blockquote>sudo systemctl start httpd.service</blockquote><p>4. Enable Apache Server</p><blockquote><em>sudo systemctl enable httpd.service</em></blockquote><p>After these 4 steps your Apache server should be installed.</p><p>Go back to the EC2 Instance you created and copy the public IP address and paste it into a new page on your browser. You should get an error messase saying that this webpage can’t be reached.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DevuC3gmTS9Rlncn--MeXg.png" /></figure><p>The reason you are receiving this message is if you can remember early on we created the security group which only allowed SSH connection into it. We stopped the web traffic from being accessed into, to change this error you are going to open your instance and go on the security tab and scroll down till you see the security group that&#39;s attached to it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QlKxEVkpzVBnnKluAYAkug.png" /></figure><p>click on the security group and from there it should open a new tab, when the tab opens click on “edit inbound rule.” Add 2 new rules HTTP and HTTPS, that&#39;s going to allow traffic into your webserver.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fUiVfh9Fz7zfrQMyRhJ2jw.png" /></figure><p>Save the new rules and refresh the error page, or open a private browser and launch the public IP address again and you should get a message that says “It Works”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rmnkIseOtzXnJG0aZGRAvg.png" /></figure><p>CONGRATULATIONS 👌 You’ve learned how to create an Apache Webserver using LINUX.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41157ad506ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Host A Static Website With Amazon S3 Buckets]]></title>
            <link>https://medium.com/@jeffvaval78/how-to-host-a-static-website-with-amazon-s3-buckets-ee05237a400d?source=rss-a3a666024b2b------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee05237a400d</guid>
            <dc:creator><![CDATA[Jeff Vaval]]></dc:creator>
            <pubDate>Mon, 18 Mar 2024 18:37:33 GMT</pubDate>
            <atom:updated>2024-03-18T18:37:33.201Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*p9eiLdTzcznolenFCnLZEw.jpeg" /></figure><h4><strong><em>In this article we are going to learn how to create a static website using S3 buckets.</em></strong></h4><ol><li>When you first login AWS, it&#39;s going to take you to the console screen and from there you can search for S3 in the search bar at the top or if you already have it on your recently visited you can also use it from there as shown below.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PLxtS-LOCkcLM9FL2RVj-g.png" /></figure><p>2. We first need to create a bucket to host our website from there you’ll need to choose a domain name, the domain name must always be unique, or it won&#39;t create the S3 bucket. Make sure to leave all the settings as default and create your bucket.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_9frbt2fT4XTR0KPj3zvFQ.png" /></figure><p>3. After your bucket is successfully created, you will need to upload your files into the bucket, for this example we are going to use (index.html). After the upload click on the file that you added, and it should give you information on your file and you should see an Object URL. If we use that URL it should give us an access denied as such.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MU_0eRxwk_pQIkpHAtk1nw.jpeg" /></figure><p>4. We need to enable the static website settings and to do that we need to go to our newly created bucket and click on Properties and scroll all the way down till you find “Static website hosting.” and click edit and enable. For the index document name we are going to keep it simple and name it the same as the file we uploaded into our bucket and click save changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wgr4otgTxoLmUDCSYVtO0Q.png" /></figure><p>5. The next step is to go to permission and find “Block public access” and click on edit and enable all public access and save changes and from there you going to type in confirm.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*exuSH-HLMAdEI1xx61CiDA.png" /></figure><p>6. Last but not least you are going to create a bucket policy by going back to permission and clicking edit on bucket policy, then you are going to click on policy generator. Select S3 bucket policy for policy type, since we are allowing users to access, we are going to leave it on allow and for the principal we are going to use (*) it allows all users access. For the actions we are going to look and search for (GetObject) and select it that will allow every user access to get objects from your bucket. Finally, the Amazon Resource Name (ARN) if you go back to the bucket policy page it should be under bucket ARN copy and paste it into the policy generator and add “/*” that action give all the users access to every object you have in the buckets, from there click add statement and generate the policy, copy and paste the policy into bucket policy and save changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZRDcBlPPqSRKHoqBSYo5HA.png" /></figure><p>7. Go back on the bucket you created and click on properties once more, scroll all the way down to static website hosting and you should see a bucket website endpoint URL copy and paste it into a new tab and <strong>BOOM</strong> Congratulations you just created a static website using S3 Buckets.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee05237a400d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>