<?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 Sean-Patrick Moore on Medium]]></title>
        <description><![CDATA[Stories by Sean-Patrick Moore on Medium]]></description>
        <link>https://medium.com/@spfm993?source=rss-985f68ec0dae------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*97E87EsBTHzKZ5qgVHNg9w.jpeg</url>
            <title>Stories by Sean-Patrick Moore on Medium</title>
            <link>https://medium.com/@spfm993?source=rss-985f68ec0dae------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 07:19:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@spfm993/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[Secure Remote Admin while working with EC2 instances]]></title>
            <link>https://medium.com/@spfm993/secure-remote-admin-while-working-with-ec2-instances-95f51b127ae6?source=rss-985f68ec0dae------2</link>
            <guid isPermaLink="false">https://medium.com/p/95f51b127ae6</guid>
            <dc:creator><![CDATA[Sean-Patrick Moore]]></dc:creator>
            <pubDate>Sat, 25 Nov 2023 20:57:57 GMT</pubDate>
            <atom:updated>2023-11-25T20:57:57.278Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*IY3vH5LoVV8Q0EEW.png" /></figure><p>A quick look:</p><ul><li>What is an EC2?</li></ul><p>EC2 or an Amazon Elastic Compute Cloud gives scalable on-demand computing capacity to Amazon Web Services. It is an infrastructure as a Service(IaaS) solution. EC2 will refer generally to the renting of virtual machines. Due to it’s scalability you can launch as many or as few virtual servers as you need. It will also permit you to configure security, networking and manage storage. Payment plans for this can vary from the Free tier, on-demand instances, per-second billing and more to meet the flexibility required of scalable solutions.</p><p>To get a better idea of how AWS solutions can benefit your org’s bottom line, here is a link to their calculator: <a href="https://calculator.aws/#/">https://calculator.aws/#/</a></p><p>Keep in mind that EC2’s will allow you to also reduce hardware costs while deploying applications swiftly. Both major contributing factors when considering the impacts to a TCO.</p><ul><li>Case Study</li></ul><p>To begin working with EC2’s (assuming you have your account setup) you will go to the search bar and type EC2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*dOIYiOBEHXKq98yNK6N0cg.png" /></figure><p>Once in the the EC2 console you will be able to deploy. To deploy you will scroll down to where you see launch instance and click to begin setting the parameters of the instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*RlF2OBESGi-4Iyd5DcEkzA.png" /></figure><p>Once in there it should look like something below (unless AWS has update since this post).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/1*NbfnpOvtDaq07JW65LQFzw.png" /></figure><p>Make sure to name the instance. For this case study we will use amazon Linux as the base OS. After selecting your OS you would then pair it with an instance type. For this practice we would just select something within the free tier(typically default is t2.micro).</p><p>Our next option will be to create a key pair. Key pairs will assist in the administration and managing of instances remotely, critical for any team that may be globally spread out. It will also be necessary to enable this to use SSH later on, increasing security for the deliverables.</p><p>When creating your key, you will want to select RSA and “.pem”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/545/1*JMOpkm-6qmKoa0rS_YcUMw.png" /></figure><p>You would use “.ppk” if you have anything that is less than Windows 10. The remaining selections can stay in default mode for this example. You will then launch the instance. When you initially launch your instance it will be in pending state for the first few seconds. You will be able to select the refresh button until the instance state shows running.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*odBPC7FiawIDmtLjqOQqxg.png" /></figure><p>Once your instance is running we will want to create a security group to allow SSH into our newly deployed EC2 instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/194/1*fLvTlMKQ_0rlqJmWTBSWYg.png" /></figure><p>To create a security group, you will go to your sidebar of the EC2 console and select Security Groups. To check which security group you will be working with, you can look in the security section of your instance and see within the Security Groups subsection which one it is related to.</p><p>Once we have completed these steps, we will then be able to SSH into our deployed EC2. Ensure that your “.pem” file has been downloaded correctly. If not, please look back to see which steps were missed or check your most recent downloads in your browser as it should download automatically and than have been moved into your desktop folder on your device. Also, retrieve your Public IPV 4 address from your instance console.</p><p>When this case study goes to SSH the following steps are given for Windows 10 computer. For Windows 10 you can either utilize Windows Power Shell or Command Prompt(type ssh to ensure that the commands are available, if you don’t have the commands you will have to use the PuTTY). For the remainder this article will reference Windows PowerShell.</p><p>Check your directory in PowerShell with “get-childitem” or “ls” to see a current list. If you do not see your “.pem” file there, type “cd DE(click tab after typing “E”) to change to view desktop files and than “ls” to view the “.pem” file.</p><p>Then you will type in PowerShell “ssh -i name of the .pem file(tab to generate the autosuggest)”. Then you will type “ec2-user@(here you will insert your Public IPv4 address)” all on one line.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/290/1*FFYUw1KOnCNbwT4LYCZ2kA.png" /></figure><p>It will ask if you want to continue, you will type “yes” and continue and enter the machine. If you receive a key issues, go to your “.pem” file and select the file and then click properties. Go to the securities tab to change permissions. Ensure that you are the owner of the file. From here you can remove administrators and systems. To remove system you will have to disable inheritance by removing all inherited permissions from this object. Then, you will select add, and then select a principal. Once removed you will click add and give only yourself full control. You will click “OK” until the screen exits out completely. To check that it has been completed properly check the properties of the file once more and you should be the sole owner with permissions.</p><p>Now that you have corrected the permissions. Then you will type “ec2-user@(here you will insert your Public IPv4 address)” and you should not have any permission errors.</p><p>Finally, we will run the “whoami” command to verify you are in your EC2instance. Once this command confirms we are in our instance you have set up a basic remotely secure EC2 instance.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95f51b127ae6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simple S3 Static Website Process Overview]]></title>
            <link>https://medium.com/@spfm993/simple-s3-static-website-process-overview-672e5a9c0ed8?source=rss-985f68ec0dae------2</link>
            <guid isPermaLink="false">https://medium.com/p/672e5a9c0ed8</guid>
            <dc:creator><![CDATA[Sean-Patrick Moore]]></dc:creator>
            <pubDate>Sun, 19 Nov 2023 22:56:31 GMT</pubDate>
            <atom:updated>2023-11-19T22:56:31.920Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ve9Kr4Nvw2Dkj5sr.png" /></figure><p>A quick look:</p><ul><li>What is S3?</li></ul><p>S3 can be explained simply as a place to store information. However, there are aspects of S3 that make it unique to other data storage solutions(data being used as an overarching general term not specific to one type).</p><p>S3 is unique in that it is considered &amp; advertised as “infinitely scaling” storage. As you can imagine, this versatility makes it handy for businesses not quite sure on the rate of growth they may have. As much as anyone loves to hear the confidence in a sales team about projected numbers, anyone who has ever worked a commissioned based job has learned the valuable lesson of not “cashing a check before its been made”.</p><p>The infinitely scaling model allows a business to seamlessly grow within a “single product(S3)”. This can prevent product fatigue of the staff and relieve related departments.</p><p>This cost saving “scaling” function has led it to be the backbone of many major players throughout various industries. Below are some utilization examples of S3:</p><p>-Backup and storage</p><p>-Disaster Recovery</p><p>-Archive</p><p>-Hybrid Cloud Storage</p><p>-Application Hosting</p><p>-Data Lakes &amp; Analytics</p><p>-Static Websites</p><p>S3 is important because of how key product functions tie together to make it an economically viable solution for data storage. We have already briefly touched on the cost savings function and scalability, but what are some of the other key aspects? Two other key aspects are its durability and availability. Which all of these macro-level aspects, when piled together, make it a strong product.</p><p>Additionally, S3 can directly contribute to reducing management overhead. Not all companies can financially sustain on-premise servers either due to hardware cost or personnel costs. Even within S3 there are varying solutions that can be fitted to differing needs. As illustrated below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/0*lXD0b6IiCGI9cEfb" /></figure><p>Now that we discussed the rough basics of S3 and why it’s important lets take a look at a real world application of the resource through S3 Static Website Hosting. If you plan to follow along, ensure that you have an AWS account an index file(with your website) loaded and ready to go. If you don’t know where to find a website, you can always download Visual Studio and research how to quick code html and css.</p><ul><li>Case Study</li></ul><p>Once you log into your AWS account the quickest way to get to the correct dashboard would be to utilize the search bar for S3.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*a3AozGc26m0Ks6GAcwnCEA.png" /></figure><p>Your next page should look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*asNOOpUVW6RhIbwloP08kw.png" /></figure><p>Once here you will go ahead and create a bucket. When you are creating your bucket’s name, remember it must be <strong>globally</strong> unique. Which means that it can not have been created before. This bucket will be unique to whichever region you set it to. You will unselect S3 Block Public Access so that the static website functions correctly. If you forgot to do this before creating the bucket, you can go into the permissions section of the bucket and edit from there. <strong>NOTE</strong>: Be careful when you allow public access for company information, this is only being unselected for this case study example.</p><p>Once you create a globally unique bucket’s name and select it’s respective region(this will be where the bucket “lives) then you will select create bucket button.</p><p>For this case study everything else can be left on default.</p><p>If successfully created your next screen should look like below(pending AWS changes between now and you reading this):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QBas0OWFVuw3HCEDKLmTDA.png" /></figure><p>You will be able to enter into your bucket by clicking the blue hypertext of the name for the bucket generated. After entering into the bucket loading screen, select properties and scroll all the way to the bottom to <em>enable</em> static website hosting.</p><p>Once enabled is selected you will scroll to the section, Index Document and type in index.html.</p><p>After the hosting has been enabled you can upload the index file as an object into the bucket.</p><p>Now we will go back into the bucket dashboard and go into the permissions tab to generate a bucket policy. When you press edit, you can view policy examples for reference. You will also have the choice between adding statements or using the policy generator. For this example, we will be referring to the policy generator.</p><p>It should look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bjPczMYNHHXKp9Trm32wGw.png" /></figure><p>You will select an S3 Bucket Policy for the type of policy being generated. Effect will remain default and for principal type insert “*” to allow anyone access.</p><p>You will select for an action GetObject</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uOhDz4uyT5k1O2X7o0AMCg.png" /></figure><p>Amazon Resource Name (ARN) must be the buckets name(this can be found in on the same screen where you were editing the policy), followed by “/” and then “*”. You will then hit add statement before being able to select generate policy.</p><p>Generating the policy will give you the necessary code that you can then copy and paste in the policy page within your AWS bucket. You will want to make sure you save these changes before going to a new page.</p><p>Once you have created the policy your website would be accessible by going to the properties tab, scrolling all the way to the bottom and clicking the hyperlink text at the bottom of the static website hosting section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5zbL76LGmT8hvD_4OS62tg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=672e5a9c0ed8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>