Getting charged in aws for data transfer?

That’s exactly how AWS works. They charge you for the VM and for the outbound traffic.