Modify the url of my cloud service - windows

How to change the url of windows azure application which is in cloud?
modify the url from xxx.cloudapp.net to yyy.cloudapp.net
thanks for your helps

You can't do that! The only way is to create new cloud service and deploy your package there.
Please note that creating cloud service is nothing else but reserving the DNS name (XXX.cloudapp.net). You are not being charged for creating cloud services. You are only charged for when you deploy something on those cloud services. So you can create as many as you wish (well, I think there is some soft limit on the number of cloud services you can create, so delete the ones you are not planning to use).
When you go for production I highly suggest you to use your own custom domain (i.e. www.mycomany.com). For this, please follow the instructions here.

Related

Microservice Fetch remote config Laravel

We have have bunch of micro services. On a monthly basis we are adding more. Each service has its own secret. Once the a new service deploys we have a Laravel command that registers the service in the service registry.
In that call, we want to reply the credentials for all other microservices. But, how do we dynamically replace a config file? (Normal Laravel Config structure).
An explanation of how somebody would do it is fine, coding, we can do ;) Just looking for some guidance on what is the best approach.
Thanks!

What's the best and cheapest way to deploy a web-app made by spring-boot and angular online?

I made this project composed by a back-end API in spring-boot and a front-end in Angular8.
I was wondering if I should find some cloud solution? I still haven't got the picture. Can someone help?
TANKS A LOT
There may not be the best and cheapest way, but you can find the most suitable way that match your need.
If you happened to have a computer or workstation that can be turn on all the time and you also have a public IP Address, you can just deploy on it.
Or you can deploy it on Cloud Platform like AWS, GCP, Azure. You can choose the runtime environment and libraries you want so as to deploy your web-app.
You should also buy the domain name that point to your IP Address and get the certificate later to secure it using https.
There is no specific cheaper way to do it. You can try AWS, Azure, GCP, Pivotal etc., depending on your use case of availablity and scalability. You can also try https://www.heroku.com/ to deploy and try out things.

How to get instances configuration deployed in Ali cloud?

Our customer using Alibaba cloud to deploy their application. They rented dozens of VMs/instances. We are asked to using API to get instance configuration (i.e. number of core, memory, network bandwidth, SSD, disk type, zone and etc) by program. We have found Ali open APIs in github./1/
Could someone point out which exact API could we call to get instance configuration?
/1/ https://github.com/aliyun/aliyun-openapi-java-sdk/
You can use the DescribeInstanceAttribute API. I feel it's very helpful to use the APIExplorer to debug APIs. You don't need to install SDKs, CLIs, write any code, and configure access keys etc. Just login your Alibaba Cloud account, fill in some inputs, and click the Send Request. Everything is there!

How to setup Application Insights for on-premise Service Fabric?

Is it possible to add application insights for web api that's hosted on the on-premise version of service fabric?
So far I have tried to add the application insights to my project and wondering where to send for monitoring. It was easy when app is also on cloud.
I believe there is no on-premise application insights service, so even if the web api is hosted on-premise over service fabric; one must use cloud version application insights service, is that correct? In that case can anyone let me know how to setup?
App Insights is only hosted in Azure. If you're looking for an on-premise solution, you're best off looking at using something like the ELK stack (Elastic Search, Logstash and Kabana).
Nonetheless, even though your cluster is hosted on-premise, using Asure App Insights is still very much a valid scenario (assuming your IT organisation is fine with it).
Assuming you're fine with Application Insights, I strongly recommend you have a look at App Insights Service Fabric. It works great for:
Sending error and exception info
Populating the application map with all your services and their dependencies (including database)
Reporting on app performance metrics, as well as,
Tracing service call dependencies end-to-end,
Integrating with native as well as non-native SF applications
One thing however that the above won't solve is providing overall cluster health information - e.g. when/how often nodes go up/down, how much CPU/Memory and disk IO is consumed on individual nodes. For this you could try MS EventFlow or a custom windows service
There is no "on premise" application insights, but as long as your on premise service has access to send outbound data, you can use application insights on your site. You won't be able to use some features, like webtests, because application insights wont be able to make calls into your site.
Setup is the same as always, create an application insights resource in azure, and either configure it in visual studio, or manually set the instrumentation key in your applicationinsights.config (or via code) in your app.
If you need to configure outbound firewall rules or anything to let AI send data, that information is all here: https://learn.microsoft.com/en-us/azure/application-insights/app-insights-ip-addresses

Application Deployment - Web + REST backend

I have an application which ember.js based front end, express.js based REST APIs with postgre as DB. There is also an android application consuming the REST APIs.
I want to deploy this application in cloud. I am very new to this area and not sure what approach to take that will be economical too. Its a startup application and will not have huge traffic in the start. I have been doing RnD on heroku and amazon aws.
Can any one please guide what deployment setup will be reliable and economical for me? Should I use cloude Db?. Any guide line or reference material will be great help.
Sorry If you find this question too generic.
Cheers
You can use AWS EC2 micro instance initially which is low cost.
Once you create the instance, you can install the tools required for you in instance.
What you need is create a AWS account and create the instance. In order to create a instance you can do it from console. Later you can access the instance using secrete key and access key. If you are a new user to AWS. Yo can get the usage free for one year.
As part of AWS’s Free Usage Tier, new AWS customers can get started with Amazon EC2 for free.
More details about free usage and pricing
As your application grows you can use Opscode Chef or puppet for configuration management.

Resources