itopia gives you the option to integrate your existing servers created directly in GCP with itopia CAS to take advantage of the following CAS features:
- Server uptime scheduling
- Snapshot schedules
- Resource management (RAM, CPU, Storage, Disk creation)
This option is designed to make it easier for you to integrate any web, application, or database servers that you created in GCP with itopia CAS so you can use the itopia management portal for all your GCP servers.
- The servers are imported as standalone app servers, they are not added to the existing domain in the deployment. The instances you want to import must be in the same project that is associated with your deployment.
- We support servers created from a snapshot now, as long as the OS is in the supported OS list from google's images list. https://cloud.google.com/compute/docs/images
- If you want to import a custom image, you will have to make the VM instance from a snapshot of that image.
- Servers need to have a static IP address to be imported to itopia CAS. Refer to below steps to assign static IP to an instance in GCP
Assign static IP address to an instance
- Go to the VM instances page in the GCP Console.
- Click the name of the instance that you want to assign an external IP to.
- Click the Edit button at the top of the instances page.
- Look under External IP, you will probably see an ephemeral IP (dynamic) - select static external IP address to assign to the instance.
- Click the Save button to save your changes.
Server import for existing deployments (post-provisioning)
Select the deployment you will be importing the servers to.
Go to Cloud Manager section and select VM Instances module
When you hover your mouse over the green + sign on the right, you'll get the option to import servers.
In Google console, check what Zone the servers were created in. Then select the same Zone in the import window:
Note: If you don't see any servers listed, make sure the servers are located in the same project as the project connected to your deployment.
Select the server that will be imported and click Import button. The process will start and import the servers to your itopia deployment. Once done, you can manage them from itopia CAS.
Server import for new deployments
Start the first steps of the deployment normally and when you come to the "GCP Configuration" step
Connect your GCP account, select your GCP project and a Region where your other servers will be located. Make sure to click on the green plus sign on the right from the region selection drop down.
Then you will see your servers listed on the bottom. On the right, hover your mouse over the green + sign to import servers:
Now in the import window, choose the exact zone where the server you want to import is located. The servers will list below, select the ones you want to import from the list, than click Import
If importing a VM instance that was created from a snapshot, under OS you'll have a drop down menu where you'll have to select the OS that this vm is based on. The list only has the OS versions that google currently provides, so if it isn't on the list, and you choose one you believe should be similar ( such as the vm being Server 2012, but you choose Server 2012 R2 from the list) we can't guarantee there won't be any issues with the performance of our management commands on the vm.
Continue with the rest of the deployment process normally.
What happens during the import process
The system takes a snapshot of the instance and saves it in the Google Console as a security measure before the import process starts.
Firewall rules are created in GCP to allow itopia CAS to access the server.
Local admin accounts are created and sent to the admin's email address.