Tagged Questions
0
votes
1answer
40 views
chef knife ec2 server create: error when spinning up new ec2 servers
I'm trying to use knife ec2 server create to automatically launch ec2 instances for the first time, but I'm getting "ERROR: Excon::Errors::BadRequest: Expected(200) <=> Actual(400 Bad Request)".
...
1
vote
1answer
128 views
Using Chef Solo to provision a Windows EC2 instance and bootstrap it
I'm trying to automate our CI process for a couple of .NET apps, and in a perfect world I'd like to spin up a Windows EC2 instance for each, bootstrap the instance to install Chef Solo and then ...
0
votes
2answers
118 views
node's FQDN is missing in chef
I am a newbie to the chef and knife, I am running couple of ec2 instances and have install chef-client and I can see all the instances in the node list of the chef, but couple of them are missing FQDN ...
0
votes
1answer
44 views
unable to bootstrap ec2 ubuntu instance
Hi I am trying to bootstrap an ubuntu ec2 instance using knife command line tool, but when ever I run this command
knife ec2 server create -x ubuntu --region ap-southeast-1 -i ami-0cdf4965 -S key ...
0
votes
2answers
90 views
bootstrapping an ubuntu ec2 instance using chef and knife
I am bootstrapping a ec2 ubuntu based chef node using chef, it creates an instance but it says Failed to authenticate ubuntu - trying password authand asks for the password. But a newly created ubuntu ...
0
votes
0answers
91 views
Unable to install cookbook using chef
I have just began my journey of chef and I have couple of ubuntu ec2 instances running I have installed the chef-client and also configured the node. I am trying to run a getting started cookbook I ...
2
votes
1answer
211 views
How to create an EC2 instance with knife?
I was able to make knife access AWS by following: http://www.agileweboperations.com/amazon-ec2-instances-with-opscode-chef-using-knife
Now, I get a knife command almost working:
$ knife ec2 server ...
1
vote
2answers
513 views
How to configure knife and EC2 to create a new instance from the command line?
I am playing with Amazon EC2 to create instance. I was reading here: here in the knife documenation for EC2, that I would need to set:
# EC2:
knife[:aws_access_key_id] = "Your AWS Access Key"
...
0
votes
1answer
107 views
Spinning up multiple EC2 servers with knife and assigning elastic ips from a pool
I'm wondering how to go about spinning up multiple EC2 servers using knife of the same type, say 4 app servers, and assigning them each an elastic IP from a pool of available Elastic IPs. I have ...
1
vote
3answers
175 views
Chef bootstrap ec2 — use resulting IP in another chef client's configuration
Say I have an app comprised of a web server and a database. If I ec2 deploy a chef client with the DB role, how can I automatically insert the IP of this new ec2 machine into my web server's config?
...
0
votes
1answer
103 views
Chef Integration Tasks Best Practices
I am new to chef (using hosted chef server) and am muddling along ok and basically understand how to provision individual servers. What I am having trouble with is figuring out how to integrate the ...
0
votes
1answer
244 views
Chef command to create new ec2 instance with second ebs volume attached and mounted instead of the default ephemeral volume?
We currently use this command to create a new ec2 instance with chef:
knife ec2 server create --node-name=prod-apache-1 --availability-zone us-east-1c --image ami-3d4ff254 --distro ubuntu12.04-gems ...
2
votes
2answers
54 views
Chef-client kills processes
I use the knife ec2 plugin to bootstrap a new instance (Ubuntu 12.04) and install a software on it. Everything works great but after chef-client ends, some processes of the new software are killed. ...
1
vote
2answers
246 views
What permissions in IAM do i need to start EC2 instances with chef knife?
Q1: I am trying to create user in IAM AWS console that has restricted permissions only to start new instances using knife ec2 method. Currently only full access with policy "Amazon EC2 Full access" ...
0
votes
0answers
42 views
Should EC2 server self register or have admin server
I'm creating AWS servers using chef. I am also planning on enabling auto-scaling. While we have automatic monitoring setup already (server density or nagios etc), I was also going to setup the cloud ...
1
vote
1answer
210 views
How to get the public instance address from knife ec2 server create with chef-solo
I'd like to somehow get the public instance address or hostname from knife ec2 create ..., but I can't find any mechanism for doing so.
Since I'm currently using chef-solo, I've written a simple ...
1
vote
2answers
641 views
Net::SSH::AuthenticationFailed when using Chef's Knife ssh
Facts:
I have a Chef server installed.
I have registered a node to this server, and I can see the node in the webUI (This is an existing node, NOT bootstrapped using knife bootstrap
When I execute ...
2
votes
2answers
1k views
Which EC2 instance best for Chef server?
I want to setup chef server as cheaply as possible, while leaving it enough room to run without crashing. The only article I found on the subject warned that RabbitMQ would crash on a micro instance ...
-6
votes
1answer
128 views
how to Moniter cpu status using chef? [closed]
i try with java and ruby for moniter EC2 instance with aws sdk but not able to find any example how to moniter ec2 instacne with chef. can any one help to find example to moniter ec2 instance so we ...
1
vote
1answer
582 views
Chef server bootstrap fails on Amazon Linux
I am trying to bootstrap chef-server on Amazon Linux 64-bit instance, but for some reason chef-solo gives some errors. It seems that chef can't determine that Amazon Linux is actually a RedHat ...
3
votes
1answer
732 views
Recommendations for hosting Rails on Amazon EC2? [closed]
There are a number of solutions for easily hosting Rails on Amazon EC2 like the following
Poolparty
Rubber
Amazon Cloud Formation
Opscode Chef
Rolling your own
(and I'm sure others I'm not aware ...
0
votes
2answers
202 views
How to dynamically setup DNS
I trying to setup as part of a study a PaaS (Platform as a service) for Ruby on Rails applications. I have already played with Amazon EC2 and Chef creating EC2 instances based on Chef's recipes and ...
1
vote
2answers
832 views
chef assign elastic ip to instance
I am using a custom bash script to spin up/down EC2 instances as needed. The script creates the instance similar to: knife ec2 server create --config .chef/knife.rb with a few other parameters. It ...
2
votes
1answer
433 views
chef knife: run_list with multiple roles in ec2 server create command
I'm using chef's knife to create EC2 servers (and thus new nodes). I can get it to start with a given single role correctly, but I can't get the command line argument right for multiple roles in the ...
4
votes
2answers
348 views
chef's knife non deterministic failture to launch new EC2 instances
I'm using chef's knife to launch new ec2 instances. This works generally well, but every 2-3 attempts it fails and I get the following stack:
[Sun, 10 Apr 2011 08:11:23 +0000] INFO: Client key ...
0
votes
5answers
119 views
Any conference videos online that you guys can recommend?
I like watching conference presentations that show you how to do things when it comes to server setup/deployment etc.
Any good ones out there?
The more practical and hands on the better.
1
vote
1answer
336 views
Trouble attaching more than 6 EBS volumes to EC2 instance
I'm using chef to create RAID10 arrays.
Last friday morning (10/22) I was able to create arrays with 9 EBS volumes on dev/sdz1-9 with no problems
I started having trouble attaching more than 6 EBS ...