Raspberry pi gateway and AWS Iot cloud

I am using Raspberry Pi 3 and Gateway module RHF0M301–868 as my LoRa gateway. I have configured chirpstack network server and application server in VM (Virtual Machine) AWS EC2 instance. I have followed this tutorial for AWS configuration : https://www.youtube.com/watch?v=5CCrpqPZBwY&ab_channel=Techbeast.org .
As a newbie in chirpstack lorawan I am bit confused about gateway bridge and basic station. Should I install my gateway bridge on AWS instance or my raspberry pi gateway? If I configure my gateway bridge in AWS instance then should I configure semtech basic station https://www.chirpstack.io/gateway-bridge/backends/basic-station/ in my raspberry pi gateway?