You can use Mikrotik's official guide for start. To use all gsutil commands from VM in GCE you will need to set following permissions for it:
Also, you may experience issues during attempt to create bucket:
gsutil mb gs://cloud-hosted-router-imagesCreating gs://cloud-hosted-router-images/...ServiceException: 409 A Cloud Storage bucket named 'cloud-hosted-router-images' already exists. Try another name. Bucket names must be globally unique across all Google Cloud projects, including those outside of your organization.
It happens because all bucket names must be unique and you need to change default name of bucket from official guide.
gcloud compute instances create "chr-1" --zone "europe-north1-a" --machine-type "e2-medium" --image-family=cloud-hosted-router
To debug issues with image itself you can use serial output:
And example output output will look this way:
In addition to that I can recommend enabling "connecting to serial ports" to simplify debugging and keep access to serial console directly from Google Compute Console:
And you will be able to control Mikrotik CHR using local console (default login: admin, password: empty):
No comments :
Post a Comment
Note: only a member of this blog may post a comment.