This series is to showcase how easy it is to create a new SharePoint 2013 Development platform on Azure.
Great, we have the SharePoint 2013 development servers cranking away on Azure and we can connect to it via RDP. But what if there is a need to use Visual Studio, connect to the site locally from the corporate network or from a remote location without RDP. VPN either using Point to Site or Site to Site VPN is the answer. For a development platform, Point to Site VPN is more than sufficient since the scope of visibility of the SharePoint server is confined to a particular developer or a set of developers.
Overall Architecture with VPN and Azure
Setting up Point to Site VPN on Azure
This is a one-time setup.
Jump onto Azure Portal and click on Networks and choose Dashboard for the network we are trying to configure.
- Click on Create Gateway at the bottom of the portal screen (Take around 10 – 15 minutes to complete)
Once the Gateway changes to a ready to connect stage we are ready to bring our Point machines connected to Azure
Create a Root Certificate for your local Machine
One-time process for each single Developer (local machine) connecting to Azure
- Download a copy of Makecert
If you are doing it from PowerShell then run the following command
#Create a Self-Signed Root Certificate
.\makecert -sky exchange -r -n “CN=win8developer” -pe -a sha1 -len 2048 -ss My “win8developer.cer”
Running the script will provide a cert to be uploaded to Azure that identifies the local machine
Jump back onto Azure Portal and browse to Network, choose the Dev network and head into certificates and upload the new root certificate onto the portal
Download the VPN Client and Connect
- Browse back to the dashboard page on networks and on the right hand corner are new options to download the 64bit or 32bit versions of the VPN Config file to connect to azure
Download the client appropriate to the developer local machine and install the software.
The VPN connectivity should now show up within the network Config on the local network.
And that’s it, pretty much connects the developer machine to the server through the VPN. The developer can now either create a local host file entry to point at the SharePoint site or work on the platform from within and outside the corporate network.