I need to create a WebJob through the Azure Portal. However, I'm not seeing an option to do so in the Portal through my trial subscription. Can you tell me how to set up a WebJob in the Portal using my trial subscription?
There's not an option to create an Azure WebJob as a separate resource. Instead, you want to create a Web App. A Web App can host a web application, but it can also host continuous and triggered WebJobs.
To provision a new Web App, click the New button in the upper left-hand corner of the portal. Choose "Web + Mobile", then choose "Web App".
After you create a WebJob project in Visual Studio, you can right click the project file and choose "Publish as Azure Webjob..."
If you browse to your Web App's management blade, you'll see a menu item called "WebJobs". This will list all WebJobs that are running on that WebApp.
Related
I developed a web service in Visual Studio 2015. I tested the web service locally by using the WCF test client. When I start the client, it displays this
To execute the service, I double click on get_homepage() and then I click on the invoke button. The service executes and returns the required information.
Then, I published the web service up to Amazon Web Services using the AWS Publish wizard in Visual Studio 2015 (I installed the package earlier). After the package uploads, AWS returns to me a public URL so I can reference the web service that I uploaded. The url that AWS generated is http://webservicewmcw-dev.us-west-2.elasticbeanstalk.com.
If I enter http://webservicewmcw-dev.us-west-2.elasticbeanstalk.com/Service1.svc?singleWsdl into the browser, a bunch of xml tags are returned but not the data I am looking for.
My question is, how do I call the get_homepage instance within the web service?
We have an enterprise web application implemented based on Spring-Security for authentication/authorization. This application is currently deployed on-premises on client side and usually we connect it to existing AD/LDAP systems.
Now we'd like to setup this web application within Amazon AWS for demo purposes. Therefore we need a kind of an user access frontend, where users can register and as soon as an admin approved this, the user should have access to the webapp ui. In addition a simple analytics layer is needed, to see some information about the user access.
It is important to have this "frontend" (could be a simple website based on a CMS like WordPress) just to explain the demo, to have the user registration functionality and the analytics layer. We explicitly don't want to include this in the existing web application, so it must be decoupled from each other.
What could be the right approach to setup such an environment? I just need the right direction to dig into the topics.
After a first research, we see that Amazon Cognito could be the right backend service for user data management. But we don't see "an easy way" to enable a simple frontend as described above (e.g. I didn't find a wordpress plugin to connect wordpress user data management with Apache Cognito). Also on the backend side I haven't find useful information how to integrate Apache Cognito with Spring Security.
If you are looking for a simple frontend we launched a new feature which gives you basic signup/login pages for your user pool.
I like the friendly interface that AWS Mobile Hub provides to disparate Amazon services, but I'd like to use it to create a web application, rather than a native iOS or Android app.
It's not clear to me how to do so, since there's no option for javascript sample code or any mention of web applications:
Am I missing something? Is there documentation for this use-case elsewhere?
All of the resources that are configured by various features in Mobile Hub (e.g., NoSQL Database, Cloud Logic APIs) are usable directly from a web app in the browser. For example, you can turn on the App Content Delivery feature, enable web hosting on your Amazon S3 bucket, download/copy the AWS JavaScript SDK into your Amazon S3 bucket, and start writing your web app. The JavaScript SDK will allow you to interact with your Mobile Hub resources (found on the "Resources" page in the left Nav menu in Mobile Hub's console).
However, we do realize these steps are tedious and we have had similar feedback from other customers. So, we are actively working to make these steps easier.
In the meantime, you can get the AWS JavaScript SDK here:
https://aws.amazon.com/sdk-for-browser/
And, you may find some of our github samples are a good starting point, like this one:
https://github.com/awslabs/lambda-refarch-webapp
For those looking to build web apps, AWS has a JavaScript library called AWS Amplify that makes building cloud web apps easy: https://aws.github.io/aws-amplify/
I am aware that Azure Storage Account has the availability alert. What about Azure App Service? Does it support availability alert too? I am not considering Application Insights because it is still under preview and there is no SLA.
You can setup an amount of alerting from the normal App Service itself, if you go to the portal, select the Web App, API App or Mobile App in the app service, there is a Monitoring section which has an Alerts page on it- this will allow you to configure things like "Let me know when there are more than 5 Http 500 errors in a 10 minute period".
If you'd like availability monitoring however, then this is reported within Application Insights. There are a couple of different types you can run in here, standard "ping" tests against your endpoint that look for a 200 response, or you can run web tests that you've pre-authored/recorded and uploaded. You can run these from various countries all around the world.
As for your comment on App insights being in preview - you're in luck:
General availability of Azure Application Insights
I have created a "Windows Azure Cloud Service" project in VS2012.2 with a MVC4 web role. When I run up the project it just gives me a web page. I am trying to develop a web service back-end for my website so I want to be able to call web methods directly from my website which is also running in on Azure.
When F5 my project it just gives me a website. Should I be using a worker role instead of a web role?
If you put your back-end web service along with your web role, then you can use it directly.
If you put your service in a worker role, then you need to open an input endpoint on your worker role so that it can be connected from out side of azure.
Or, you can create another website for your service and map to a virtual dictionary/application on your web role.
You may use both, but a web role is easiest as it sets up everything for you.
Its better to use web role in your scenario, the reason being publishing a web role is pretty straight forward.