0
votes
2answers
50 views

Cloudformation Add Instance to Security Group in Different Region

I have a Cloudformation stack that I create through Jenkins in various Regions. I have a Chef server in one Region with a separate security group. I need new instances created via Cloudformation to ...
1
vote
2answers
145 views

chef-server-webui session not working when access from external IP address

I have installed chef-server on an Ubuntu 12.10 system using the official .deb package for that release. After the installation had finished I run chef-server-ctl test Which reported success, 0 ...
2
votes
2answers
123 views

Using Chef to update an EC2 instance

I've been thrown into the deep end of Chef this past week, and I'm stuck on one thing at the moment. I've created an instance in AWS (many times at this point) and when chef kicks in to do its thing ...
0
votes
1answer
163 views

How do I “duplicate” a server?

I have a EC2 and Digital Ocean servers and I want to re-create them locally (same config files and everything). By local I mean virtual box (vagrant). I had started out by managing them with Chef but ...
0
votes
1answer
142 views

unable to upload cookbook from knife to chef-server

I am running open source chef server on ubuntu ec2 instance. I am trying to upload the cookbook from my workstation using knife to chef-server, I am getting following error ...
2
votes
2answers
154 views

Windows server farm on AWS/EC2

We'll be deploying our application infrastructure (primarly Windows with some Linux components) on AWS/EC2 VPC. We'll be using Chef to handle provisioning and administration. However, unlike Linux ...
0
votes
1answer
181 views

How to install a package with yum on Amazon Opsworks

I would like to install a single package with yum (or rpm) on my Amazon Opsworks instance when the instance starts. I have read about chef and recipes but all of the solutions seem very complex for an ...
0
votes
3answers
615 views

Setting up Chef Node: Amazon EC2 instance is create but bootstrap fails

I am trying to get going with Chef and the freebie Chef server from Opscode. I got my Chef workstation configured on a local VM running Ubuntu 12.04LTS. I downloaded the chef-repo from GitHub as ...
1
vote
2answers
542 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)". ...
2
votes
2answers
640 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
456 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
66 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 ...
2
votes
2answers
408 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 ...
3
votes
1answer
515 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
3answers
2k 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
230 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
324 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
149 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 ...
1
vote
1answer
458 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
170 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. ...
2
votes
3answers
2k 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" ...
1
vote
1answer
317 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
2k 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
143 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
728 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
813 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
237 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 ...
3
votes
2answers
1k 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
615 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
394 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
123 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
371 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 ...