The actual 'edge' of your Edge Compute Network ('ECN') is composed of Agents. The other components (the Controllers and Connectors) can be deployed anywhere, including cloud infrastructure.
Create a template of agent.yaml like so:
echo "--- apiVersion: iofog.org/v1 kind: Agent metadata: name: zebra-1 spec: host: 126.96.36.199 ssh: user: foo keyFile: ~/.ssh/id_rsa" > /tmp/agent.yaml
Make sure to edit the
ssh.keyFile fields to correspond with the remote host you are deploying to.
Once you have edited the fields to your liking, go ahead and run:
iofogctl deploy -f /tmp/agent.yaml
We can use the following commands to verify the Agent is up and running:
iofogctl get agents
iofogctl describe agent zebra-1
Now you are ready to start deploying Microservices to your new ECN! We explored how to do this in the Quick Start Guide. You can try deploying the same microservice on your new ECN.
To get going with your own Microservices, start by looking at the instructions on creating Microservices here.