I want to connect Rasberry Pi to internet via 4G network. The idea of my project is to take a picture (or stream a video) with Rasberry Pi camera and send it to a distant cloud (say a Docker container) or a server (I don't wanna process images on Rasberry Pi) via 4G network or Wifi network. I've seen people send small data over 2G network (GSM), but the problem is that my data will be large so I need to send it over 4G or Wifi. I want to know how to make Rasberry Pi send data to a distant Cloud or a server.
The answer is the same as it would be for "how can I connect my laptop to a 4G network", etc.
Using a 4G USB modem; these come in stick size form factors and start at ~$20 US.
Using a portable 4G wifi router.
By connecting via phone (or other 4G connected device) hotspot.
All three of these require a valid SIM, obviously.