The project to investigate a behavior of AWS IoT client, such as when the network is unstable.
Download a device certificate from AWS IoT to cert
directory with reference to an official document.
Create .env
file with reference to .env.sample
.
Start a publisher:
docker-compose up pub
Start a subscriber:
docker-compose up sub
Provides bandwidth control to the publisher:
docker-compose exec pub tc qdisc add dev eth0 root tbf rate 1kbit burst 0.01kb latency 70ms
Remove traffic control to the publisher:
docker-compose exec pub tc qdisc del dev eth0 root