Deploy Static HTML Site
deploy-static-html-siteDeploy static HTML by creating a Google Compute Engine VM that runs nginx and serves your content.
Instructions
Create a VM with a startup script that installs nginx and writes provided HTML to /var/www/html/index.html
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | Zone for the instance (e.g., us-central1-a) | |
| vmName | Yes | Name for the VM | |
| projectId | No | Project ID (optional, will use default if omitted) | |
| htmlContent | Yes | HTML content to serve |