<?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 Osman Akinyera on Medium]]></title>
        <description><![CDATA[Stories by Osman Akinyera on Medium]]></description>
        <link>https://medium.com/@ossniper?source=rss-59cd9783aa4d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ZZtgnuTDdlvoEepnlu9gfg@2x.jpeg</url>
            <title>Stories by Osman Akinyera on Medium</title>
            <link>https://medium.com/@ossniper?source=rss-59cd9783aa4d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 15:15:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ossniper/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[AWS Application Migration Service (Usually CloudEndure Migration or AWS Server Migration Service)]]></title>
            <link>https://medium.com/@ossniper/aws-application-migration-service-usually-cloudendure-migration-or-aws-server-migration-service-c1d3775a871?source=rss-59cd9783aa4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1d3775a871</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[web-server]]></category>
            <category><![CDATA[migration]]></category>
            <category><![CDATA[on-premise]]></category>
            <dc:creator><![CDATA[Osman Akinyera]]></dc:creator>
            <pubDate>Sat, 02 Jul 2022 07:29:42 GMT</pubDate>
            <atom:updated>2022-07-02T12:35:57.708Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4B101OBgxJ04T6wRpBLlLA.png" /><figcaption>AWS MGN</figcaption></figure><p>I was trying to apply for a task on upwork about cloudendure and could not find it on AWS service, after some research i realized a new service has been deployed which is more efficient and stress free.</p><blockquote><strong>What is AWS MGN</strong></blockquote><p>AWS MGN is a highly automated lift-and-shift solution, which works by replicating your on-premises (physical or virtual) or cloud servers into your AWS account.</p><p>AWS MGN automatically converts and launches your servers on AWS so you can quickly benefit from the cost savings, productivity, resilience, and agility of the cloud. Once your applications are running on AWS, you can leverage AWS services and capabilities to quickly and easily replatform or refactor those applications.</p><p><strong>What are the steps involved?</strong><br>The key steps of this migration process are:</p><blockquote>Create IAM user with programmibility access for AWS Replication Agent.<br>Attach custom VPC with public or private subnet<br>Attach security group with correct ports open to your custom IP address or 0.0.0.0/0. <br>Create the Replication Settings template in the AWS MGN Console<br>Install the AWS Replication Agents on source servers<br>Configure the Launch Settings in the AWS MGN console<br>Launch the test instances<br>Launch the cutover instances<br>Finalize cutover</blockquote><p>AWS MGN requires network connectivity to and from your on-premises environment and within your Amazon VPC.<br>You can create more subnet depending on your requirement. In a situation where you have a web server in public subnet and Database in a private subnet, then you have to create two subnet, also route tables and also security groups for public and private subnet.</p><p>In this blog. I will be working with a linux server and will perform use public IP for data replication, won’t be doing the private IP for data replication (This requires VPN, DirectConnect or VPC peering)</p><p>My webserver page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t5LWnrUQ2H5jPcqht658IQ.png" /><figcaption>Page 1</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tQ8AiPra3VSWYI8Re7_4Gw.png" /><figcaption>Page 2</figcaption></figure><p><strong>For this walk-through:</strong></p><blockquote>Have an AWS account<br>Have a clear understanding of Amazon Virtual Private Cloud (Amazon VPC)<br>Create the virtual networking environment, Amazon VPC.<br>Create subnets in the MGN VPC.<br>Create Internet gateway and attach it to the MGN VPC.<br>Create a Route table, Public-MGN Route table.<br>Add internet route to the Public-MGN Route table (Destination 0.0.0.0/0 with Internet gateway as target).<br>Associate the Public Subnet with the Public-MGN Route table.<br>Launch an Amazon Elastic Compute Cloud (Amazon EC2) instance as a Bastion host in the Migrated Resources Public Subnet<br>Create security group, Public-MGN SG.<br>Add inbound rules for HTTP and HTTPS ports from anywhere (0.0.0.0/0), and SSH port and RDP port from my public IP address to the Public-MGN SG.</blockquote><p><strong>Create IAM user with programmibility access for AWS Replication Agent.</strong></p><p>Store the Access Key ID and Secret Access Key, which would be required during the installation of AWS replication agent on source server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7TFSvXYyiwnhi4kv3woGBA.png" /><figcaption>Create IAM user with Programmatic Access</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/993/1*d_CsKldF0bpMWgxxgoDo6Q.png" /><figcaption>You can attach policy or leave blank</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vTcXFqiOF_s_s0cAULM6aw.png" /><figcaption>Attach policy</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*9ZDk4qQ3LG1-AtENj3XfQA.png" /></figure><p>Create user and save the Access Key ID and Secret Access Key</p><p>VPC — Virtual Private Cloud is an amazon web service that enable you launch aws resources in a virtual isolated network environment. Hence, providing you with security and flexibility.</p><p>AWS Direct Connect is a hybrid connectivity service.<br>Amazon VPC is a network foundations networking service.<br>Amazon API Gateway is an application networking service.<br>AWS Global Accelerator is an edge networking service.</p><p><strong>Create the virtual networking environment, Amazon VPC.</strong></p><p>Click Services — Then select Networking &amp; Content Delivery — select VPC<br>Select region as default is North Virgina (us-east-1). I will be using Milan (eu-south-1)</p><p>When you create a VPC, a route table is created by default and associated to the VPC.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AP5RH8Tyo_EbJZeVtg0wbQ.png" /><figcaption>Create VPC</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g1BfXDRohukhz_0aLuVF1Q.png" /><figcaption>VPC MGN</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yyZkIUrzutTQFbatJ13T8g.png" /><figcaption>Route table created by default and attached to VPC</figcaption></figure><p>Now will create a subnet and associate with the route table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/1*7iZr3ved9ydJPRYYxL1j6Q.png" /><figcaption>Subnet and associate with route-table</figcaption></figure><p>Then we create an internet gateway and attach to the VPC.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*Fix5xK0VWnLvosTmpWAiag.png" /><figcaption>Creating Internet Gateway</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/1*o8h_8U6dY90rCo3BbUoiOw.png" /><figcaption>Attach Internet Gateway to VPC</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EWjwFJzk5x06Pp1Ssj04Og.png" /><figcaption>Attached and routable</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sSkKbq_O689zFUA4IXZF1w.png" /><figcaption>Edit route, add IGW to 0.0.0.0/0</figcaption></figure><p>Security group is also created by default when you create a custom VPC, In this task we will name it Public-MGN SG and edit inbound rules.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9wk2N-SulR5RNkJHqfr6GA.png" /><figcaption>Default Security Group</figcaption></figure><blockquote><strong>Edit the inbound rules:</strong><br>Allow HTTP — port 80 — Anywhere — 0.0.0.0/0<br>Allow HTTPS — port 443 — Anywhere — 0.0.0.0/0<br>Allow SSH — port 22 — My IP — 12.1.2.3/32 (To access linux server)<br>Allow RDP — port 3389 — My IP — 12.1.2.3/32 (To access Windows server)</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rhNHTxrRiSoGNJn-X-kg-g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mtuXE5RJd-rVcvsZqPfYdw.png" /><figcaption>Public-Subnet and inbound rules</figcaption></figure><p>Now we have completed most of the Networking part.</p><p>Click Services — Then select Migration &amp; Transfer — select AWS Application Migration Service</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V0DGj4ihLU_r-3aijHtXsg.png" /><figcaption>AWS MGN</figcaption></figure><p><strong>Next Create Replication Settings template.</strong></p><p>To migrate your servers from on-premises or another cloud service provider, We have to create replication settings template to initialize the service for the first time in the AWS MGN console. Note: Details can be changed later based on your requirements or resources.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/809/1*0rSOrHpqmZk0YyDgFPIcAQ.png" /><figcaption>Replication Setting Template</figcaption></figure><p>Since this a lab i will be replicating to a t3.small for testing and i have selected the VPC and SG we created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/809/1*0rSOrHpqmZk0YyDgFPIcAQ.png" /><figcaption>Creating Template</figcaption></figure><p>Replication template has been created, now we will click on Add server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4w9cjEru_30HVBr_gD5Oaw.png" /></figure><p><strong>To lift and shift our linux web server from on-premises to AWS cloud and also Install the AWS Replication Agents on source servers</strong></p><p>In this task, will select linux and copy the link to download the installer on the linux source server</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*YJpP8X3Jp8SVZVOmghKtxw.png" /><figcaption>Select your Operating System and Copy Installer link</figcaption></figure><p>Download AWS Replication Installer</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/1*CZOWGxvJx9lNZcVWKk5qbw.png" /><figcaption>Installer Downloaded</figcaption></figure><p>Install and enter your region, Access key and Secret Key for replication.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KX7Bdo5umGGQYIC9jrwPVg.png" /></figure><p>The Replication Agent will be downloaded and Installed on the Source Server, Then Sync with source server with Application Migration Service in console.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wcpzKKohmd5EjfbSbyARPw.png" /></figure><p>Return to the AWS MGN console to validate the source server in the console</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E_0k3R5DyK0LDEd57MQoUg.png" /></figure><p>Let’s click on the server and see.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BjhHn1wJYoJU0VPWxt5u-w.png" /><figcaption>server not ready for testing and replication</figcaption></figure><p>We will wait for some minutes, Replication initiation steps has to be completed and status all green. while the lifecycle should be blue and ready.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ayqIEis0QYrR5XHkr_o9Yg.png" /><figcaption>Healthy</figcaption></figure><p>Once initial steps and sync is complete, the migration lifecycle displays ready for testing and the data replication status displays Healthy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N6r9q0ui1j86ER5mpopqww.png" /><figcaption>More information.</figcaption></figure><p>Configure the Launch Settings in the AWS MGN console</p><p>The launch settings are set of instructions that determine how a test or cutover instance is launched for each source server in AWS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B0ukjoXkXntjZhuMZ2SlPg.png" /><figcaption>Default Launch Template settings</figcaption></figure><p>Launch settings are comprised of two sections: general launch settings and Amazon EC2 launch templates.<br>I will keep the general launch settings. And, but will be making changes to the Amazon EC2 launch template.</p><p>For this server, i will modify the launch template.</p><p>Note: There are some changes that are not to be tampered with, most time its better to leave default.<br>I will add our Public-MGN subnet, and enable public IP address and will also add our Public-MGN_SG security group, I will leave the instance type and other settings as default..</p><p>You can change the instance type based on your requirement but remember to edit General launch settings and select OFF for Instance type right sizing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/503/1*AhVMBTNyETZnUkqxaIx9EQ.png" /><figcaption>Modifying the Launch Template</figcaption></figure><p>This are the changes i made:</p><p>Add Public-MGN subnet,<br>Enable public IP address<br>Add Public-MGN_SG security group<br>Do not add a key pair or mess with the storage. {check documentation — <a href="https://docs.aws.amazon.com/mgn/latest/ug/ec2-considerations-1.html%7D">https://docs.aws.amazon.com/mgn/latest/ug/ec2-considerations-1.html}</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*j29Jm3xa-SC1WI5imXh78w.png" /><figcaption>creating the new template</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x6SOkuzKZdIVrNOQWR5UMw.png" /><figcaption>This the current default version 1</figcaption></figure><p>In the Launch template window that shows up, select the launch template ID, and select Actions in the top right corner, and then select the Set default version<br>In my example i will select 2 as default version so it will reflect at launch template.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/439/1*Pw2qec3RTtyoJHCl0rjvxw.png" /><figcaption>The new teplate version is 2</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iNZfFywKFWdejgO7o_xI0g.png" /><figcaption>Now Default version is 2</figcaption></figure><p>Verify on AWS MGN server console — Launch Template</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bvzt-Uq98JJMj8KyjyuQTA.png" /><figcaption>Changed to new version</figcaption></figure><p><strong>Launch the Test Instance</strong><br>Ensure that the source server is listed as Ready for testing under Migration lifecycle and Healthy under Data replication status.<br>I will select Source servers — click on the server and then select “Test and cutover” — choose Launch test instances.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mPM4D5P9fg1YU1WfKRWCAw.png" /><figcaption>Launch test server</figcaption></figure><p>Will get a notification</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/447/1*_-JyFm3ue8yQ20p7xoF72Q.png" /><figcaption>Notification and launch</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZmqlA_rwr2Y54oH58gU5FQ.png" /><figcaption>Launch testing in progress</figcaption></figure><p>Click on server to view the lifecycle</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VfBTEo9GNNQV5jrq2w_NAA.png" /></figure><p>Click on Launch History to view status of the operation</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FR5tOIkmoRFmwD9HXpqa3Q.png" /><figcaption>Launch History for test server migration</figcaption></figure><p>Successfully launched test/ cutover EC2 instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lRzYqyNJ7CkVljQh7yFGfw.png" /><figcaption>Server Launched and can be viewed in EC2 console</figcaption></figure><p>I can click on view Ec2 console to see my webserver</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1X1bgYsOj8efjh9MBVA8Ng.png" /><figcaption>All created server and the actual server replicated.</figcaption></figure><p>Now click on the server and login via SSH {Linux} or RDP{Windows}. Enter your password or open the public IP address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TdRUrSC58JCyVJ6p5Nw4dg.png" /><figcaption>Webserver replicated and working fine.</figcaption></figure><p>With a successfully launched web browser, I can now Mark as “Ready for Cutover”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6nhVUJqk0MSHpBZ7yr4Mkg.png" /><figcaption>Ready for cutover</figcaption></figure><p>A notification message about terminating the instance and ready for cutover.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/483/1*bK-Up26eQwsjLeEEhicN3w.png" /><figcaption>Notification “Ready for Cutover”</figcaption></figure><p>Always go to Launch History to see the process and also select the server and check the lifecycle progress status.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D4uh1Hwrlj6-ueEisUa2ag.png" /></figure><p><strong>Please Note this:</strong></p><blockquote><strong>A Red Stalled Alert:</strong> means that data is not flowing from the external server to the Replication Servers [link] and user intervention is required.<br><strong>A Yellow Lagging Alert:</strong> means that data is flowing but if you launch a test or cutover instance now, it will not be fully up to date.<br><strong>A Blue Launched Alert:</strong> means that currently there is an EC2 instance running as a result of launching a test or cutover instance.</blockquote><p><strong>Launch the Cutover Instances</strong><br>Ensure that the source server are listed as Ready for cutover under Migration lifecycle and Healthy under Data replication status.<br>I will select Source servers — click on the server and select “Test and cutover” — choose Launch cutover instances.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h8slIuK4G3RcGRlorTtjLA.png" /><figcaption>Launch Cutover instance</figcaption></figure><p>Notification about launching cutover instance</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/506/1*OHuXdbL_hdQa6UeUSBxugw.png" /><figcaption>Launch Cutover instance Notification</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y7TjXRcVHfOYsxfRtyP6DQ.png" /><figcaption>Cutover in Progress and launch job to view progress</figcaption></figure><p>Check the lifecycle and also click on launch job ID to check launch history for the server cutover status, also for troubleshooting incase of error.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ciSNZ4cQCHT9vqhOeHdzOw.png" /></figure><p>Once the job is completed, return to the MGN console page. The Source Server shows Launched Under Alerts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UererMJ8gZjWYcQXj_fpEA.png" /><figcaption>Cutover Successful and Launched</figcaption></figure><p>Now the Server has been launched and Migration is completed</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F2RVuar67UmaVsmotKhWLg.png" /><figcaption>Launch the cutover server and browse your webserver</figcaption></figure><p><strong>Finalize cutover</strong><br>Now that i have successfully Launched a cutover, I can now finalize the cutover. This changes the source servers Migration Lifecycle status to Cutover complete. In addition, this terminates the Replication Server and all data replication is stopped and discarded.</p><p>In the MGN console, select the boxes next to the source server that you want to finalize cutover. Select Finalize cutover from the pull down menu under Test and Cutover.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SX08HosW2zo7HilO6R811g.png" /><figcaption>Finalise cutover</figcaption></figure><p>Dialog box about finalize cutover for the server. Will discard the replication server in EC2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/1*PKkqR5XaE8nbrcOVaNdOrQ.png" /><figcaption>Notification box about finalizing coutover</figcaption></figure><p>You get a notification message and cutover completed under Migration lifecycle, Disconnected under Data replication status.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PpNZ59_nYRXhIYyZmDDk2A.png" /></figure><p>To cleanup, mark the source server as archived. Archiving prevents the servers from being shown in the servers list page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JTTerONSiGK8x4_ii_5-FA.png" /><figcaption>Mark source server as archived</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/491/1*Dgnv4bLbiEToiA9om_AyOg.png" /><figcaption>Dialog-box message</figcaption></figure><p>Migration successful !</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZlPpm0IfYcvy3H389nGpqA.png" /><figcaption>Server archived</figcaption></figure><p><strong>SUMMARY</strong></p><p>I have now successfully migrated a server from on-premises (Simulated Cloud environment) to AWS using AWS Application Migration Service (MGN).</p><p>Document taht will be of great assistance.<br><a href="https://docs.aws.amazon.com/mgn/latest/ug/what-is-application-migration-service.html">https://docs.aws.amazon.com/mgn/latest/ug/what-is-application-migration-service.html</a><br><a href="https://docs.cloudendure.com/#Configuring_and_Running_Migration/Configuring_and_Running_Migration.htm">https://docs.cloudendure.com/#Configuring_and_Running_Migration/Configuring_and_Running_Migration.htm</a></p><p>Further efforts can be performed in the AWS Cloud environment, by creating ami or launch template for auto-scaling and load balancing to the application layer to provide high availability, <br>offload your media content to Amazon Simple Storage Service (Amazon S3), improve end-user experience with a content delivery network, Amazon CloudFront.<br>Secure your website using AWS Certificate Manager<br>Replatforming the Amazon EC2 based mySQL Database to Amazon Relational Database Service (Amazon RDS).<br>Attach Elastic IP Address.<br>Attach Key pairs or Iam roles<br>Lot more.</p><p>If have questions about AWS MGN is a good fit for your organization’s needs? Reach out to me on LinkedIn or Twitter.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1d3775a871" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EBGP Small-Scale Config]]></title>
            <link>https://medium.com/@ossniper/ive-decided-to-write-about-bgp-ip-sla-pbr-and-ospf-as-i-will-be-updating-this-blog-from-time-to-7ce3244a10ff?source=rss-59cd9783aa4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ce3244a10ff</guid>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[ccna-training]]></category>
            <category><![CDATA[bgp]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[ccnp]]></category>
            <dc:creator><![CDATA[Osman Akinyera]]></dc:creator>
            <pubDate>Fri, 18 Feb 2022 15:20:42 GMT</pubDate>
            <atom:updated>2022-02-18T15:38:14.203Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/836/1*wQ7GZTAJk3gngVSockYEWg.png" /><figcaption>Small ISP eBGP config</figcaption></figure><p>I’ve decided to write about BGP, IP SLA, PBR and OSPF as I will be updating this blog from time to time. Primarily and ideal for Network Engineer/Administrator who are new and interested in BGP.</p><p>Recently I was tasked with a project configuring eBGP with 2 UPSTREAM (ISP) and various customers who have ASN and a public IP Address.</p><h3><strong>What is BGP?</strong></h3><blockquote>Known as Border Gateway Protocol, is an Exterior Gateway Protocol &lt;EGP&gt; that enables the internet to exchange routing information between autonomous systems. BGP is a standardized path vector routing protocol that provides scalability and flexibility. BGP is the only protocol used to exchange networks on the Internet.</blockquote><blockquote>BGP is called an Application Layer protocol,It cannot transport by itself but needs the L4 transport protocol (TCP).</blockquote><p><strong>What is an Autonomous Systems:</strong></p><p>Known as (AS) is a set of IP prefixes belonging to a network or a collection of networks that are all controlled and managed by a single entity or organization</p><p><em>Autonomous systems (AS) can be grouped into four categories:</em></p><blockquote><strong>Multihomed</strong>: An AS that maintains connections to more than one other AS.</blockquote><blockquote><strong>Stub:</strong> An AS that is connected to only one other AS.</blockquote><blockquote><strong>Transit:</strong> An AS that provides connections through itself to other networks.</blockquote><blockquote><strong>Internet Exchange Point (IX or IXP):</strong> A physical infrastructure through which ISPs or content delivery networks (CDNs) exchange Internet traffic between their networks (autonomous systems).</blockquote><p>An organization requiring connectivity to the Internet must obtain an ASN. ASNs were originally 2 bytes (in the 16-bit range), which made 65,535 ASNs possible. Due to exhaustion, RFC 4893 expanded the ASN field to accommodate 4 bytes (in the 32-bit range). This allows for 4,294,967,295 unique ASNs, providing quite an increase from the original 65,535 ASNs.</p><p><strong>Types of ASNs</strong></p><p><em>There are two types of ASNs, namely private and public ASN.</em></p><blockquote>A <strong>private ASN</strong> can be used for a system which is communicating via BGP locally</blockquote><blockquote>A <strong>public ASN</strong> is needed to exchange information over the Internet.</blockquote><p><strong>Private ASN:</strong></p><blockquote>64,512–65,535 (16-bit ASN range)</blockquote><blockquote>4,200,000,000–4,294,967,294 (32-bit ASN range)</blockquote><p><strong>Public ASN:</strong></p><blockquote>0–64,511 (16-bit ASN range)</blockquote><blockquote>131072–4199999999 (32-bit ASN range)</blockquote><p><strong>IANA</strong></p><blockquote>APNIC: <a href="https://www.apnic.net/">https://www.apnic.net/</a></blockquote><blockquote>RIPE NCC: <a href="https://www.ripe.net/">https://www.ripe.net/</a></blockquote><blockquote>AFRINIC: <a href="https://afrinic.net/">https://afrinic.net/</a></blockquote><blockquote>ARIN: <a href="https://www.arin.net/">https://www.arin.net/</a></blockquote><blockquote>LACNIC: <a href="https://www.lacnic.net/">https://www.lacnic.net/</a></blockquote><h3>Types of BGP.</h3><p>There are two types of BGP, namely iBGP and eBGP.</p><blockquote><strong>iBGP:</strong> Established with an iBGP router that is in the same AS or that participates in the same BGP confederation. Assigned an AD of 200</blockquote><blockquote><strong>eBGP:</strong> Established with a BGP router that is in a different AS. Assigned an AD of 20</blockquote><p>BGP uses path attributes (PAs) associated with each network path. The PAs provides granularity and control of routing policies in BGP.</p><p>The BGP prefix PAs are :</p><blockquote><em>Well-known mandatory</em></blockquote><blockquote><em>Well-known discretionary</em></blockquote><blockquote><em>Optional transitive</em></blockquote><blockquote><em>Optional non-transitive</em></blockquote><h3><strong>BGP Messages.</strong></h3><p><em>BGP communication uses four message types:</em></p><blockquote>OPEN: Sets up and establishes BGP adjacency</blockquote><blockquote>UPDATE: Advertises, updates, or withdraws routes</blockquote><blockquote>NOTIFICATION: Indicates an error condition to a BGP neighbor</blockquote><blockquote>KEEPALIVE: Ensures that BGP neighbors are still alive</blockquote><h3><strong>BGP Neighbor States.</strong></h3><p><em>BGP forms a TCP session with neighbor routers called peers. Stages of BGP session are:</em></p><blockquote><em>Idle</em></blockquote><blockquote><em>Connect</em></blockquote><blockquote><em>Active</em></blockquote><blockquote><em>OpenSent</em></blockquote><blockquote><em>OpenConfirm</em></blockquote><blockquote><em>Established</em></blockquote><h3>Project:</h3><p>Let say a new startup company just acquired a /22 public IP address and ASN from IANA and will like to have an ebgp peering with 2 UPSTREAM and DOWNSTREAM Customers.</p><blockquote>In this topology, We won’t be configuring IGP or iBGP since this is a simple ISP with fewer routers.</blockquote><blockquote>We will have an ebgp peering with one customer &lt;ENT-2&gt;, while &lt;ENT-1&gt; will connect via static route..</blockquote><blockquote>and will perform some subnetting which will be allocated to the customers.</blockquote><blockquote>NOTE: ISP does not accept prefixes lesser /24. You can’t advertise a /30 or /29 to your ISP.</blockquote><blockquote>You have to make use of null0 in order to prevent a loop. e.g ip route 102.100.0.0 255.255.252.0 Null0</blockquote><p><em>All configs will be uploaded on </em><a href="https://github.com/ossniper/eBGP-for-small-ISP"><em>github</em></a></p><p>Next I will write on PBR and IP SLA and more content will be on BGP as I progress with practice or project and studies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QA80w38YCNb0lfDeDKN1Ow.png" /><figcaption>cisco sandbox</figcaption></figure><p><strong>CONCLUSION:</strong></p><blockquote>Bgp requires more practice and Lab-work is very much different compared to production environment.</blockquote><blockquote>You can make use of <a href="https://devnetsandbox.cisco.com/RM/Topology">Cisco-Sanbox</a> or GNS3 or any other emulator or simulator for practice. All the best and reach me for any questions.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ce3244a10ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS Solution Architect SAA-C02 Passed: Resources Used & Thoughts.]]></title>
            <link>https://medium.com/@ossniper/aws-solution-architect-saa-c02-passed-resources-used-thoughts-73016f2459e2?source=rss-59cd9783aa4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/73016f2459e2</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[saa-c02-exam]]></category>
            <dc:creator><![CDATA[Osman Akinyera]]></dc:creator>
            <pubDate>Fri, 04 Feb 2022 15:17:57 GMT</pubDate>
            <atom:updated>2022-02-04T15:20:18.415Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*NSQznJy2E7NztIXqY6PgAw.png" /><figcaption>AWS SAA-C02</figcaption></figure><p>I passed the AWS SAA-C02 exam on second trial and today I have the badge to prove it.</p><p>In this post I’ll go over my motivations for taking the exam and the resources I used/recommend for it.</p><p>I have no interest taking this exam at first, i was hoping to jump right into <strong>AWS Advanced Networking Specialty</strong> since i am a Network Engineer but i was convinced by great men on LinkedIn who suggested going for the Solution Architect, I am glad i listen to those advise because i get to learn more about AWS services and have a deep understanding of about 80% of all services on AWS with lab practice.</p><h3><strong>Resources:</strong></h3><p>AWS Overview<br>AWS Well Architected Framework<br>AWS Certified Solutions Architect Official Study Guide<br>AWS or Trusted Partners Practice test</p><p>Also check out:<br>Mike Gibbs — <a href="https://www.youtube.com/watch?v=keoNi7MmAUY">https://www.youtube.com/watch?v=keoNi7MmAUY</a><br>Andrew Brown — <a href="https://www.youtube.com/watch?v=Ia-UEYYR44s">https://www.youtube.com/watch?v=Ia-UEYYR44s</a><br>Mukhtar — <a href="https://www.youtube.com/playlist?list=PL3F_GLbU0tgo9WUas0tN5DD9h5aQjFJ_p">https://www.youtube.com/playlist?list=PL3F_GLbU0tgo9WUas0tN5DD9h5aQjFJ_p</a></p><p>and others on YouTube. Trust me, There a lot of videos about different services.</p><h3><strong>Hands-On Practice:</strong></h3><p>There are a lot of services aws offers. You just have to understand them and know how it works based on the exam and job.</p><p>Kindly read more on this and understand each and everyone of them with hands-on.</p><p>Amazon EC2<br>Amazon ECS<br>Amazon EKS<br>Amazon S3 <br>Amazon Snowball <br>Amazon VPC Endpoints <br>Amazon VPC Flow Logs <br>Amazon NACL <br>Amazon Security Groups <br>Amazon NAT <br>Amazon IAM <br>Amazon Cognito <br>Amazon CLI &amp; SDK <br>Amazon DNS <br>Amazon Route 53 <br>Autoscaling Groups <br>Amazon ELB <br>Amazon EFS &amp; FSX<br>Amazon EBS <br>Amazon CloudFront &amp; Global Accelerator<br>Amazon RDS <br>Amazon Aurora <br>Amazon DynamoDB <br>Amazon CloudFormation<br>Amazon Elastic Beanstalk <br>Amazon CloudWatch <br>Amazon CloudTrail <br>Amazon Lambda <br>Amazon SQS <br>Amazon SNS <br>Amazon ElastiCache <br>Amazon API Gateway <br>Amazon Kinesis <br>Amazon Storage Gateway<br>AWS Organization <br>AMI<br>Placement Groups</p><h3>Conclusion:</h3><p>Note: For the exam and I also think in production environment. You must be conscious of these:</p><p><strong>The Five Pillars of the the Framework</strong></p><p>· Operational Excellence</p><p>· Security</p><p>· Reliability</p><p>· Performance Efficiency</p><p>· Cost Optimization</p><p>The question indirectly ask about this:</p><p>· Cost-efficiency</p><p>· High Availability</p><p>· Security</p><p>· Fault Tolerant</p><p>Example:</p><p>A company runs a production application on a fleet of Amazon EC2 instances. The application reads the data from an Amazon SQS queue and processes the messages in parallel. The message volume is unpredictable and often has intermittent traffic. This application should continually process messages without any downtime. Which solution meets these requirements most cost-effectively?</p><p>You must also understand:</p><p>· when to use On-demand or scheduled reserve instances or spot instances.</p><p>· When to use instance volumes or EBS</p><p>· When to use NAT instances or NAT Gateway</p><p>· When and where to apply EFS or FSX</p><p>· And others. SNS vs SQS, Elastic Beanstalk vs CloudFormation, EC2 vs ECS, Global Accelerator vs CloudFront, Redshift vs DynmoDB, RDS and Aurora, CloudWatch vs CloudTrails, Direct Connect vs VPC Endpoint…..</p><p>Overall, it was a positive and beautiful experience, and I’m excited to jump into the CCNP then ANS-C00 exam. The blueprint is large, so it may be a while until you hear from me about taking it. I’ll continue with lab and will be posting more as i will be working with S3, Route53 and VPC again now that this exam is over.</p><p>Thanks for reading, and I hope the resource is useful to you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73016f2459e2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>