PageSourceSearch

https://wasmcloud.com/assets/js/77203a03.2e8df353.js

js wasmcloud.com collected 2026-10-02 04:56:32 UTC 25,240 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwasmcloud_com=self.webpackChunkwasmcloud_com||[]).push([["19552"],{50065:function(e,s,n){n.d(s,{Z:()=>o,a:()=>r});var a=n(67294);let i={},l=a.createContext(i);function r(e){let s=a.useContext(l);return a.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function o(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),a.createElement(l.Provider,{value:s},e.children)}},61802:function(e,s,n){n.r(s),n.d(s,{frontMatter:()=>r,default:()=>h,contentTitle:()=>o,assets:()=>t,toc:()=>d,metadata:()=>a});var a=JSON.parse('{"id":"deployment/nats/ngs","title":"Synadia Cloud","description":"Deploying wasmCloud on the Synadia Cloud network","source":"@site/versioned_docs/version-v1/deployment/nats/ngs.mdx","sourceDirName":"deployment/nats","slug":"/deployment/nats/ngs","permalink":"/docs/v1/deployment/nats/ngs","draft":false,"unlisted":false,"editUrl":"https://github.com/wasmCloud/wasmcloud.com/edit/main/versioned_docs/version-v1/deployment/nats/ngs.mdx","tags":[],"version":"v1","lastUpdatedBy":"Liam Randall","lastUpdatedAt":1781115786000,"sidebarPosition":3,"frontMatter":{"title":"Synadia Cloud","description":"Deploying wasmCloud on the Synadia Cloud network","sidebar_position":3,"proficiency":"Intermediate","about":"wasmCloud","mentions":["NATS","wadm"],"platforms":["wasmCloud","Kubernetes"]},"sidebar":"tutorialSidebar","previous":{"title":"Leaf Node Config (JetStream)","permalink":"/docs/v1/deployment/nats/js-leaf"},"next":{"title":"Provisioning a Lattice","permalink":"/docs/v1/deployment/lattice/"}}'),i=n(85893),l=n(50065);let r={title:"Synadia Cloud",description:"Deploying wasmCloud on the Synadia Cloud network",sidebar_position:3,proficiency:"Intermediate",about:"wasmCloud",mentions:["NATS","wadm"],platforms:["wasmCloud","Kubernetes"]},o=void 0,t={},d=[{value:"Creating Credentials",id:"creating-credentials",level:2},{value:"Creating JetStream resources",id:"creating-jetstream-resources",level:2},{value:"Connecting to Synadia Cloud",id:"connecting-to-synadia-cloud",level:2},{value:"wash up (Leaf Node)",id:"wash-up-leaf-node",level:3},{value:"wadm",id:"wadm",level:3},{value:"wasmCloud",id:"wasmcloud",level:3}];function c(e){let s={a:"a",admonition:"admonition",code:"code",em:"em",h2:"h2",h3:"h3",p:"p",pre:"pre",span:"span",strong:"strong",...(0,l.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.admonition,{title:"Planned changes to scheduling",type:"warning",children:(0,i.jsxs)(s.p,{children:["The ",(0,i.jsx)(s.a,{href:"https://github.com/orgs/wasmCloud/projects/7",children:(0,i.jsx)(s.strong,{children:"wasmCloud Q3 2025 Roadmap"})})," sets out plans for an overhaul to scheduling in the next major release of wasmCloud. The new scheduling API will not use NATS to communicate between components by default, but will still support distributed communication via NATS. For more information, see the ",(0,i.jsx)(s.a,{href:"https://github.com/orgs/wasmCloud/projects/7",children:"Roadmap"})," and ",(0,i.jsx)(s.a,{href:"https://github.com/wasmCloud/wasmCloud/issues/4640",children:"Issue #4640: \u201CIntentional distributed networking.\u201D"})]})}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"https://www.synadia.com/",children:"Synadia"})," is the company behind the NATS messaging system that powers the wasmCloud ",(0,i.jsx)(s.a,{href:"/docs/v1/concepts/lattice/",children:"lattice"}),". They offer a cloud-based service called Synadia Cloud (previously NGS) that provides a managed NATS service. NGS is a great way to get started with wasmCloud, as it provides a secure, scalable, and reliable messaging infrastructure."]}),"\n",(0,i.jsxs)(s.p,{children:["Deploying wasmCloud on Synadia Cloud is similar to deploying on any NATS infrastructure. The primary difference is that you will need to configure your wasmCloud hosts and ",(0,i.jsx)(s.a,{href:"/docs/v1/ecosystem/wadm/",children:"wadm"})," to connect to the Synadia Cloud network. You can follow the steps in this guide replacing the Synadia Cloud-specific details with your own NATS infrastru
1cture details as well."]}),"\n",(0,i.jsx)(s.h2,{id:"creating-credentials",children:"Creating Credentials"}),"\n",(0,i.jsxs)(s.p,{children:["You can use any existing user credentials that have permissions to create streams and KV buckets. If you don't have any credentials, you can create a new user and generate a credentials file according to the ",(0,i.jsx)(s.a,{href:"https://docs.synadia.com/cloud/walkthrough#user-management",children:"Synadia Cloud documentation"}),"."]}),"\n",(0,i.jsx)(s.p,{children:"A valid credentials file should look like this:"}),"\n",(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(s.pre,{className:"shiki shiki-themes github-light github-dark",style:{backgroundColor:"#fff","--shiki-dark-bg":"#24292e",color:"#24292e","--shiki-dark":"#e1e4e8"},tabIndex:"0",children:(0,i.jsxs)(s.code,{className:"language-plaintext",children:[(0,i.jsx)(s.span,{className:"line",children:(0,i.jsx)(s.span,{children:"-----BEGIN NATS USER JWT-----"})}),"\n",(0,i.jsx)(s.span,{className:"line",children:(0,i.jsx)(s.span,{children:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmb28iOiJiYXIiLCJyZWFsX2p3dCI6ZmFsc2UsInRoYW5rX3lvdSI6IkZvciByZWFkaW5nIHRoZSB3YXNtQ2xvdWQgZG9jcyEiLCJtb3JlX2luZm9ybWF0aW9uIjoiaHR0cHM6Ly93d3cueW91dHViZS5jb20vd2F0Y2g_dj1kUXc0dzlXZ1hjUSJ9.5XgtYkFtqgIxcYOaalhGYPGxa5mieFLmkoGpbLqdxYg"})}),"\n",(0,i.jsx)(s.span,{className:"line",children:(0,i.jsx)(s.span,{children:"------END NATS USER JWT------"})}),"\n",(0,i.jsx)(s.span,{className:"line",children:(0,i.jsx)(s.span,{})}),"\n",(0,i.jsx)(s.span,{className:"line",children:(0,i.jsx)(s.span,{children:"************************* IMPORTANT *************************"})}),"\n",(0,i.jsx)(s.span,{className:"line",children:(0,i.jsx)(s.span,{children:"NKEY Seed printed below can be used to sign and prove identity."})}),"\n",(0,i.jsx)(s.span,{className:"line",children:(0,i.jsx)(s.span,{children:"NKEYs are sensitive and should be treated as secrets."})}),"\n",(0,i.jsx)(s.span,{className:"line",children:(0,i.jsx)(s.span,{})}),"\n",(0,i.jsx)(s.span,{className:"line",children:(0,i.jsx)(s.span,{children:"-----BEGIN USER NKEY SEED-----"})}),"\n",(0,i.jsx)(s.span,{className:"line",children:(0,i.jsx)(s.span,{children:"SUACQ6P5MS37FAL4TSHALHPUVWB62VRJQ5KB324VXSUSX7ILPXIBS6EGAI"})}),"\n",(0,i.jsx)(s.span,{className:"line",children:(0,i.jsx)(s.span,{children:"------END USER NKEY SEED------"})}),"\n",(0,i.jsx)(s.span,{className:"line",children:(0,i.jsx)(s.span,{})}),"\n",(0,i.jsx)(s.span,{className:"line",children:(0,i.jsx)(s.span,{children:"*************************************************************"})})]})})}),"\n",(0,i.jsx)(s.h2,{id:"creating-jetstream-resources",children:"Creating JetStream resources"}),"\n",(0,i.jsxs)(s.admonition,{type:"caution",children:[(0,i.jsxs)(s.p,{children:["A very important aspect of JetStream is the configuration of the ",(0,i.jsx)(s.a,{href:"https://docs.nats.io/running-a-nats-service/configuration/leafnodes/jetstream_leafnodes",children:"JetStream domain"}),". NATS setups can be customized in many ways that are not covered here. If you are using a particular domain for your JetStream resources, you will need to provide that domain to wasmCloud and wadm using their applicable flags or environment variables (try supplying ",(0,i.jsx)(s.code,{children:"--help"})," to any of the command line tools to find the domain argument)."]}),(0,i.jsx)(s.p,{children:"If you do not customize your JetStream domain, wasmCloud and wadm will not use one by default. This will work out-of-the-box unless a domain is required by your NATS setup."})]}),"\n",(0,i.jsxs)(s.p,{children:["wasmCloud and wadm both use JetStream for persistent messaging and KV state storage. They will attempt to create these resources if they aren't found when they start up. For Synadia Cloud, there is a restriction that these streams ",(0,i.jsx)(s.em,{children:"must"})," provide a ",(0,i.jsx)(s.code,{children:"max_bytes"})," limit per-stream, which wasmCloud doesn't do by default. You can create these streams manually using the ",(0,i.jsx)(s.code,{children:"nats"})," CLI tool."]}),"\n",(0,i.jsx)(s.admonition,{type:"note",children:(0,i.jsxs)(s.p,{children:["You can install the ",(0,i.jsx)(s.code,{children:"nats"})," CLI tool by following the instructions at ",(0,i.jsx)(s.a,{href:"https://github.com/nats-io/natscli#installation",children:"https://github.com/nats-io/natscli#installation"}),"."]})}),"\n",(0,i.jsxs)(s.p,{children:["For detailed information about required streams and buckets, see the ",(0,i.jsx)(s.a,{href:"/docs/v1/reference/nats/streams-and-buckets/",children:"NATS Streams and Buckets reference"}),"."]}),"\n",(0,i.jsxs)(s.p,{children:["All streams here are configured with a maximum size of 100MB. You can adjust this value based on your requirements. You may want to consider increasing the size of the ",(0,i.jsx)(s.code,{children:"CONFIGDATA_<lattice>"})," bucket if you have lots of configuration, or the ",(0,i.jsx)(s.code,{children:"LATTICEDATA_<lattice>"})," and ",(0,i.jsx)(s.code,{children:"wadm_state"})," buckets if you have very large deployments."]}),"\n",(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(s.pre,{className:"shiki shiki-themes g
1ithub-light github-dark",style:{backgroundColor:"#fff","--shiki-dark-bg":"#24292e",color:"#24292e","--shiki-dark":"#e1e4e8"},tabIndex:"0",children:(0,i.jsxs)(s.code,{className:"language-shell",children:[(0,i.jsx)(s.span,{className:"line",children:(0,i.jsx)(s.span,{style:{color:"#6A737D","--shiki-dark":"#6A737D"},children:"# wasmCloud KV Buckets"})}),"\n",(0,i.jsx)(s.span,{className:"line",children:(0,i.jsx)(s.span,{style:{color:"#6A737D","--shiki-dark":"#6A737D"},children:'# "default" here is the name of your lattice. You can change this to match your lattice name.'})}),"\n",(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#6F42C1","--shiki-dark":"#B392F0"},children:"nats"}),(0,i.jsx)(s.span,{style:{color:"#032F62","--shiki-dark":"#9ECBFF"},children:" kv"}),(0,i.jsx)(s.span,{style:{color:"#032F62","--shiki-dark":"#9ECBFF"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"#032F62","--shiki-dark":"#9ECBFF"},children:" LATTICEDATA_default"}),(0,i.jsx)(s.span,{style:{color:"#005CC5","--shiki-dark":"#79B8FF"},children:" --max-bucket-size=100000000"}),(0,i.jsx)(s.span,{style:{color:"#005CC5","--shiki-dark":"#79B8FF"},children:" --server"}),(0,i.jsx)(s.span,{style:{color:"#032F62","--shiki-dark":"#9ECBFF"},children:" connect.ngs.global"}),(0,i.jsx)(s.span,{style:{color:"#005CC5","--shiki-dark":"#79B8FF"},children:" --creds"}),(0,i.jsx)(s.span,{style:{color:"#032F62","--shiki-dark":"#9ECBFF"},children:" /path/to/nats.creds"})]}),"\n",(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#6F42C1","--shiki-dark":"#B392F0"},children:"nats"}),(0,i.jsx)(s.span,{style:{color:"#032F62","--shiki-dark":"#9ECBFF"},children:" kv"}),(0,i.jsx)(s.span,{style:{color:"#032F62","--shiki-dark":"#9ECBFF"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"#032F62","--shiki-dark":"#9ECBFF"},children:" CONFIGDATA_default"}),(0,i.jsx)(s.span,{style:{color:"#005CC5","--shiki-dark":"#79B8FF"},children:" --max-bucket-size=100000000"}),(0,i.jsx)(s.span,{style:{color:"#005CC5","--shiki-dark":"#79B8FF"},children:" --server"}),(0,i.jsx)(s.span,{style:{color:"#032F62","--shiki-dark":"#9ECBFF"},children:" connect.ngs.global"}),(0,i.jsx)(s.span,{style:{color:"#005CC5","--shiki-dark":"#79B8FF"},children:" --creds"}),(0,i.jsx)(s.span,{style:{color:"#032F62","--shiki-dark":"#9ECBFF"},children:" /path/to/nats.creds"})]})]})})}),"\n",(0,i.jsxs)(s.p,{children:["The first time you launch ",(0,i.jsx)(s.code,{children:"wadm"}),", whether it's via ",(0,i.jsx)(s.code,{children:"wash up"})," or by running the binary or container directly, you must set all of the max bytes arguments for the streams and KV buckets wadm will use. Here is an example of the environment variables to set for your first run:"]}),"\n",(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(s.pre,{className:"shiki shiki-themes github-light github-dark",style:{backgroundColor:"#fff","--shiki-dark-bg":"#24292e",color:"#24292e","--shiki-dark":"#e1e4e8"},tabIndex:"0",children:(0,i.jsxs)(s.code,{className:"language-shell",children:[(0,i.jsx)(s.span,{className:"line",children:(0,i.jsx)(s.span,{style:{color:"#6A737D","--shiki-dark":"#6A737D"},children:"# Again, you may want to make the max-bucket-size larger than the suggested 100MB"})}),"\n",(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"#24292E","--shiki-dark":"#E1E4E8"},children:" WADM_STATE_BUCKET_MAX_BYTES"}),(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"="}),(0,i.jsx)(s.span,{style:{color:"#005CC5","--shiki-dark":"#79B8FF"},children:"100000000"})]}),"\n",(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"#24292E","--shiki-dark":"#E1E4E8"},children:" WADM_MANIFEST_BUCKET_MAX_BYTES"}),(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"="}),(0,i.jsx)(s.span,{style:{color:"#005CC5","--shiki-dark":"#79B8FF"},children:"100000000"})]}),"\n",(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"#24292E","--shiki-dark":"#E1E4E8"},children:" WADM_COMMAND_STREAM_MAX_BYTES"}),(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"="}),(0,i.jsx)(s.span,{style:{color:"#005CC5","--shiki-dark":"#79B8FF"},children:"100000000"})]}),"\n",(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"#24292E","--shiki-dark":"#E1E4E8"},children:" WADM_EVENT_STREAM_MAX_BYTES"}),(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"="}),(0,i.jsx)(s.span,{style:{color:"#005CC5","--shiki-dark":"#79B8FF"},children:"100000000"})]}),"\n",(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"#24292E","--shiki-dark":"#E1E4E8"},children:" WADM_EVENT_CONSUMER_STREAM_MAX_BYTES"}),(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"="}),(0,i.jsx)(s.span,{style:{color:"#005CC5","--shiki-dark":"#79B8FF"},children:"100000000"})]}),"\n",(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"#24292E","--shiki-dark":"#E1E4E8"},children:" WADM_STATUS_STREAM_MAX_BYTES"}),(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"="}),(0,i.jsx)(s.span,{style:{color:"#005CC5","--shiki-dark":"#79B8FF"},children:"100000000"})]}),"\n",(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"#24292E","--shiki-dark":"#E1E4E8"},children:" WADM_NOTIFY_STREAM_MAX_BYTES"}),(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"="}),(0,i.jsx)(s.span,{style:{color:"#005CC5","--shiki-dark":"#79B8FF"},children:"100000000"})]}),"\n",(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"#24292E","--shiki-dark":"#E1E4E8"},children:" WADM_WASMBUS_EVENT_STREAM_MAX_BYTES"}),(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"="}),(0,i.jsx)(s.span,{style:{color:"#005CC5","--shiki-dark":"#79B8FF"},children:"100000000"})]})]})})}),"\n",(0,i.jsx)(s.h2,{id:"connecting-to-synadia-cloud",children:"Connecting to Synadia Cloud"}),"\n",(0,i.jsxs)(s.p,{children:["Once your JetStream resources are created, you can configure wasmCloud and wadm to connect to Synadia Cloud. You will need to provide the ",(0,i.jsx)(s.code,{children:"connect.ngs.global"})," server address and a credentials file."]}),"\n",(0,i.jsx)(s.h3,{id:"wash-up-leaf-node",children:"wash up (Leaf Node)"}),"\n",(0,i.jsxs)(s.p,{children:["To optimize NATS traffic, wash launches a ",(0,i.jsx)(s.a,{href:"https://docs.nats.io/running-a-nats-service/configuration/leafnodes",children:"Leaf Node"})," that extends your remote NATS cluster. This will keep all traffic local to your machine when possible, and only send messages to the Synadia Cloud network when necessary. This is useful for development environments where you want to keep your network traffic local. Note that this local leaf node will c
1ount towards your leaf node limit on Synadia Cloud. To create a local leaf node, you can provide the ",(0,i.jsx)(s.code,{children:"--nats-remote-url"})," and ",(0,i.jsx)(s.code,{children:"--nats-credsfile"})," flags to ",(0,i.jsx)(s.code,{children:"wash up"}),", or use their respective environment variables ",(0,i.jsx)(s.code,{children:"NATS_REMOTE_URL"})," and ",(0,i.jsx)(s.code,{children:"NATS_CREDSFILE"}),"."]}),"\n",(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(s.pre,{className:"shiki shiki-themes github-light github-dark",style:{backgroundColor:"#fff","--shiki-dark-bg":"#24292e",color:"#24292e","--shiki-dark":"#e1e4e8"},tabIndex:"0",children:(0,i.jsx)(s.code,{className:"language-shell",children:(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#6F42C1","--shiki-dark":"#B392F0"},children:"wash"}),(0,i.jsx)(s.span,{style:{color:"#032F62","--shiki-dark":"#9ECBFF"},children:" up"}),(0,i.jsx)(s.span,{style:{color:"#005CC5","--shiki-dark":"#79B8FF"},children:" --nats-remote-url"}),(0,i.jsx)(s.span,{style:{color:"#032F62","--shiki-dark":"#9ECBFF"},children:" connect.ngs.global"}),(0,i.jsx)(s.span,{style:{color:"#005CC5","--shiki-dark":"#79B8FF"},children:" --nats-credsfile"}),(0,i.jsx)(s.span,{style:{color:"#032F62","--shiki-dark":"#9ECBFF"},children:" ~/demo/ngs/nats.creds"})]})})})}),"\n",(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(s.pre,{className:"shiki shiki-themes github-light github-dark",style:{backgroundColor:"#fff","--shiki-dark-bg":"#24292e",color:"#24292e","--shiki-dark":"#e1e4e8"},tabIndex:"0",children:(0,i.jsxs)(s.code,{className:"language-shell",children:[(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"#24292E","--shiki-dark":"#E1E4E8"},children:" NATS_REMOTE_URL"}),(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"="}),(0,i.jsx)(s.span,{style:{color:"#24292E","--shiki-dark":"#E1E4E8"},children:"connect.ngs.global"})]}),"\n",(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"#24292E","--shiki-dark":"#E1E4E8"},children:" NATS_CREDSFILE"}),(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"=~"}),(0,i.jsx)(s.span,{style:{color:"#24292E","--shiki-dark":"#E1E4E8"},children:"/demo/ngs/nats.creds"})]}),"\n",(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#6F42C1","--shiki-dark":"#B392F0"},children:"wash"}),(0,i.jsx)(s.span,{style:{color:"#032F62","--shiki-dark":"#9ECBFF"},children:" up"})]})]})})}),"\n",(0,i.jsxs)(s.p,{children:["After launching a local leaf node, wasmCloud and wadm will be accessible locally on ",(0,i.jsx)(s.code,{children:"127.0.0.1:4222"}),"."]}),"\n",(0,i.jsx)(s.h3,{id:"wadm",children:"wadm"}),"\n",(0,i.jsxs)(s.p,{children:["To connect wadm to Synadia Cloud, you can provide the ",(0,i.jsx)(s.code,{children:"--nats-server"})," and ",(0,i.jsx)(s.code,{children:"--nats-creds-file"})," flags to ",(0,i.jsx)(s.code,{children:"wadm"}),", or use their respective environment variables ",(0,i.jsx)(s.code,{children:"WADM_NATS_SERVER"})," and ",(0,i.jsx)(s.code,{children:"WADM_NATS_CREDS_FILE"}),". If you're running wadm in a container or in Kubernetes, you can set these environment variables in your deployment configuration."]}),"\n",(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(s.pre,{className:"shiki shiki-themes github-light github-dark",style:{backgroundColor:"#fff","--shiki-dark-bg":"#24292e",color:"#24292e","--shiki-dark":"#e1e4e8"},tabIndex:"0",children:(0,i.jsx)(s.code,{className:"language-shell",children:(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#6F42C1","--shiki-dark":"#B392F0"},children:"wadm"}),(0,i.jsx)(s.span,{style:{color:"#005CC5","--shiki-dark":"#79B8FF"},children:" --nats-server"}),(0,i.jsx)(s.span,{style:{color:"#032F62","--shiki-dark":"#9ECBFF"},children:" connect.ngs.global"}),(0,i.jsx)(s.span,{style:{color:"#005CC5","--shiki-dark":"#79B8FF"},children:" --nats-creds-file"}),(0,i.jsx)(s.span,{style:{color:"#032F62","--shiki-dark":"#9ECBFF"},children:" /path/to/nats.creds"})]})})})}),"\n",(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(s.pre,{className:"shiki shiki-themes g
1ithub-light github-dark",style:{backgroundColor:"#fff","--shiki-dark-bg":"#24292e",color:"#24292e","--shiki-dark":"#e1e4e8"},tabIndex:"0",children:(0,i.jsxs)(s.code,{className:"language-shell",children:[(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"#24292E","--shiki-dark":"#E1E4E8"},children:" WADM_NATS_SERVER"}),(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"="}),(0,i.jsx)(s.span,{style:{color:"#24292E","--shiki-dark":"#E1E4E8"},children:"connect.ngs.global"})]}),"\n",(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"#24292E","--shiki-dark":"#E1E4E8"},children:" WADM_NATS_CREDS_FILE"}),(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"="}),(0,i.jsx)(s.span,{style:{color:"#24292E","--shiki-dark":"#E1E4E8"},children:"/path/to/nats.creds"})]}),"\n",(0,i.jsx)(s.span,{className:"line",children:(0,i.jsx)(s.span,{style:{color:"#6F42C1","--shiki-dark":"#B392F0"},children:"wadm"})})]})})}),"\n",(0,i.jsx)(s.h3,{id:"wasmcloud",children:"wasmCloud"}),"\n",(0,i.jsxs)(s.p,{children:["To connect wasmCloud to Synadia Cloud, you can provide the ",(0,i.jsx)(s.code,{children:"--nats-host"})," and ",(0,i.jsx)(s.code,{children:"--nats-creds"})," flags to ",(0,i.jsx)(s.code,{children:"wasmcloud"}),", or use their respective environment variables ",(0,i.jsx)(s.code,{children:"WASMCLOUD_NATS_HOST"})," and ",(0,i.jsx)(s.code,{children:"WASMCLOUD_NATS_CREDS"}),". If you're running wasmCloud in a container or in Kubernetes, you can set these environment variables in your deployment configuration."]}),"\n",(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(s.pre,{className:"shiki shiki-themes github-light github-dark",style:{backgroundColor:"#fff","--shiki-dark-bg":"#24292e",color:"#24292e","--shiki-dark":"#e1e4e8"},tabIndex:"0",children:(0,i.jsx)(s.code,{className:"language-shell",children:(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#6F42C1","--shiki-dark":"#B392F0"},children:"wasmcloud"}),(0,i.jsx)(s.span,{style:{color:"#005CC5","--shiki-dark":"#79B8FF"},children:" --nats-host"}),(0,i.jsx)(s.span,{style:{color:"#032F62","--shiki-dark":"#9ECBFF"},children:" connect.ngs.global"}),(0,i.jsx)(s.span,{style:{color:"#005CC5","--shiki-dark":"#79B8FF"},children:" --nats-creds"}),(0,i.jsx)(s.span,{style:{color:"#032F62","--shiki-dark":"#9ECBFF"},children:" /path/to/nats.creds"})]})})})}),"\n",(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(s.pre,{className:"shiki shiki-themes github-light github-dark",style:{backgroundColor:"#fff","--shiki-dark-bg":"#24292e",color:"#24292e","--shiki-dark":"#e1e4e8"},tabIndex:"0",children:(0,i.jsxs)(s.code,{className:"language-shell",children:[(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"#24292E","--shiki-dark":"#E1E4E8"},children:" WASMCLOUD_NATS_HOST"}),(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"="}),(0,i.jsx)(s.span,{style:{color:"#24292E","--shiki-dark":"#E1E4E8"},children:"connect.ngs.global"})]}),"\n",(0,i.jsxs)(s.span,{className:"line",children:[(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"#24292E","--shiki-dark":"#E1E4E8"},children:" WASMCLOUD_NATS_CREDS"}),(0,i.jsx)(s.span,{style:{color:"#D73A49","--shiki-dark":"#F97583"},children:"="}),(0,i.jsx)(s.span,{style:{color:"#24292E","--shiki-dark":"#E1E4E8"},children:"/path/to/nats.creds"})]}),"\n",(0,i.jsx)(s.span,{className:"line",children:(0,i.jsx)(s.span,{style:{color:"#6F42C1","--shiki-dark":"#B392F0"},children:"wasmcloud"})})]})})})]})}function h(e={}){let{wrapper:s}={...(0,l.a)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.