-
Get an IPv6 enabled amazon instance (Ubuntu preferred as we are using docker-compose)
-
follow the link Amazon Docs : ipv6-addressing
-
Remember to add inbound rules and routing table
##### Inbound Rules ![inbound rules](resources/inbound_rules.png "Inbound Rules") This is okay for a production environment. And you only have to enable UDP for IPv6 sources. For security you may want to add specific source addresses. ##### IPv6 Routing ![Routing table](resources/routting_table.png "Routing Table")
-
Install docker and docker compose plugin If you are using an recommended ubunutu server you can run the script to install docker and all the tools
server\amazon_ubuntu_docker_install.sh
References
-
After that you can clone this repository inside amazon EC2 instance
-
cd into server folder
-
use docker compose
cd server docker compose up --build -d
-
grafana dashboard and data influxdb are already setup via docker compose
-
Use
http://instanece_address_public_ip4:3000
from your brower to access grafana -
default user name and password is
admin
-
Choose the
Temperature
dashboard
-
-
Get ssh access to frontend
-
login to grenoble site
-
clone the repository
-
cd into repository folder
-
In the
sensor\main.c
add your EC2 instance public IPv6 addrsscoap_command[i++] = "mention_your_ipv6_here";
eg:coap_command[i++] = "2600:1234:1234:1234:1234:1234:1234:1234";
-
Then run
all.sh
- This builds the sensor code with new ip address
- Star the border router (already built)
-
After building one time you can run
start.sh