Developer's development environment is deployed by GCE.
The instance name is called host-vm
which is based on vmx-enabled
instance image.
Developer can create custom vmx-enabled
image with $HOME/.necogcp.yml
.
First, download a credential to access your GCP account by following steps:
- Configure
$HOME/.necogcp.yml
using necogcp-example.yml. - Run
gcloud auth login
with your GCP project. - Edit
$HOME/.necogcp.yml
. See config.md
necogcp command is used for creating a VM image, creating a VM instance, and so on.
make install-necogcp
necogcp create-image
If you want to update your existing image, re-run this command.
host-vm
instance is deleted by at
job which is created by necogcp create-instance
Please create vmx-enabled
image in advance with above step.
necogcp create-instance
If you want to update your existing image, re-run this command.
host-vm
created by necogcp create-instance
has a at
job which deletes host-vm
instance at 21:00 JST by default.
If you want to extend the time, modify the at
job owned by the root user.
Also, if you want to change the deletion time of your host-vm
instance permanently, modify the shutdown-at
field in this example. This change affects only when executing necogcp create-instance
.
See neco-test.md