Score:0

How to start jupyter notebook (or run 1 command) when GCP Starts up

ua flag

I have a GCP instance. Currently, I login using the username@ip address with a SSH file for auth.

Then once I login using terminal, I run this command manually

jupyter notebook --ip=0.0.0.0 --port=8888 --no-browser & disown

I want to do something like, after I hit "start" button on google cloud VM page, jupyter notebook starts. How can I do it?

ec flag
**Welcome to the Ask Ubuntu community.** Does this answer your question: https://stackoverflow.com/q/76385199/111175?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.