-
Book Overview & Buying
-
Table Of Contents
DevOps for Web Development
By :
Before creating and configuring a virtual machine in Amazon EC2, let's verify the existing nodes converged by Chef. Local virtual machines are only configured using Chef:
[root@devops1 Desktop]# knife node list tomcatserver
After installing knife EC2 plugin, we can use knife ec2 server create command with following parameters to create new virtual machine:
|
Parameter |
Value |
Description |
|
|
|
ID of the Amazon machine image |
|
|
|
Type of virtual machine |
|
|
DevOpsVMonAWS |
Name of the Chef node |
|
|
Your access key ID |
AWS account access key ID |
|
|
Your secret access key |
AWS account secret access key |
|
|
Book |
SSH key |
|
|
|
PEM file |
|
|
|
User for AWS instance |
|
|
|
Chef role |
[root@devops1 Desktop]# knife ec2 server create -I ami-1ecae776 -f t2.micro -N DevOpsVMonAWS --aws-access-key...