Welcome to the SDAccel AWS F1 Developer Labs. By going through these labs you will gain hands-on experience with AWS F1 and learn how to develop accelerated applications using the Xilinx SDAccel development environment.
In order to run the SDAccel AWS F1 Developer Labs, you will need the following:
An AWS account (expand for details)
If you do not already have an Amazon Web Services (AWS) account, create one here: https://aws.amazon.com/
Access to AWS F1 instances (expand for details)
By default, AWS users do not have access to F1 instances. You need to request and be granted access to F1 instances before you can start using these instance. Here are the steps to do so:
- Open the Service Limit Increase form: http://aws.amazon.com/contact-us/ec2-request
- Make sure your account name is correct
- Submit a 'Service Limit Increase' for 'EC2 Instances'
- Select the region where you want to access F1 instances: US East (N.Virginia), US West (Oregon) or EU (Ireland)
- Select 'f1.2xlarge' as the primary instance type
- Set the 'New limit value' to 1 or more
- Fill the rest of the form as appropriate and click 'Submit'
Requests are typically processed by AWS in 24 to 48 hours.
These steps explain how start an EC2 F1 instance starting from the FPGA Developer AMI and setting it up to connect via a remote desktop client.
- Navigate to the AWS EC2 dashboard: https://console.aws.amazon.com/ec2
- In the top right corner, select a region with F1 instances: US East (N.Virginia), US West (Oregon) or EU (Ireland)
- Click Launch Instance
- Click AMIs (on the left pane, under "IMAGES")
- Set the pulldown of the search text field to "Public images"
- Enter "FPGA" in the text field and press "enter"
- Select the FPGA Developer AMI - 1.3.4... AMI name
- Click Launch
- In the All Instance Type menu select "FPGA Instances"
- Select f1.2xlarge
- At the top of the console, select Configure Security Groups
- Click Add Rule
- Select RDP from the pulldown menu
- Select My IP from the Source pulldown
- Click Review and Launch
- Click Launch
- Select an existing key pair or create a new key pair
- Monitor the launch, click on the "View Instances" button
- Click the instance name to display it in the instance view
- Copy or write down the IPv4 Public IP address of the instance.
When the status of the newly launched instance switches to green (Running), you are ready to connect to it.
- Allow about 10 seconds for the instance to get in the 'running' state.
- If needed, click the Refresh icon (
) in the top-right corner of the EC2 Console to update the instance status information.
- Click Review and Launch
- Click Launch
- Select an existing key pair or create a new key pair
- Monitor the launch, click on the "View Instances" button
- Click the instance name to display it in the instance view
- Copy or write down the IPv4 Public IP address of the instance.
- Using that IP address, connect to your instance using SSH
- Once connected to the shell, make sure the AMI version is 1.3.4
- On that screen copy and paste to execute /home/centos/src/scripts/setup_gui.sh
The instance you just started is preconfigured with remote desktop protocol (RDP) services.
- From your local machine, start a remote desktop protocol client
- On Windows: press the Windows key and type "remote desktop".
- You should see the "Remote Desktop Connection" in the list of programs.
- Alternatively you can also simply type
mstsc.exein the Windows run prompt.
- On Linux: RDP clients such a Remmina or Vinagre are suitable.
- On macOS: use the Microsoft Remote Desktop v8.0.43 (that version offers color depth settings) from the Mac App Store.
- On Windows: press the Windows key and type "remote desktop".
- IMPORTANT: Set your RDP client to use 24-bit for color depth
- On Windows: In the bottom-left corner of connection prompt, click Options, then select the Display tab and set Colors to True Colors (24 bit)
- In the RDP client, enter the IPv4 Public IP of your instance.
- Click Connect. This should bring up a message about connection certificates.
- Click Yes to dismiss the message. The Remote Desktop Connection window opens with a login prompt.
- Login with the following credentials:
- User: centos
- Password: sdaccel_labs
- Click Ok.
You should now be connected to the remote F1 instance running Centos 7 and the SDAccel AWS F1 Developer Labs AMI.
- In the remote instance, open Firefox from the Applications menu (located in top left corner of the desktop)
- As it opens, the browser automatically loads this README file.
- Continue following the lab instructions from within the remote instance and the web browser.
- We suggest you perform all your copy-paste from the instructions to the shell within the RDP session to avoid issues.
You instance is now configured to run the SDAccel Developer labs on AWS F1 and you are ready to start the first module.
Start the first module: Introduction to the SDAccel Flow