如何使用流浪汉创建ec2实例?

时间:2019-06-29 09:08:37

标签: amazon-web-services vagrant

我想使用流浪汉创建一台ec2机器。但是我不能这么做

这是我的流浪档案。

require 'vagrant-aws'

Vagrant.configure("2") do |config|
  config.vm.synced_folder ".", "/vagrant", type: "rsync"
  config.vm.box = 'dummy'
  config.vm.provider 'aws' do |aws, override|
    aws.keypair_name = 'test-sagar-gulabani-singapore'
    aws.instance_type = 't2.small'
    aws.region = 'ap-southeast-1'
    aws.ami = 'ami-0dad20bd1b9c8c004'
    #aws.security_groups = ['default']
    aws.tags = {
      'name'=>'sagar',
      'createdby'=>'sagar'
    }
  end
end

我可以运行这个无业游民,但卡在 Imgur

我该怎么办?

0 个答案:

没有答案
相关问题