How to Create an AWS VPC from Beginning to End and deploy a Windows Instance into the VPC to Test
First and foremost, what is an AWS VPC?
VPC=Virtual Private Cloud?
It is a virtual network that you create in AWS with its own network resources such as IP address
range, routing table’s, gateway’s etc. basically it is a fully functional network once configured
that you can deploy virtual instances of all types of networking devices such as PC’s, Databases
etc.
Each VPC belongs to a Region and each VPC can be linked to an availability zone as shown
below, it is simple, secure and scalable.
VPC’s can be peered together in the same region or different regions, they can also be
accessed from On Premises network. Below I will show some of the different ways a VPC can
be utilized to benefit a company with Data already in the cloud or thinking about moving into the
cloud. But first I will show how to create a VPC and test it with a windows machine deployed into
the VPC.
I will create a VPC,configure routing and access to In-Out, create a windowsinstance place it in the
VPC and use it to demonstrate the power of AWSVPC.
Creatinga VPC inAWS
Once loggedintoAWSconsole clickonthe servicestab,thenthe “Your VPCs”Tab on the side as shown
belowthenclickoncreate VPC
Thenfill inthe name and IPV4CIDR blockinfoasshownbelow thenclickcreate (leave the Tenancyas
default)
NextCreate anIpv4 SubnetbyclickingonSubnetandmake sure it fallswithinthe Ipv4range usedabove
and as shownbelowinthe Snip
Selectthe VPCyoucreatedabove andplace the subnetinyour chosenavailabilityzoneasshownbelow
Nextcreate a routingtable byclickon “Routing Tables”toallow route advertisement,
Clickto create the routingtable andgive ita name and selectthe VPC*dropdownbuttonto linkitto
your alreadycreatedVPCasshownbelow
Once createdyou will have to highlightitinthe listandedit the routesto configure whatroutesyou
wantto allowoutand what subnetsto include andwhere butbefore thatwe needanInternetgateway
“IGW” solet’sgo aheadand create one thenwe will returnandeditthe routingtable.
InternetGateway Creation
Clickon Internetgatewaytocreate a new IGW
Give The internetgatewayaname as shownbelow andclickcreate,once createdattach the Gatewayto
the VPCas showninthe snipbelowthisone
Clickyournewlycreatedinternetgatewaythenclickonthe actiontab to attach itto your VPC
AS shownbelow,make sure toselectthe correctVPCtoattach it to.
Once attachedthe STATE will change to“attached”as shownbelow
Nowlet’sgoback to the complete the routingtable routes
Clickon Route Tablesandhighlightyoualreadycreatedroute table asshownbelow,thenclickonEdit
Routes
Andthenadd a defaultroute of 0.0.0.0/0 pointingtothe internetgatewaycreatedearlierasshownin
the snipbelow,thiswill allowthe VPCtobe able tosendtrafficto the internetnextwe have tocreate a
SecurityGroupthat decidesexactlywhatINBOUND/OUTBOUNDTrafficisallowed.
NextclickonSubnetAssociationandata minimumallow the subnetthatthe Instanceswillbe usingin
the routingtable as shownbelow
Security Groupcreation
Clickon Securitygroupthencreate tocreate a new one as shownbelow
Fill inthe groupname,descriptionandselectthe correctVPCtolinkitto as shownbelow
Nextclickintothe Securitygroupto edititand define the InboundandOutboundtrafficrulesasshown
below
Note: The Inboundrulesisbasedonwhat resourcesyoumighthave inyournetworkandwouldlike
othersto accesssuch as a webserver,FTPserver,database serveretcso that will be companyspecific
Note: The Outboundrulescan be more relaxed;itwill all dependonthe type of company.
For thisdemoI will allowfor:
InboundTrafficforHttps (443), SSH (22)
OutboundTrafficIwill allowall.
Clickto EditInbound Rulesasshownbelow
Addwhat isallowedbyclickingon“AddRule”asshownbelow
NextclickonOutboundRulesandmake sure there isa rule allowingoutbound 0.0.0.0/0traffic,if not
create one as shownbelow
At thispointthe VPCisa functioningvirtual Cloudnetworkingwithoutside accessallowedandinside
access forport 443 and22
ComingNext
Part II
Device Instance Creation
Nextlet’screate awindows/Linux/Unixinstance andplace itinourVPC
Clickon Servicesandthen searchforEC2 thenclick “Launch Instance”to create an instance asshown
below
Once the instance islaunchedchoose the machine type youwanttocreate,I chose Windows
Clicknextafterchoosingtoconfigure the instance detailssuchasthe “network”(pointtothe VPCyou
created) andsubnet(pointtothe subnetbeingusedbythe VPC) asshownbelow
Leave everythingelse atthe defaultsexceptscroll all the waytothe bottomand give itan IPaddressin
the range as the subnet(use IPaddressstartingfrom.5 upwardssince AWSuses.2-.4 internallyand.1
will be usedforyourgateway)
You can add a secondnetworkcard if yoursetupneedsit.
Clicknexttocreate a SecurityGroupto allow access(RDP,port 3389) to the WindowsInstance asshown
belowyoucan leave the source as0.0.0.0/0 for now until we getintosome more advanced
configurationlikeusingtransitVPC,VPN toaccessfromthe OnPremisesnetworkthenwe canlockit
downto a set of IP addressesthat are allowedaccessfromRDP
Clicknexttofinishandcreate a keyPair that will be usedwhenaccessthe PCinstance.
Thenlaunchthe instance and waituntil itsaysinitializedandrunning.
WhileswaitinggoaheadandrequestanElasticIP address thatwill be usedwhenaccessingthe Windows
instance fromoutside.ClickElasticIPthenAllocatenew addressfromamazonPool asshownbelow
Nextclickinto the newallocatedaddressandgive itaname thenclickonaction andassociate address
To the WindowsInstance youcreatedas shownbelow
TestingTime
Make sure SecurityGrouphas RDP port 3389 allowedforinboundtraffic.
To ConnectGo to the instance,selectitandclickon Connect
Whenthe windowfor“Connectto Your Instance”opensasshownbelow
Clickon “GetPassword”as shownabove andthenclickon choose file toretrieve the .pemfileyou
createdearlier
Thenclickon “DecryptPassword”
Thencopy the passwordto a clipboard to use to logintothe system
Thenclickto download“Remote DesktopFile”
Clickon DownloadedRemote DesktopFileinputpasswordandaccessthe WindowsInstance
as shownbelow doa pingtestto google dns8.8.8.8 and alsothe gateway192.168.1.1
and alsowhateverothertestyouwantto perform at thispointyouare inControl.
Until NextTime Enjoy Learning and Movingbeyondthe Cloud and neverStop.
Technologyhas touched the cloudswe wait to see what isabove the clouds.
If you findany missedstepsin thisDocument bring it to my attention.
How to Create an AWS VPC from Beginning to End and deploy a Windows Instance into the VPC to Test

More Related Content

PPTX
How I build a Hyperledger Fabric blockchain network using Amazon Managed Bloc...
DOCX
AWS | VPC End Point
DOCX
Virtual private cloud fundamentals
DOCX
AWS | Nat instance Configuration
DOCX
AWS | VPC Peering
PPTX
How to Provision a Dedicated VMware SDDC on AWS
DOCX
AWS virtual private clould
PDF
Amazon AWS Workspace Howto
How I build a Hyperledger Fabric blockchain network using Amazon Managed Bloc...
AWS | VPC End Point
Virtual private cloud fundamentals
AWS | Nat instance Configuration
AWS | VPC Peering
How to Provision a Dedicated VMware SDDC on AWS
AWS virtual private clould
Amazon AWS Workspace Howto

Similar to How to Create an AWS VPC from Beginning to End and deploy a Windows Instance into the VPC to Test (20)

PPTX
AWS VPC Zero to Hero in 30 Minutes.pptx
PDF
Cohesive Networks Support Docs: VNS3 Configuration in Azure
PDF
Three Tier Architecture Project Using AWS.pdf
DOCX
AWS | NAT Gateway Configuration
PPTX
Web hosting of Amazon Web Services_.pptx
DOCX
docker.docx
PPTX
Virtual technology
PDF
AWS VPC NOTES _ LEARN AWS EFFECTIVELY and Easily
PDF
Cohesive Networks Support Docs: VNS3 Configuration for Amazon VPC
DOCX
Handouts for east coast hands on exercises v1
PPTX
How to connect express VPN - Windows
DOCX
AWS VPN with Juniper SRX- Lab Sheet
PDF
Creating Your Virtual Data Center
PPTX
Devnet 1005 Getting Started with OpenStack
PDF
PLNOG 17 - Tomasz Stachlewski - Infrastruktura sieciowa w chmurze AWS
PPTX
Install LAMP Stack in Linux Server OS and Hosting a Custom Domain .pptx
PPTX
PPTX
Amazon Virtual Private Cloud (VPC)
PDF
Cohesive Networks Support Docs: VNS3 Configuration for AWS EC2 Classic
AWS VPC Zero to Hero in 30 Minutes.pptx
Cohesive Networks Support Docs: VNS3 Configuration in Azure
Three Tier Architecture Project Using AWS.pdf
AWS | NAT Gateway Configuration
Web hosting of Amazon Web Services_.pptx
docker.docx
Virtual technology
AWS VPC NOTES _ LEARN AWS EFFECTIVELY and Easily
Cohesive Networks Support Docs: VNS3 Configuration for Amazon VPC
Handouts for east coast hands on exercises v1
How to connect express VPN - Windows
AWS VPN with Juniper SRX- Lab Sheet
Creating Your Virtual Data Center
Devnet 1005 Getting Started with OpenStack
PLNOG 17 - Tomasz Stachlewski - Infrastruktura sieciowa w chmurze AWS
Install LAMP Stack in Linux Server OS and Hosting a Custom Domain .pptx
Amazon Virtual Private Cloud (VPC)
Cohesive Networks Support Docs: VNS3 Configuration for AWS EC2 Classic
Ad

