<?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 Vinu Vish on Medium]]></title>
        <description><![CDATA[Stories by Vinu Vish on Medium]]></description>
        <link>https://medium.com/@vinuvish?source=rss-73e8b98ca907------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*xzsDGLgylWbpA7GL.</url>
            <title>Stories by Vinu Vish on Medium</title>
            <link>https://medium.com/@vinuvish?source=rss-73e8b98ca907------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 08:49:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vinuvish/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[Face detection with OpenCV and deep learning]]></title>
            <link>https://medium.com/@vinuvish/face-detection-with-opencv-and-deep-learning-90bff9028fa8?source=rss-73e8b98ca907------2</link>
            <guid isPermaLink="false">https://medium.com/p/90bff9028fa8</guid>
            <category><![CDATA[image-processing]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[opencv-python]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Vinu Vish]]></dc:creator>
            <pubDate>Thu, 06 Jun 2019 05:27:36 GMT</pubDate>
            <atom:updated>2019-06-06T05:27:36.338Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What is the Open CV?</strong><br>OpenCV is a library of programming functions mainly aimed at real-time computer vision.</p><p><strong>What is Deep learning?</strong><br>Deep learning is part of a broader family of machine learning methods based on artificial neural networks. Learning can be supervised, semi-supervised or unsupervised.</p><p><strong>Why Deep learning for face detection?<br></strong>previously we used the haar cascade pre-trained model for face detection .its bit old school method. But with deep learning face detection, You can perform <em>fast, accurate</em> face detection with OpenCV using a pre-trained deep learning face detector model shipped with the library.</p><h3><strong>Face detection in <em>images</em></strong> using OpenCV and deep learning</h3><p>what most OpenCV users do not know is that Rybnikov has included a more accurate, deep learning-based face detector included in the official release of OpenCV.<br>First, we need to download, Deep neural network module and Caffe models</p><p><strong>prototxt </strong>file(s) which define the <em>model architecture</em> (i.e., the layers themselves)<br><strong>caffemodel</strong> file which contains the <em>weights</em> for the actual layers</p><p>Following the link, you can download <strong>prototxt </strong>and<strong> caffemodel<br></strong><a href="https://github.com/vinuvish/Face-detection-with-OpenCV-and-deep-learning/tree/master/models"><strong>Link</strong></a></p><p>Now we are going to playing with python (happy codding)<br>pre-requirement : OpenCV latest ,numpy</p><ol><li>Create a new python project and create src/ and models/ Directory inside the model Director copy your downloaded <strong>prototxt and caffemodel.</strong></li><li>Create python file name call FaceDetectorImage.py inside the src/and code following lines</li></ol><pre># import the necessary packages<br>import numpy as np<br>import argparse<br>import cv2</pre><pre>#defining argument parsers<br>ap  = argparse.ArgumentParser()<br>ap.add_argument(&quot;-i&quot;,&quot;--image&quot;,required=True,help=&quot;Input imagepath&quot;)<br>args = vars(ap.parse_args())<br><br>#defining prototext and caffemodel paths<br>caffeModel = /Enter_YOUR_ABSOLUTE_PATH/res10_300x300_ssd_iter_140000.caffemodel&quot;</pre><pre>prototextPath = &quot;Enter_YOUR ABSOLUTE_PATH/deploy.prototxt.txt&quot;</pre><p>Abow code snip, we are importing the necessary packages, parsing command line arguments and defining prototext and caffemodel ABSOLUTE paths.</p><p>3. Now we are going to load our model and create a blob from our image</p><pre>#Load Model<br>print(&quot;Loading model...................&quot;)<br>net = cv2.dnn.readNetFromCaffe(prototextPath,caffeModel)<br><br>#procesess the import image with opencv<br>image = cv2.imread(args.get(&quot;image&quot;))<br><br># extract the dimensions , Resize image into 300x300 and converting image into blobFromImage<br>(h,w) = image.shape[:2]</pre><pre># blobImage convert RGB (104.0, 177.0, 123.0)<br>blob = cv2.dnn.blobFromImage(cv2.resize(image,(300,300)),1.0,(300,300),(104.0, 177.0, 123.0))</pre><p>Abow code snip we are Loading our <strong>prototxt </strong>and<strong> cafe model. </strong>Then we load the image, extract the dimensions, resize to 300px and create a blob using DNN.</p><p>4. Nex we are passing blob through the network to detect and prediction</p><pre>#passing blob through the network to detect and pridiction<br>net.setInput(blob)<br>detections = net.forward()</pre><p>Abow code snip we are passing blob to DNN(deep neural network) To detect faces,</p><p>5. Then we’ll loop over the detections and draw boxes around the detected faces</p><pre># loop over the detections<br>for i in range(0, detections.shape[2]):<br>    # extract the confidence and prediction<br>       confidence = detections[0, 0, i, 2]<br><br>    # filter detections by confidence greater than the minimum     #confidence<br>    print(confidence)<br>    if confidence &gt; 0.5:<br>        # compute the (x, y)-coordinates of the bounding box for the<br>        # object<br>        box = detections[0, 0, i, 3:7] * np.array([w, h, w, h])<br>        (startX, startY, endX, endY) = box.astype(&quot;int&quot;)<br><br>        # draw the bounding box of the face along Confidance<br>        # probability<br>        text = &quot;{:.2f}%&quot;.format(confidence * 100)<br>        y = startY - 10 if startY - 10 &gt; 10 else startY + 10<br>        cv2.rectangle(image, (startX, startY), (endX, endY),<br>                      (0, 0, 255), 2)<br>        cv2.putText(image, text, (startX, y),<br>                    cv2.FONT_HERSHEY_SIMPLEX, 0.45, (0, 0, 255), 2)<br><br># show the output image<br>cv2.imshow(&quot;Output&quot;, image)<br>cv2.waitKey(0)</pre><p>Abow code We looping over the detections then extracting the confidence level and face boundaries data that are analysed from the DNN. And we are filtering by the minimum confidence level. If confidence meets minimum confident level it getting the boundaries and draw the boxes using cv2.rectangle along with confidence level.</p><p>6. Now open a terminal and execute the following command</p><p>python3 src/faceDetectorImage.py -i /home/vinu/Desktop/Vishnu.jpg</p><h3><strong>Output Results………..</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/1*qqvIJ07NlESl1Xqp-u_r-g.png" /><figcaption>Output Face detection</figcaption></figure><h3>Face detection in live video with OpenCV and deep learning</h3><ol><li>Create python file name call FaceDetectorVideo.py inside the src/and code following lines</li></ol><pre># import the necessary packages<br>from imutils.video import VideoStream<br>import numpy as np<br>import argparse<br>import imutils<br>import time<br>import cv2</pre><pre>#defining prototext and caffemodel paths<br>caffeModel = /Enter_YOUR_ABSOLUTE_PATH/res10_300x300_ssd_iter_140000.caffemodel&quot;</pre><pre>prototextPath = &quot;Enter_YOUR ABSOLUTE_PATH/deploy.prototxt.txt&quot;</pre><p>Abow code snip, we are importing the necessary packages, parsing command line arguments and defining prototext and caffemodel ABSOLUTE paths.</p><p>2. Now we are going to initialize video stream to get the live video frames</p><pre>#Load Model<br>print(&quot;Loading model...................&quot;)<br>net = cv2.dnn.readNetFromCaffe(prototextPath,caffeModel)<br><br># initialize the video stream to get the live video frames<br>print(&quot;[INFO] starting video stream...&quot;)<br>vs = VideoStream(src=0).start()<br>time.sleep(2.0)</pre><p>Abow code snip we are Loading our <strong>prototxt </strong>and<strong> cafe model. </strong>And start VideoStream to switch on or startup the video source(if webcam src =1).</p><p>3. Now we are going to loop the frames from the VideoStream</p><pre>while True :<br>    #Get the frams from the video stream and resize to 400 px<br>    frame = vs.read()<br>    frame = imutils.resize(frame,width=400)<br><br>    # extract the dimensions , Resize image into 300x300 and converting image into blobFromImage<br>    (h, w) = frame.shape[:2]<br>    # blobImage convert RGB (104.0, 177.0, 123.0)<br>    blob = cv2.dnn.blobFromImage(cv2.resize(frame, (300, 300)), 1.0,<br>                                 (300, 300), (104.0, 177.0, 123.0))<br></pre><p>Above code, while loop will be loop until frame available. if frame available inside the while loop, reading the frame and resize it to 400px then converting blob using DNN(deep neural network)</p><p>4. Nex we are passing blob through the network to detect and prediction</p><pre># passing blob through the network to detect and pridiction<br>net.setInput(blob)<br>detections = net.forward()</pre><p>Abow code snip we are passing blob to DNN(deep neural network) To detect faces. make sure the code will be inside the while loop.</p><p>5. Then we’ll loop over the detections and draw boxes around the detected faces inside the while loop</p><pre>for i in range(0, detections.shape[2]):<br>        # extract the confidence and prediction<br><br>        confidence = detections[0, 0, i, 2]<br><br>        # filter detections by confidence greater than the minimum confidence<br>        if confidence &lt; 0.5 :<br>            continue<br><br>        # Determine the (x, y)-coordinates of the bounding box for the<br>        # object<br>        box = detections[0, 0, i, 3:7] * np.array([w, h, w, h])<br>        (startX, startY, endX, endY) = box.astype(&quot;int&quot;)<br><br>        print(confidence)<br>        # draw the bounding box of the face along with the associated<br>        text = &quot;{:.2f}%&quot;.format(confidence * 100)<br>        y = startY - 10 if startY - 10 &gt; 10 else startY + 10<br>        cv2.rectangle(frame, (startX, startY), (endX, endY),<br>                      (0, 0, 255), 2)<br>        cv2.putText(frame, text, (startX, y),<br>                    cv2.FONT_HERSHEY_SIMPLEX, 0.45, (0, 0, 255), 2)<br><br>        # show the output frame<br>    cv2.imshow(&quot;Frame&quot;, frame)<br>    key = cv2.waitKey(1) &amp; 0xFF<br><br>    # if the `q` key was pressed, break from the loop<br>    if key == ord(&quot;q&quot;):<br>        break<br><br># do a bit of cleanup<br>cv2.destroyAllWindows()<br>vs.stop()</pre><p>Abow code We looping over the detections then extracting the confidence level and face boundaries data that are analysed from the DNN. And we are filtering by the minimum confidence level. If confidence meets minimum confident level it getting the boundaries and draw the boxes using cv2.rectangle along with confidence level. and it will display the frame on the screen and wait for a keypress</p><p>6. Now open a terminal and execute the following command<br> python3 faceDetectorVideo.py</p><h3><strong>Output Result……</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/290/1*uHBOK-4BYQ2rcp2eSEpRfQ.gif" /></figure><p><strong>Repository for compleat project </strong><a href="https://github.com/vinuvish/Face-detection-with-OpenCV-and-deep-learning.git"><strong>Link</strong></a></p><p>Thanks for reading………………………………………..<br>If you face any trouble feel free and comment below<br>cheers <br>Happy ImageProcessing &amp; DeepLearning</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90bff9028fa8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deep dive into AWS VPC And VPC peering]]></title>
            <link>https://faun.pub/deep-dive-into-aws-vpc-and-vpc-peering-3ea919bd367a?source=rss-73e8b98ca907------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ea919bd367a</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[vpc]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[vpc-peering]]></category>
            <dc:creator><![CDATA[Vinu Vish]]></dc:creator>
            <pubDate>Wed, 24 Oct 2018 18:57:28 GMT</pubDate>
            <atom:updated>2019-07-16T15:38:52.139Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What is VPC:</strong><br>Amazon Virtual Private Cloud (Amazon VPC) enables you to launch AWS resources into a virtual network that you’ve defined. This virtual network closely resembles a traditional network that you’d operate in your own data center, with the benefits of using the scalable infrastructure of AWS.</p><p><strong>what is VPC peering:</strong><br>A VPC peering connection is a networking connection between two VPCs that enables you to route traffic between them privately. Instances in either VPC can communicate with each other as if they are within the same network. You can create a VPC peering connection between your own VPCs, with a VPC in another AWS account, or with a VPC in a different AWS Region.</p><p>I’m going to design the VPC environment using the following architecture</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cPM4yIcuGg0_C-PO7WxArQ.png" /><figcaption>Architecture Diagram</figcaption></figure><p>Let’s start:</p><ol><li><strong>we have to create the vpc</strong><br> Name Tag : vpc1<br>CIDR: 10.0.0.0/16</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ufb4tdGVxGPKEEdtKM97VA.png" /><figcaption>Main VPC</figcaption></figure><p><strong>2.Create another vpc </strong><br>Name Tag : vpc-bastian<br>CIDR : 10.1.0.0/16</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t-DXDxurIkupjdRTVGqpzQ.png" /><figcaption>Bastian VPC</figcaption></figure><p><strong>3. creat private and public subnets for vpc1</strong><br>Name Tag : vpc1-subnet-private<br>VPC : vpc1<br>Availability Zone: us-east-1a<br>CIDR: 10.0.1.0/24</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E9c1a3SUpJT-ujUa6P99SQ.png" /><figcaption>Subnet1</figcaption></figure><p>Name Tag : vpc1-subnet-public<br>VPC : vpc1<br>Availability Zone : us-east-1a<br>CIDR: 10.0.2.0/24</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bP6yz2qyA3TH-EIxwPXGDA.png" /><figcaption>subnet 2</figcaption></figure><p><strong>4. create a public subnet for vpc-bastian</strong><br>Name Tag : vpc-bastian-subnet-public<br>VPC : vpc1<br>Availability Zone : us-east-1a<br>CIDR: 10.0.2.0/24</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2teEMlTO0AjpQdyPQdOAmA.png" /><figcaption>subnet bastian</figcaption></figure><p><strong>5. Now we are creating a security group for Ec2 instance</strong></p><blockquote>A security group is a work as a local firewall for instance.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*su28fnBeGHP7ZITbECLMDw.png" /><figcaption>Security Group</figcaption></figure><p>Add inbound for an ec2-instance-sg security group</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*18kf4qko9cYDuebYvhxnAQ.png" /><figcaption>ec2 instance security group</figcaption></figure><p><strong>6. Create a security group for Bastian ec2 instance</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*PdJnNOmepAGWx1gB7WmctQ.png" /><figcaption>ec2-Bastian instance security group</figcaption></figure><p>Add inbound for bastian-ec2instance-sg</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6IT4Y22MGLB6auSWvlvbNQ.png" /><figcaption>Bastin security group inbounds</figcaption></figure><blockquote>Security groups are using for ec2 instance creating mainly it’s using to Ristic the all port access and allow particular well-known ports</blockquote><p><strong>7. Now we are creating an Internet gateway for vpc1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l74a8LnTDqUbZMTTPYMa2w.png" /><figcaption>VPC1 IGW</figcaption></figure><p>and attach the vpc1 to vpc-IGW</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rVdK32aUy0aM5qE82EX88g.png" /><figcaption>Attach vpc to IGW</figcaption></figure><p><strong>8. Now we are creating an Internet gateway for vpc-bastian</strong></p><blockquote>Note:<br>Follow same steps as “ vpc1-IGW” create</blockquote><p>Now we have 2 IGW</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X1wiqOMHZCt9gsAM3JMx8w.png" /><figcaption>IGW2 create</figcaption></figure><blockquote>Note:<br> igw and vpc are one to one relationship one vpc can have one IGW</blockquote><p><strong>9. Now we are going to create the Routing table for VPC1 to route public subnets to access the private instance.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*BtYAePxHY2APo5CcuBhBWg.png" /><figcaption>VPC1 rout Table</figcaption></figure><p>And we have to add vpc-IGW in vpc1-RT Route ad route tab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IgcJtJkIuIeqJ_l4A501Hw.png" /></figure><p>And add vpc1’s public subnet to vpc1-RT’s subnet association</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WTRToiJeJQpElnHWvn6inA.png" /><figcaption>Vpc1-RT subnet association</figcaption></figure><p>And now we are again creating rut table for our “VPC-bastian” VPC</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*v3ySmzTL67Eu6mRZNOt47A.png" /></figure><p>Add vpc-bastian-IGW in vpc-bastian-RT at routs tab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hRtgTIv7NC3Gqk5MkIDKNg.png" /></figure><p>And add vpc-bastian’s public subnet to vpc-bastian-RT’s subnet association</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*02rUJa2ZD6D6UnN9ahwcow.png" /><figcaption>Subnet association vpc-bastian-RT</figcaption></figure><p><strong>10. Now we have to Create Peering Connection between Two VPC that we created “VPC1” and “VPC-bastian” to communicate with each other </strong><br>* select local vpc as vpc-bastian<br>* select another vpc as vpc1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fua57frL9NKG22303_-WHQ.png" /></figure><blockquote>After Creating the VPC peering The status will be Pending Acceptance<br>To make activate <br>Click Action →Click Accept request → click ok <br>and your peering status will be active status</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lWWEynusmHKZbWS_l6-IMA.png" /><figcaption>Peering status active</figcaption></figure><p><strong>11. Now we have to add routes to our two routing tables to communicate each other routing table using vpc peering</strong></p><p>11.1. Add another routing rule to “vpc1-RT” routing table <br>Destination as vpc-bastian’s CIDR(10.1.0.0/16)<br>Target as vpc peering connection (vpc1-vpcBastian-Peering)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sgSosfL9BOBfcpi16hCA2A.gif" /></figure><p>11.2. Add another routing rule to “vpc-bastian-RT” routing table <br>Destination as vpc-bastian’s CIDR(10.0.0.0/16)<br>Target as vpc peering connection(vpc1-vpcBastian-Peering)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PO2KLs6X_lJZ24yeEfzmig.gif" /></figure><p>11.3. Name the main route table of created vpc’s accordingly</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DXLjF_BwTHDkmjM2DJ5--g.gif" /><figcaption>Main RT</figcaption></figure><p>11.4. Add another routing rule to “vpc1-RT-main” routing table <br>Destination as vpc-bastian’s CIDR(10.1.0.0/16)<br>Target as vpc peering connection(vpc1-vpcBastian-Peering)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8o4MOI_CVzTaS1EdiYM6lg.gif" /></figure><p>11.5. Add another routing rule to “vpc-bastian-RT-main” routing table <br>Destination as vpc-bastian’s CIDR(10.0.0.0/16)<br>Target as vpc peering connection(vpc1-vpcBastian-Peering)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yO_4-LS3T3XcvYl0E1hMUA.gif" /><figcaption>Bastian Main RT</figcaption></figure><blockquote><em>Now we are end up with vpc and vpc peering now we have to create the ec2 instance for vpc1 private subnet with ec2-instance-s security group and<br> vpc-bastian public subnet with bastian-ec2instance-sg security group</em></blockquote><p><strong>12. Go to the ec2 instance management console </strong><br> 12.1. Create t2.micro ubuntu instance</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j-KnMPSdB5siPRluZlQUBg.png" /><figcaption>Instance 1</figcaption></figure><p>12.2. Select Configure Instance Details as<br> <strong>Network: </strong>vpc1<strong><br> Subnet :</strong>vpc1-subnet-private<br> <strong>Auto-assign Public IP: Enable</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lfYuLo26YMfdUJ6hyMQt3A.gif" /></figure><blockquote>Leave Add Storage and Add Tags Configuration as default</blockquote><p>12.3 Navigate to the Configure Security Group<br> <strong>Assign a security group: </strong>Select an <strong>existing</strong> security group</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R44JxEdNfUSehmAIEegAgQ.gif" /></figure><p>And select “ ec2-instance-sg” as a security group of an instance and launch the instance</p><p>12.4. Create a new key pair as “vpc-vpc_peering.pem”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7OhPukLrMfCWvMwDA_OdxA.png" /><figcaption>Key pair</figcaption></figure><p><strong>13. Create another t2.micro ubuntu instance for Bastian vpc</strong><br> 13.1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j-KnMPSdB5siPRluZlQUBg.png" /></figure><p>13.2. Select Configure Instance Details as<br> <strong>Network: </strong>vpc-bastian<strong><br> Subnet :</strong>vpc-bastian-subnet-public<br> <strong>Auto-assign Public IP : Enable</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xuAuK6U-qNKx49yIOQgFYA.gif" /></figure><blockquote>Leave Add Storage and Add Tag sConfiguration as default</blockquote><p>13.3.Navigate to the Configure Security Group<br> <strong>Assign a security group: </strong>Select an <strong>existing</strong> security group</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0DPWZtAH-jkKjXll6qxqXw.gif" /></figure><p>And select “ bastian-ec2instance-sg” as a security group of an instance and launch the instance</p><p>13.4. Choose existing Key pair as “vpc-vpc_peering.pem”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dpjt9lHFMzy0_23POb0osw.png" /><figcaption>Key pair</figcaption></figure><p><strong>14. Name 2 instances accordingly</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9jF8SZrkCOKEnhfXE-wNSA.gif" /><figcaption>Instance details</figcaption></figure><blockquote>We end up all the configurations now we have to ssh to the Bastian server. And from the Bastian server ssh to the private server.</blockquote><p><strong>15. Now we have to SSH to the Bastian server </strong><br> navigate to the pem file location and change the pem file permission as 400</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RKmDQbiusWFQsWYUxAxBfQ.gif" /></figure><p>15.1. And ssh to the bastian server with “ec2-vpc-bastian- instance” public IP</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dlD9Vq5Tch7bYq_-wv3YDg.gif" /></figure><p>15.2 Now scp your pem file into the Bastian server</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RKmDQbiusWFQsWYUxAxBfQ.gif" /></figure><p>15.3. Now Try to connect your private instance using your ec2-vpc1-private-instance’s private IP</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sn85Y9U-ibe-sMeInS3UXQ.gif" /><figcaption>Success login</figcaption></figure><p>Thanks For reading…………………………………</p><p>If you face any trouble feel free and comment below<br>cheers <br>Happy AWS</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/727/0*5aHrNlPC5wFJ_z-5" /></figure><p><strong>Join our community Slack and read our weekly Faun topics ⬇</strong></p><p><a href="https://www.faun.dev/join/?utm_source=medium.com%2Ffaun&amp;utm_medium=medium&amp;utm_campaign=faunmedium">Join a Community of Aspiring Developers.Get must-read articles, learn new technologies for free, chat with like-minded people, get job offers, listen to podcasts and more</a></p><h4>If this post was helpful, please click the clap 👏 button below a few times to show your support for the author! ⬇</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ea919bd367a" width="1" height="1" alt=""><hr><p><a href="https://faun.pub/deep-dive-into-aws-vpc-and-vpc-peering-3ea919bd367a">Deep dive into AWS VPC And VPC peering</a> was originally published in <a href="https://faun.pub/">FAUN.dev() 🐾</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Install Dlib(python) windows]]></title>
            <link>https://medium.com/@vinuvish/install-dlib-python-windows-77e9349e6cfc?source=rss-73e8b98ca907------2</link>
            <guid isPermaLink="false">https://medium.com/p/77e9349e6cfc</guid>
            <category><![CDATA[dlib]]></category>
            <category><![CDATA[python3]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[installation]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Vinu Vish]]></dc:creator>
            <pubDate>Sun, 11 Mar 2018 15:21:50 GMT</pubDate>
            <atom:updated>2018-03-11T15:21:50.752Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi all <br>I face soo many problems installing Dlib in windows for the image processing.finally i found easy way to install dlib in windows.</p><p>first you need to install python and pip <br>python + pip : <a href="https://www.python.org/downloads/">https://www.python.org/downloads/</a><br>after finishing install hit “ python --version” command in ur cmd.Your output should be like this bellow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*XptHpYSRwMStJBEJulnuBA.png" /></figure><p>Now time to install Dlib…</p><p>Download dlip ‘.wheel’ file as ur system requirnment (use link bellow)<br>download link : <a href="https://pypi.python.org/simple/dlib/">https://pypi.python.org/simple/dlib/</a></p><p>Open cmd navigate to dlib wheel file path and hit command<br>“ pip install dlib_file_name.wheel”</p><p>Thats all if you getting any problem comment bellow</p><p>Thak You…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77e9349e6cfc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>