Simplify deploying and managing Jina projects on Jina Cloud
Project description
JCloud
JCloud is the command line interface that simplifies deploying and managing Jina projects on Jina Cloud.
Jina Cloud is the cloud infrastructure provided by Jina AI. It hosts your Jina project, offers computational and storage resources. Jina Cloud is now in early beta, you can apply the access token here for free.
Install
pip install jcloud
jc -h
Get Started
Deploy a Flow
jc deploy toy.yml
The simplest toy.yml
looks like the following:
jtype: Flow
executors: {}
Flow is succefully deployed when you see:
You will get an Flow ID, say 84b8b495df
. This ID is required to manage, view logs and remove the Flow.
As this Flow is deployed with default gRPC gateway, you can use jina.Client
to access it:
from jina import Client, Document
c = Client(host='grpcs://84b8b495df.wolf.jina.ai')
print(c.post('/', Document(text='hello')))
View logs
jc logs 84b8b495df
Remove a Flow
jc remove 84b8b495df
Get the status of a Flow
jc status 84b8b495df
List all Flows on the cloud
jc list
Support
- Check out the Learning Bootcamp to get started with DocArray.
- Join our Slack community and chat with other community members about ideas.
- Join our Engineering All Hands meet-up to discuss your use case and learn Jina's new features.
- When? The second Tuesday of every month
- Where? Zoom (see our public events calendar/.ical) and live stream on YouTube
- Subscribe to the latest video tutorials on our YouTube channel
Join Us
JCloud is backed by Jina AI and licensed under Apache-2.0. We are actively hiring AI engineers, solution engineers to build the next neural search ecosystem in open-source.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.