More from David kankam (13)

DOCX
Palo Alto U turn NAT for inside user's to access Web Server in a different Zo...
DOCX
Resolve a Palo Alto firewall blocking oracle application.
DOCX
Creating Cisco ACI Fabric Policy
DOCX
Upcoming Topics To Be Covered On NSX Deployment.
DOCX
Deploying The NSX Manager Virtual Appliance
DOCX
Converting From Nexus NX-OS Mode to ACI Mode.
DOCX
ACI HIGH LEVEL DESIGN OVERVIEW
DOCX
SDN THE CISCO WAY
PPTX
Integration of pola alto and v mware nsx to protect virtual and cloud environ...
PPTX
Nexus lan switching configuration
PPTX
Cisco virtual port channel high level over view
PPTX
Nexus Virtual Device Context high Level Explanation.
PPTX
Nexus Virtual Device Context high Level Explanation.
Palo Alto U turn NAT for inside user's to access Web Server in a different Zo...
Resolve a Palo Alto firewall blocking oracle application.
Creating Cisco ACI Fabric Policy
Upcoming Topics To Be Covered On NSX Deployment.
Deploying The NSX Manager Virtual Appliance
Converting From Nexus NX-OS Mode to ACI Mode.
ACI HIGH LEVEL DESIGN OVERVIEW
SDN THE CISCO WAY
Integration of pola alto and v mware nsx to protect virtual and cloud environ...
Nexus lan switching configuration
Cisco virtual port channel high level over view
Nexus Virtual Device Context high Level Explanation.
Nexus Virtual Device Context high Level Explanation.
Ad

Recently uploaded (20)

