This is just a demo app for NAT penetrace with cloud services (AWS EC2/ELB/Dynamodb), which demo a conceptual of general solution.
Deivce connect to services in cloud, establish a TCP tunnel
Serive maintance TCP tunnel status, and handle client tunnel traffic management & routing.