0 votes
1 view
in GCP by (30k points)

I have created a VM in google cloud platform, but startup script is not added, Is there any option to add this startup script from console. 

1 Answer

0 votes
by (51.2k points)

The startup script can be added through the console after creating an instance.

Navigate to the VM instance page and select the instance(By clicking on instance name).

Scroll down to custom data, Where you need to edit that field and add the key to startup-script and add the script in the value field.

Restart the instance to get these configurations, updated. Thus you can add the startup-script to the VM in google cloud.

Related questions

Welcome to Intellipaat Community. Get your technical queries answered by top developers !