PPTX
Modernising the Digital Integration Hub
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
WOOl fibre morphology and structure.pdf for textiles
PPTX
Web Crawler for Trend Tracking Gen Z Insights.pptx
DOCX
search engine optimization ppt fir known well about this
PDF
STKI Israel Market Study 2025 version august
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
Five Habits of High-Impact Board Members
PDF
CloudStack 4.21: First Look Webinar slides
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
DP Operators-handbook-extract for the Mautical Institute
Modernising the Digital Integration Hub
A novel scalable deep ensemble learning framework for big data classification...
NewMind AI Weekly Chronicles – August ’25 Week III
O2C Customer Invoices to Receipt V15A.pptx
Final SEM Unit 1 for mit wpu at pune .pptx
Developing a website for English-speaking practice to English as a foreign la...
WOOl fibre morphology and structure.pdf for textiles
Web Crawler for Trend Tracking Gen Z Insights.pptx
search engine optimization ppt fir known well about this
STKI Israel Market Study 2025 version august
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Assigned Numbers - 2025 - Bluetooth® Document
Hindi spoken digit analysis for native and non-native speakers
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Five Habits of High-Impact Board Members
CloudStack 4.21: First Look Webinar slides
Module 1.ppt Iot fundamentals and Architecture
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
A contest of sentiment analysis: k-nearest neighbor versus neural network
DP Operators-handbook-extract for the Mautical Institute

