Before the POP Deployment, ensure that the following are completed:
Deploying a POP
Once you've finished the prerequisites, you can deploy the POP.
The following are configured as part of the POP deployment:
- VPC Network (Virtual Private Cloud Network): A virtual network dedicated to the account.
- Subnet: Subnet within Virtual Network to configure POP infrastructure.
- NAT (Network Address Translation) Gateway: GCP service to provide outbound internet connectivity for subnet in VPC network.
- VM Instances: Virtual server to run the application with the given virtual machine size, username and authentication type.
- Internal Load balancers: To route incoming traffic across multiple targets. Firewall rules are added.
- File Store: File storage account to store logs of POP services present in virtual machine and Auto scaling groups within and across multiple Availability zones
- Autoscaling: To provide and manage the load-balanced secondary virtual machine instances based on Node parameter.
Step 1 : Download the POP Deployment Package
- Log in to MVISION Cloud.
- Go to Service Management > Google Cloud Platform and then choose a registered GCP account.
- In the Overview section, click Deploy New POP.
- Click Download Deployment package and download the package.
The downloaded POP Deployment package contains the installation files to deploy the POP and the required artifacts for the POP to communicate with MVISION Cloud. The Package is valid for seven days after it is downloaded from MVISION Cloud.
Step 2: Deploy the required Infrastructure through the Azure ARM template
The Infrastructure.tar is part of the POP Deployment Package (PopDeployment.tar), and contains the deployment script (‘deploy-prereq-pop.sh’) to deploy the POP.
To create a GCP profile to bring up a POP:
- Execute the following command:
sudo gcloud config set project <PROJECT-ID>
- Copy the deployment script located in Infrastructure.tar using the following command:
gsutil cp <path to deploy-prereq-pop.sh> deploy.sh
- Copy the stored public key using the following command where
key.txtis the public key present in the required GCP format:
gsutil cp <path to key.txt> key.txt
- Execute the following command with the respective values:
bash deploy.sh --popname=<PoP_Name> --zone= <ZONE> --region= <REGION> --account<Service Account Email> --infrapackage=<Infrastructure.tar path> --poppackage=<PoPDeployment.tar path> --nodes=1 --key-location="key.txt location"
After launching the deployment, it takes about 20 minutes to deploy the POP. Your account updates in the POP Management page.