How I can setup vagrant with AWS on base machine windows

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How I can setup vagrant with AWS on base machine windows

Milind Sisodiya
Hi, Please share more information for below scenario. 1. I am using windows 7 as base machine where my AWS instance keys are downloaded. 2. I am using AWS cloud Where I have launched Linux Ec2 instance & .pem key file are downloaded into base windows machine.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/2e48fa87-2ce9-4e44-b2ca-c5157e61c236%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How I can setup vagrant with AWS on base machine windows

Alvaro Miranda Aguilera
hello

can you explain what do you want to do, what you have tried, and what errors have you found ?

On Thu, Sep 7, 2017 at 9:55 AM, Milind Sisodiya <[hidden email]> wrote:
Hi, Please share more information for below scenario. 1. I am using windows 7 as base machine where my AWS instance keys are downloaded. 2. I am using AWS cloud Where I have launched Linux Ec2 instance & .pem key file are downloaded into base windows machine.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/2e48fa87-2ce9-4e44-b2ca-c5157e61c236%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezPpV1GBwJyC2H%2BFbEC5qGvN4pgEEzDYT5tfCh_CwiveQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How I can setup vagrant with AWS on base machine windows

Milind Sisodiya
Hello Alvaro,

I have run vagrant up command  and vagrant execution stuck at    default: Waiting for SSH to become available...
Please check below output for the same.


[root@ip-172-31-19-169 vagrant_test]# vagrant up --provider=aws
Bringing machine 'default' up with 'aws' provider...
==> default: Warning! The AWS provider doesn't support any of the Vagrant
==> default: high-level network configurations (config.vm.network). They
==> default: will be silently ignored.
==> default: Warning! You're launching this instance into a VPC without an
==> default: elastic IP. Please verify you're properly connected to a VPN so
==> default: you can access this machine, otherwise Vagrant will not be able
==> default: to SSH into it.
==> default: Launching an instance with the following settings...
==> default: -- Type: m3.medium
==> default: -- AMI: ami-c998b6b2
==> default: -- Region: us-east-1
==> default: -- Keypair: guruom_northv
==> default: -- Subnet ID: subnet-70d7a338
==> default: -- Security Groups: ["sg-955540e5"]
==> default: -- Block Device Mapping: []
==> default: -- Terminate On Shutdown: false
==> default: -- Monitoring: false
==> default: -- EBS optimized: false
==> default: -- Source Destination check:
==> default: -- Assigning a public IP address in a VPC: true
==> default: -- VPC tenancy specification: default
==> default: Waiting for instance to become "ready"...
==> default: Waiting for SSH to become available...

Execution stuck here and not moving forward.



my Vagrant file is as below

Vagrant.configure("2") do |config|
config.vm.box = "dummy"

config.vm.provider :aws do |aws, override|
aws.access_key_id = "AKIAIETI6RM6RKS6XMEQ"
aws.security_groups = "sg-955540e5"
aws.subnet_id = "subnet-70d7a338"
aws.associate_public_ip = true
aws.secret_access_key = "4C0TIFMBIJs0/DR00aLiJysnUBUeW4pqiYBx2eX/"
aws.keypair_name = "guruom_northv"
aws.region = "us-east-1"
aws.ami = "ami-c998b6b2"

override.ssh.username = "ec2-user"
override.ssh.private_key_path = ENV['AWS_PRIVATE_KEY']

end
end




On Friday, 8 September 2017 00:55:04 UTC+5:30, Alvaro Miranda Aguilera wrote:
hello

can you explain what do you want to do, what you have tried, and what errors have you found ?

On Thu, Sep 7, 2017 at 9:55 AM, Milind Sisodiya <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="1zVPQ876FAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">milind2...@...> wrote:
Hi, Please share more information for below scenario. 1. I am using windows 7 as base machine where my AWS instance keys are downloaded. 2. I am using AWS cloud Where I have launched Linux Ec2 instance & .pem key file are downloaded into base windows machine.

--
This mailing list is governed under the HashiCorp Community Guidelines - <a href="https://www.hashicorp.com/community-guidelines.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.hashicorp.com%2Fcommunity-guidelines.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGHa_CaKfZaJiwbkUndUQbVGlQCDw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.hashicorp.com%2Fcommunity-guidelines.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGHa_CaKfZaJiwbkUndUQbVGlQCDw&#39;;return true;">https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: <a href="https://github.com/mitchellh/vagrant/issues" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fmitchellh%2Fvagrant%2Fissues\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHxcA5DuHlQlPInMi_k1Pz4pMNqNw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fmitchellh%2Fvagrant%2Fissues\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHxcA5DuHlQlPInMi_k1Pz4pMNqNw&#39;;return true;">https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="1zVPQ876FAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">vagrant-up+...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/vagrant-up/2e48fa87-2ce9-4e44-b2ca-c5157e61c236%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/vagrant-up/2e48fa87-2ce9-4e44-b2ca-c5157e61c236%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/vagrant-up/2e48fa87-2ce9-4e44-b2ca-c5157e61c236%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/vagrant-up/2e48fa87-2ce9-4e44-b2ca-c5157e61c236%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.



--
Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/2aa4f8ef-7795-4f6d-98ad-2e75b16cee1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.