How to Create an AWS VPC from Beginning to End and deploy a Windows Instance into the VPC to Test

  • 1. How to Create an AWS VPC from Beginning to End and deploy a Windows Instance into the VPC to Test First and foremost, what is an AWS VPC? VPC=Virtual Private Cloud? It is a virtual network that you create in AWS with its own network resources such as IP address range, routing table’s, gateway’s etc. basically it is a fully functional network once configured that you can deploy virtual instances of all types of networking devices such as PC’s, Databases etc. Each VPC belongs to a Region and each VPC can be linked to an availability zone as shown below, it is simple, secure and scalable. VPC’s can be peered together in the same region or different regions, they can also be accessed from On Premises network. Below I will show some of the different ways a VPC can be utilized to benefit a company with Data already in the cloud or thinking about moving into the cloud. But first I will show how to create a VPC and test it with a windows machine deployed into the VPC. I will create a VPC,configure routing and access to In-Out, create a windowsinstance place it in the VPC and use it to demonstrate the power of AWSVPC.
  • 2. Creatinga VPC inAWS Once loggedintoAWSconsole clickonthe servicestab,thenthe “Your VPCs”Tab on the side as shown belowthenclickoncreate VPC Thenfill inthe name and IPV4CIDR blockinfoasshownbelow thenclickcreate (leave the Tenancyas default) NextCreate anIpv4 SubnetbyclickingonSubnetandmake sure it fallswithinthe Ipv4range usedabove and as shownbelowinthe Snip Selectthe VPCyoucreatedabove andplace the subnetinyour chosenavailabilityzoneasshownbelow
  • 3. Nextcreate a routingtable byclickon “Routing Tables”toallow route advertisement, Clickto create the routingtable andgive ita name and selectthe VPC*dropdownbuttonto linkitto your alreadycreatedVPCasshownbelow
  • 4. Once createdyou will have to highlightitinthe listandedit the routesto configure whatroutesyou wantto allowoutand what subnetsto include andwhere butbefore thatwe needanInternetgateway “IGW” solet’sgo aheadand create one thenwe will returnandeditthe routingtable. InternetGateway Creation Clickon Internetgatewaytocreate a new IGW Give The internetgatewayaname as shownbelow andclickcreate,once createdattach the Gatewayto the VPCas showninthe snipbelowthisone
  • 5. Clickyournewlycreatedinternetgatewaythenclickonthe actiontab to attach itto your VPC AS shownbelow,make sure toselectthe correctVPCtoattach it to. Once attachedthe STATE will change to“attached”as shownbelow Nowlet’sgoback to the complete the routingtable routes Clickon Route Tablesandhighlightyoualreadycreatedroute table asshownbelow,thenclickonEdit Routes
  • 6. Andthenadd a defaultroute of 0.0.0.0/0 pointingtothe internetgatewaycreatedearlierasshownin the snipbelow,thiswill allowthe VPCtobe able tosendtrafficto the internetnextwe have tocreate a SecurityGroupthat decidesexactlywhatINBOUND/OUTBOUNDTrafficisallowed. NextclickonSubnetAssociationandata minimumallow the subnetthatthe Instanceswillbe usingin the routingtable as shownbelow Security Groupcreation Clickon Securitygroupthencreate tocreate a new one as shownbelow
  • 7. Fill inthe groupname,descriptionandselectthe correctVPCtolinkitto as shownbelow Nextclickintothe Securitygroupto edititand define the InboundandOutboundtrafficrulesasshown below Note: The Inboundrulesisbasedonwhat resourcesyoumighthave inyournetworkandwouldlike othersto accesssuch as a webserver,FTPserver,database serveretcso that will be companyspecific Note: The Outboundrulescan be more relaxed;itwill all dependonthe type of company. For thisdemoI will allowfor: InboundTrafficforHttps (443), SSH (22) OutboundTrafficIwill allowall. Clickto EditInbound Rulesasshownbelow
  • 8. Addwhat isallowedbyclickingon“AddRule”asshownbelow NextclickonOutboundRulesandmake sure there isa rule allowingoutbound 0.0.0.0/0traffic,if not create one as shownbelow At thispointthe VPCisa functioningvirtual Cloudnetworkingwithoutside accessallowedandinside access forport 443 and22 ComingNext Part II Device Instance Creation Nextlet’screate awindows/Linux/Unixinstance andplace itinourVPC Clickon Servicesandthen searchforEC2 thenclick “Launch Instance”to create an instance asshown below
  • 9. Once the instance islaunchedchoose the machine type youwanttocreate,I chose Windows Clicknextafterchoosingtoconfigure the instance detailssuchasthe “network”(pointtothe VPCyou created) andsubnet(pointtothe subnetbeingusedbythe VPC) asshownbelow Leave everythingelse atthe defaultsexceptscroll all the waytothe bottomand give itan IPaddressin the range as the subnet(use IPaddressstartingfrom.5 upwardssince AWSuses.2-.4 internallyand.1 will be usedforyourgateway) You can add a secondnetworkcard if yoursetupneedsit. Clicknexttocreate a SecurityGroupto allow access(RDP,port 3389) to the WindowsInstance asshown belowyoucan leave the source as0.0.0.0/0 for now until we getintosome more advanced configurationlikeusingtransitVPC,VPN toaccessfromthe OnPremisesnetworkthenwe canlockit downto a set of IP addressesthat are allowedaccessfromRDP
  • 10. Clicknexttofinishandcreate a keyPair that will be usedwhenaccessthe PCinstance. Thenlaunchthe instance and waituntil itsaysinitializedandrunning. WhileswaitinggoaheadandrequestanElasticIP address thatwill be usedwhenaccessingthe Windows instance fromoutside.ClickElasticIPthenAllocatenew addressfromamazonPool asshownbelow
  • 11. Nextclickinto the newallocatedaddressandgive itaname thenclickonaction andassociate address
  • 12. To the WindowsInstance youcreatedas shownbelow TestingTime Make sure SecurityGrouphas RDP port 3389 allowedforinboundtraffic.
  • 13. To ConnectGo to the instance,selectitandclickon Connect Whenthe windowfor“Connectto Your Instance”opensasshownbelow
  • 14. Clickon “GetPassword”as shownabove andthenclickon choose file toretrieve the .pemfileyou createdearlier Thenclickon “DecryptPassword” Thencopy the passwordto a clipboard to use to logintothe system
  • 15. Thenclickto download“Remote DesktopFile” Clickon DownloadedRemote DesktopFileinputpasswordandaccessthe WindowsInstance as shownbelow doa pingtestto google dns8.8.8.8 and alsothe gateway192.168.1.1 and alsowhateverothertestyouwantto perform at thispointyouare inControl.
  • 16. Until NextTime Enjoy Learning and Movingbeyondthe Cloud and neverStop. Technologyhas touched the cloudswe wait to see what isabove the clouds. If you findany missedstepsin thisDocument bring it to my attention.