{"id":1725,"date":"2019-08-07T05:43:52","date_gmt":"2019-08-07T05:43:52","guid":{"rendered":"https:\/\/www.testpreptraining.com\/tutorial\/?page_id=1725"},"modified":"2020-05-02T06:41:56","modified_gmt":"2020-05-02T06:41:56","slug":"network-address-translation-nat","status":"publish","type":"page","link":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/network-address-translation-nat\/","title":{"rendered":"Network Address Translation (NAT)"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li>NAT Gateway requires an Elastic IP <\/li><li>&nbsp;NAT Instances <ul><li>Created using public AMIs<\/li><\/ul><ul><li>Disable Source \/ Destination check on the instance<\/li><\/ul><ul><li>Must be in public subnet<\/li><\/ul><\/li><li>private subnets cannot talk to internet<\/li><li>NAT&nbsp; Instance <ul><li>create SG for NAT outbound<\/li><\/ul><ul><li>launch NAT AMI (linux)<\/li><\/ul><ul><li>Disable source\/destination&nbsp; check<\/li><\/ul><ul><li>configure route table of private subnet to direct internet traffic to the NAT instance<\/li><\/ul><ul><li>Allocate EIP and assign to NAT instance<\/li><\/ul><ul><li>When creating a NAT instance, disable Source\/Destination checks on the instance or you could encounter issues<\/li><\/ul><ul><li>NAT instances must be in a public subnet<\/li><\/ul><ul><li>There must be a route out of the private subnet to the NAT instance in order for it to work<\/li><\/ul><ul><li>The amount of traffic that NAT instances support depend on the size of the NAT instance. If bottlenecked, increase the instance size<\/li><\/ul><ul><li>If you are experiencing any sort of bottleneck issues with a NAT instance, then increase the instance size<\/li><\/ul><ul><li>HA can be achieved by using Auto-scaling groups, or multiple subnets in different AZ&#8217;s with a scripted fail-over procedure<\/li><\/ul><ul><li>NAT instances are always behind a security group<\/li><\/ul><\/li><li>NAT Gateway (Preferred) <ul><li>simpler<\/li><\/ul><ul><li>HA<\/li><\/ul><ul><li>configure route table of private subnet to direct Internet&nbsp; traffic to NAT gateway<\/li><\/ul><ul><li>Allocate EIP and assign to NAT gateway<\/li><\/ul><ul><li>NAT Gateways scale automatically up to 10Gbps<\/li><\/ul><ul><li>There is no need to patch NAT gateways as the AMI is handled by AWS<\/li><\/ul><ul><li>NAT gateways are automatically assigned a public IP address<\/li><\/ul><ul><li>When a new NAT gateway has been created, remember to update your route table<\/li><\/ul><ul><li>No need to assign a security group, NAT gateways are not associated with security groups<\/li><\/ul><ul><li>Preferred in the Enterprise<\/li><\/ul><ul><li>No need to disable Source\/Destination checks<\/li><\/ul><ul><li>More secure than a NAT instance<\/li><\/ul><\/li><li>Virtual Private Gateways (VPG) Customer Gateway (CGW) Virtual Private networks (VPN)<ul><li>Create VPG<\/li><\/ul><ul><li>Create CGW<\/li><\/ul><ul><li>Create VPN<\/li><\/ul><ul><li>customer must initiate traffic to bring tunnel up. Customer should use keep alive on their side<\/li><\/ul><ul><li>CGW supports BGP ( Dynamic and static )<\/li><\/ul><ul><li>Supports man CGW to one VPG<\/li><\/ul><ul><li>VPN has two tunnels for HA<\/li><\/ul><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>NAT Gateway requires an Elastic IP &nbsp;NAT Instances Created using public AMIs Disable Source \/ Destination check on the instance Must be in public subnet private subnets cannot talk to internet NAT&nbsp; Instance create SG for NAT outbound launch NAT AMI (linux) Disable source\/destination&nbsp; check configure route table of private subnet to direct internet traffic&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":383,"menu_order":31,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[7,242,243],"class_list":["post-1725","page","type-page","status-publish","hentry","category-amazon-aws","tag-aws","tag-nat","tag-network-address-translation"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Network Address Translation (NAT) - Testprep Training Tutorials<\/title>\n<meta name=\"description\" content=\"NAT Gateway requires an Elastic IP\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/network-address-translation-nat\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Network Address Translation (NAT) - Testprep Training Tutorials\" \/>\n<meta property=\"og:description\" content=\"NAT Gateway requires an Elastic IP\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/network-address-translation-nat\/\" \/>\n<meta property=\"og:site_name\" content=\"Testprep Training Tutorials\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-02T06:41:56+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/network-address-translation-nat\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/network-address-translation-nat\/\",\"name\":\"Network Address Translation (NAT) - Testprep Training Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\"},\"datePublished\":\"2019-08-07T05:43:52+00:00\",\"dateModified\":\"2020-05-02T06:41:56+00:00\",\"description\":\"NAT Gateway requires an Elastic IP\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/network-address-translation-nat\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/network-address-translation-nat\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/network-address-translation-nat\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AWS Certified SysOps Administrator &#8211; Associate (SOA-C01)\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Network Address Translation (NAT)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"name\":\"Testprep Training Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\",\"name\":\"Testprep Training\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"contentUrl\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"width\":583,\"height\":153,\"caption\":\"Testprep Training\"},\"image\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Network Address Translation (NAT) - Testprep Training Tutorials","description":"NAT Gateway requires an Elastic IP","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/network-address-translation-nat\/","og_locale":"en_US","og_type":"article","og_title":"Network Address Translation (NAT) - Testprep Training Tutorials","og_description":"NAT Gateway requires an Elastic IP","og_url":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/network-address-translation-nat\/","og_site_name":"Testprep Training Tutorials","article_modified_time":"2020-05-02T06:41:56+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/network-address-translation-nat\/","url":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/network-address-translation-nat\/","name":"Network Address Translation (NAT) - Testprep Training Tutorials","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website"},"datePublished":"2019-08-07T05:43:52+00:00","dateModified":"2020-05-02T06:41:56+00:00","description":"NAT Gateway requires an Elastic IP","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/network-address-translation-nat\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/network-address-translation-nat\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/network-address-translation-nat\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.testpreptraining.ai\/tutorial\/"},{"@type":"ListItem","position":2,"name":"AWS Certified SysOps Administrator &#8211; Associate (SOA-C01)","item":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/"},{"@type":"ListItem","position":3,"name":"Network Address Translation (NAT)"}]},{"@type":"WebSite","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","name":"Testprep Training Tutorials","description":"","publisher":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization","name":"Testprep Training","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","contentUrl":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","width":583,"height":153,"caption":"Testprep Training"},"image":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/1725","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/comments?post=1725"}],"version-history":[{"count":3,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/1725\/revisions"}],"predecessor-version":[{"id":5237,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/1725\/revisions\/5237"}],"up":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/383"}],"wp:attachment":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/media?parent=1725"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/categories?post=1725"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/tags?post=1725"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}