- Change the instance type for a compute optimized instance (c4.4xlarge or c5.4xlarge)
- Connect to the instance via ssh
- Go to the aws-fpga folder
cd <the-path-of-aws-fpga-folder>
- Setup the hardware environment
source hdk_setup.sh
- Go to the hello-world example folder
cd hdk/cl/examples/cl_hello_world
- Export environment variable for the design
export CL_DIR=$PWD
- Go to the hardware scripts folder
cd build/scripts
- Run
./aws_build_dcp_from_cl.sh
- Run
tail -f last_log
to monitor progress and exit anytime by runningctrl+c
- Wait until Xilinx Vivado finishes building the design and the final design (.tar) will be located at
$CL_DIR/build/checkpoints/to_aws/*.Developer_CL.tar
- Copy the final tar-file to the s3 bucket
aws s3 cp $CL_DIR/build/checkpoints/to_aws/*.Developer_CL.tar s3://<your-s3-bucket>