New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Deploy to Azure #10
Comments
Looks like you can use VScode to generate this file. update: I'll need to pause on this, but if you'd like to take a look at it with your account @Anush008, feel free. Not sure what the approach is and if this should be Let me know if you have any context on Azure @jpmcb 馃槄 |
Not too much. But looks like Bicep is their opinionated, infrastructure as code solution for deploying resources across azure cloud (like terraform but only for azure). I'd caution that we don't want to get too into the weeds with some of these devops solutions at this stage since it can be an endless dark pit of never ending solution-ing. We want to find the balance between having atomic, reproducible deployments (that in theory, anyone can run) and moving quickly. Even a 2 or 3 step script that someone runs manually is better at this stage than spending weeks coming up with the best devops pipeline opinionated for azure. I'd envision probably a few things for now:
From there, we can build things into a pipeline, further operationalize it, etc. |
I've deployed a QdrantDB instance on Azure using their App service. I've currently disable auth. Available here. The |
To enable the development of the extension's chat UI, I will set up the repo-query service on an Azure compute instance connected to the mentioned Qdrant DB instance. Will allow us to proceed with further development and eventually progress towards a production deployment. |
Awesome @Anush008. Thanks for working through this. |
There's been an update. Azure's App Service which I used to deploy the Qdrant DB instance only allows one container port to be mapped to both 80, 443. No other ports are accessible. https://qdrant-repo-query.azurewebsites.net/dashboard is pointing to port 6333 of the container. That's the dashboard. But our application needs 2. 6333 and 6334. So I ended up running Qdrant on the same compute instance where I'll host repo-query for development.
Line 2 in 0e9fcac
Which is essentially localhost. |
Is this ready to be tested by open-sauced/ai#226 Or should we wait to abstract it in the open-sauced/API? What are the next steps? |
The development deployment is UP. It is a Standard B2s (2 vcpus, 4 GiB memory). Available at |
I don't think I can test it until it's a https:// url. I get an error when I try to send a request from https://github to http://repo-query. We need to get SSL |
I'll configure SSL. |
@diivi, You can try the service now at
The endpoint documentation is here. |
Getting CORS errors now, please allow cross origin access.
|
The CORS policy should've been permissive by default. I set it explicitly. You can try now. |
@Anush008 - we'll want some sort of "infrastructure-as-code" output from this issue so we can have reproducible builds on Azure. Let me know if you want to connect and get some ideas on what that should look like. I'm not super familiar with azure, but we can always use terraform to get some templates. |
Spent a little bit of time trying to deploy this on stream and a bit confused on how to ClickOps my way to a VM. Assuming the below is where to start, but I did not see the flavors you shared when creating that. Specification:
Ideally if I can get the VM up, I can set up the ports and install. Just stuck on step 0. |
Type of feature
馃崟 Feature
Current behavior
There were a few instructions shared in this Discord that I will share here. I would love to add similar instructions so we can deploy this as well.
Here are the Docker instructions I shared:
https://github.com/Azure-Samples/qdrant-azure
Suggested solution
I have gotten as far as deploy the sample app and setting up the
az
cli locally.Azure setup
Azure service set up
What is needed?
we need this file main.bicep file created. Looking at this example for reference: https://github.com/Azure-Samples/qdrant-azure/blob/94a638972fb5a47ec623a27fb9cab5b6b3effe96/Azure-Kubernetes-Svc/main.bicep#L4
I have not done a ton of azure, but the cli experience has been nicer than jumping in the portal
Additional context
Open to other suggestions. This is my first exposure to a bicep file, currently doing more research on it.
Code of Conduct
Contributing Docs
The text was updated successfully, but these errors were encountered: