All Products
Search
Document Center

Elastic Compute Service:Create an FPGA-accelerated instance

Last Updated:Aug 10, 2023

f3 instances use Xilinx Field Programmable Gate Arrays (FPGAs). When you create an FPGA-accelerated instance, you can use an image that is pre-installed with the FPGA development environment. This topic describes how to create an FPGA-accelerated instance and the parameters of which you must take note when you create an FPGA-accelerated instance.

Preparations

Create an Alibaba Cloud account and complete the account information.

  • Create an Alibaba Cloud account.

  • Complete real-name verification before you purchase Elastic Compute Service (ECS) instances in the Chinese mainland.

Procedure

In this example, the ECS console is used to create an FPGA-accelerated instance. You can use multiple methods to create an FPGA-accelerated instance. For more information, see Provisioning methods of ECS instances.

  1. Go to the instance buy page and configure the required parameters.

    The following table describes the parameters. For more information, see Create an instance by using the wizard.

    Section

    Parameter

    Description

    Region

    Instances deployed in different regions cannot communicate with each other. We recommend that you select a region that is close to your clients to reduce network latency and improve connection quality.

    Note

    FPGA-accelerated instance types are available only in specific regions and zones. For more information, see ECS Instance Types Available for Each Region. For example, after you select a region, go to the ECS Instance Types Available for Each Region page, select Subscription from the billing method drop-down list, and enter an instance type name, such as f3, in the search box. Then, you can view the instance types that are available in the region.

    Network

    • We recommend that you select VPC. Virtual private clouds (VPCs) are logically isolated from each other for higher security.

      Note

      Alibaba Cloud provides a default VPC. If you do not want to use the default VPC, you can create a VPC and a vSwitch in the selected region. For more information, see Create a VPC with an IPv4 CIDR block.

    • Each region has multiple isolated locations known as zones. Each zone has its own independent power supply and networks. Resources that are deployed within the same zone share the same network and have minimal latency between each other. Therefore, services deployed within the same zone provide faster communication speeds, which translates into more efficient business operations.

    Instances & Images

    Instance Type

    Enter an instance type name, such as f3, in the search box to the right of Filter Condition to search for the instance type.

    Note

    FPGA-accelerated instances belong to GPU-accelerated instances. The number of resources that you can purchase depends on the instance quota. For more information, see View and increase instance quotas.

    Image

    f3 instances must use an image that is installed with the Xilinx development environment. The image is a community image.

    Click the Community Images tab and enter m-uf62gw9ckos5os056xum as the community image ID.

    Storage

    System Disk

    To create an f3 instance, we recommend that you allocate a 200-GiB ultra disk as the system disk. This is because the image pre-installed with the Xilinx development environment occupies some storage space.

    Bandwidths & Security Groups

    Security Group

    A security group is a virtual firewall that is used to control the inbound and outbound traffic of instances in the security group.

    Note

    Alibaba Cloud provides a default security group. If you do not want to use the default security group, you can create a security group in the selected region. For more information, see Create a security group.

    Management

    Key Pair

    To bind an SSH key pair when you create a Linux instance, you must create the SSH key pair in the selected region. For more information, see Create an SSH key pair.

    Advanced Settings (Optional)

    User Data

    To add user data for the instance, you must prepare user data in advance. For more information, see Overview of ECS instance user data.

    Instance RAM Role

    Before you associate an ECS instance with a RAM role, you must create the RAM role and attach permission policies to the role. For more information, see Attach an instance RAM role to an ECS instance.

  2. After the parameters are configured, configure the Quantity and Duration parameters on the right side of the buy page, and make sure that the configurations meet your requirements.

  3. Read and select ECS Terms of Service and Refund Policies and Procedure, and click Create Order.