I'm seeking possibility to test the code I wrote based on PI SDK. Is there a PI server instance in the cloud which can be used for testing (read-only)?
First of all, PI SDK is announced for deprecation and unless you are developing for legacy products like PI Batch, we strongly recommend using AF SDK instead.
To answer your question, there is no PI Server instance in the cloud you could directly connect through port 5450. There however exist options like the Training Cloud Environments also referred to as VLE (Virtual Learning Environment).
Access to VLE is also included with the paid PI Developers Club membership which we highly recommended to anyone developing applications using our Developer Technologies. Please refer to our FAQ page and let us know if you have additional questions.
After checking your companies profile, I believe you may also be interested in OSISoft's cloud solutions. Please allow me to refer you to OSIsoft Cloud and PI Cloud Connect.
I see that you are interested in cloud deployments for testing purposes. In that case, you will definitely be interested to join me in this PI World 2019 San Francisco Tech Talk: Effortlessly deploying a PI System in Azure or AWS. You will learn how to do cloud deployments with PI Server easily.
Retrieving data ...