Reserved ip address for DNS in VM on Azure cloud

I am running VM in the Microsoft cloud and I am trying to put reserved ip address on the VM. I have followed instructions but cannot make it work. I am going to use the VM as public DNS
Where is best to begin ?
soffcecManagerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

matrix8086Commented:
You cannot put your own IP public address. You have to obtain an IP public address from a reserved pool from Microsoft

Best regards
0
soffcecManagerAuthor Commented:
I am not using my own ip I am asking how to get it and make it work with my VM.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

soffcecManagerAuthor Commented:
I know how to Google. I ask for help here when everything else fails. I not expecting obviously links here.
0
DrAtomicCommented:
So what error are you getting? What issue do you run into when you
cannot make it work

I know how to Google. I ask for help here when everything else fails. I not expecting obviously links here.

I'm afraid the answers reflect the question; if you supply us with details of the issues you are running into you'll get detailed answers; if you state a generic cannot make it work you'll get pointed to generic instructions on how to make it work.

I honestly think you may be better off filing a support request with Microsoft as they are selling Azure to you; http://azure.microsoft.com/en-us/support/options/
0
soffcecManagerAuthor Commented:
I pay monthly fee for use of this web EE. I go here when I give up elsewhere.
If there are no experts here then I will just keep looking. I am asking someone to help me get started. I need human response not links.
0
DrAtomicCommented:
EE is a community for volunteers by volunteers with the option to pay for a subscription so you can ask questions without helping out other volunteers; or you can choose to pay simply to support the platform nothing more, nothing less.

We're happy to help you but give us something to help you with...

1. Which instructions did you use?
2. Were you able to complete the instructions without errors?
3. How are you determining that the reserved vip isn't working?
4. Did you reserve the vip before starting out? Powershell example (replace text within quotation marks with your relevant details:
New-AzureReservedIP –ReservedIPName “MyReservedIP” –Label “ReservedIPLabel” –Location “East US”

Open in new window

5. What is the output of Powershell command:
Get-AzureReservedIP

Open in new window

6. Create a new VM, Cloudservice and link that to your ReservedIP; powershell command:
New-AzureVMConfig -Name "CloudServer1" -InstanceSize “Small” –ImageName “Name_of_image”| Add-AzureProvisioningConfig -Windows -AdminUsername “cloudadmin” -Password “ABC123”| New-AzureVM -ServiceName "MyCloudServers" –ReservedIPName “MyReservedIP” -Location "East US"

Open in new window

Important: you cannot add you reservedIP to an allready existing VM.
7. Are you getting an error somewhere?
8. Did you create the endpoint mappings?
0
soffcecManagerAuthor Commented:
Before I can run Get-AzureReservedIP I need to run select-AzureSubscription

But I cannot find out my subscription name (I have TRIAL at the moment)
0
soffcecManagerAuthor Commented:
Ok, I found out about the subscription
I have generated IP address with New-AzureReservedIP
And now I am trying to generate the VM with New-AzureVMConfig

PS C:\> New-AzureVMConfig -Name "Bob" -InstanceSize "Small" -ImageName "Windows
Server 2012 Datacenter, April 2015"| Add-AzureProvisioningConfig -Windows -Admin
Username "admin" -Password "xxxx"| New-AzureVM -ServiceName "Skyjavelarnar" -ReservedIPName "MyReservedIP" -Location "West Europe"| Add-AzureProvisioning
Config -Windows -AdminUsername "karlos" -Password "smarta.17"| New-AzureVM -Serv
iceName "Skyjavelaranar" -ReservedIPName "MyReservedIP" -Location "West Europe"


But I get this error:
New-AzureVMConfig : Must specify MediaLocation or set a current storage account
 using Set-AzureSubscription.
At line:1 char:1
+ New-AzureVMConfig -Name "Bob" -InstanceSize "Small" -ImageName "Windows Serve
r 2 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : NotSpecified: (:) [New-AzureVMConfig], ArgumentE
   xception
    + FullyQualifiedErrorId : System.ArgumentException,Microsoft.WindowsAzure.
   Commands.ServiceManagement.IaaS.NewAzureVMConfigCommand


When I run  Get-AzureSubscription I get this:


SubscriptionId            : 5d6fda31-dfcb-40a1-a2aa-ce90c4516901
SubscriptionName          : Free Trial
Environment               : AzureCloud
SupportedModes            : AzureServiceManagement
DefaultAccount            : 1E95E5B521212F6131F242014AE0085A2B7F8471
Accounts                  : {1E95E5B516212F61302242014AE0085A2B7F8471}
IsDefault                 : True
IsCurrent                 : True
CurrentStorageAccountName :
TenantId                  :
0
DrAtomicCommented:
Ok, you'll need to set the Storage name first;

Set-AzureSubscription -SubscriptionName 'Free Trial' -CurrentStorageAccount '[Your Storage Account Name]'

Open in new window


*(this may not work due to it being a trail account)
0
soffcecManagerAuthor Commented:
Hi,

I am having endless trouble with this.

What I need is simple.
1 VM with Server 2012R2 and 1.75GBRAM and 40GBDisk.
It needs reseved IP address because I am going to use it as DNS server.

I already have a Azure account and have reserved IP address, but the problem is making the VM from powershell.

Where is best to star and where is end ?
0
soffcecManagerAuthor Commented:
Solved.
The new portal for Azure allowed me to reserve and put ip address on my VM.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
soffcecManagerAuthor Commented:
Solved.
The new portal for Azure allowed me to reserve and put ip address on my VM.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Azure

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.