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

  • Using Log Parser to Query Event Log DataUsing Log Parser to Query Event Log Data
  • Performing Offline installations with WPI Command line toolPerforming Offline installations with WPI Command line tool
  • Layered Architecture Sample for.NETLayered Architecture Sample for.NET
  • URL Rewrite 301 Redirect For a Single PageURL Rewrite 301 Redirect For a Single Page
  • Magically Sync Machine Key for All Nodes in a Web FarmMagically Sync Machine Key for All Nodes in a Web Farm
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

ASP.NET Automation centos CMS css cytanium Development/Coding Email gmail Hosting htaccess http https IIS javascript Learning Linux logparser MySQL nginx openssl OrcsWeb performance PowerShell redirect RHEL security server SherWeb smtp SQL/Databases ssl System Administration telnet terminal tip Troubleshooting Ubuntu virtualization Visual Studio web farm web hosting Windows windows server Wordpress

Categories

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