forked from docs/doc-exports
Reviewed-by: Kovács, Zoltán <zkovacs@t-systems.com> Co-authored-by: Dong, Qiu Jian <qiujiandong1@huawei.com> Co-committed-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
32 lines
7.2 KiB
HTML
32 lines
7.2 KiB
HTML
<a name="asm_qs_0004"></a><a name="asm_qs_0004"></a>
|
|
|
|
<h1 class="topictitle1">Preparations</h1>
|
|
<div id="body0000001128136868"><p id="asm_qs_0004__p153630236110">Before enabling Istio for a cluster, perform the following operations.</p>
|
|
<div class="section" id="asm_qs_0004__section1956152937"><a name="asm_qs_0004__section1956152937"></a><a name="section1956152937"></a><h4 class="sectiontitle">Creating a VPC</h4><p id="asm_qs_0004__p19494141814419">Virtual Private Cloud (VPC) provides a logically isolated, configurable, and manageable virtual network environment, improving resource security and simplifying network deployment.</p>
|
|
<ol id="asm_qs_0004__ol82741740448"><li id="asm_qs_0004__li152741740340"><span>Log in to the VPC console.</span></li><li id="asm_qs_0004__li14611134520412"><span>Click <strong id="asm_qs_0004__b031791115375">Create VPC</strong> in the upper right corner.</span></li><li id="asm_qs_0004__li1580653675612"><span>Configure the parameters as prompted and click Create Now.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="asm_qs_0004__section155764494118"><h4 class="sectiontitle">Creating a Key Pair</h4><p id="asm_qs_0004__p127631541685">Create a key pair for identity authentication upon remote node login.</p>
|
|
<ol id="asm_qs_0004__ol95182416916"><li id="asm_qs_0004__li135185419915"><span>Log in to the Elastic Cloud Server (ECS) console.</span></li><li id="asm_qs_0004__li6979090912"><span>In the navigation pane, choose <strong id="asm_qs_0004__b977687934102415">Key Pair</strong>. On the page displayed, click <strong id="asm_qs_0004__b265386666102415">Create Key Pair</strong> in the upper right corner.</span></li><li id="asm_qs_0004__li13481898915"><span>Enter a key pair name and click <strong id="asm_qs_0004__b1245151613102415">OK</strong>.</span></li><li id="asm_qs_0004__li1546810318812"><span>Manually or automatically download the private key file. The file name is the specified key pair name with a suffix of <strong id="asm_qs_0004__b487791680102415">.pem</strong>. Securely store the private key file. In the dialog box displayed, click <strong id="asm_qs_0004__b77531092102415">OK</strong>.</span><p><div class="note" id="asm_qs_0004__note112941338789"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="asm_qs_0004__p529473819810">For security purposes, a key pair can be downloaded only once. Keep it secure to ensure successful login. </p>
|
|
</div></div>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="asm_qs_0004__section1416611141317"><h4 class="sectiontitle">Creating a Load Balancer</h4><p id="asm_qs_0004__p147841814101214">A load balancer will be used as the external access entry of a service mesh, which will route the traffic to backend services.</p>
|
|
<ol id="asm_qs_0004__ol17538102813129"><li id="asm_qs_0004__li13538182801219"><span>Log in to the Elastic Load Balance (ELB) console.</span></li><li id="asm_qs_0004__li5234133812128"><span>Click Create Elastic Load Balancer in the upper right corner.</span></li><li id="asm_qs_0004__li1964412420127"><span><strong id="asm_qs_0004__b873312561309">VPC</strong> and <strong id="asm_qs_0004__b137331456173010">Subnet</strong>: Select the VPC and subnet created in <a href="#asm_qs_0004__section1956152937">Creating a VPC</a>, configure other parameters as prompted, and click Create Now.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="asm_qs_0004__section19395823191819"><a name="asm_qs_0004__section19395823191819"></a><a name="section19395823191819"></a><h4 class="sectiontitle">Creating a Cluster</h4><ol id="asm_qs_0004__ol730511317187"><li id="asm_qs_0004__li942525917186"><span>Log in to the CCE console.</span></li><li id="asm_qs_0004__li1920092101911"><span>Then, click <strong id="asm_qs_0004__b999719593019">Create CCE Cluster</strong> in the upper right corner.</span></li><li id="asm_qs_0004__li03456151153"><span>Configure the following parameters:</span><p><ul id="asm_qs_0004__ul113451715759"><li id="asm_qs_0004__li234517151855"><strong id="asm_qs_0004__b8226201014347">Cluster Name</strong>: Enter a cluster name, for example, <strong id="asm_qs_0004__b52321710103417">cluster-test</strong>.</li><li id="asm_qs_0004__li1934519158512"><strong id="asm_qs_0004__b1029572356102415">VPC</strong> and <strong id="asm_qs_0004__b1183667889102415">Subnet</strong>: Select the VPC and subnet created in <a href="#asm_qs_0004__section1956152937">Creating a VPC</a>.</li></ul>
|
|
<p id="asm_qs_0004__p192321213161715">Retain the default settings of other parameters.</p>
|
|
</p></li><li id="asm_qs_0004__li1435415411016"><span>Click <strong id="asm_qs_0004__b102799354192">Next: Select Add-on</strong>.</span></li><li id="asm_qs_0004__li3384181011225"><span>Click <span class="uicontrol" id="asm_qs_0004__uicontrol1525412445347"><b>Next: Confirm</b></span>. Read the product constraints and select <span class="uicontrol" id="asm_qs_0004__uicontrol1825415448347"><b>I am aware of the above limitations</b></span>. Review the configured parameters and specifications.</span></li><li id="asm_qs_0004__li28281540151617"><span><span class="uicontrol" id="asm_qs_0004__uicontrol1958234619347"><b>Submit</b></span> the order.</span><p><p id="asm_qs_0004__p109404516228">It takes about 6 to 10 minutes to create a cluster. You can click <span class="uicontrol" id="asm_qs_0004__uicontrol749644412102415"><b>Back to Cluster List</b></span> to perform other operations on the cluster or click <span class="uicontrol" id="asm_qs_0004__uicontrol1320074875102415"><b>Go to Cluster Events</b></span> to view the cluster details.</p>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="asm_qs_0004__section1282120133365"><h4 class="sectiontitle">(Optional) Creating a Namespace</h4><ol id="asm_qs_0004__asm_qs_0004_ol1993112311714"><li id="asm_qs_0004__li19925925103614"><span>Log in to the CCE console and click the cluster name to access the cluster console.</span></li><li id="asm_qs_0004__li1392542593611"><span>In the navigation pane on the left, choose <span class="uicontrol" id="asm_qs_0004__uicontrol4602163310442"><b><span id="asm_qs_0004__text760212336449">Namespaces</span></b></span>. In the upper right corner, click <strong id="asm_qs_0004__b7602933124416">Create Namespace</strong>.</span></li><li id="asm_qs_0004__li179255259364"><span>Enter a namespace name and click <strong id="asm_qs_0004__b347611521125">OK</strong>.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="asm_qs_0004__section1389543062915"><h4 class="sectiontitle">Creating a Workload and a Service</h4><ol id="asm_qs_0004__ol175451816131912"><li id="asm_qs_0004__li291852552612"><span>Log in to the CCE console and click the cluster name to access the cluster console.</span></li><li id="asm_qs_0004__li185451716161918"><span>Choose <strong id="asm_qs_0004__b10284171117170">Workloads</strong> > <strong id="asm_qs_0004__b11626181451718">Deployments</strong>. In the the upper right corner, click <strong id="asm_qs_0004__b19699182821711">Create Workload</strong>.</span></li><li id="asm_qs_0004__li1954512163198"><span>Create a workload and a Service by referring to <em id="asm_qs_0004__i319712510263">CCE User Guide</em>.</span></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="asm_qs_0002.html">Enabling Istio for a Cluster</a></div>
|
|
</div>
|
|
</div>
|
|
|