PS
This artcle is just example how to use GATEWAY but in real app avoid using gateway. Read more
Intro
Few weeks ago i started playing with Azure. My task was simple how to configure Asp.Net Mvc Application and connect to database which is on other server in same network. The main reason why i spend lots of time is that i was using preview portal and as i understood its not yet ready and there is still some bugs and not finished features, but generally i like what Azure team did, new design is cool and allow to customize dashboard so you can easily configure what you want to see.
I would suggest to start from configuring network
I would suggest to start from configuring network
Network
Lets start our configuration from network. Click on New -> Networking -> Virtual Network -> Deployment model -> Classic
NOTE: Dont choose Resource Manager deployment type because then you will not be able to connect with WebApp
NOTE: Dont choose Resource Manager deployment type because then you will not be able to connect with WebApp
Configure Address space
Address space CIDR block: 10.0.0.0/16
Subnet name: Db
Click create and wait. Azure will add icon to your dashboard after you hit create.
After its done network details will be opened.
Next step would be to create gateway where we will be able to connect via vpn and connect our web app. Click on gateway icon and select point to site connection type, I default address spaces since 256 addresses in range 10.1.0.0 is enough for me since i will have one web app scalable from 1 to 10 and 1 vpn connection at time.
after you hit ok it will start deployment and generally it takes up to 30 mins. so we have time to start with webapp
As soon as gateway is created root certificate should be uploaded so it will be possible to connect to this network with vpn.
Start command line as Administrator