I have a python script that takes lot of time to execute so we decided to execute it on aws gpu cloud but it is a part of ASP.NET web application.
So what I want to do is From My ASP.NET application, I want to send a text file to python script. The python script executes on GPU when it required and will come back with results.
Is it possible? Can we create python web service on aws GPU?
I an new to amazon aws.
Can Anyone please help me.
My python script running properly on my pc. I have created Amazon aws account.
Related
I would like to run a python script on Azure that connects to an Azure bus queue and saves the data to a database. I installed my script on an Azure service plan app but the script runs only when I am connected by ssh to the app (why?). I have seen many posts that recommend to either use azure functions (but they are triggered by ssh requests which is not my case) or to use runbooks but I have no idea how it works and if I can use that for my case. Do you have any advice?
What should I use between app, functions or runbook?
or
how can I make my script work even when I don't have an ssh connection with my app?
Thank you in advance for your help
I am trying to run a Python script that runs a bunch of queries against my tables on my Snowflake database and based on the results of the queries stores the output in Snowflake tables. This new company that I work for leverage Informatica Cloud as their ETL tool and while my tool works on Microsoft Azure (ADF) and Azure Batch, I cannot figure out for the life of me, how to trigger the Python script from Informatica Cloud Data Integration tool.
I think this can be tricky for cloud implementation.
You can create an executable from your py script. Then put that file in Informatica cloud agent server. Then you can call it using shell command.
You can also put the py file in agent server and run it using shell like
$PYTHON_HOME/python your_script.py
You need to make sure py version is compatible and you have all packages installed in agent server.
You can refer to the below screenshot for how to setup shell command. Then you can run it as part of some workflow. Schedule it if needed.
I am new to Microsoft Azure. I created a bot in Python that takes a message in Messenger from a page that I created in Facebook, processes each message posted, into a function that produces output to present back to Messenger (through Webhook).
Since I have no web space, my Python script is ran locally on my machine, and I am using local hosting to 'communicate' back and forth in Messenger and using my local hosting address for my Webhook link. I also need the script running locally on my machine and local hosting in order for my bot to work in Facebook Messenger.
I was wondering if there is a way to run my script directly from a server on Azure when and if I get web space, instead of from my machine locally (as I THINK Azure is the place to do this from), and how do I run my script from there instead on a 'constant basis'? Thank you for any assistance.
I have made and automation to process a particular file and save it. I have an EC2 machine. I want others to use this code to upload the file and download the output from my EC2 instance, without having any access to the code or the machine.
Is this possible from Amazon CLI for other users?
Is it possible to automate a code snippet with Python to be run for example every hour? If yes, how it is done?
This code is aimed to be run on Azure server.
According your comments, it seems that your application is hosted on Azure Web Apps. We can leverage web jobs to run background tasks on Azure Web Apps.
General steps,
1,Compress your python script into a zip file
2,login on Azure management portal, click WEBJOBS tab in your website dashboard navigation.
3,Click Add to create a web job task, input a name, upload the zip file with your python script, and configure frequency of running the task.
For more information, please refer to Run Background tasks with WebJobs on official site.