vania-janet/multiturn-rag-retrieval-data huggingface dataset:
"id": "c2d941de-27f5-432c-b4d0-37a8491c3216",
"name": "my-vpc",
"resource_type": "vpc"
}
}
],
"name": "my-share",
"profile": {
"href": "https://us-south.iaas.cloud.ibm.com/v1/share/profiles/dp2",
"family": "defined-performance",
"name": "dp2",
"resource_type": "share_profile"
},
"replication_role": "none",
"replication_status": "none",
"replication_status_reasons": [],
"resource_group": {
"crn": "crn:[...]",
"href": "https://us-south.iaas.cloud.ibm.com/v2/resource_groups/678523bcbe2b4eada915d32640909956",
"id": "678523bcbe2b4eada915d32640909956",
"name": "Default"
},
"resource_type": "share",
"size": 4800,
"user_tags": [],
"zone": {
"href": "https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1",
"name": "us-south-1",
"resource_type": "zone"
}
}
Show more





 List all mount targets of a file share with the API 

Make a GET /shares/{share_id}/mount_targets request to list all mount targets of a file share.

See the following example.
curl -X POST https://api.us-south.devops.cloud.ibm.com/toolchain/v2/toolchains/01234567-89ab-cdef-0123-456789abcdef/tools -H "Authorization: Bearer $TOKEN" -H 'Accept: application/json' -H 'Content-Type: application/json' -d '{
"tool_type_id": "slack",
"parameters": {
"api_token": "crn:v1:bluemix:public:secrets-manager:us-south:a/9bb43e401a7a87d15145da761da98571:604de62c-c04f-3f5e-b7e8-4acafe0ecde7:secret:5ec17023-b631-fbcb-ef9c-4f2eb01f1dda",
"channel_name": "my_slack_channel_name",
"team_url": "my_slack_team_name"
}
}'

import com.ibm.cloud.continuous_delivery.cd_toolchain.v2.CdToolchain;
import com.ibm.cloud.continuous_delivery.cd_toolchain.v2.model.;
...
CdToolchain toolchainService = CdToolchain.newInstance();
HashMap<String, Object> slackParameters = new HashMap<>();
slackParameters.put("api_token", "crn:v1:bluemix:public:secrets-manager:us-south:a/9bb43e401a7a87d15145da761da98571:604de62c-c04f-3f5e-b7e8-4acafe0ecde7:secret:5ec17023-b631-fbcb-ef9c-4f2eb01f1dda");
[Available](https://cloud.ibm.com/docs-content/v1/content/5bdb37c0149145723c5437e8176651928565e722/vmwaresolutions/includes/icons/checkmark-icon.svg) ![Available](https://cloud.ibm.com/docs-content/v1/content/5bdb37c0149145723c5437e8176651928565e722/vmwaresolutions/includes/icons/checkmark-icon.svg) 
 Localization Resources: Manage ![Available](https://cloud.ibm.com/docs-content/v1/content/5bdb37c0149145723c5437e8176651928565e722/vmwaresolutions/includes/icons/checkmark-icon.svg) ![Available](https://cloud.ibm.com/docs-content/v1/content/5bdb37c0149145723c5437e8176651928565e722/vmwaresolutions/includes/icons/checkmark-icon.svg) 
 Metadata File Entry: Create/Modify ![Available](https://cloud.ibm.com/docs-content/v1/content/5bdb37c0149145723c5437e8176651928565e722/vmwaresolutions/includes/icons/checkmark-icon.svg) ![Available](https://cloud.ibm.com/docs-content/v1/content/5bdb37c0149145723c5437e8176651928565e722/vmwaresolutions/includes/icons/checkmark-icon.svg) 
 Network Pool: View !
"id": "c2d941de-27f5-432c-b4d0-37a8491c3216",
"name": "my-vpc",
"resource_type": "vpc"
}
}
],
"name": "my-share",
"profile": {
"href": "https://us-south.iaas.cloud.ibm.com/v1/share/profiles/dp2",
"family": "defined-performance",
"name": "dp2",
"resource_type": "share_profile"
},
"replication_role": "none",
"replication_status": "none",
"replication_status_reasons": [],
"resource_group": {
"crn": "crn:[...]",
"href": "https://us-south.iaas.cloud.ibm.com/v2/resource_groups/678523bcbe2b4eada915d32640909956",
"id": "678523bcbe2b4eada915d32640909956",
"name": "Default"
},
"resource_type": "share",
"size": 4800,
"user_tags": [],
"zone": {
"href": "https://us-south.iaas.cloud.ibm.com/v1/regions/us-south/zones/us-south-1",
"name": "us-south-1",
"resource_type": "zone"
}
}





 List all mount targets of a file share with the API 

