This is my first post so i would like to say hello to everyone

I'm working as a javascript developer so i'm not a professional in automation and i'm looking for really base help.
I'm going to create my diy home hobby project (a small home automation system) using s7-1200 as a controller. My idea is to connect Revolution Pi to s7-1200 to read (later also write) data and forward it from 'production' lan to my http rest api
server - i was thinking about AWS.
My question is what i need to buy to make such a connection. I will be grateful for any pro tip, how to do this.
All best for you,
Matthew