Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8876437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:12:48+00:00 2026-06-14T19:12:48+00:00

I have a Cloud Service and a VM role in Azure set up. My

  • 0

I have a Cloud Service and a VM role in Azure set up. My Cloud Service is a simple MVC site running on Server 2012, and the VM is an Ubuntu OS with redis installed on it. How is inter-role communication supposed to work in Azure? (Everything is in the same data center.)

I could set up a public endpoint on the VM, but I would rather not have my redis machine exposed. Is there a proper way to do this? Is the private IP assigned to my VM fixed? If so I can just use that, right?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T19:12:49+00:00Added an answer on June 14, 2026 at 7:12 pm

    You have to use the Windows Azure Virtual Network (WAVN) in order to open communication between a Windows Azure Virtual Machine and Windows Azure Cloud Service.

    Note that WAVN has explicit requirement for specifying an Affinity Group. So if you don’t have one – you will be able to create when creating the Virtual Network. Now, your cloud service (i.e. your web/worker roles) must be in the same Affinity Group in order to be able to “join” that virtual network. I am not sure whether it is possible to change the Cloud Service’s Affinity group after the service is created. So just create a new cloud service by specifying the Affinity Group where you created your Virtual Network.

    Next step is to configure the Virtual Machine to use the Virtual Network you created – it is part of the “From Gallery” process.

    Now you need to instruct the Cloud Service (web/worker role). This is done via the .csconfig file for the Cloud project in Visual Studio. There is yet no UI to configure the networking. What you have to include is a NetworkConfiguration section as a direct descendant of Configuration root element:

    <NetworkConfiguration>
      <VirtualNetworkSite name="SampleNetwork" />
      <AddressAssignments>
        <InstanceAddress roleName="ContactManager.Web">
          <Subnets>
            <Subnet name="FrontEnd" />
          </Subnets>
        </InstanceAddress>
      </AddressAssignments>
    </NetworkConfiguration>
    

    You describe your roles and the virtual network name and subnets where you want your roles to reside.

    Fingers crossed, now everything shall be in the same network – the one you created. Name resolution must be generally working, but it is in Preview, so expect issues with that. Now your MVC application can directly make a “call” to your Linux VM. For addressing just use the VM name.

    If you want to call the MVC from the Linux VM – you have to address a specific instance of your WebRole.

    As for IP Addresses – internal IP address (A.K.A. Direct IP Addresses or DIP) are never fixed! Even when you create the Virtual Network, you can only have DHCP assigned IP Address. And they will be assigned from the pool you specify in your Virtual Network setup.

    A good reading on Windows Azure Virtual networks can be found here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an Azure Cloud Service set up as follows: <Sites> <Site name=Web physicalDirectory=../SampleWebsite/>
I already have my azure web role running in cloud using azure sdk 1.6.
I have an ASP.NET MVC 4 site running perfectly well in an Azure WebRole.
I created a new Azure Cloud Service Web Role in Visual Studios 2012. Included
I have a server running on the Amazon cloud running ColdFusion 9.0.1. on Windows
So I have been running the numbers for Azure and RackSpace Cloud Servers and
I have experienced with cloud service/hosted service on Azure. However regarding another project i
I have a WCF service hosted on Windows Azure as a cloud service. When
I have already knowledge of windows azure and worked on cloud service,storage & WASD,
When I publish or package the Azure cloud service WCF that I have, does

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.