Outfitted with as much as eight AMD Subject-Programmable Gate Arrays (FPGAs), AMD EPYC (Milan) processors with as much as 192 cores, Excessive Bandwidth Reminiscence (HBM), as much as 8 TiB of SSD-based occasion storage, and as much as 2 TiB of reminiscence, the brand new F2 situations can be found in two sizes, and are able to speed up your genomics, multimedia processing, huge information, satellite tv for pc communication, networking, silicon simulation, and reside video workloads.
A Fast FPGA Recap
Right here’s how I defined the FPGA mannequin once we previewed the primary era of FPGA-powered Amazon Elastic Compute Cloud (Amazon EC2) situations
One of many extra attention-grabbing routes to a customized, hardware-based resolution is named a Subject Programmable Gate Array, or FPGA. In distinction to a purpose-built chip which is designed with a single perform in thoughts after which hard-wired to implement it, an FPGA is extra versatile. It may be programmed within the subject, after it has been plugged in to a socket on a PC board. Every FPGA features a fastened, finite variety of easy logic gates. Programming an FPGA is “merely” a matter of connecting them as much as create the specified logical capabilities (AND, OR, XOR, and so forth) or storage parts (flip-flops and shift registers). Not like a CPU which is basically serial (with a number of parallel parts) and has fixed-size directions and information paths (usually 32 or 64 bit), the FPGA might be programmed to carry out many operations in parallel, and the operations themselves might be of just about any width, massive or small.
Since that launch, AWS prospects have used F1 situations to host many various kinds of purposes and companies. With a more recent FPGA, extra processing energy, and extra reminiscence bandwidth, the brand new F2 situations are a good higher host for extremely parallelizable, compute-intensive workloads.
Every of the AMD Virtex UltraScale+ HBM VU47P FPGAs has 2.85 million system logic cells and 9,024 DSP slices (as much as 28 TOPS of DSP compute efficiency when processing INT8 values). The FPGA Accelerator Card related to every F2 occasion supplies 16 GiB of Excessive Bandwidth Reminiscence and 64 GiB of DDR4 reminiscence per FPGA.
Contained in the F2
F2 situations are powered by third era AMD EPYC (Milan) processors. Compared to F1 situations, they provide as much as 3x as many processor cores, as much as twice as a lot system reminiscence and NVMe storage, and as much as 4x the community bandwidth. Every FPGA comes with 16 GiB Excessive Bandwidth Reminiscence (HBM) with as much as 460 GiB/s bandwidth. Listed below are the occasion sizes and specs:
| Occasion Title | vCPUs | FPGAs | FPGA Reminiscence HBM / DDR4 | Occasion Reminiscence | NVMe Storage | EBS Bandwidth | Community Bandwidth |
| f2.12xlarge | 48 | 2 | 32 GiB / 128 GiB | 512 GiB | 1900 GiB (2x 950 GiB) | 15 Gbps | 25 Gbps |
| f2.48xlarge | 192 | 8 | 128 GiB / 512 GiB | 2,048 GiB | 7600 GiB (8x 950 GiB) | 60 Gbps | 100 Gbps |
The high-end f2.48xlarge occasion helps the AWS Cloud Digital Interface (CDI) to reliably transport uncompressed reside video between purposes, with instance-to-instance latency as little as 8 milliseconds.
Constructing FPGA Purposes
The AWS EC2 FPGA Improvement Package comprises the instruments that you’ll use to develop, simulate, debug, compile, and run your hardware-accelerated FPGA purposes. You may launch the equipment’s FPGA Developer AMI on a memory-optimized or compute-optimized occasion for growth and simulation, then use an F2 occasion for last debugging and testing.
The instruments included within the developer equipment help quite a lot of growth paradigms, instruments, accelerator languages, and debugging choices. No matter your selection, you’ll finally create an Amazon FPGA Picture (AFI) which comprises your customized acceleration logic and the AWS Shell which implements entry to the FPGA reminiscence, PCIe bus, interrupts, and exterior peripherals. You may deploy AFIs to as many F2 situations as desired, share with different AWS accounts or publish on AWS Market.
When you’ve got already created an utility that runs on F1 situations, you’ll need to replace your growth surroundings to make use of the most recent AMD instruments, then rebuild and validate earlier than upgrading to F2 situations.
FPGA Cases in Motion
Listed below are some cool examples of how F1 and F2 situations can help distinctive and extremely demanding workloads:
Genomics – Multinational pharmaceutical and biotechnology firm AstraZeneca used hundreds of F1 situations to construct the world’s quickest genomics pipeline, in a position to course of over 400K complete genome samples in underneath two months. They may undertake Illumina DRAGEN for F2 to appreciate higher efficiency at a decrease price, whereas accelerating illness discovery, analysis, and therapy.
Satellite tv for pc Communication – Satellite tv for pc operators are transferring from rigid and costly bodily infrastructure (modulators, demodulators, combiners, splitters, and so forth) towards agile, software-defined, FPGA-powered options. Utilizing the digital sign processor (DSP) parts on the FPGA, these options might be reconfigured within the subject to help new waveforms and to satisfy altering necessities. Key F2 options corresponding to help for as much as 8 FPGAs per occasion, beneficiant quantities of community bandwidth, and help for the Knowledge Plan Improvement Package (DPDK) utilizing Digital Ethernet can be utilized to help processing of a number of, complicated waveforms in parallel.
Analytics – NeuroBlade‘s SQL Processing Unit (SPU) integrates with Presto, Apache Spark, and different open supply question engines, delivering sooner question processing and market-leading question throughput effectivity when run on F2 situations.
Issues to Know
Listed below are a few last issues that it’s best to know in regards to the F2 situations:
Areas – F2 situations can be found right this moment within the US East (N. Virginia) and Europe (London) AWS Areas, with plans to increase availability to extra areas over time.
Working Techniques – F2 situations are Linux-only.
Buying Choices – F2 situations can be found in On-Demand, Spot, Financial savings Plan, Devoted Occasion, and Devoted Host type.
— Jeff;

