Saturday, 20 February 2016

VPC creation, launching instance inside VPC using EC2 portal and Bootstrap EC2 instance using VPC opitons


  • Launching instance inside VPC using portal


Follow following link to
1) Create VPC
2) Create security group for VPC
3) Launch instance inside VPC
4) Assigning an Elastic IP Address to your instance



  • Creating vm and bootstraping node which is created under VPC follow following steps






Note: Make sure you are creating security group inside VPC


3) Run knife ec2 server create command using appropriate options.


Following is the command used by us

knife ec2 server create -I ami-d05e75b8 -N <node name> --subnet <vpc subnet-id> -g <security group id inside vpc> --identity-file <somekey.pem> --ssh-user ubuntu --associate-public-ip -c <path to knife.rb> --bootstrap-protocol ssh --flavor <AMI flavor> --server-connect-attribute 'public_ip_address' -VV

No comments:

Post a Comment