Home > Operation and Maintenance > Linux Operation and Maintenance > How to attach an elastic network card when creating an instance

How to attach an elastic network card when creating an instance

坏嘻嘻
Release: 2018-09-19 09:07:15
Original
1706 people have browsed it

The content of this article is about how to attach an elastic network card when creating an instance. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

Create an elastic network card

You can create an elastic network card in the following two ways:

Attach an elastic network card when creating an instance. In this way, a maximum of two elastic network cards can be attached, one as the primary network card and one as the secondary network card. The secondary network card created in this way will be released along with the instance if it is not detached from the instance.

Create an elastic network card separately. The created elastic network card can be attached to the instance. The elastic network card created through this method can only be used as a secondary network card.

This article describes how to create an elastic network card separately in the console.

Restrictions

There are the following restrictions on creating an elastic network card:

The elastic network card must belong to a switch (VSwitch) of a certain VPC .

The elastic network card must join at least one security group.

Prerequisites

Before creating an elastic network card, you must complete the following operations:

Create a dedicated server in the corresponding region There is a network (VPC) and a switch is created.

Create a security group under the specified private network.

Operation steps

Follow the following steps to create an elastic network card:

Log in to the ECS management console.

In the left navigation bar, select Network and Security > Elastic Network Adapter.

Select a region.

Click to create an elastic network card.

In the Create Elastic Network Card dialog box, complete the following settings:

Network card name: Set the elastic network card name as prompted.

Private network: Elastic network cards can only be attached to instances in the same private network, so select the private network where your instance is located.

Description

The VPC cannot be changed after the elastic network card is created.

Switch: Elastic network cards can only be attached to instances in the same availability zone, so select the switch in the availability zone where your instance is located. Both can belong to different switches.

Description

The switch cannot be changed after the elastic network card is created.

(Optional) Primary intranet IP: Enter the primary intranet IPv4 address of the elastic network card. This IPv4 address must belong to a free address in the CIDR network segment of the switch. If you do not specify one, a free private IPv4 address will be automatically assigned to you when you create the elastic network adapter.

Security Group: Select a security group of the current private network.

(Optional) Description: Enter a description of the elastic network card to facilitate later management.

Click OK.

In the network card list, refresh the list. When the status of the new elastic network card is displayed as available, it means that you have successfully created the elastic network card.

Follow-up operations

After the elastic network card is successfully created, you can perform the following operations:

Attach the elastic network card to the instance

Modify elastic network card properties

Delete elastic network card

The above is the detailed content of How to attach an elastic network card when creating an instance. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template