ASPNetFAQ.com: What is ASP.NET?

Technology posts on ASP.NET, IIS, Windows (+ a little Linux), Cloud Servers, Hosting, and more!
  • Blog Home
Search the site...

EC2 Error: The request must contain the parameter instance id

Tweet
Share
0 Shares

I was trying to associate an elastic IP to a running EC2 VM today and kept hitting this error. There is surprisingly little available via Google when typing in the error message – nothing actually with an exact match. So I figured I’d drop a quick post to help out other people like myself who might run into this issue.

I added an elastic IP and saw it in the list. The next day I noticed I got billed ($.03) for having an elastic IP that wasn’t assigned to an instance. OK. Strange but whatever. I went into the management console to assign the elastic IP to my running instance. I right-clicked and chose “associate” but no matter what options I tried to link it to my VM, it kept giving me this error.

Well, after some playing around – for way longer than I wanted to spend – I deleted the elastic IP and recreated it. When first creating (“allocating”) an elastic IP it gives you two choices – EC2 or VPC. The default selected in the list is EC2 and that’s what I originally left as my selected choice. I changed this to VPC and voila! – now I could associate the IP to my running VM nice and easily.

So, what’s the deal? Well, I guess new EC2 instances are created as VPC instances now by default. I don’t remember being asked or prompted when I created my instance.

VPC at Amazon stands for “Virtual Private Cloud”. If you are curious, here is a post that lists the differences between a classic EC2 instance and a newer VPC instance.

Hopefully this little tip saves someone else some time. I sure wish I’d stumbled across it earlier and saved the hassle and headache of tinkering to figure it out on my own.

Happy hosting!

More from my site

  • Video: Web Development ASP.NET C# – MasterPageVideo: Web Development ASP.NET C# – MasterPage
  • A Tip For Resolving Group Policy Error 0x8007000dA Tip For Resolving Group Policy Error 0x8007000d
  • Linking spam sent through shared IIS SMTP server to a userLinking spam sent through shared IIS SMTP server to a user
  • Video: ASP.NET MVC 5 Tutorial – Step by Step – PatrickVideosVideo: ASP.NET MVC 5 Tutorial – Step by Step – PatrickVideos
  • ASP.NET JQuery Validation, UpdatePanel, JavaScript Tutorials and moreASP.NET JQuery Validation, UpdatePanel, JavaScript Tutorials and more
Tweet
Share
0 Shares

2 comments on “EC2 Error: The request must contain the parameter instance id”

  1. Ronny says:
    August 15, 2014 at 1:24 am

    Thanks Brad. This was causing me to go grey and/or bald. Cheers

    • Brad Kingsley says:
      August 15, 2014 at 11:26 am

      My pleasure Ronny. I’m glad it helped someone else.

Proverbs 19:20

"Get all the advice and instruction you can, so you will be wise the rest of your life."

A Note On WordPress Hosting

Our main focus is of course .NET, but with a mix of Linux, virtualization, and other technologies. But if you're really looking for the best WordPress hosting specifically, read my WordPress host review to save yourself hassle AND money!




Recent Posts

  • What makes good web hosting?
  • jQuery Mobile C# ASP.NET and N5 Networks Software Repository
  • Open Source Bug Tracking Software and the Orchard Project
  • ASP.NET Development with Dreamweaver MX: Visual QuickPro Guide
  • Kendo UI Sample, ASP.NET Ajax Tutorial & More

Tags

.NET ASP.NET Automation blog centos cloud CMS css cytanium Development/Coding Email gmail Hosting htaccess IIS javascript Learning Linux logparser MVC MySQL Orchard OrcsWeb performance PHP PowerShell redirect RHEL security server SherWeb smtp SQL/Databases System Administration tip Troubleshooting Ubuntu virtualization Visual Studio web farm web hosting WebMatrix Windows windows server Wordpress

Categories

  • ASP.net development
  • Development/Coding
  • Hosting
  • IIS (Internet Information Services)
  • SQL/Databases
  • System Administration
  • Virtualization
(c) ASPNETFAQ.com