1. Courses @ NECST
Lorenzo Di Tucci <lorenzo.ditucci@polimi.it>
Emanuele Del Sozzo <emanuele.delsozzo@polimi.it>
Marco Rabozzi <marco.rabozzi@polimi.it>
Marco D. Santambrogio <marco.santambrogio@polimi.it>
How to use Xilinx SDAccel on AWS
22/02/2018
DEIB Seminar Room
2. 2
Agenda
- Create an account on AWS
- Launch an EC2 compute instance
- Manage running Instances
- Connect to the AWS instance using SSH/GUI
- Deploy Xilinx SDAccel on AWS with the HDK
- Develop your kernel on AWS
- Create an AMI and execute your kernel on AWS
7. 7
AWS: Credit Request
• Request credits on
https://aws.amazon.com/education/awseducate/ and
then click Apply for AWS Educate for Educators link
under the Educators section
• Select the appropriate role (Educators or Students)
8. 8
AWS: Credit Request
• Fill out the form and enter the AWS account number
that you created in the previous step
17. 17
AWS: Instance Selection
● f1.2xlarge: AWS instance with a single FPGA for design deployment
● f1.16xlarge: AWS instance with 8 FPGAs (really expensive!)
● c4.4xlarge
○ Ideal instance for design development
○ much cheaper than a f1.2xlarge instance
20. 20
AWS: Security Group
● Add a rule to allow RDP connection
○ Once RDP connection is allowed to our instance we can use remmina/remote
desktop to connect to it
21. 21
AWS: Security Group
● Add a rule to allow RDP connection
○ Once RDP connection is allowed to our instance we can use remmina/remote
desktop to connect to it
28. 28
AWS: Instance Access
● Connect to the instance with ssh -i <pem_file_location> centos@<public_ip>
● The PEM file must have specific permissions
29. 29
AWS: Instance Access (Linux)
● Connect to the instance with ssh -i <pem_file> centos@<public_ip>
● The PEM file must have specific permissions:
○ chmod 400 <pem_file>
30. 30
AWS: Connect with PuTTy (Windows)
● Select SSH Connection Type
● Specify centos@<address>
● Port Number : 22
● Under Connection, select SSH
and then Auth
● Click on Browse and select the
Private Key
● Now you can connect to the
instance!
31. 31
AWS: GUI Setup
● in src/GUI_README.md is possible to find instructions on how to setup a GUI for an
instance
88. 88
Feedbacks
• We are working at improving this course, would you
share your feedback for this lesson?
https://goo.gl/forms/29nHmTG0oP7WDKrb2
89. Thank You for the
Attention!
89
Lorenzo Di Tucci
lorenzo.ditucci@polimi.it
Emanuele Del Sozzo
emanuele.delsozzo@polimi.it
Marco Rabozzi
marco.rabozzi@polimi.it
Marco D. Santambrogio
marco.santambrogio@polimi.it