What is GCP MIG?
A Managed Instance Group (MIG) automatically manages a pool of identical VMs. Granite uses MIG to:- Auto-scale based on demand
- Replace unhealthy instances
- Provide consistent VM configuration
Setup Overview
1
Create Installation VM
A temporary VM for initial setup
2
Configure the VM
Install driver and required software
3
Create Machine Image
Snapshot the configured VM
4
Create MIG
Auto-managed pool from the image
Creating an Installation VM
From the dashboard:1
Go to Settings
Navigate to Settings in the sidebar
2
Click Create Installation VM
In the VM section, click Create Installation VM
3
Select Machine Type
Choose Small, Medium, or Heavy based on your needs
4
Wait for Provisioning
Takes 5-10 minutes to create and configure
Configuring the Installation VM
Once the VM is ready:1
Connect via VNC
The dashboard shows a VNC viewer to access the VM
2
Install Required Software
Install any applications your automations need:
- Microsoft Office
- Custom applications
- Browser extensions
3
Configure Settings
- Set screen resolution
- Configure application defaults
- Disable unnecessary services
4
Test the Driver
Run a test automation to verify everything works
Finalizing the Setup
When configuration is complete:1
Click Finalize
In the VM section, click Finalize Installation
2
Create Machine Image
Granite snapshots your configured VM
3
Create MIG
A managed instance group is created from the image
4
VMs Start
Instances spin up automatically
Managing MIG Instances
After setup, manage instances from Driver Management:Costs
MIG instances incur GCP compute charges:Updating the MIG
To update software on all instances:- Create a new installation VM
- Make changes
- Finalize to create new image
- Update MIG to use new template
Troubleshooting
Installation VM won't start
Installation VM won't start
- Check GCP quota limits
- Verify billing is enabled
- Contact support
VNC won't connect
VNC won't connect
- Wait for VM to fully boot
- Refresh the page
- Check browser console for errors
MIG instances not appearing
MIG instances not appearing
- Click Sync to refresh from GCP
- Check GCP console for errors
- Verify instance template exists
Next Steps
Driver Management
Monitor your VMs
Local Setup
Alternative: local VMs