Deployment
After thoroughly testing your handler code, it's time to deploy the instance to a production environment. Before proceeding with the deployment, ensure that you have the correct User ID and Project ID configured in the studio.yaml
file.
You need to change these default values.
Obtaining User ID and Project ID
If you haven't already, you'll need to create a Blockflow account and obtain your User ID and Project ID. You can do this by visiting the Blockflow Console and following the provided instructions.
Once you have your User ID and Project ID, update the studio.yaml
file with these values, ensuring that they are correctly specified.
Deploying the Instance
With the User ID and Project ID configured, you can deploy your instance using the following command:
This command will initiate the deployment process, uploading your configuration and code to the Blockflow platform.
Monitoring the Deployment
After running the blockflow instance-deploy
command, you can monitor the deployment status and progress through the Blockflow Console. Navigate to the "Instances" tab, where you'll find your recently deployed instance listed.
Click on your instance to access the detailed view, which provides information about the deployment status, number of invocations (indexing events), and other relevant metrics.
Ongoing Monitoring and Management
After the initial deployment, you can continue to monitor and manage your subgraph instance through the Blockflow Console.
The console provides tools and dashboards for tracking performance, analysing logs, and making configuration changes as needed.
Last updated