doc-exports/docs/fg/umn/functiongraph_03_0834.html
Chen, Junjie dac566cf2f FG UMN 20230725 version
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2024-04-03 10:30:56 +00:00

16 lines
2.0 KiB
HTML

<a name="functiongraph_03_0834"></a><a name="functiongraph_03_0834"></a>
<h1 class="topictitle1">How Do I Configure External Network Access?</h1>
<div id="body0000001255854471"><p id="functiongraph_03_0834__p1632819818264">By default, functions deployed in a VPC are isolated from the Internet. If a function needs to access both internal and external networks, add a NAT gateway for the VPC.</p>
<p id="functiongraph_03_0834__p5783210183917"><strong id="functiongraph_03_0834__b1091562415504">Prerequisites</strong></p>
<ol id="functiongraph_03_0834__ol12952935194314"><li id="functiongraph_03_0834__li1595243511433">You have created a VPC and subnet according to section "Creating a VPC".</li><li id="functiongraph_03_0834__li14365104114439">You have obtained an elastic IP address according to section "Assigning an EIP".</li></ol>
<p id="functiongraph_03_0834__p15945191314420"><strong id="functiongraph_03_0834__b18764173335010">Procedure of Creating a NAT Gateway</strong></p>
<ol id="functiongraph_03_0834__ol1596711528257"><li id="functiongraph_03_0834__li1896775210258"><span>Log in to the NAT Gateway console, and click <strong id="functiongraph_03_0834__b918525511268">Create NAT Gateway</strong>.</span></li><li id="functiongraph_03_0834__li7228328192611"><span>On the displayed page, enter gateway information, select a VPC and subnet (for example, <strong id="functiongraph_03_0834__b144591537175011">vpc-01</strong>), and confirm and submit the settings to create a NAT gateway. For details, see section "Creating a NAT Gateway".</span></li><li id="functiongraph_03_0834__li152314107614"><span>Click the NAT gateway name. On the details page that is displayed, click <strong id="functiongraph_03_0834__b3734111018243">Add an SNAT Rule</strong> and click <strong id="functiongraph_03_0834__b45321642135012">OK</strong>.</span></li></ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="functiongraph_03_0355.html">External Resource Access FAQs</a></div>
</div>
</div>