Skip to content

pfreyp/SDAccel-AWS-F1-Developer-Labs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDAccel AWS F1 Developer Labs

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.

Prerequisites

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.


Usage Instructions

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.

Launch an EC2 instance

  1. Navigate to the AWS EC2 dashboard: https://console.aws.amazon.com/ec2
  2. In the top right corner, select a region with F1 instances: US East (N.Virginia), US West (Oregon) or EU (Ireland)
  3. Click Launch Instance

Choose the FPGA Developer AMI 1.3.4

  1. Click AMIs (on the left pane, under "IMAGES")
  2. Set the pulldown of the search text field to "Public images"
  3. Enter "FPGA" in the text field and press "enter"
  4. Select the FPGA Developer AMI - 1.3.4... AMI name
  5. Click Launch

Choose an F1 instance

  1. In the All Instance Type menu select "FPGA Instances"
  2. Select f1.2xlarge

Enable RDP traffic to enable a remote desktop client to access the F1 instance

  1. At the top of the console, select Configure Security Groups
  2. Click Add Rule
  3. Select RDP from the pulldown menu
  4. Select My IP from the Source pulldown

Review and launch

  1. Click Review and Launch
  2. Click Launch
  3. Select an existing key pair or create a new key pair
  4. Monitor the launch, click on the "View Instances" button
  5. Click the instance name to display it in the instance view
  6. 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 (Refresh) in the top-right corner of the EC2 Console to update the instance status information.

Connect to your instance via a ssh to comple the setup

  1. Click Review and Launch
  2. Click Launch
  3. Select an existing key pair or create a new key pair
  4. Monitor the launch, click on the "View Instances" button
  5. Click the instance name to display it in the instance view
  6. Copy or write down the IPv4 Public IP address of the instance.
  7. Using that IP address, connect to your instance using SSH
  8. Once connected to the shell, make sure the AMI version is 1.3.4
  9. On that screen copy and paste to execute /home/centos/src/scripts/setup_gui.sh

Connect to your instance using a remote desktop client

The instance you just started is preconfigured with remote desktop protocol (RDP) services.

  1. 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.exe in 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.
  2. 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)
  3. In the RDP client, enter the IPv4 Public IP of your instance.
  4. Click Connect. This should bring up a message about connection certificates.
  5. Click Yes to dismiss the message. The Remote Desktop Connection window opens with a login prompt.
  6. Login with the following credentials:
    • User: centos
    • Password: sdaccel_labs
  7. Click Ok.

You should now be connected to the remote F1 instance running Centos 7 and the SDAccel AWS F1 Developer Labs AMI.

Open the lab instructions on the remote F1 instance

  1. 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.
  2. 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 96.5%
  • C 2.1%
  • Makefile 1.4%