<?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 jarvis jones on Medium]]></title>
        <description><![CDATA[Stories by jarvis jones on Medium]]></description>
        <link>https://medium.com/@jarvisbjones?source=rss-898f8c0d4013------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Mi7yjnDnYwio5-EW</url>
            <title>Stories by jarvis jones on Medium</title>
            <link>https://medium.com/@jarvisbjones?source=rss-898f8c0d4013------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 11:32:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jarvisbjones/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[DynamoDB Use Case — CDA -05]]></title>
            <link>https://medium.com/@jarvisbjones/dynamodb-use-case-cda-05-19da754b22b6?source=rss-898f8c0d4013------2</link>
            <guid isPermaLink="false">https://medium.com/p/19da754b22b6</guid>
            <dc:creator><![CDATA[jarvis jones]]></dc:creator>
            <pubDate>Mon, 12 Aug 2024 05:14:14 GMT</pubDate>
            <atom:updated>2024-08-12T05:14:14.044Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>DynamoDB Use Case — CDA -05</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qpLdY-AOmKDjaj4GwPMCsg.png" /></figure><p>In this project we are going to use DynamoDB to create a database for the top 10 latest movies for LET’S GO! Media Inc.</p><p>Let’s get started</p><ol><li>Create a DynamoDB table for latest Movie releases</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2XvDVQ5bABKnsqz0ylrOYg.gif" /><figcaption>Make sure you name the Table and create a Partition Key. The Partition key will help with the listing of movies.</figcaption></figure><p>2. Add 10 latest movie releases to the table, including the title, genre, release date, and rating.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8rsxnIWGmvhnSIF7ddmshQ.gif" /><figcaption><em>Make sure you change your Movie_id each time so it number the movie. Also notice Rating has</em><strong><em> number</em></strong><em> in the type on instead of </em><strong><em>string</em></strong><em>.</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R-hijnU8ck1bomXKKB9tIg.gif" /></figure><p>3. Create a t.2micro Ec2 instance</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p5IIsVaT_C_JUlXUVKbiiQ.gif" /></figure><p>4. Using an IAM role and the principle of least privilege, grant the EC2 instance read access to DynamoDB.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-eOt93GHW-C2EcJehz1g4g.gif" /><figcaption>This will make sure that no one can write to the table, only read it.</figcaption></figure><p>5. Use the AWS CLI in the EC2 instance to scan the DynamoDB table</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O6IWPkVXTMSWasBfxkmmaQ.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jfV3a-5MLUTC0342xKzQpw.gif" /></figure><p>6. Use the AWS CLI in the EC2 instance to validate you cannot write an item to the DynamoDB table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jfV3a-5MLUTC0342xKzQpw.gif" /><figcaption>I tried to write in the CLI and it would not let me. That’s because I didn’t have permission to do so.</figcaption></figure><p>This project was kinda easy and fun to do. DynamoDB is a powerful tool that helps in so many ways.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=19da754b22b6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CI/CD Using Codepipeline — CDA 06]]></title>
            <link>https://medium.com/@jarvisbjones/ci-cd-using-codepipeline-cda-06-fd75c9f93d43?source=rss-898f8c0d4013------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd75c9f93d43</guid>
            <dc:creator><![CDATA[jarvis jones]]></dc:creator>
            <pubDate>Mon, 12 Aug 2024 04:34:52 GMT</pubDate>
            <atom:updated>2024-08-12T04:34:52.063Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>CI/CD Using Codepipeline — CDA 06</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mnccs5vwPWEdLoKksrVwMw.png" /></figure><p>OK, on this project my team has asked me to create a way to automate the deployment of a website. Currently our developers have to go through the process manually to test each new update to their code. I’ll need to provide the static site URL to the developers and also make a modification to the code in the Git repo to verify the pipeline is working.</p><p>This should be fun. Let’s get started!</p><p>Ok first, Create a new repository in GitHub or CodeCommit and load the attached HTML.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4yaYOPO9hlgwFn1cRFwFug.gif" /></figure><p>2. Next wegoing to Create and configure a S3 bucket to host your static website.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PBGkxADy8oUdJLmzgRm6jA.gif" /></figure><p>3. Then let’s Create a CI/CD pipeline using the <strong>AWS Codepipeline service</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FWhmApWPXtegve5eop6bZg.gif" /></figure><p>4. Next, Set your repo as the Source Stage of the Codepipeline that is triggered when an update is made to the repo. You will need to know your Github login info.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FWhmApWPXtegve5eop6bZg.gif" /></figure><p>5. For the deploy stage select your S3 bucket.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JUB6xG1j_Bw6cAT9-C9xkQ.gif" /></figure><p>6. Deploy the pipeline and verify that you can reach the static website.</p><p><em>At first it took me to the github.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TI20m2JinZqTwtPTwW058g.gif" /></figure><p><em>I clicked on the </em><strong><em>website.html</em></strong><em> copy icon and took me to the static website.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vFBI2eGgZSGqixWH15bRfw.gif" /></figure><p>7. Last, <strong>Make an update to the code</strong> in your code in the repo to verify that the codepipeline is triggered. This can be as simple as changing the wording in the file because any change to the files should trigger the workflow.</p><p><em>This is what the static website read at first beforeI made one small change.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vFBI2eGgZSGqixWH15bRfw.gif" /></figure><p><em>I change the </em><strong><em>“Stay Hungry” to “Stay thirsty”</em></strong><em> in the repo. This is the results once I pushed it through.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/983/1*c4XCkgYiGA_Giv8Sy2X2cg.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WMPrIW41AM4ZcqS31dsYBg.gif" /></figure><p><em>and just to make sure the change was made and have a little fun, I change the stay thirsty back to Stay Hungry and added my name to the list.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rVXQNCJoMg-Igmi8blP2Xw.gif" /></figure><p>I learned a lot on this project. As with everything here in Cloud and life, you get better with repitition. Looking forward to the next steps.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd75c9f93d43" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[REDIRECTING PROJECT]]></title>
            <link>https://medium.com/@jarvisbjones/redirecting-project-878b164374d1?source=rss-898f8c0d4013------2</link>
            <guid isPermaLink="false">https://medium.com/p/878b164374d1</guid>
            <dc:creator><![CDATA[jarvis jones]]></dc:creator>
            <pubDate>Thu, 20 Jun 2024 23:38:43 GMT</pubDate>
            <atom:updated>2024-06-20T23:38:43.001Z</atom:updated>
            <content:encoded><![CDATA[<p>WILDLIFE</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*T3bryrgXBqVYkf2Q6f6mrQ.png" /></figure><p>For this exercise I will list the instructions and show what it looks like to do each step. Let’s get started!</p><p>First let’s navigate to the Wildlife folder and see what’s in it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yh9ULbovN2aYLOOyLQHr4g.gif" /></figure><ol><li>Create a new file called `all-species.txt` that contains the combined contents of `angela-survey.txt`, `nico-survey.txt`, and `juan-survey.txt`. <strong>Do this using a single command!</strong></li></ol><p>We do this by using the “cat” command and listing the .txt files with space in between them. next we add “&gt;” or redirecting the output to specific file (which in this case is the all-spieces.txt file).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cU1bymr4sZ9rQpKOJ7TuVA.gif" /></figure><p>As you can see all the text from the individual .txt files are now combined in the all-spieces.txt file. The problem with the all-species.txt file is that it contains duplicate entries!</p><p><strong>2. Use a single command to sort the lines in alphabetical order, only sorting uniques, and send the output to a new file called sorted-animals.txt</strong></p><p>So the first step we going to do is sort them alphabetical order.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x3f_OcEcxUt8YFjxVpRDkg.gif" /></figure><p>Next we are going to remove all the duplicates by sorting the uniques. We do this by using the shortcut command <strong>“-u”</strong> to our sort then the .txt file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FFgrm2CCrka-2srFIREibg.gif" /></figure><p>Now that we removed the duplicates, we are going to send the output to a new file called sorted-animals.txt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XZfxUZB_N4E5p4YlvUOHoA.gif" /></figure><p><strong>3. </strong>Now, you go out for a nice morning stroll and stumble upon a large anaconda sunning itself on a log. You should add this observation to the list of species!!</p><p><strong>a. Start by appending the current date to the end of the `sorted-animals.txt` file using a command (don’t open the file manually!)</strong></p><p><strong>b. Then append the text “Green Anaconda” to the end of `sorted-animals.txt`</strong></p><p>Here is where we appending the current date to the end of the sorted-animals.txt file. We append a file or files by using <strong>“&gt;&gt;”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qnZVS7nszE_k0iX_siDzPQ.gif" /></figure><p>Now we will append the text “Green Anaconda” to the end of `sorted-animals.txt` once we do that we just cat to the sorted-animals.txt to verify that it is in there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5sC749UhvTbBkE5lQ9_PTA.gif" /></figure><p>Last step for this project: Run the non-existent command ughhh and redirect any error messages so that they are appended to the sorted-animals.txt file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7YIY0qBt4YX_2wgA6w9LJg.gif" /></figure><p>As you can we see we ran the command “ughh” and got the not found error message. We now want to append the error message to the .txt file. We do that by using the redirecting standard error command (2&gt;&gt;). Once we cat to the sorted-animals.txt file we can see the error command is now append at the bottom of the list.</p><p>THE END!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=878b164374d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GIVING PERMISSIONS — Linux]]></title>
            <link>https://medium.com/@jarvisbjones/giving-permissions-b3cec16e4531?source=rss-898f8c0d4013------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3cec16e4531</guid>
            <category><![CDATA[linux-tutorial]]></category>
            <category><![CDATA[linux-permission]]></category>
            <dc:creator><![CDATA[jarvis jones]]></dc:creator>
            <pubDate>Thu, 20 Jun 2024 22:59:17 GMT</pubDate>
            <atom:updated>2024-06-20T23:01:14.611Z</atom:updated>
            <content:encoded><![CDATA[<p>PROJECT SOLOUTIONS</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/1*DKjX5z0bJKoGFKTY5F-P5A.png" /></figure><p>So I’m back with another project. This time we are working on creating groups and users and giving them Permissions and access to their respective directory.</p><h3><strong>Here is the Objective</strong>.</h3><ol><li>Create 3 directories: Development, Operations, Analytics</li><li>Add several blank dummy files to each directory using the appropriate commands. Do not use a text editor.</li><li>Create 3 Groups in Linux: Developers, Operations, Data Analysts</li><li>Each group should only have view and access to their respective directory.</li><li>Use the chown command to change the owner of each directory to their respective group.</li><li>Use the chmod command to modify the permissions to the directory so that only the owner of the group can read, write and execute. Users should not be able to access the directory if they are not in the correct group.</li></ol><p>7. Create the following users with the associated information</p><ul><li>Jess Waller, username= jwaller, email=jwaller@‌levelupbank.com, group= Developers</li><li>Blake Dorsey, username= bdorsey, email=bdorsey@‌levelupbank.com, group= Operations</li><li>Joey Ewart, username= jewart, email=jewart@levelupbank.com, group= Data Analysts</li></ul><p>8. Switch to each newly created user and verify they are only able to see the directories associated with their Group and that they are able to view and open the files in the directory.</p><p>LET’S GET STARTED</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p-KCrbOPu2f6dD1O_bTH1w.gif" /></figure><p><strong>Create 3 directories: Development, Operations, Analytics </strong>&lt;&lt;</p><p><em>We create the directories by using the </em><strong><em>mkdir </em></strong><em>command followed by the name(s) of the folders.</em></p><p>- Add several blank dummy files to each directory using the appropriate commands. Do not use a text editor. &lt;&lt;&lt;</p><p><em>We add blank files by using the command </em><strong><em>touch </em></strong><em>followed by the name of the file(s).</em></p><p><strong>Create 3 Groups in Linux: Developers, Operations, Data Analysts</strong> &lt;&lt;&lt;</p><p><em>Create the groups by using the command </em><strong><em>groupadd</em></strong><em> then name of the file. These will have to be done one by one.</em></p><p>Each group should only have view and access to their respective directory.</p><ul><li>Use the chown command to change the owner of each directory to their respective group. &lt;&lt;&lt;</li></ul><p><em>We do this by first using the command chown, space, colon(:)Nameof group, space, then the Directory. We will do this for each group we have.</em></p><ul><li>Use the chmod command to modify the permissions to the directory so that only the owner of the group can read, write and execute. Users should not be able to access the directory if they are not in the correct group. &lt;&lt;&lt;&lt;</li></ul><p><em>Here we use the chmod command, space, numeric equivalent permission for the owner, group, and anyone else (world). Give full permission would be the number 7. No permission would be 0. Followed by the correct directory.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_DVAAuM2NKnmjWeaCX8i2g.gif" /></figure><p><strong>Create the following users with the associated information</strong></p><p>1. Jess Waller, username= jwaller, email=jwaller@‌levelupbank.com, group= Developers</p><p>2. Blake Dorsey, username= bdorsey, email=bdorsey@‌levelupbank.com, group= Operations</p><p>3. Joey Ewart, username= jewart, email=jewart@levelupbank.com, group= Data Analysts</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EeFNy1pJ3HcJUonBwyvulg.gif" /><figcaption><em>OK so here is where I had move the Directories to the root folder. For some reason they weren’t there they were in the home folder and not the ubuntu folder. So I fixed it as you can see. :)</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*th3PdUGfpdRmBgGdObsnxA.gif" /></figure><p><strong>LAST STEP: Switch to each newly created user and verify they are only able to see the directories associated with their Group and that they are able to view and open the files in the directory.</strong></p><p><em>As you can see above as I logged into each user I got a Permission denied until I reach the correct directory for the group the user was assigned.</em></p><p>This Project was a fun, but challenging one. It tested me and made sure I knew what I “THOUGHT”I knew lol. Thanks for your time and checking out this project. Hope this clear enough to understand. Until Next time…</p><p>#followthecloud #LUIT #DevOps #CloudEngineering</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3cec16e4531" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Secure Remote Administration and Troubleshooting of EC2 Instances- project #2]]></title>
            <link>https://medium.com/@jarvisbjones/secure-remote-administration-and-troubleshooting-of-ec2-instances-project-2-c4fd04ffefa5?source=rss-898f8c0d4013------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4fd04ffefa5</guid>
            <dc:creator><![CDATA[jarvis jones]]></dc:creator>
            <pubDate>Sat, 25 May 2024 16:57:41 GMT</pubDate>
            <atom:updated>2024-05-25T16:57:41.547Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/993/1*-MOcaQIfut1atpt9JGJfVQ.png" /></figure><p>Well I’m back with another project and this time we are working with our factious company to help Improved Productivity and Efficiency and Enhanced their Security. By doing this we can ensure secure, efficient, and reliable remote administration of their EC2 instances, thereby enhancing business operations and reducing potential risks.</p><h3><strong>Here is what we going to do:</strong></h3><ul><li>Deploy a Linux EC2 with keypair</li><li>Create a Security Group to allow SSH</li><li>SSH into the deployed EC2</li><li>Run the “whoami” command to verify you are in your EC2instance</li></ul><p>So let’s get started.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E3VKCS9UVKOMKddVKEoJHg.gif" /></figure><p>So first thing we need to do is create a instanace.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M3wNc_VHYrV_nCAv173MKQ.gif" /></figure><p>Then we will name our Instance. <strong>Do not</strong> leave any space between the name Also you can add tags if you would like. Then we stroll down.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C93MFIFGNg0DSl4CkRu7BA.gif" /></figure><p>Next we are going to create a key pair. A key pair is used to securely connect your instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UywtGLeCF43YTqjfXmaElg.gif" /></figure><p>Name your key pair. Remeber to not have space in the name. Use .pem as your private key file. click creat key pair. Once you create the key pair and it will download into you download folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EmCCQtjBYLJJww-gUdvZqA.gif" /></figure><p>Next we will configure some Network settings. Click on edit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xpk3pVD_pvYVxvrLbKqBvw.gif" /></figure><p>here we are going to create a security group. We are going to use ssh to connect the instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*STD6K1LUaL367EfJdRXWCQ.gif" /></figure><p>Be sure to name your security group and change the “Anywhere” tab to “My Ip”. Then Launch the Instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5_-Toll7tJ763lk4yqhfNg.gif" /></figure><p>Now lets connect the instances to the Ec2. Press connect at the top of screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XRGgcvf6-mZF1R1lQi0mww.gif" /></figure><p>Make sure we click on SSH client. We will follow the steps listed above to do so. Also Here is where you open the ”terminal” (if you are on a Mac). If you are on Windows open up “power shell”. This is what how will connect to our EC2 client from our computer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L5XHRmJ__UMpeoeo3knMqg.gif" /></figure><p>Alright so first we going to type in <strong>“pwd”</strong>. This is asking the computer where am I. As you can see we are in the users folder. Our home folder on our computer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Eku7JZSANSteyaNX21g0wQ.gif" /></figure><p>Now we want to change the directory so we can locate our key pair that is in our Downloads folder. The way we get into the Download folder we need to enter <strong>“cd”</strong> (change directory), space and then type “Downloads”. This is also case sensitve. click enter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/965/1*bzCwb8_6TPYQ0HjEgoaxCg.gif" /></figure><p>Here we can now see we are in our Downloads folder. We can now find our key pair we going to use to launch the instance we created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DA8eueGc6VPSJ2JSMvXqLw.png" /></figure><p>So now we go back to our steps and do step 3. copy the chmod 400… code. This changing the permisions of this file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*kSyxlsm0EJNR4OqMTNbu7g.gif" /></figure><p>copy the code and paste it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2RiWHDxubkyiYoYlUzqccw.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*ZLrDqfSrOJgzyO2irwDlkw.gif" /></figure><p>Next we move to step 4. We copy and paste the command here. (Well actually copy the Example link at the bottom of the steps)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*6XqH4KwO6vioaN3eapU_TQ.gif" /></figure><p>So after clicking enter you will get this warning. Basically it’s saying this is the first time I’m connecting to this server. Are you sure? And we will say or type “yes”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-tCfTB4ZwDTLUVTKAjX7vQ.gif" /></figure><p>Once we say yes we should get this( <em>on the black screen</em>). You are now inside the virtual machine (EC2)! Also as you can see you know you are in the right EC2 because the Private IP matches the instances we created and deployed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ADelAwLQKjNl8l_srXC-nQ.gif" /></figure><h3><strong>Now we need to configure credentials.</strong></h3><p>Go to the IAM in AWS console. Under quick links click on Mysecurity credentials.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*NkJSsp3xlFYbD81ckx8zeg.gif" /></figure><p>Stroll down to the Access keys and click on “create access key”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s1YXqx_ZslQuhy-KIjlFgw.gif" /></figure><p>Choose CLI then click next.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4JfqUbz6a59KfcJaZYE3Lw.gif" /></figure><p>Give it a name then click Create acess key. It will generate a access key for you.<strong> DO NOT SHARE THE ACCESS KEY</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*88RTgHO9FCmwvn-ZetCpYw.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tygn0iNt1MfmSUc4DLm6YA.gif" /></figure><p>Copy and paste your access key and the secret key. Also as your region name use “us-east-1 and format will be “json” click enter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hMPkMETlp9Zx7w-oU51XKA.gif" /></figure><p>As you can see above we have offically configured and also SSH into the deplyed EC2!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/971/1*0w4k8U3mv5Co0phLfUANng.gif" /></figure><p>Last thing we want to do is run the “whoami” command to verify you are in your EC2. You do that by typing “pwd” and press enter. Should see it read /home/ec2-user. Along with the private ip address from the instance. You can also check your security group and verify as well that it’s connected to the IP address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_s4kjLSkp6uQ20T4fUERkQ.gif" /></figure><h3><strong>THE END!</strong></h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4fd04ffefa5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create an S3 bucket using the AWS Console and upload the index.html file- wk 2 project]]></title>
            <link>https://medium.com/@jarvisbjones/create-an-s3-bucket-using-the-aws-console-and-upload-the-index-html-file-wk-2-project-6ee1f7809166?source=rss-898f8c0d4013------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ee1f7809166</guid>
            <dc:creator><![CDATA[jarvis jones]]></dc:creator>
            <pubDate>Fri, 17 May 2024 20:57:38 GMT</pubDate>
            <atom:updated>2024-05-17T20:57:38.600Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fVKGmE-yJOTm3BGLAlk_cw.png" /></figure><h3><strong>OBJECTIVE</strong></h3><ol><li>Create an S3 bucket using the AWS Console and upload the index.html file.</li><li>Modify the S3 bucket so that it can host a static website and can be reachable through the internet.</li><li>Verify internet access using the Bucket website endpoint and not by the Object URL. You can use a private or incognito browser to test.</li></ol><p>LET’S GET STARTED</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F5YWmS9HVFcQxSAEPpcgvA.gif" /></figure><p>First let’s create a bucket. Go to aws console and type in S3.once you there click on create bucket.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kO4-k5TSC2uQTDcmDFTbrA.gif" /></figure><p>Name your Bucket. Make sure you do not leaves spaces. Bucket name needs to be unique.</p><p>example: Jarvis-bucket-s3</p><p>Leave all other areas at the default. Create your bucket.</p><p>Now that we have a bucket let’s put something in it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s5Xq5Ij0f34Ik6KBIY29qg.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l0I6cOx9KXrEPJMn0ldlKQ.gif" /></figure><p>Upload the file or in this case the index.html file. You can access it from wherever you have it stored on your computer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zv3PeDe3R8PXTXJYxTEsTA.gif" /></figure><p>Once you upload the file this just let’s you know where it is going or the bucket that it is in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VvDXKZYTtEW3OUXNADNW1A.gif" /></figure><p>So here we see the object which is our index.html file is in our bucket. let’s now click on the file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F6-dxRzrAJZY744APInmWA.gif" /></figure><p>Now we are inside the properties of the file. click the “open” tab at the top and see where it takes us.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VovzM8eaJvMGKjVqLKQdSg.gif" /></figure><p>This what you should see. Now let’s go back to the object overview page and see what happens when you click the Object URL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jjrWURT8WJ34TelO_fv2yw.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nkr6S-nqm4ZiAbfYEF_dEw.gif" /></figure><p>Probably can’t see very clear, but the link doesn’t work. The Private URL works but the PUBLIC one doesn’t.</p><h3><strong><em>So how do we correct it?</em></strong></h3><p>We have to make some Security Policies in order for it to work. Let me show you how:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ChTFIH8zb1l8vXCFn6rw5Q.gif" /></figure><p>Go back to your bucket and click on the Permission tab. as you can see the public access in blocked for the bucket. We need to change that so we can see it pubicly. <em>WARNING</em>: Only do this if you want a public actions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nSkJZ6gym7rfoh9958Y92A.gif" /></figure><p>Uncheck the block all public access and then save change.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H2BNlmDxYWx0pz4wtVvNrQ.gif" /></figure><p>Enter confirm to allow public access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XxiKesq678QfeLLazmDN5A.gif" /></figure><p>As you can see the Block access is off. Now we need to create a Bucket Policy. Click edit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Io0luW_fbzQagAAiPk7pfA.gif" /></figure><p>Once we click on edit we going to go to Policy generator.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*25waG1-83tJlmcgbFoF2xQ.gif" /></figure><p>Here is where we need to do:</p><p>select the policy- Amazon S3</p><p>Effect- Allow</p><p>Principal- add * (This allows anyone on the Amazon S3 service to access it)</p><p>Actions- GetObject</p><p>Amazon Resource Name (ARN)- <strong>Is the bucket name with a “/ ” and with a “ * </strong>“ at the end.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l_X482DEM6VbkAZpSepZIw.gif" /></figure><p>Go back to the edit bucket policy and copy the name. and go back and paste it in the Amazon Resource Name (ARN). at the end type in the / and the *</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1yl9hMuGGpz296M2tjwYCg.gif" /></figure><p>Click on add statement then Generate Policy</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lrZLtDZvMQzR6ZZvYIES8w.gif" /></figure><p>Copy the policy and paste it in the Edit Bucket Policy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tojG2V888sK4aXtq2GizXw.gif" /></figure><p>Once you paste it in the policy space click save changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-G5xQHsMlAuRrtE2plDYfg.gif" /></figure><p>Now once you go back to the obect review click or copy the link and paste in a URL. You should get this…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VovzM8eaJvMGKjVqLKQdSg.gif" /></figure><p>This is how you know it is working on a public a URL.</p><h3>BUT now let’s make it a <strong><em>static website</em></strong>.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KJoJiYTfqrwBgS8iH7znEw.gif" /></figure><p>First lets go back to our bucket and click on Properties. Stroll all the way down the till you see Static Website hosting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7O2fkIOucrQqQMKSIxKUGg.gif" /></figure><p>Click on edit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ObOOqgn-LG8xfvNV2fiNjg.gif" /></figure><p>Enable the website hosting. Also add index.html to the index document and press save. Now go back to your bucket and click on properties. Stroll down and you should see now that the static website hosting has URL link.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sdy7e5r5b0rrVzFZIzEh_A.gif" /></figure><p>Copy the link into a browser to make sure that the link works</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q2e2NZs4xVPm_JEwBLBSOA.gif" /></figure><p>THIS IS WHAT YOU SHOULD SEE.</p><h3><strong>YAAY IT WORKS!!</strong></h3><p><a href="http://jarvis-s3-wk2-projects.s3-website-us-east-1.amazonaws.com/">http://jarvis-s3-wk2-projects.s3-website-us-east-1.amazonaws.com/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ee1f7809166" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EMBARKING ON A NEW CHAPTER]]></title>
            <link>https://medium.com/@jarvisbjones/embarking-on-a-new-chapter-ce7c896df40b?source=rss-898f8c0d4013------2</link>
            <guid isPermaLink="false">https://medium.com/p/ce7c896df40b</guid>
            <category><![CDATA[new-chapter-of-life]]></category>
            <dc:creator><![CDATA[jarvis jones]]></dc:creator>
            <pubDate>Wed, 15 May 2024 17:37:44 GMT</pubDate>
            <atom:updated>2024-05-15T17:37:44.866Z</atom:updated>
            <content:encoded><![CDATA[<p>Ten days ago I started LUIT (Level Up In Tech), and I am excited but also nervous to start a new career. I’ve been in Media for the last 15+ years. Ya’ll keep your boy in prayer! LOL</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ce7c896df40b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>