Building a DevOps Pipeline Rezensionen

65971 Rezensionen

The “Deploy Container” option has been deprecated, but the lab instructions haven’t been updated yet. In addition, there seems to be an issue with the Python Flask app—it isn’t accessible after deployment. if __name__ == "__main__": # app.run(host='0.0.0.0', port=8080, debug=True, threaded=True) port = int(os.environ.get("PORT", 8080)) # fallback to 8080 locally app.run(host='0.0.0.0', port=port, debug=True, threaded=True) And create firewall rule to allow HTTP port 80.

Wenjing L. · Vor 26 Tage überprüft

Josimar M. · Vor 26 Tage überprüft

Tolulope E. · Vor 26 Tage überprüft

Amy H. · Vor 26 Tage überprüft

Rohit K. · Vor 26 Tage überprüft

This is the comment that you're looking for In case you cannot connect to VM after you created it with Docker, is due to Dockerfile opening port 80, but the Flask app runs on port 8080. So, ssh into VM, change to sudo user with sudo su -, delete the running container, create another with port binding: docker run -d -p 80:8080 <image_name>:<image_tag> . Eventually, exec into container and run again the flash app with python3 main.py. After this, do not close the ssh window, put it aside. Repeat also this step for the second VM. Good Luck

Laurentiu B. · Vor 26 Tage überprüft

Eduardo X. · Vor 26 Tage überprüft

Bogdan D. · Vor 26 Tage überprüft

Malith M. · Vor 26 Tage überprüft

vm instance logged "network interface disabled" and TCP connections to the flask instance simply hung. I tried asking the gemini for cloud thing to help, and it complained tooling issues prevented it from checking compute engine instances, so I got no insight from there, either.

Michael M. · Vor 26 Tage überprüft

Rushi P. · Vor 26 Tage überprüft

Tapas B. · Vor 26 Tage überprüft

Harshit S. · Vor 27 Tage überprüft

Manish K. · Vor 27 Tage überprüft

Bogdan D. · Vor 27 Tage überprüft

Bünny Y. · Vor 27 Tage überprüft

Thomas D. · Vor 27 Tage überprüft

yusuf A. · Vor 27 Tage überprüft

Julien L. · Vor 27 Tage überprüft

saikumar G. · Vor 27 Tage überprüft

21 S. · Vor 27 Tage überprüft

Yuvashree S. · Vor 27 Tage überprüft

The “Deploy Container” option has been deprecated, but the lab instructions haven’t been updated yet. In addition, there seems to be an issue with the Python Flask app—it isn’t accessible after deployment. if __name__ == "__main__": # app.run(host='0.0.0.0', port=8080, debug=True, threaded=True) port = int(os.environ.get("PORT", 8080)) # fallback to 8080 locally app.run(host='0.0.0.0', port=port, debug=True, threaded=True)

Wenjing L. · Vor 27 Tage überprüft

Shantharama P. · Vor 27 Tage überprüft

sridhar n. · Vor 27 Tage überprüft

Wir können nicht garantieren, dass die veröffentlichten Rezensionen von Verbrauchern stammen, die die Produkte gekauft oder genutzt haben. Die Rezensionen werden von Google nicht überprüft.