{"id":685,"date":"2017-10-24T09:46:49","date_gmt":"2017-10-24T09:46:49","guid":{"rendered":"http:\/\/wiki.thomasandsofia.com\/?p=685"},"modified":"2017-10-25T01:33:37","modified_gmt":"2017-10-25T01:33:37","slug":"build-your-own-vpc","status":"publish","type":"post","link":"https:\/\/wiki.thomasandsofia.com\/?p=685","title":{"rendered":"Build your own VPC"},"content":{"rendered":"<p><a href=\"https:\/\/www.udemy.com\/aws-certified-solutions-architect-associate\/learn\/v4\/t\/lecture\/2801686?start=0\" target=\"_blank\" rel=\"noopener\">https:\/\/www.udemy.com\/aws-certified-solutions-architect-associate\/learn\/v4\/t\/lecture\/2801686?start=0<\/a><\/p>\n<h2>Build your own VPC<\/h2>\n<h3>Create the VPC<\/h3>\n<ul>\n<li>Networking &gt; VPC &gt; Your VPCs &gt; Create VPC\n<ul>\n<li>Name Tag<\/li>\n<li>CIDR = Classless Inter-Domain Routing<\/li>\n<\/ul>\n<\/li>\n<li>It does NOT automatically create\n<ul>\n<li>Subnets<\/li>\n<li>Internet Gateways<\/li>\n<\/ul>\n<\/li>\n<li>It DOES automatically create\n<ul>\n<li>Route Table<\/li>\n<li>Network ACL<\/li>\n<li>Security Group<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>Create Subnets<\/h3>\n<ul>\n<li>Subnets CANNOT span AZ!<\/li>\n<li>AWS reserves 3 IP addresses per subnet, not including the Network Address (.0) or the Broadcast IP (.255)<\/li>\n<li>By default, all new Subnets will be added to the Main Route Table.\n<ul>\n<li>The Main Route Table is defaulted to Local only and is not Internet accessible&#8230; this is a good thing.<\/li>\n<\/ul>\n<\/li>\n<li>Recommended Naming convention:\n<ul>\n<li>NE.TW.OR.K &#8211; us-region-#a<\/li>\n<\/ul>\n<\/li>\n<li>Enable Auto-Assign IPs if this is for public facing instances.<\/li>\n<\/ul>\n<h3>Create Internet Gateway<\/h3>\n<ul>\n<li>Internet Gateways &gt; Create Internet Gateway<\/li>\n<li>Attach to VPC &gt; Select the VPC to attach it to.\n<ul>\n<li>You cannot attach multiple Internet Gateways to a VPC.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>Create Route Table<\/h3>\n<ul>\n<li>By default, all subnets within a VPC will be able to talk to each other.<\/li>\n<li>To Create a Public Route\n<ul>\n<li>Create the Route Table on the desired VPC<\/li>\n<li>[Routes Tab] &gt; [Edit]\n<ul>\n<li>Destination: 0.0.0.0\/0<\/li>\n<li>Target: Defaults to your Internet Gateway<\/li>\n<\/ul>\n<\/li>\n<li>[Subnet Associations Tab] &gt; Edit\n<ul>\n<li>Select the Subnets you want to allow the Public Access<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/www.udemy.com\/aws-certified-solutions-architect-associate\/learn\/v4\/t\/lecture\/2801686?start=0 Build your own VPC Create the VPC Networking &gt; VPC &gt; Your VPCs &gt; Create VPC Name Tag CIDR = Classless Inter-Domain Routing It does NOT automatically create Subnets Internet Gateways It DOES automatically create Route Table Network ACL Security Group Create Subnets Subnets CANNOT span AZ! AWS reserves 3 IP addresses per subnet, ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/wiki.thomasandsofia.com\/?p=685\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,21],"tags":[],"class_list":["post-685","post","type-post","status-publish","format-standard","hentry","category-amazon-web-services-aws","category-vpc"],"_links":{"self":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/685","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=685"}],"version-history":[{"count":3,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/685\/revisions"}],"predecessor-version":[{"id":688,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/685\/revisions\/688"}],"wp:attachment":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}