This topic describes how to use Register Transfer Level (RTL) Compiler on an f1 instance.
Prerequisites
- An Alibaba Cloud account is created. To create an Alibaba Cloud account, go to the Create Your Alibaba Cloud Account page.
- An f1 instance is created and is able to access the Internet.
Note Only FPGA as a Service (FaaS) F1 basic images from Alibaba Cloud Marketplace can be used to create f1 instances. For more information, see Create an f1 instance.
- The rule for allowing traffic on SSH port 22 is configured for the security groups where the f1 instance resides.
- The ID of the f1 instance is obtained from the Instances page in the ECS console.
- An OSS bucket for FaaS is created.
The OSS bucket and the f1 instance must belong to the same account and reside in the same region. For more information, see Create buckets.
- To encrypt files, first activate Key Management Service (KMS).
For more information, see Activate KMS.
- You must complete the following operations before you can manage FPGA-accelerated
instances as a RAM user:
- Create a RAM user and grant permissions to the RAM user. For more information, see
Create a RAM user and Grant permissions to a RAM user.
The permissions you must grant to the RAM user include AliyunECSReadOnlyAccess, AliyunOSSFullAccess, and AliyunRAMFullAccess.
- Go to the Cloud Resource Access Authorization page to authorize FaaS to access your resources.
- Obtain the AccessKey ID and AccessKey secret of the RAM user.
- Create a RAM user and grant permissions to the RAM user. For more information, see
Create a RAM user and Grant permissions to a RAM user.
Background information
- All operations described in this topic must be performed by a single account within the same region.
- We strongly recommend that you manage FPGA-accelerated instances as a RAM user. To avoid accidental operations, you must authorize the RAM user to perform only required actions. You must create a role for the RAM user and grant temporary permissions to the role to access the specified OSS bucket. Then, you can download the original Design Checkpoint (DCP) project from the OSS bucket and manage the FPGA image. If you want to encrypt the IP address, you must authorize the RAM user to use KMS. If you want the RAM user to check permissions of Alibaba Cloud accounts, you must authorize the RAM user to view the resources of Alibaba Cloud accounts.