Static IP for Azure Mobile Service? - azure-mobile-services

Does Microsoft Azure offer static IP for Mobile Service, or static IP can only be allocated for Azure Cloud Services and VMs?
Thanks,

I didn't think so at first, but apparently you can.
See: Set Azure VM Static IP Address

Related

How do I get a public static IP address in Azure Synapse Analytics?

I need to ingest data from multiple 3rd parties over SFTP in Azure Synapse Analytics. Several of those 3rd parties require requests to come from a single fixed IP address. How can I configure outbound traffic from Synapse to originate from a single IP?
In case if you need a single IP, than the best course would be to set up an IR on a server (since it has a same public IP) and leverage that IR to access SFTP.
Since the Azure IP ranges for an ADF and synapse is not a single IP

How to check public IP address range of Google Cloud Storage

Expert
I want to know the public IP address range for Google Cloud Storage in a specific region.
I am planning to upload a file using software from a Windows server, and so I need to set the outbound firewall rules.
It seems that the range for Compute Engine is provided by GCP, but I could not find any for Google Cloud Storage.
https://cloud.google.com/compute/docs/faq#find_ip_range
The image in AWS S3 is like;
Get-AWSPublicIpAddressRange -Region ap-northeast-1 -ServiceKey S3 | select IpPrefix
IpPrefix
52.92.60.0/22
52.219.68.0/22
52.219.16.0/22
...
Could anybody help me?
What about reversing the concept?
Setup VPC service control in your GCP resources and configure the inbound firewall there instead of the outbound firewall on your server.

How to connect from my pc to sql instance with private ip in google cloud platform

I have been struggling when trying to connect to an instance of Postgresql in Google Cloud Platform (from my machine in my home network), which has a private IP.
I have tried with https://cloud.google.com/sql/docs/postgres/connect-admin-proxy (Proxy cloud sql) but I need my instance to have a public IP, and that is not possible according to the requirements I have.
Also I read that I can connect to my VPC using https://cloud.google.com/vpc/docs/configure-serverless-vpc-access , but I have no idea what I have to do.
Does anyone have ever faced a similar issue?
Thanks! I am new at GCP configuration.
You can connect to private IP by having access to the VPC your Cloud SQL instance is paired in. There are instructions under "Connecting from an external source" on the Configuring Private IP page.
However please note that connecting with Public IP with the Cloud SQL proxy is also very secure, and encrypts the data between the proxy and your instance in a similar fashion to how the Cloud VPN works.
It is not possible out of the box, but you can use openVPN to create a site to client VPN (bastion host) I found an article about how to address this scenario, this is a very elaborate solution as was mentioned on the question comments.
I found this feature request for Cloud SQL to allow connection between on-premise servers to instances with private IP

How can i connect and access gcloud mysql?

Also, i need to connect with the same project hosted app with the cluster.
and access the database.
i don't know which IP i give in the mysql.createconnection in my app.
in my node.js app
var connection = mysql.createConnection({host:"IP",user:"username",password: "password",database:"databasename"});
"How to connect to Cloud SQL" is kind of a broad question, and you haven't given very many details as to your environment, but I'll try to point you in the right direction.
First there are generally 3 ways to connect to Cloud SQL - via Environment connectors, Private IP, Public IP.
Environment Connectors (App Engine & Cloud Functions)
If you are using Google App Engine or Google Functions, you should use the /cloudsql socket provided by the environment. See this page here for examples.
Private IP (Compute or Kubernetes Engine)
To connect via Private IP, your app needs to have access to a VPC. This can be either a Compute VM or a GKE cluster. Then you app can access the "Private IP" for the instance just like it would a local database.
Public IP (Anything with access to the internet)
Finally, you can connect via Public IP. This can be done as long as you have access to the internet, but by default public connections need to be authenticated. This can be done 3 different ways:
Using the Cloud SQL proxy
Using an SSL cert
Whitelisting an IP address
Hope this helps.

How to find IP of my server for Microsoft's Cloud

I created tcp ip application and published it to cloud of Microsoft, but for now I don't know how to find the IP of my server.
Or in another words, how can I find the IP at which implemented role was deployed?
Depends on whether you are trying to get the public IP or the private IP of the server.
If you want to reach this server from outside of the Azure network, then you are looking for the public IP. In this case you must define an InputEndpoint for your role. You'll be required to specify a FQDN for your app. You can find the IP address of this FQDN using the usual methods like tracert, ping, etc.
If you want to reach this server from within the Azure network, typically you'd want some other role in your tenant to communicate with this server, then you'd need to define an InternalEndpoint for your server. You can then use the ServiceRuntime library to discover the private endpoint of your role instance.
Enabling Communication for Role Instances in Windows Azure is an excellent resource to get a better understanding of how this works.