Can a Worker Role process call Antimalware for Azure Cloud Services programmatically?
I'm trying to find a solution that I can use to perform virus scanning on files that have been uploaded to Azure blob storage. I wanted to know if it is possible to copy the file to local storage on a Worker Role instance, call Antimalware for Azure
Cloud Services to perform the scan on that specific file, and then depending on whether the file is clean, process the file accordingly. If the Worker Role cannot call the scan programmatically, is there a definitive way to check if a file has been scanned
and whether it is clean or not once it has been copied to local storage (I don't know if the service does a real-time scan when new files are added, or only runs on a schedule)?
Hi,
I would suggest you have a look at this article:
http://azure.microsoft.com/blog/2014/10/30/microsoft-antimalware-for-azure-cloud-services-and-virtual-machines/, please note the Microsoft Antimalware Client and Service is not installed by default in cloud service, please try to use the PowerShell
cmdlet, Set-AzureServiceAntimalwareExtension to enable antimalware in your cloud service. Here's some more info:http://msdn.microsoft.com/en-us/library/azure/dn771718.aspx
Best Regards,
Jambor
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
Hi,
I am trying to do continuous deployment using visual studio online and release management for Azure cloud services. But not able to find the way to do it(with the help of different blogs, those are describing using VM only).
I tried using Release management visual studio extension also. But no Luck.
Please help me if it is possible to do continuous deployment using release management.
Thanks,
PhaniHi,
Please refer to the following Forum Thread with similar question which has been answered. Let us know if this helps.
https://social.msdn.microsoft.com/Forums/en-US/9d8322f6-36e5-4cca-a982-d420d34d2072/realease-management-deployment-to-azure-websites-webworker-roles?forum=tfsbuild
Regards,
Nithin Rathnakar -
Is there a list of best practices for Azure Cloud Services?
Hi all;
I was talking with a Sql Server expert today and learned that Azure Sql Server can take up to a minute to respond to a query that normally takes a fraction of a second. This is one of those things where it's really valuable to learn it when architecting as
opposed to when we go live.
Cloud Services are not Sql Server (obviously) but that led to the question - Is there a list of best practices for Azure Cloud Services? If so, what are they?
We will be placing the cloud services in multiple datacenters and using traffic manager to point people to the right one. The cloud service will set between an IMAP client & server, pretending to be the mail client to the server, and the server to the client.
Mostly it will pass all requests & responses across from one to the other.
thanks - dave
What we did for the last 6 months -
Made the world's coolest reporting & docgen system even more amazinghi dave,
>>Cloud Services are not Sql Server (obviously) but that led to the question - Is there a list of best practices for Azure Cloud Services? If so, what are they?
For this issue, I have collected some blogs and document about best practices for azure cloud service, you can view them, but I am not sure they are your need.
http://msdn.microsoft.com/en-us/library/azure/xx130451.aspx
http://gauravmantri.com/2013/01/11/some-best-practices-for-building-windows-azure-cloud-applications/
http://www.hanselman.com/blog/CloudPowerHowToScaleAzureWebsitesGloballyWithTrafficManager.aspx
http://msdn.microsoft.com/en-us/library/azure/jj717232.aspxhttp://azure.microsoft.com/en-us/documentation/articles/best-practices-performance/
>>The cloud service will set between an IMAP client & server, pretending to be the mail client to the server, and the server to the client. Mostly it will pass all requests & responses across from one to the other.
For your scenarioes, If you'd like to communicate with each instances, I recommend you refer to this document (
http://msdn.microsoft.com/en-us/library/azure/hh180158.aspx ). And generally, if we want connect the client to server on Azure, the service bus is a good choice (http://azure.microsoft.com/en-us/documentation/articles/cloud-services-dotnet-multi-tier-app-using-service-bus-queues/
If I misunderstood, please let me know.
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to add security for Azure Cloud Service?
Hi,
We have build some API's in azure cloud service.
We want to add security for Azure Cloud Service.
How to add security for Azure Cloud Service?Hi Santhosh,
You may add security for your API's by using:
Mutual certificate authentication
Using OAuth 2.0
Manage developer accounts
Regards,
Manu Rekhar -
How to develop and deploy multiple worker roles in single azure cloud services?
I am Manikandan, From Myeasydocs.com.
We have developed our application as web projects. Now we are going to move to azure cloud services, i have successfully migrated our application in cloud services and it worked fine. I am having difficulties with back ground task. i have nearly 12
schedule tasks in our applications. I need assist on creating multiple worker role creation and deployment.
Is there is any site on explaining the worker role process in details?
Thanks in advance .. !!Hi,
In Worker role, Applications hosted within worker roles can run asynchronous, long-running or perpetual tasks independent of user interaction or input. It is a service component that is useful for generalized development, and may perform background processing
for a web role. A worker role is frequently used for long-running tasks that are non-interactive, but you can host any type of workload.
I suggest you to follow the below article which explains about Creating and Deploying of Web Roles and Worker Roles in Azure Cloud Service using Visual Studio.
https://msdn.microsoft.com/en-us/magazine/jj618299.aspx
Hope this helps !
Regards,
Sowmya -
In Windows 8 I received the error iTunes Library .iti file is locked on a disk or you do not have permission for this file. I can open itunes in the compatibility mode for Windows XP Service Pack 3.
I've tried changing permissions and sharing - nothing seems to work. mat be a Windows 8 issue???You also need to make sure you have both read and write permission for the file, or for the whole iTunes folder for that matter. That's also done in Get Info for the file or folder concerned.
Read the part about changing permissions on the iTunes folder in: https://discussions.apple.com/message/11583914 -
How do I tell my clients to configure the connectionstrings for a cloud service?
I have an application that exists in two forms
A Windows Service
A Clouse Service with a Web Worker Role
Both applications have an encrypted connection string in the app.config;
for clients using the Windows Service I know how to tell them to change the config file.
For a cloud service is it possible to edit the configuration file?
I read something about Azure Settings, but I can't find any good information about that, is that the preferred method for setting environment settings in a Cloud Service?
Can you remote in to a VM or whatever hosts the Cloud Service?
Thank you for any help. I am writing the documentation about how to setup the Azure environment and I realized I don't know myself, I only know how to publish with Visual Studio to a cloud service with the values already set. That works, but I can't
tell a client to use Visual Studio.Hi,
For a cloud service, though it is possible to access instance VMs and do changes on their file system by RDP sessions, but it is not recommended, as you will end up loosing your changes if role instance VMs are restarted.
If you really want to keep certain settings configurable and which will be shared by all your role instances, best way to do is to utilise the cloud service configurations, typically you mention these settings in .cscfg file and you can also edit those using
azure management portal.
You can also access those from your code
string settingValue = CloudConfigurationManager.GetSetting("SettingString");
Read more about it here - http://msdn.microsoft.com/en-us/library/azure/ee405486.aspx
http://haishibai.blogspot.in/2012/09/windows-azure-cloud-service.html
Bhushan | Blog |
LinkedIn | Twitter -
Good evening,
I've been working on and with a VS2013 Update 2 / Azure SDK 2.3 Cloud Service project for a while now and never had a problem debugging it (setting the .ccproj Project as Startup Project) but at the moment I cannot Debug it anymore - I always get the following
error message:
Failed to debug the Windows Azure Cloud Service project. The output directory 'D:\Workspace\Development\Sources\AzureBackend\csx\Backend - Debug' does not exist.
Now what's odd here, is the last part - the "Backend - Debug" is the Solution configuration name, ALL projects in that particular solution configuration are set to the Debug Configuration. The .ccproj file also only specifies Debug|Any CPU (and
Release|Any CPU respectively) as its output folder(s). Why is the Solution config appearing up there?
And more importantly.. why is this happening and what can I do?!
Thanks,
-Jörg
Ps: there seems to be a related
connect bug and these sorts of issues do appear around the forums but none contains a solution (neither reinstalling the Azure SDK nor cloaking the workspace/re-retrieving & building everything worked).Good morning Jambor,
I already tried de-installing everything Azure-Tooling related including the Azure SDK, Restarting my machine and re-installing the SDK.
Same result. I can build the .ccproj perfectly fine and the cspack file IS generated perfectly fine, only debugging does not work and there's NO information in the VS output window (again - all projects succeed to build).
I tried explicitely running VS as Administrator, no change. I removed all IIS Express sites (as the ccproj has one web worker role), remapped my local TFS workspace.. nothing helped.
As building works, deploying to Azure Cloud Service (manually and via Publish inside VS) all works -perfectly-, I am pretty sure this IS a bug and I'd LOVE to help to get this fixed. As I said, currently I cannot debug and/or run & test my work, hence
I cannot do ANY work. -
Here is my situation.
We provide Platform and SDK to other people where they can build WCF services and deploy that on site. We have a many ISVs who has built wcf services, packaged them and ship them.
Packaging consist of couple of manifest file and .dll file that make up wcf service. Now we want to go on cloud with our platform.
Long story short - I have all the dlls for my wcf service but no project file.
Is there a way to generate cloud service package from this dll files?Hi,
You can't simply package your dlls and deploy it as a azure cloud service deployment package - you will need to have your project as well as service definition file which will define your role and instances.
You can read more about packaging an Application by Using the CSPack Command-Line Tool here -http://msdn.microsoft.com/en-us/library/azure/gg433133.aspx
another way to go to cloud platform is by making use of azure web sites, however you will still need your service files do deploy.
If you have the dlls and the service files with you - then you can simply use the web site publish wizard and deploy to azure web site.
Read more about it here - http://azure.microsoft.com/en-us/documentation/articles/web-sites-deploy/
Bhushan | Blog |
LinkedIn | Twitter -
Is it possible to configure size disk for a Cloud Service?
Is it possible to configure size disk for a Cloud Service?
What happens is, I have deployed a Solr Server on a Cloud Service, and the application folder is on E: Drive, but it is only 1.5 GB. I want to increase it, because index content created easily exceeds this limit.
Thank you.hi Luis,
Base on my experience, E drive is the app disk. The apps (application) disk is where your .cspkg is extracted and includes your website, binaries, role host process, startup tasks, web.config, and so on. It is only 1.5G (http://msdn.microsoft.com/en-us/library/windowsazure/dn197896.aspx
). So I think you didn't worry about its space.
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Configure commonly used settings for a cloud service
Hi All,
Have a question regarding Azure Cloud Service. If I change a cloud service setting (Cloud Service -> Configure) in the portal, does the change persist if or when an instance is re-imaged? For example, if I change the "DatabaseRetryCount"
parameter from 5 to 10 and save it, this change will update the runtime configuration. However, when Azure rebuild this role, is this change get carried over?
ThanksIn azure cloud services nothing is persistent, meaning that every time role instances are restarted or created, it will be created from the scratch and will pick up only those settings which you either have done in the role start up or defined as a start
up activity.
About azure cloud service configuration files, i.e. cscfg - you can specify the settings similar to what you define in web configuration file of your application, these settings can be read at run time and can be reffered in your custom code. If you add
/ update any setting from the portal - you should also do similar in cscfg file in your solution so that next time you upgrade the deployment, the updated settings will be deployed.
Read more information here - https://msdn.microsoft.com/en-us/library/azure/ee758710.aspx
Bhushan | Blog |
LinkedIn | Twitter -
Can't publish to Azure Cloud Service from Visual Studio 2013
I have a VS project that I upgraded from VS 2012 to VS 2013. I can run it locally, and had no issues publishing to Azure when I was using VS 2012. When I attempt to publish the upgraded app to an Azure Cloud Service that already exists, I am getting this
error. Note that I have checked the Service Config files and did a search on the entire solution and can not find any reference to "LocalStorage1" anywhere in the Project or Solution. I have another VS 20113 Project that publishes just fine
to Azure Cloud Service. Any ideas on how to fix this?
PUBLISH ERROR:
Windows Azure could not find the resource LocalStorage1 in the service package. To upgrade the deployment, you must add the resource. Otherwise, perform a new deployment.That's actually what I meant in my first post. When publishing to a new service, it is fine, because the deployment does not have to compare what is already there (it is a new service, so nothing is there) and what is in your package. But while upgrading
a service, bunch of settings have to match between an existing service and the package you are trying to upload. So the error you got wasn't about you having something extra in your package, but having something extra in your existing service and missing in
the package you were uploading. Hope that helps.
Anyway, please move this question to cloud services forums (this one is for web sites only), as there are experts in that area and they might be able to help you better.
Thanks,
Petr -
WHY ARE THE UK USERS PAYING MORE FOR THE CLOUD SERVICES????
WHY ARE THE UK USERS PAYING MORE FOR THE CLOUD SERVICES????
OR IS IT JUST LAZYINESS THAT YOU CHANGE THE DOLLAR SIGN FOR THE POUND?it obviously doesn't, but then again some people or organisation only care about price when it comes to purchasing their laptops, and it is hard to justify making a special model for a selected few.
Sure everything can be done if there is a market for it, but Lenovo won't know how large the market is before hand, as such they are hedging a bet by not moving with the market (which Lenovo have done on many occasions). I guess the finanical return is not the worth the risk for Lenovo to keep the 4:3 or 16:10 screens.
But this debate has been going back and forth for a long time, so no point bringing it up again and again.
Regards,
Jin Li
May this year, be the year of 'DO'!
I am a volunteer, and not a paid staff of Lenovo or Microsoft -
Can we schedule background processing through sm37 for a bdc recordind
hi all,
some one please tell me , can we schedule background job processing through sm37,
for a bdc recording program(table control) .
the data data is not on the presentation server or application server,
actually i fetching the data from the data base into a internal table and processing the data
through me22n t-code through recording and for sto(stock transfer order )update.
thanks in advance
sarathi,
You can do this using function modules 'JOB_OPEN', 'JOB_CLOSED' and SUBMIT statement.
Please find the below example.
*Submit report as job(i.e. in background)
data: jobname like tbtcjob-jobname value
' TRANSFER TRANSLATION'.
data: jobcount like tbtcjob-jobcount,
host like msxxlist-host.
data: begin of starttime.
include structure tbtcstrt.
data: end of starttime.
data: starttimeimmediate like btch0000-char1.
Job open
call function 'JOB_OPEN'
exporting
delanfrep = ' '
jobgroup = ' '
jobname = jobname
sdlstrtdt = sy-datum
sdlstrttm = sy-uzeit
importing
jobcount = jobcount
exceptions
cant_create_job = 01
invalid_job_data = 02
jobname_missing = 03.
if sy-subrc ne 0.
"error processing
endif.
Insert process into job
SUBMIT zreport and return
with p_param1 = 'value'
with p_param2 = 'value'
user sy-uname
via job jobname
number jobcount.
if sy-subrc > 0.
"error processing
endif.
Close job
starttime-sdlstrtdt = sy-datum + 1.
starttime-sdlstrttm = '220000'.
call function 'JOB_CLOSE'
exporting
event_id = starttime-eventid
event_param = starttime-eventparm
event_periodic = starttime-periodic
jobcount = jobcount
jobname = jobname
laststrtdt = starttime-laststrtdt
laststrttm = starttime-laststrttm
prddays = 1
prdhours = 0
prdmins = 0
prdmonths = 0
prdweeks = 0
sdlstrtdt = starttime-sdlstrtdt
sdlstrttm = starttime-sdlstrttm
strtimmed = starttimeimmediate
targetsystem = host
exceptions
cant_start_immediate = 01
invalid_startdate = 02
jobname_missing = 03
job_close_failed = 04
job_nosteps = 05
job_notex = 06
lock_failed = 07
others = 99.
if sy-subrc eq 0.
"error processing
endif. -
Can I use fixed global IP Address for Azure RemoteApp ?
Can I use fixed global IP Address on Azure RemoteApp ?
I want to use fixed global IP Address for security reason on Azure RemoteApp.
Some servers are filtering recieved ip addresses for security reason.
I need to use fixed ip address of my Application to connecting these servers.
Regards,
Yoshihiro KawabataHi Yoshihiro,
Currently there is no capability to specify that a fixed public IP be used for Azure RemoteApp. From experience I can tell you that the public ip for each app collection stays the same until you Update the template. This makes sense since when
you perform an update (regardless of if the template vhd has actually changed) the collection is provisioned again.
Please note there is no official statement from Microsoft that the global IP address used for a collection will remain the same in between updates.
I recommend you suggest this on the
Azure RemoteApp feedback forum. I would like to have this feature as well.
Thanks.
-TP
Maybe you are looking for
-
Opening and closing Inventory report in CR
Hi Experts, I want report like as below ItemCode ItemDescription OpeningStk Reciept Issue ClosingStk Selection Criteria OpeningStk Date : 01 .01. 2013 ClosingStk Date : 31.12.2013 My working: OINM and OITM table inner join. se
-
We can see our music in the library of our I~tunes account but we can not click on a song to listen to it. As soon as we do an "!" comes up beside it. And we tryed to sync our ipods... as soon as we plugged them in they are recognized but they erase
-
How to split a comma seperated varray element ..
Hi , If I have varray with elements in the below fashion. first element -- 'var1=v1' Second element -- 'var2=v2' third element --' var3=v3' fourth element -- 'var4=v4' fifth element -- 'var5=v5' Is there a way I can split them to get as the following
-
Hi to all, I have a datagrid populated from a table. I Have created in the header of the form a button with this WHEN_BUTTON_PRESSED trigger: declare lov_return boolean; begin lov_return := show_lov('lov_gridrows'); end; For example, this is the
-
Adobe Flashdrive says there is an update that needs to be loaded. Safe?
Adobe Reader says there is a new Flashdrive update. Is it safe?