[chef] Re: knife-ec2 instance creation and management.


Chronological Thread 
  • From: James Andrews < >
  • To:
  • Subject: [chef] Re: knife-ec2 instance creation and management.
  • Date: Thu, 20 Jun 2013 06:52:00 +0900

I get the following after running that curl command.

curl http://169.254.169.254/latest/meta-data/public-hostname
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en";>
 <head>
  <title>404 - Not Found</title>
 </head>
 <body>
  <h1>404 - Not Found</h1>
 </body>
</html>

I ran "knife ec2 server list" I get 

Instance ID  Name        Public IP     Private IP     Flavor    Image         
SSH Key   Security Groups  State  
i-22371517   i-22371517  54.218.44.44  172.31.41.147  m1.small  ami-70f96e40  
awsjames  default          running

So it sees the server sees the public IP address  I just don't understand why 
it's not in the meta data.

James


Archive powered by MHonArc 2.6.16.

§