Getting Started – Let’s Deploy Some Code!

We’re going to deploy a build of our MD5 hash example to a cloud FPGA and use it to generate MD5 hashes of strings of your choice. If you would like to look at our code, you can do so here.

If you’ve found your way here without signing up first, please head to our website.

  1. Open a terminal and enter the command below to deploy a build of our MD5 code example to an FPGA. We’ve set a time limit of 30 minutes for the deployment to avoid using up your available hours if you forget to stop it at the end. If you have problems running this command you may need to update to the latest version of our command line tool.
reco deploy run 3e21bae1-5367-419e-9bc2-7e01e7fe9942 timeout 30m run-webserver --wait=http

And you should see:

creating deployment
done. Deployment ID: <deployment_ID>
you can run "reco deployment log <deployment_ID>" to manually stream logs
Waiting for Spot Instance Request to be created
status: QUEUED
Waiting for EC2 instance to be allocated
Waiting for EC2 instance to be allocated
status: STARTED
Waiting for deployment to listen on port 80
Deployment ready at <deployment_IP>
  1. Connect to the deployment using the command below, but substituting <deployment_ID> for your unique deployment ID:

    reco deploy connect <deployment_ID>

    The MD5 generator will open in your default browser. You can enter some text in the box on the left hand side and click GENERATE to see the MD5 hash straight from the FPGA!

  1. Remember to stop your deployment by running the following command using your unique deployment ID:

    reco deploy stop <deployment_ID>

You have just deployed your first project to an FPGA in the cloud!

Next, visit your dashboard to view recent activity, helpful links and account information. Then, move on to our tutorials to learn our simple workflow and start creating your own designs.