Make a GET /shares/{share_id}/mount_targets request to list all mount targets of a file share.

See the following example.
For more information, see the [API reference](https://cloud.ibm.com/apidocs/discovery/discovery-datacreatecuration).





 2.0.1 release, 30 August 2019 

New release now available
: IBM Watson® Discovery for IBM Cloud Pak® for Data version 2.0.1 is available.
: Discovery for Cloud Pak for Data now works with IBM Cloud Pak® for Data 2.1.0.1.

New Windows File System and Database connectors
: Added the Windows File System and Database connectors. For more information, see [Database connector](https://cloud.ibm.com/docs/discovery-data?topic=discovery-data-collection-typesdatabaseconnect) and [Windows File System connector](https://cloud.ibm.com/docs/discovery-data?topic=discovery-data-collection-typeswindowsfilesystemconnect).

New Chinese language support
: Added support for Traditional Chinese. For more information, see [Language support](https://cloud.ibm.com/docs/discovery-data?topic=discovery-data-language-support).

New FISMA support
: Federal Information Security Management Act (FISMA) support is available for IBM Watson® Discovery for IBM Cloud Pak® for Data offerings purchased on or after August 30, 2019. FISMA support is also available to those who purchased the June 28, 2019 version and upgrade to the August 30, 2019 version. IBM Watson® Discovery for IBM Cloud Pak® for Data is FISMA High Ready.

New Classifier enrichment
: Released the Classifier enrichment. For more information, see [Classifier](https://cloud.ibm.com/docs/discovery-data?topic=discovery-data-domain-classifier).

New Red Hat OpenShift support
: Added support for installing IBM Cloud Pak® for Data on Red Hat OpenShift.

Fixed the following defects in Discovery for Cloud Pak for Data offerings purchased on or after August 30, 2019
: During an active web crawl, if you add an enrichment, then click the Recrawl collection button on the Activity page, the collection will stop processing.
Geospatial functions 

The [Geospatial Toolkit](https://www.ibm.com/support/knowledgecenter/en/SSCJDQ/com.ibm.swg.im.dashdb.analytics.doc/doc/geo_intro.html) provides a set of [geospatial functions](https://www.ibm.com/support/knowledgecenter/en/SSCJDQ/com.ibm.swg.im.dashdb.analytics.doc/doc/geo_functions.html) that you can use to efficiently process and index spatial data.
Creating new bucket: py.bucket.779177bfe41945edb458294d0b25440a
Bucket: py.bucket.779177bfe41945edb458294d0b25440a created!
DONE!

Retrieving list of buckets
Bucket Name: py.bucket.779177bfe41945edb458294d0b25440a
DONE!

Creating new item: py_file_17b79068b7c845658f2f74249e14e267.txt in bucket: py.bucket.779177bfe41945edb458294d0b25440a
Item: py_file_17b79068b7c845658f2f74249e14e267.txt created!
DONE!

Retrieving bucket contents from: py.bucket.779177bfe41945edb458294d0b25440a
Item: py_file_17b79068b7c845658f2f74249e14e267.txt (46 bytes).
DONE!

Retrieving item from bucket: py.bucket.779177bfe41945edb458294d0b25440a, key: py_file_17b79068b7c845658f2f74249e14e267.txt
File Contents: This is a test file from Python code sample!!!
DONE!

Starting large file upload for py_large_file_722319147bba4fc4a6c111cc21eb11b5.bin to bucket: py.bucket.779177bfe41945edb458294d0b25440a
Large file upload complete!
Retrieving bucket contents from: py.bucket.779177bfe41945edb458294d0b25440a
[Download the latest PKCS #11 library](https://github.com/IBM-Cloud/hpcs-pkcs11/releases). The library file names use the naming convention: pkcs11-grep11-<platform>.so.<version>. The platform is either amd64 or s390x and the version is the standard major.minor.build syntax.
2. Move the library into a folder that is accessible by your applications. For example, if you are running your application on Linux, you can move the library to /usr/local/lib, /usr/local/lib64, or /usr/lib.







 Step 2: (Optional) Verify the integrity and authenticity of the PKCS 11 library 

For maximum security, verify the integrity and authenticity of the PKCS #11 library before you run your PKCS #11 applications to use the library.

Hyper Protect Crypto Services enables [signed code verification](https://en.wikipedia.org/wiki/Code_signing) to ensure that the signature matches the original code. If the downloaded PKCS #11 library file is altered or corrupted, a different signature is produced and the verification fails. To make sure that the files are not tampered with or corrupted during the download process, complete the following steps by using the [OpenSSL command-line tool](https://wiki.openssl.org/index.php/Binaries).



1. Download the latest version of the following files from the [library repository](https://github.com/IBM-Cloud/hpcs-pkcs11/releases) to the same directory where you store the PKCS #11 library:



* pkcs11-grep11-<platform>.so.<version>.sig: The signed cryptographic hash of the PKCS #11 library, where platform is either amd64 or s390x and version is the major.minor.build of the signature file. Both platform and version must match the respective platform and version of the PKCS #11 library that you use.
[Available](https://cloud.ibm.com/docs-content/v1/content/11f96f96f8f4b60cf6f3fa4d904856a2c4528bc2/icons/checkmark-icon.svg) ![Available](https://cloud.ibm.com/docs-content/v1/content/11f96f96f8f4b60cf6f3fa4d904856a2c4528bc2/icons/checkmark-icon.svg) ![Available](https://cloud.ibm.com/docs-content/v1/content/11f96f96f8f4b60cf6f3fa4d904856a2c4528bc2/icons/checkmark-icon.svg) ![Available](https://cloud.ibm.com/docs-content/v1/content/11f96f96f8f4b60cf6f3fa4d904856a2c4528bc2/icons/checkmark-icon.svg) 
 Organization vDC Gateway: View Remote Access ![Available](https://cloud.ibm.com/docs-content/v1/content/11f96f96f8f4b60cf6f3fa4d904856a2c4528bc2/icons/checkmark-icon.svg) ![Available](https://cloud.ibm.com/docs-content/v1/content/11f96f96f8f4b60cf6f3fa4d904856a2c4528bc2/icons/checkmark-icon.svg) ![Available](https://cloud.ibm.com/docs-content/v1/content/11f96f96f8f4b60cf6f3fa4d904856a2c4528bc2/icons/checkmark-icon.svg) !
[Available](https://cloud.ibm.com/docs-content/v1/content/5bdb37c0149145723c5437e8176651928565e722/vmwaresolutions/includes/icons/checkmark-icon.svg) ![Available](https://cloud.ibm.com/docs-content/v1/content/5bdb37c0149145723c5437e8176651928565e722/vmwaresolutions/includes/icons/checkmark-icon.svg) ![Available](https://cloud.ibm.com/docs-content/v1/content/5bdb37c0149145723c5437e8176651928565e722/vmwaresolutions/includes/icons/checkmark-icon.svg) 
 Organization vDC Gateway: View Remote Access ![Available](https://cloud.ibm.com/docs-content/v1/content/5bdb37c0149145723c5437e8176651928565e722/vmwaresolutions/includes/icons/checkmark-icon.svg) ![Available](https://cloud.ibm.com/docs-content/v1/content/5bdb37c0149145723c5437e8176651928565e722/vmwaresolutions/includes/icons/checkmark-icon.svg) ![Available](https://cloud.ibm.com/docs-content/v1/content/5bdb37c0149145723c5437e8176651928565e722/vmwaresolutions/includes/icons/checkmark-icon.svg) !
* [Considerations when reallocating resources](https://cloud.ibm.com/docs/blockchain?topic=blockchain-ibp-console-govern-componentsibp-console-govern-components-reallocate-resources)



* [Monitoring file storage](https://cloud.ibm.com/docs/blockchain?topic=blockchain-ibp-console-govern-componentsibp-console-govern-components-monitor-storage)
* [Adding storage](https://cloud.ibm.com/docs/blockchain?topic=blockchain-ibp-console-govern-componentsibp-console-govern-components-add-storage)



* [Upgrading to a new version of Fabric](https://cloud.ibm.com/docs/blockchain?topic=blockchain-ibp-console-govern-componentsibp-console-govern-components-upgrade)



* [Upgrading nodes from Fabric v1.4 to v2.2](https://cloud.ibm.com/docs/blockchain?topic=blockchain-ibp-console-govern-componentsibp-console-govern-components-upgrade-v14-v22)
* [Update your CAs](https://cloud.ibm.com/docs/blockchain?topic=blockchain-ibp-console-govern-componentsupdate-your-cas)
* [Update your orderers](https://cloud.ibm.com/docs/blockchain?topic=blockchain-ibp-console-govern-componentsupdate-your-orderers)
* [Update your peers](https://cloud.ibm.com/docs/blockchain?topic=blockchain-ibp-console-govern-componentsupdate-your-peers)
* [Upgrading nodes from Fabric v1.4 to v2.5](https://cloud.ibm.com/docs/blockchain?topic=blockchain-ibp-console-govern-componentsibp-console-govern-components-upgrade-v14-v25)
"name": "testchainid",
"url": "/participation/v1/channels/testchainid"
},
"channels": [
{
"name": "mychannel",
"url": "/participation/v1/channels/mychannel"
}
]
}

To list details for an application channel that is using an osnadmin service endpoint, run:

curl https://osntest-ordereranode1-admin.openshift4x-ibpv2-test-68e10f583f026529fe7a89da40169ef4-0000.us-south.containers.appdomain.cloud:443/participation/v1/channels/mychannel --cert /tmp/msp/orderera/ca/tls/msp/signcerts/cert.pem --key /tmp/msp/orderera/ca/tls/msp/keystore/06fa54a3978e9df58778bce22b9140f043df920eb03150d1284d3579f70d57b5_sk --cacert /tmp/msp/orderera/ca/tls/msp/cacerts/tlsca.pem

The response should be similar to:

{
"name": "mychannel",
"url": "/participation/v1/channels/mychannel",
"consensusRelation": "consenter",
"status": "active",
"height": 13
}

For additional osnadmin information, see [osnadmin channel](https://hyperledger-fabric.readthedocs.io/en/latest/commands/osnadminchannel.html) in the Hyperledger Fabric documentation.
prefix_filters](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/tg_connection_prefix_filters)<br> * [ibm_tg_gateway](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/tg_gateway)<br> * [ibm_tg_gateways](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/tg_gateways)<br> * [ibm_tg_location](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/tg_location)<br> * [ibm_tg_locations](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/tg_locations)<br> * [ibm_tg_route_report](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/tg_route_report)<br> * [ibm_tg_route_reports](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/tg_route_reports)<br><br><br> 







 VPC infrastructure 



 Resources Data sources
CRN crn:v1:bluemix:public:transit:us-south:a/86785309::gateway:e2801c16-1a6d-4d47-9c58-1a3b3c1d9b1b
Name widget0-tgw
Routing local
Location us-south
Created 2020-07-16T09:09:38.048-07:00
Resource group ID bf6e75cd71854576a31056abced2abf0
Status available

$ GATEWAY_ID=$(ibmcloud tg gateways --output json | sed -e '/^OK$/d' | jq -r '.[]|select(.name=="'$basename-tgw'")|.id')
$ ibmcloud tg connections $GATEWAY_ID
Listing connections for gateway e2801c16-1a6d-4d47-9c58-1a3b3c1d9b1b under account
OK

Name widget0-shared
Network Type vpc
Connection ID dff6ecfd-388d-471a-908a-98880426fbee
Status attached
Default Prefix Filter permit
NetworkID crn:v1:bluemix:public:is:us-south:a/86785309::vpc:r006-b08a7c2c-c0ea-4908-b0ab-b96cd8ba221a

Name widget0-application1
Network Type vpc
Connection ID bbce29f9-9ce4-47d4-911d-5341601cea07
Status attached
Default Prefix Filter permit
NetworkID crn:v1:bluemix:public:is:us-south:a/86785309::vpc:r006-8fdc0e7e-3a98-4f6b-93e0-505c61e3faac

Name widget0-application2
Network Type vpc
Additional resources 

Videos and articles to help you get started faster with IBM Watson® Knowledge Studio.



 Videos 



* [Why you should use Knowledge Studio](https://youtu.be/r2xYHW0iyZM)
* [Use Watson to discover meaningful insights in unstructured text without coding](https://youtu.be/byqpojcfDZM)
* [Technical Demo](https://ibm.biz/wks_demo)







 Blogs 



* [Teaching Watson to think like a subject matter expert (best practices on type system design)](https://developer.ibm.com/dwblog/2018/watson-knowledge-studio-nlp-supervised-machine-learning/)
* [Teaching Watson the language of fantasy football](https://developer.ibm.com/dwblog/2018/teaching-watson-language-fantasy-football/)
* [Watson's artificial intelligence helps millions of ESPN fantasy football owners make better decisions](https://developer.ibm.com/dwblog/2017/espn-fantasy-football-watson-ai-playoffs/)
* [Go Lite with Knowledge Studio](https://www.ibm.com/cloud/blog/announcements/go-lite-watson-knowledge-studio?mhsrc=ibmsearch_a&mhq=go%20lite%20with%20Watson%20Knowledge%20Studio)
* [How to exploit the insights you just discovered with AI](https://www.ibm.com/blogs/watson/2018/01/how-to-exploiting-the-insights-you-just-discovered-with-ai/)
* [Let your business experts train your Watson solution](https://www.ibm.com/blogs/watson/2017/12/let-your-business-experts-train-your-watson-solution/)
* [What just happened to Watson Knowledge Studio?](https://developer.ibm.com/dwblog/2017/what-just-happened-to-watson-knowledge-studio/)







 Code Patterns
![0_ti_146001191_Ver_2_mid_630ff6db-bfa8-45b3-9682-ca9a6d8ca419_sid_cca51480229211eeac887b94c5a6c542_vid_cca50460229211ee874f7dc32b9b9a8d_vids_0_msclkid_N_pi_918639831_lg_en-US_sw_3840_sh_2160_sc_30_nwd_1_tl_The_20HTTP_20interface_20_7C_20IBM_20Cloud_20Docs_p_https_3A_2F_2Fcloud.ibm.com_2Fdocs_2Ftext-to-speech_3Ftopic_3Dtext-to-speech-usingHTTP_r_lt_840_evt_pageLoad_sv_1_rn_900862](https://bat.bing.com/action/0?ti=146001191&Ver=2&mid=630ff6db-bfa8-45b3-9682-ca9a6d8ca419&sid=cca51480229211eeac887b94c5a6c542&vid=cca50460229211ee874f7dc32b9b9a8d&vids=0&msclkid=N&pi=918639831&lg=en-US&sw=3840&sh=2160&sc=30&nwd=1&tl=The%20HTTP%20interface%20%7C%20IBM%20Cloud%20Docs&p=https%3A%2F%2Fcloud.ibm.com%2Fdocs%2Ftext-to-speech%3Ftopic%3Dtext-to-speech-usingHTTP&r=&lt=840&evt=pageLoad&sv=1&rn=900862)
* ibmcloud is vpn-gateway-connection-create my-connection fee82deba12e4c0fb69c3b09d1f12345 169.21.50.5 lkj14b1oi0alcniejkso --local-cidr 10.240.0.0/24 --peer-cidr 192.168.1.0/24 --ike-policy 72251a2e-d6c5-42b4-97b0-b5f8e8d1f479
* ibmcloud is vpn-gateway-connection-create my-connection my-vpn-gateway 169.21.50.5 lkj14b1oi0alcniejkso --local-cidr 10.240.0.0/24 --peer-cidr 192.168.1.0/24 --ike-policy my-ike-policy
* ibmcloud is vpn-gateway-connection-create my-connection fee82deba12e4c0fb69c3b09d1f12345 169.21.50.5 lkj14b1oi0alcniejkso --local-cidr 10.240.0.0/24 --peer-cidr 192.168.1.0/24
* ibmcloud is vpn-gateway-connection-create my-connection fee82deba12e4c0fb69c3b09d1f12345 169.21.50.5 lkj14b1oi0alcniejkso --local-cidr 10.240.0.0/24 --peer-cidr 192.168.1.0/24 --admin-state-up true
* ibmcloud is vpn-gateway-connection-create my-connection fee82deba12e4c0fb69c3b09d1f12345 169.21.50.5 lkj14b1oi0alcniejkso --local-cidr 10.240.0.0/24 --peer-cidr 192.168.1.0/24 --ipsec-policy 72251a2e-d6c5-42b4-97b0-b5f8e8d1f479
* ibmcloud is vpn-gateway-connection-create my-connection my-vpn-gateway 169.21.50.5 lkj14b1oi0alcniejkso --local-cidr 10.240.0.0/24 --peer-cidr 192.168.1.0/24 --ipsec-policy my-ispec-policy
* ibmcloud is vpn-gateway-connection-create my-connection fee82deba12e4c0fb69c3b09d1f12345 169.21.50.5 lkj14b1oi0alcniejkso --local-cidr 10.240.0.0/24 --peer-cidr 192.168.1.0/24 --ike-policy 72251a2e-d6c5-42b4-97b0-b5f8e8d1f479
* ibmcloud is vpn-gateway-connection-create my-connection my-vpn-gateway 169.21.50.5 lkj14b1oi0alcniejkso --local-cidr 10.240.0.0/24 --peer-cidr 192.168.1.0/24 --ike-policy my-ike-policy
"id": "7e5bdb52-676d-43b2-991f-2053cf6855eb",
"lifecycle_state": "pending",
"mount_path": "",
"name": "myshare-1",
"primary_ip": {
"address": ""
},
"resource_type": "share_target",
"subnet": {
"crn": "crn:[...]",
"href": "$vpc_api_endpoint/v1/subnets/4e95744c-7e64-48c9-b5d2-3b6481b1dfde",
"id": "4e95744c-7e64-48c9-b5d2-3b6481b1dfde",
"name": "subnet-2",
"resource_type": "subnet"
},
"transit_encryption": "none",
"virtual_network_interface": {
"crn": "crn:[...]",
"href": "$vpc_api_endpoint/v1/virtual_network_interface/710y-b8aa945c-7eac-4c15-bad6-a56db9d1e9bd",
"id": "710y-b8aa945c-7eac-4c15-bad6-a56db9d1e9bd",
"name": "enlace-traverse-oat-console",
"resource_type": "VirtualNetworkInterface"
},
"vpc": {
"crn": "crn:[...]",
"value": "eyJraWQiOiIyMDE3MTAzMC0wMDowMDowMCIsImFsZyI6IlJTMjU2In0.eyJpYW1faWQiOiJJQk1pZC01MFkxNjdNOFRZIiwiaWQiOiJJQk1pZC01MFkxNjdNOFRZIiwicmVhbG1pZCI6IklCTWlkIiwiaWRlbnRpZmllciI6IjUwWTE2N004VFkiLCJnaXZlbl9uYW1lIjoiSmFtZXMiLCJmYW1pbHlfbmFtZSI6IlNhaXRvIiwibmFtZSI6IkphbWVzIFNhaXRvIiwiZW1haWwiOiJKYW1lcy5TYWl0bzFAaWJtLmNvbSIsInN1YiI6IkphbWVzLlNhaXRvMUBpYm0uY29tIiwiYWNjb3VudCI6eyJic3MiOiIxZDUyNGNkOTRhMGRkYTg2ZmQ4ZWZmMzE5MTM0MDczMiJ9LCJpYXQiOjE1Mjg2MDk0ODIsImV4cCI6MTUyODYxMzA4MiwiaXNzIjoiaHR0cHM6Ly9pYW0uYmx1ZW1peC5uZXQvaWRlbnRpdHkiLCJncmFudF90eXBlIjoidXJuOmlibTpwYXJhbXM6b2F1dGg6Z3JhbnQtdHlwZTphcGlrZXkiLCJzY29wZSI6ImlibSBvcGVuaWQiLCJjbGllbnRfaWQiOiJieCIsImFjciI6MSwiYW1yIjpbInB3ZCJdfQ.iG5ey13QlXHu3OH81v8J5sduKv3NzSqCFng_DlpNglPo07K-nWst3O9o6iEJfm0AzJwYNTZqWVru1pjI-KcAPXFBe503DPIf6cYolAw4rarU5booW-pdzk8-R5HZ7MJK7b8sxJtm7PAilXVZvl5yFE-tJsFkeMH6XCIj_R9i6dwSemDBL3Juq79_x3KsgJGFg37p5f2vck1_7gR7nSb03m8m3mCvrrx7zGkLDuM8NXAVlwwxKcitwlG_UfEBwSbX3krF04zF2tFCpGkcWAnuaFdaVTOL6uaULxCi5BWHqzLXIPhAoyfnVGNv0TBJtyFcpJ1LdlsBmz7RS2fROlDf2w",
"type": "string",
"description": ""
},
{
"id": "dba24a46-e1df-4201-9a9b-f247fff22315",
"key": "endpoint-region",
"value": "s3.us-south",
"type": "string",
"description": ""
},
{
"id": "ca751949-eea0-4f36-9f58-aea1ed324cd5",
"key": "rootkeycrn",
Listing zones for service instance 'widget0-dns' ...
OK
ID Name Status
5a1a2295-1c38-49dd-9809-aaaf5a127e79c1b widgets.example.com ACTIVE
$ zone_id=$(ibmcloud dns zones -i $basename-dns --output json | jq -r '.[] | .id')
$ ibmcloud dns permitted-networks $zone_id -i $basename-dns
Listing permitted networks for zone '5a1a2295-1c38-49dd-9809-f5a127e79c1b' ...
OK
Name ID Type VPC_CRN State
widget0-shared r006-353208ab-4e95-46fb-934b-b5566cde8975 vpc crn:v1:bluemix:public:is:us-south:a/713c783d9a507a53135fe6793c37cc74::vpc:r006-353208ab-4e95-46fb-934b-b5566cde8975 ACTIVE
widget0-application1 r006-287258c6-2eb3-4908-b326-6f03c3e47aa6 vpc crn:v1:bluemix:public:is:us-south:a/713c783d9a507a53135fe6793c37cc74::vpc:r006-287258c6-2eb3-4908-b326-6f03c3e47aa6 ACTIVE
widget0-application1-z2 available 10.1.1.0/24 widget0-application1 us-south-2 widget0-application1
widget0-application1-z3 available 10.1.2.0/24 widget0-application1 us-south-3 widget0-application1
widget0-application2-z1 available 10.2.0.0/24 widget0-application2 us-south-1 widget0-application2
widget0-application2-z2 available 10.2.1.0/24 widget0-application2 us-south-2 widget0-application2
widget0-application2-z3 available 10.2.2.0/24 widget0-application2 us-south-3 widget0-application2
5. Optionally, navigate to the [Virtual Private Clouds](https://cloud.ibm.com/vpc-ext/network/vpcs) and find the VPCs, subnets and all the other resources created above.
6. Optionally, investigate the Terraform configuration in main.tf to understand the DNS Services initialization. The DNS Services instance and zone were created with the Terraform snippet:

resource "ibm_resource_instance" "dns" {
name = "${var.basename}-dns"
resource_group_id = data.ibm_resource_group.shared.id
location = "global"
service = "dns-svcs"
plan = "standard-dns"
}

resource "ibm_dns_zone" "widgets_example_com" {
name = "widgets.example.com"
instance_id = ibm_resource_instance.dns.guid
description = "this is a description"
label = "this-is-a-label"
}

The zone is then added to a VPC as a permitted network:

resource "ibm_dns_permitted_network" "shared" {
instance_id = ibm_resource_instance.dns.guid
Connection ID bbce29f9-9ce4-47d4-911d-5341601cea07
Status attached
Default Prefix Filter permit
NetworkID crn:v1:bluemix:public:is:us-south:a/86785309::vpc:r006-8fdc0e7e-3a98-4f6b-93e0-505c61e3faac

Name widget0-application2
Network Type vpc
Connection ID 208c00cc-aee2-498e-8b1c-37ddc276f200
Status attached
Default Prefix Filter permit
NetworkID crn:v1:bluemix:public:is:us-south:a/86785309::vpc:r006-fa80afa7-b16b-4db7-95dd-69a558db4285
6. Optionally navigate the [Transit Gateway](https://cloud.ibm.com/interconnectivity/transit) and find the gateway created above.
7. Execute the curl command from above that failed earlier to verify there is a path from the application1 VPC to the shared VPC. It will look something like this:

$ curl 169.48.152.220:3000/remote

{
"remote_url": "http://shared.widgets.example.com:3000/info",
"remote_ip": "10.0.0.4",
"remote_info": {
"req_url": "/info",
"os_hostname": "widget0-shared-vsi",
"ipArrays": [

"10.0.0.4"
]
]
}
}







 Step 7: Insert a Load Balancer and replace the DNS record 

Zoom

!