How to Change Cloud API access scopes on GCP Compute Engine with out stopping the Instance

I’m using gcsfuse inside Google Compute Engine. mounted a folder with cloud storage bucket but, unable to create any file inside that mounted folder. touch t1 getting error touch: cannot touch ‘r1’: Input/output error Solution for the issue is to give Cloud API access scope: storage : read/write but, How to Change Cloud API access…

Tomcat 7.0.96 serving Strict-Transport-Security header on js but not on html content

I cannot understand very well how to configure Tomcat 7.0.96 to serve the Strict-Transport-Security header on any served file: we configured SSL (using a self signed certificate for testing pouposes) on port 8443 we disabled http on port 8080 we configured the filter to serve anything (/*) with HSTS we enabled HSTS builtin on tomcat…

External DNS server cannot resolve external domain name when using public IP inside internal network

I use nslookup to query from a computer inside internal network. it can successfully resolve the external domain name if I use private IP of my DNS server. www.ust.hk Server: 192.168.28.58 Address: 192.168.28.58#53 Non-authoritative answer: Name: www.ust.hk Address: 143.89.14.1 However, if I use the public IP of my DNS server inside internal network, I can’t…