<?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 Shanell Smith on Medium]]></title>
        <description><![CDATA[Stories by Shanell Smith on Medium]]></description>
        <link>https://medium.com/@13antiqua?source=rss-f8a4e2e10540------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Au1jnAhTWtCc_nkBFUZOSA.jpeg</url>
            <title>Stories by Shanell Smith on Medium</title>
            <link>https://medium.com/@13antiqua?source=rss-f8a4e2e10540------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 12:14:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@13antiqua/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 Auto Scaling group of EC2 Instances for high availability!]]></title>
            <link>https://medium.com/@13antiqua/how-to-create-an-auto-scaling-group-of-ec2-instances-for-high-availability-589f81129947?source=rss-f8a4e2e10540------2</link>
            <guid isPermaLink="false">https://medium.com/p/589f81129947</guid>
            <dc:creator><![CDATA[Shanell Smith]]></dc:creator>
            <pubDate>Sat, 15 Oct 2022 01:11:40 GMT</pubDate>
            <atom:updated>2022-10-15T01:11:40.046Z</atom:updated>
            <content:encoded><![CDATA[<p>Todays tasks is as follows:</p><p>FOUNDATIONAL</p><ol><li>Create a VPC with cidr 10.10.0.0/16</li><li>Create three public subnets with 10.10.1.0/24 &amp; 10.10.2.0/24 &amp; 10.10.3.0/24</li><li>Create an autoscaling group using t2.micro instances. All instances should have apache installed on each instance with the ability to check any random IP address and be able to produce a test page. Ensure the autoscaling group is using the public subnets from #2.</li><li>The autoscaling min and max should be 2 and 5.</li><li>Create an Application Load Balancer to distribute traffic to the autoscaling group.</li><li>Create web server security group that allows inbound traffic from HTTP from your Application Load Balancer.</li><li>Create a load balancer security group that allows inbound traffic from HTTP from 0.0.0.0/0.</li></ol><p>You will need an AWS account</p><h3><strong>Step 1:</strong></h3><p>Sign into your AWS account. You will navigate to the VPC dashboard and create a VPC. Once you click that button you will end up looking at the below screen. Here you will name your VPC and for settings I stuck with the default option which was “VPC and more”. Then per the project instructions I had to make sure the CIDR was set to 10.10.0.0/16. Leave the default settings for Tenancy and number of AZs I chose 3. Now we are ready to move on to step 2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/739/1*zDuEBI_wSSvfU29dxAlRhA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*0zo8n0QzORw2szVaMfeBBQ.png" /><figcaption>Tenancy and AZs Screenshot</figcaption></figure><h3><strong>Step 2:</strong></h3><p>We are now going to customize the public subnets to meet the project requirements. In this case we need to have 3 public subnets, so make sure where it says “Number of public subnets” the number 3 is selected. For “Number of private subnets” you can make that 3 as well which typically is the default. Now we must set the public subnets to the below (I typed in the numbers). I left the private subnets as is. I also did not touch NAT gateways and left VPC endpoints on the defaulted option which was s3 gateway. Lastly I left DNS options checked off and we can now “CREATE VPC”!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*VuuY8lV1V25T-1zAvmL3vQ.png" /></figure><p>It&#39;s time to get into the meat and potatoes of the task. We need to create an auto scaling group using t2.micro instances with apache installed on each instance. While also being able to check any random IP address and be able to produce a test page. We also need to ensure the autoscaling group is using the public subnets from step 2. So the first step in creating an auto scaling group is by going to “EC2” dashboard and clicking on “Instances” and then to “Launch Templates”. Click on “Create launch template” See below for reference:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5CPKKA0UjEqk32CiR7UHkw.png" /></figure><p>Once you click on Create launch template you will be asked to name your template. Please give your template a name as this is required and description if you wish as this is optional. You then want to make sure for Auto Scaling guidance you check the box. Here is what this section looks like for me:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1017/1*zetZa4bIPZeErnUWZhsmfQ.png" /></figure><p>Now the next portion is to choose the AMI. Under “Quick Start” I chose Amazon Linux AWS as this is free tier eligible</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*NsR_gLWYw8coNyoiUGnXiw.png" /></figure><p>Then for the instance type, you will also select t2.micro “Free tier eligible” and create a key pair if you dont already have one:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*-zvJ-56C8kOqF18DxPSqDg.png" /></figure><p>After creating you Key pair, lets configure the network settings as picured below and be sure to choose the VPC we created in step 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/967/1*fWcmTHfCyzd2Nm_0K4eCaQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/994/1*WNwwAzFuo9W6QslfwkJB1A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/949/1*Eh3rbJunNJa3grrwr1-TGg.png" /></figure><p>Now click on “Advance network configuration” as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/949/1*Eh3rbJunNJa3grrwr1-TGg.png" /></figure><p>Then under “auto-assign public IP choose “enable” as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/948/1*WmSplnMnOr9Po-r6UQUBEg.png" /></figure><p>Now scroll down to Advanced details and go all the way down to User data and input the following script. I have decided to use <a href="https://medium.com/u/4b08e1a3ed98">John White</a> bash script who used my previous bootcamp mates <a href="https://medium.com/u/219b8049d3f8">Kinsey Parham</a> script for my rpject</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/949/1*EN3hlmrmd-Z3lgYDsXp5eA.png" /></figure><p>Now let&#39;s click on create the template!</p><h3><strong>Step 3 through 7 is all right here, RIGHT NOW:</strong></h3><p>We are now going to create an auto scaling group by by clicking the “Create Auto Scaling Group”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5EPYqX4lwZEdkiPz8yOy0A.png" /></figure><p>We will need to name our group and choose the template we created as I have below, then click next:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/1*J-wBps6wuKge76hGCiYRaQ.png" /></figure><p>You will then see the Network section, where you will choose from the drop down the VPC you created. See below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/676/1*CwiJnYmU4W19MDryPebrrQ.png" /></figure><p>Now choose the 3 public subnets that you created:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/567/1*wuIXeGgqRkyXstTR1D1Rsw.png" /></figure><p>Then scroll past instance type and select next:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*K_9z6AOmZ-NytVzNGbAEYg.png" /></figure><p>We should now see load balancing options and we are going to click on “Attach a new load balancer”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*R0IDtjMHlf0vBP2ATubkqA.png" /></figure><p>and scroll down and select the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*Jnvbl7lc32CxklkbiuARkQ.png" /></figure><p>We will then move to the Listeners and routing section where under “Default routing (forward to)” we will choose “Create a target group” from the drop-down options as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/1*2AR6lLKgf00xR-N6vXn7Iw.png" /></figure><p>Now scroll down to additional settings and under monitoring choose to enable group metrics collection within CloudWatch and then next:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*fo-bHOoDjKRpPWTUbmze3g.png" /></figure><p>Now we are going to specify the size of the auto scaling group and per the project instructions the min is 2 and max should be 5 so I have gone with the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*sJImQQNKMNu6H8aQljmFug.png" /></figure><p>Then we well go down and select “Target tracking scaling policy” and then name the policy:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*kgkRJxIyU86AD2CoSxI6dg.png" /></figure><p>Now just click next until you are in the review stage and click on Create Auto Scaling group.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/667/1*5pX-vasePhfVncXKBrreUQ.png" /></figure><p>Once we see that our instances are both running, we want to verify we can reach our instances via the internet by typing in the public IP’s into our web browsers. If it works you should see a test page as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YFAxcguhAVyj-zc4razqSQ.png" /></figure><p>Once again, let&#39;s give ourselves some praise because we did it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=589f81129947" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Create an Ec2 Instance with a Webserver]]></title>
            <link>https://medium.com/@13antiqua/how-to-create-an-ec2-instance-with-a-webserver-836df48db8c8?source=rss-f8a4e2e10540------2</link>
            <guid isPermaLink="false">https://medium.com/p/836df48db8c8</guid>
            <dc:creator><![CDATA[Shanell Smith]]></dc:creator>
            <pubDate>Tue, 11 Oct 2022 02:31:02 GMT</pubDate>
            <atom:updated>2022-10-11T02:31:02.507Z</atom:updated>
            <content:encoded><![CDATA[<p>This week on the road to becoming a Devops Engineer with Level Up In Tech, my team has been asked to complete the following task:</p><p>**Project A**</p><p>FOUNDATIONAL</p><p>1. Create a t2.micro EC2 instance with the OS of your choice (Just make sure it is free tier).<br>2. In the user-data field, use a script that updates all packages, installs Apache, and starts the Apache service.<br>3. Verify that the instance has the apache webserver downloaded and installed through the public IP</p><p>Share the IP with your coach to verify!</p><p>Step 1 is to create t2.micro EC2 Instance with OS of your choice while making sure it is free tier. So you will want to navigate to AWS and sign into the console with your root user account. Once signed in you will go to the EC2 dashboard in order to create an instance. Make sure to click on the “Launch Instance” orange button displayed below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*4a4JVlcEqSvykTIICHQChQ.png" /></figure><p>The next step in creating a free tier instance is to name the instance. I have named mine</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6i38N1FOfpmT4ZLlJ3Nujg.png" /></figure><p>Then in order to make sure it is free you will choose a “Free tier eligible” OS. In my case I went with Amazon Linux 2 Kernel as dipicted below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*imiOF2EcYhx1GW4sb27Sow.png" /></figure><p>For my Instance type which is the next step, i choose t2.micro, see below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xt35Tg5sWoHF8cf0IGAN_g.png" /></figure><p>Then you will create a key pair in order to connect to your instance. Click “Create new key pair”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*36b_jbbCK9D7-OlpvtBnaQ.png" /></figure><p>Once you click create new key pair, the below screen will pop up and you will give you key pair a name and leave the key paid type as RSA and private key file format as .pem.</p><p>Now we can create the key pair by clicking the orange button. Make sure it is saved as you will need to access it later on in the project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*ilkpuYLSelGuNQTQStJzrQ.png" /></figure><p>Let&#39;s move on to the security section. In this section we are going to create a security group that allows others to access out instance so that our coach can verify our IP address is working. Follow the below screenshot and selections in order to ensure the coaches can reach our instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VeaqoFGingm58Be8JRKksA.png" /></figure><p>Now we are ready to launch our instance, click on the orange “Launch instance” button shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/1*2b80zgo15wH0T-EVBl10zQ.png" /></figure><p>Once the instance is running, you will go to your instance and click on Connect to instance and in order to connect you will do this via SSH, see below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KW5vCu9zZV4u-BHjfqEEjg.png" /></figure><p>You will follow the above steps via your terminal/command line interface:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UNy2VildKb6XF_mhC6ahbA.png" /></figure><p>After running the above commands and getting the above output, we are ready for step 2.</p><p>Step 2 is as follows: In the user-data field, use a script that updates all packages, installs Apache, and starts the Apache service. We will start by creating a file and then a BASH script that will automatically update all the packages, install Apache and start Apache for us. Let&#39;s get started!</p><p>I created a file named Shanellsfile.sh and after creating this file I used VIM by typing the following command to create a bash script:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/579/1*tPx40yG-X2flU4owDBybiA.png" /></figure><p>The bash script I used is below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o4c43Dhekrqpm_b3iSzUOg.png" /></figure><p>The above commands will update, install and start Apache and even display a message when the coaches visit my IP address over the internet to verify my instance works!</p><p>Now save and exit VIM and type in these two commands:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/885/1*oEL89tGEnRYLtrrCxQoL5w.png" /></figure><p>And you will see that the packages and updates were installed, ran and started!</p><p>We can now move on to the third and final step, TESTING OUR IP ADDRESS!</p><p>You will find your public IP address on your instance dashboard in AWS:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/526/1*7DQDggj-f8F3OZwGf7c_cw.png" /></figure><p>Once you have located your public IP address, type it into your search bar as is and VIOLA, we are successful!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eaak2p2kxRpFOaUoHCGGrw.png" /></figure><p>Congratulations, We did it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=836df48db8c8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Fork a Repository on GitHub]]></title>
            <link>https://medium.com/@13antiqua/how-to-fork-a-repository-on-github-52d08fdc3944?source=rss-f8a4e2e10540------2</link>
            <guid isPermaLink="false">https://medium.com/p/52d08fdc3944</guid>
            <dc:creator><![CDATA[Shanell Smith]]></dc:creator>
            <pubDate>Tue, 13 Sep 2022 18:56:56 GMT</pubDate>
            <atom:updated>2022-09-13T18:56:56.996Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cGhc54tf8cCwiPBOvxOJ2A.png" /></figure><h3><strong>What is GitHub?</strong></h3><p>GitHub is an internet-based service that helps developers build, manage and distribute their code. GitHub is a platform for software development and a way to manage and collaborate on projects. It is also currently one of the largest source code hosts in the world to date, so it is really beneficial to know.</p><p>This week in my bootcamp I have been asked to fork a repository using GitHub. Here is a complete and straightforward guide in doing so.</p><p><strong>The Task:</strong></p><ol><li>Fork the Level Up In Tech Repo Here: [<a href="https://github.com/LevelUpInTech/LevelUpTeam](https://github.com/LevelUpInTech/LevelUpTeam">https://github.com/LevelUpInTech/LevelUpTeam]</a><br>2. Clone the forked repo to your ACG cloud server environment<br>3. Using Vim, create a change to the file that is in the repo directory<br>4. Save the file and add to your local repo, then commit the file<br>5. Push the file back to your own GitHub repo<br>6. Send a pull request to merge with Level Up In Tech production repo</li></ol><p><strong>Prerequisites:</strong></p><ul><li>CentOS 7 server</li><li>Vim</li><li>GitHub account</li><li>Command-line terminal</li></ul><p>The First Step would be to SSH into your Centos 7 server. Once you are signed into your server you will need to fork the project. You will do that by visiting the project page and on this page, you will see the fork option that you need to click, and it will look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/235/1*hnD6L_6gOu54Hb_wuNDe9w.png" /></figure><p>The second step is to clone the forked repository to your local machine. You will do this by collecting the URL. To do so click on the green “Code” box on the upper right-hand corner of the page and simply copy it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*jE7dWJ5LV3UgFZZ-2QHPYg.png" /></figure><p>You will now need to install Git using the following command:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/556/1*2jrGywn1pGl6VRy9OAt3dA.png" /></figure><p>Now let&#39;s set up our identity in order to track our changes. You will do this by setting up your username and email by using the following commands:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/1*ngfytLw6xj_vHGuCxkeMCw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/811/1*FOrUH23_DrhgKMa6y7xlEQ.png" /></figure><p>We are now ready to clone the forked repository to our local machine. Using the URL we copied from GitHub, enter the following command:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*hg1zJP48IRcTZDtQXtVfsA.png" /></figure><p>Once the clone is complete, it will say done. You can check to see what files are in the repo by using the ls command as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*c_AqoIDMkr-FjWrKXOkwjQ.png" /></figure><p>I would like to see what files are in the LevelUpTeam folder therefore I will have to change directory into this file in order to list its contents. The command you will use to do so is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/555/1*q6Pw4Q5Ms4tpKCzD4gp-qA.png" /></figure><p>I have decided to make a change to the linux.sh file. In order to make a change you will need to use the VIM command to make any changes or edits to the file. Run the following command:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*viV_mwQnFskzCgSgyk651g.png" /></figure><p>Now that I have ran the command and made a change I will have to commit this change by running the following command:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EXvkvFgWi4vbhAkFZW5pWg.png" /></figure><p>We now want to Push the file back to GitHub but first you must create a Personal Access Token, otherwise you will receive an error message. Follow the below instructions on how to create a token:</p><ul><li>Go to Settings</li><li>Next click on Developer Settings</li><li>Choose Personal Access Tokens</li><li>Select Generate New Token</li><li>Name your token is being used for</li><li>Select the below privileges:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e7iN17bEtuPSfO7J008dww.png" /></figure><ul><li>Finally click generate token and copy the token code.</li></ul><p>Now we need to push the file back to GitHub and you will need the remote name. In order to get the remote name the command you will use is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/654/1*lTexOykbPaw6ht7_J9Fg4g.png" /></figure><p>Now in order to push the file back to GitHub use:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/1*REUa7BC3HNJuSUAjHa3ZVA.png" /></figure><p>You will need to enter your GitHub username and personal access token as your password.</p><p>Finally, you will send a pull request by going to your GitHub account and clicking “New Pull request”</p><p>You can make comments regarding the changes that you made to the repo. Then click “Create pull request”.</p><p>That’s it! The developer now has access to your contributions and will decide on whether or not to merge them with the main file.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=52d08fdc3944" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Install Apache Web Server on CentOS 8]]></title>
            <link>https://medium.com/@13antiqua/how-to-install-apache-web-server-on-centos-8-e6b7291323d2?source=rss-f8a4e2e10540------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6b7291323d2</guid>
            <dc:creator><![CDATA[Shanell Smith]]></dc:creator>
            <pubDate>Tue, 13 Sep 2022 00:04:09 GMT</pubDate>
            <atom:updated>2022-09-13T00:38:24.720Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/256/1*mkVitMMdPHrodhDcyNy7FQ.png" /></figure><p>Apache is a free, open-source web server. Created and actively maintained by the Apache Software Foundation, Apache is one the most commonly used open-source web server software’s to date. The advantages of an Apache web server include but are not limited to the fact that it is free, can easily be installed and is highly reliable. In this user-friendly post, you will learn how to install Apache web server using yum command on CentOS 8 and create a test page.</p><h3>Prerequisites:</h3><p>You will need access to a command prompt, CentOS 8 and a user host with sudo privileges.</p><h3>Step 1: Installing Apache Web Server</h3><p>You want to start out by making sure you are logged into your user account which should look similar to this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/319/1*BqzfDYsSSNyIfbkqrIvmzA.png" /></figure><p>Okay, now let’s begin Apache installation by typing in the following on the command line:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/1*dVO4rcdMTi8WszFfO4A7sQ.png" /></figure><p>You will be required to enter your user password. Once entered the packages will appear and the output should look like the below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V7ApCp2cyQmTgPAEHbnaVg.png" /></figure><p>To being the download simply type in “y” for yes. Once download begins it may take a few moments, however once completed it will say “Complete!”, see below for example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/129/1*61SZZs8DbG69ysODucOEJQ.png" /></figure><h3>Step 2: Managing the Apache Server</h3><p>After installation of the package is complete, use the following command to enable the Apache service and enter password as needed to proceed:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*B9Ce50642Nj2ncUsLTXWfw.png" /></figure><p>Now that we have enabled Apache, use the following command to start Apache:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*AaPix1vAwhT08U_klnGB-A.png" /></figure><p>Great! Now that we have enabled and stated Apache, let’s check the status of your server by entering the following command:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/727/1*ZtN4fU7a9uBniM50zcFaRA.png" /></figure><p>The output should look like the screenshot provided below, and as you can see Apache is active so let’s move on:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jIowHUzqVVwRjzP7Be0qmg.png" /></figure><h3>Step 3: Opening HTTP Firewall Port 80 &amp; Testing Your Webserver Page</h3><p>We can now access the webserver from our own machine. However, there is a HTTP firewall called port 80 that is blocking any other machine from accessing this webserver. So, let’s go ahead and remove this block by opening the port number 80. We are going to start by using the following command:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1zgU_T8l1tSyuJXHjNAGFg.png" /></figure><p>This means we are now ready to access our HTTP server test page. You can test your page by typing in the public IP address of your CentOS 8 server into your web browser. If done correctly, your test page will look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KecuhcXACf1J6dTFKsCkaw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6b7291323d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS-How to Launch an EC2 Instance in a Virtual Private Cloud (VPC)]]></title>
            <link>https://medium.com/@13antiqua/aws-how-to-launch-an-ec2-instance-in-a-virtual-private-cloud-vpc-3d2a3c098f0f?source=rss-f8a4e2e10540------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d2a3c098f0f</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-ec2]]></category>
            <category><![CDATA[aws-vpc]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <dc:creator><![CDATA[Shanell Smith]]></dc:creator>
            <pubDate>Mon, 14 Mar 2022 04:45:08 GMT</pubDate>
            <atom:updated>2022-03-14T19:41:58.111Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/405/1*xU5dP5Ii5c_9xDpERxHlXg.jpeg" /></figure><h3><strong>Prerequisites Needed: Create an AWS Account</strong></h3><p>You would first start out by logging into your AWS account. Once you have logged in you should end up on the console home page, there you will find a search bar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BzG_A1lJsrDoj1I153Hd1Q.png" /></figure><h3><strong>Create VPC:</strong></h3><p>The first step in this process is to create a VPC and in order to do so you will need to type in “VPC” in the search bar and click on it. Once you have clicked on that you will then click on “Your VPCs” to the left side of the screen. Then click on the orange box that says “Create VPC” on the upper right depicted below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/178/1*boYkcAlC1oDv-8OAs0Ispg.png" /></figure><p>You want to make sure “VPC only” is chosen and then you will need to name your VPC, for example, I named mine “my-vpc”. Next you want to insert your IPv4 CIDR block range and to ensure you have a wide range enter 10.0.0.0/16. You do not need IPv6 CIDR block so make sure you choose “No IPv6 CIDR block”. Then leave tenancy as default as well as tags and click on “Create VPC”. You have successfully created your VPC! Let&#39;s move on to the next step.</p><h3><strong>Create a Public Subnet</strong></h3><p>In order to create a public subnet you navigate to the left side of the page and click on Subnet. You should then see the below page:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z0q68tSMQJiGrC6-nWpvXA.png" /></figure><p>Now you will click on create subnet then choose the VPC you just created in the drop down. Once selected you need to name your subnet for example I used “my-public-subnet”. Next you need to choose your AZ (Availability Zone) and enter your IPv4 CIDR block as “10.0.0.0/24” and then click on create. Congratulations you have successfully created a subnet.</p><h3>Create Routes and Configure Internet Gateway</h3><p>Now you will need to create routes and configure the internet gateway. The first step is to click on the subnet you just created (“my-public-subnet”) and then click on the actions tab. Once you click on the actions tab, click on “edit subnet settings” in the drop down. See below for what this should look like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jDD0TkPjndyfzubZZCcDRg.png" /></figure><p>You will then need to enable auto-assign public IPv4 address and click save. See below for example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E30O9eTTCzrMgMIh6h6vFA.png" /></figure><p>Now on the left side of the screen, click on Internet Gateways and then click on create internet gateway. You will need to name your gateway, mine for example is “my-internet-gateway” and then click create. Now you will need to attach your internet gateway to a VPC. Therefore, the next step is to click on Actions and attach to a VPC. You then want to look for the VPC you created and attach it to your internet gateway.</p><p>Now we need to configure routing by clicking on Route Tables on the left of the screen. Create route table and name it “my-publicRT” next attach it to the VPC you created and click create route table. Now scroll down until you see “Edit routes” and click on this and then “Add route”. Set the destination as 0.0.0.0/0 and the target is internet gateway and choose your VPC and then save. Now click on subnet associations and then click on edit subnet associations and choose your subnet and then click save associations.</p><h3>Launch EC2 Instance in Subnet:</h3><p>Now its is time to launch our Ec2 instance in subnet by typing in “EC2” in the search bar and then click on it. Click on Instances to the left and then “launch instances”. Choose an Amazon Machine Image (AMI) I would choose the free one which is the Amazon Linux 2 Kernel. Then choose an instance type t2 micro which should also be free and then click on “Review and Launch” then choose Launch. You will now have to create a key pair, I would name is “my-key-pair” and then download key pair and once downloaded you can launch your instances. You should also see a green message at the top of the screen stating the below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cry87NASK4wl6gmX6pIzDg.png" /></figure><p>Access EC2 Instances</p><p>After launching your ec2 instances you should now be able to select your instance and click “Connect”. You will then see multiple ways to connect to your instance. See below for what this page would look like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7hAcKbHuSDM38UHKPoQDEg.png" /></figure><p>Now all you have to do now is click “Connect” and if you have done this correctly, the below is what you should see:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N6y6tDjU-mEe7l94b8h7Nw.png" /></figure><p>Congratulations, you have just successfully launched an ec2 instance in a virtual private cloud. I hope this article was helpful to you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d2a3c098f0f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>