I believe you have already installed installed and configured the knife on your workstation. if you have not configured knife with AWS then below is the configuration need to make on your config file lives in ./.chef/knife.rb file as below:
knife[:aws_access_key_id] = "********************"
knife[:aws_secret_access_key] = "####################"
knife[:region]= "us-west-2"
If you dont mentioned the region in configuration then it take it us-east-1 by default, so add region as per your AWS zone.
So now get back to the main topic creating the image using knife ec2.
AWS cloud : Knife
knife[:aws_access_key_id] = "********************"
knife[:aws_secret_access_key] = "####################"
knife[:region]= "us-west-2"
If you dont mentioned the region in configuration then it take it us-east-1 by default, so add region as per your AWS zone.
So now get back to the main topic creating the image using knife ec2.
0 comments:
Post a Comment