I am totally new to Azure, I have stumbled across it as a I wish to farm out a Web Service for updating our database without hosting it internally and potentially involving any security risks.
Therefore I have got myself a free Azure Web Trial to see if its worth it. I have an .ASMX based Web Service (Because this is all I know to build) and I wish to deploy it to Windows Azure.
Is this at all possible?
Cheers,
James
Yes I've done just that myself. Add an AzureCloudService project to your solution (requires the Azure sdk); create as an empty project, do not select any web or worker roles as part of the project creation.
Under the Cloud service select Roles -> Add -> Web Role project in solution...
and select your existing web service project
From the context menu on the Cloud Service project you will be able to package or publish to Azure.
You could do that inside Visual Studio, right click on the name of the project and then click publish, and of course after that you will be asked to log into your azure account and with a click you'll have your web service deployed and ready to be consumed.
Related
I created a new project in Google Cloud Console. (eg. my-project-abc12345 - only a example name)
Then I tried to create an agent in Google Dialogflow Console, under the created project.
But the project my-project-abc12345 I created is not listed here. Does anybody know a possible reason for this?
Actually, I need to create the project first as I need proper naming for my project_id, and then use it in the agent creation time in Dialogflow.
The same scenario works well with my personal google account. For this one, I am using my company's google account.
Your ideas/comments/answers on this are really appreciated.
You can try below steps to resolve your issue :
First, make sure that you are using the same account in GCP and in
Dialogflow ES console, and that the account is listed as the owner
for that project.
You can try refreshing the browser page with the Dialogflow ES console if the project was created after you opened the Create a New Agent option in Dialogflow ES.
You can create an agent via the
API and then open it in the console, pasting the project ID in the
URL to the agent in the browser address bar.That is, open an
existing agent and replace the project ID in the URL.
The above step
is not required if you can see the new agent in the agents selector
after refreshing the Dialogflow ES console browser page.
Background: I am coming from Azure cloud where I could see all resources in a project (resource group) by simply navigating to the resource group in https://portal.azure.com from a web browser.
Question: In GCP, I am shown an overview page when I navigate to https://console.cloud.google.com/home/dashboard?project=abc-def-ghi. I like to see all resources in this project from a web browser? Is it possible?
Yes, you can use Asset Inventory feature. You have that kind of UI
And also work by API, and you can export your assets to BigQuery to track the changes, evolutions, history,....
I am developing an application that uses the google api to create projects on the google cloud platform and enable these projects to the Dialogflow api.
For this reason I created a service account with the Cloud Resource Manager API and Service Usage API enabled. In sequence I send two HTTP POST requests to the service account first to the address:
https://cloudresourcemanager.googleapis.com/v3/projects
to create a new project and then to the address
https://serviceusage.googleapis.com/v1/projects/{0}/services/dialogflow.googleapis.com:enable
to enable the Dialogflow api on the new project (clearly in place of {0} I'm going to put the code of the new project returned by the previous API).
Initially and for some time everything worked fine. Projects were created and with the Dialogflow API enabled.
Then all of a sudden the second api to enable dialogflow gives me a resource not found error and it doesn't work anymore.
I understand that the problem is the following:
the API for creating new project, although it does not give me any errors and is done successfully, it does not really create the project in the google cloud platform.
I add that I have a Google Cloud Identity account (required to address a parent folder when a new project is created) and an account with billing details linked to the service account. I also applied to Google to increase the maximum limit of projects allowed on the google cloud platform.
I don't know why suddenly google no longer allows me to create projects via its api.
I receive an error message while attempting to deploy anything from the marketplace into a specific GCP project.
You must have a valid default service account in order to create a
deployment, but this account could not be detected. Contact support
for help restoring the account.
Things I've Tried:
Every VM from the marketplace shows the same error message
I can deploy regular VM instance
I can see there is an enabled service account for the project with the name "Compute Engine default service account".
I am able to deploy VM's from the marketplace into other projects under the same organization
I've contacted GCP Billing support and they cannot find anything wrong from a billing perspective
Researching online shows that others that have had this issue have just rebuilt the project. It appears that service account is created by default when the project is spun up.
I'm hoping there is another way around it as this project is a host for a shared VPC deployment. There are already other projects with deployed VM's that are utilizing the host projects networks.
Thank you!
Looks like you deleted a default service account.
As mentioned in one comment some can be recreated by disable/enable the corresponding API
Below are the default service accounts I have in my project, hope it helps you to find the root cause. (these service accounts let me deploy a wordpress solution depending on what you are trying to deploy you might need more service accounts)
PROJECT-NUMBER-compute#developer.gserviceaccount.com Compute Engine
default service account
PROJECT-NUMBER#cloudservices.gserviceaccount.com Google APIs Service
Agent
PROJECT-ID#appspot.gserviceaccount.com App Engine default service
account
service-ORG-ID3#gcp-sa-cloudasset.iam.gserviceaccount.com Cloud Asset
Service Agent
service-PROJECT-NUMBER#cloud-ml.google.com.iam.gserviceaccount.com Google
Cloud ML Engine Service Agent
service-PROJECT-NUMBER#compute-system.iam.gserviceaccount.com Compute
Engine Service Agent
service-PROJECT-NUMBER#container-engine-robot.iam.gserviceaccount.com Kubernetes
Engine Service Agent
service-PROJECT-NUMBER#containerregistry.iam.gserviceaccount.com Google
Container Registry Service Agent
service-PROJECT-NUMBER#dataflow-service-producer-prod.iam.gserviceaccount.com Cloud
Dataflow Service Account
service-PROJECT-NUMBER#service-networking.iam.gserviceaccount.com Service
Networking Service Agent
The service account was intact and had the same permissions as other service accounts for working projects.
We purchased and opened a case with GCP technical support. After a little more than a week of them troubleshooting the issues, they determined there was no way to correct the problem. Their root cause was that something happened during the initial project deployment that caused some backend configuration issues. For what its worth, the project was deployed using Terraform, but its uncertain if that was a factor.
After recreating the host project, we were able to deploy from the marketplace again successfully.
If you run into this problem, save yourself the hassle and time and just recreate the project.
I deployed a Java application in SAP Cloud platform cloud foundry environment. I wonder how to access this application on Portal site in cloud foundry.
Can someone please help me?
Thanks,
Sankeerth
Bringing the Java application with a frontend into a Portal requires several steps outlined in this blog post.
On a high level, you need to:
Create a Portal site in your Cloud Foundry space.
Switch to the design time editor on Neo and create a tile for your application.
Configure the routes for the Fiori Launchpad and setup the authentication and trust management.
Deploy the launchpad to your Cloud Foundry space.
First, please identify the correct SAP Cloud Platform Cockpit. For the trial landscape the link is https://account.hanatrial.ondemand.com/cockpit#/region/cf-eu10/overview.
Afterwards, select your global account and sub-account and go to spaces on the left.
In the SAP Cloud Platform Cockpit tab spaces, you select the space you have deployed to. Then you go to applications and should see an application with the name you specified during the deployment. Click on the application and you should see application details, logging output and a link to the deployed application.
The deployment parameters space and application name have to be specified during the deployment. If you use the SAP S/4HANA Cloud SDK Pipeline, you specify it in the pipeline_config.yml. If you use cf push, you specify it during cf login and as parameter for cf push or in the manifest.yml.
Hope that helps or did you mean the Fiori Launchpad?