Cannot connect to MongoDB instance in GCP

Hi,

I have selected Ephemeral external IP to None from the mongo db instance in GCP, after that I’m not able to install / run mongo commands.
Am I missing anything regarding ip configuration?

Mongodb connected via GCP was working fine until I edited external IP to None, from then I’m not able to install mongod services or run any ‘sudo apt-get update’ command.