Using vagrant on EC2

前端 未结 2 1385
说谎
说谎 2021-02-05 05:17

I need to setup a web server and a database server on EC2. It should be easy to migrate to another service provider later.

Currently, I have a web server and a database

2条回答
  •  灰色年华
    2021-02-05 05:58

    So running a virtual machine, on another virtual machine probably isn't the best. But if you want to install Vagrant on Amazon Linux you can do:

    wget https://releases.hashicorp.com/vagrant/2.2.4/vagrant_2.2.4_x86_64.rpm   
    sudo rpm -ivh vagrant_2.2.4_x86_64.rpm
    

    The RPM is the Centos version from the downloads page here: https://www.vagrantup.com/downloads.html

    But then you cannot install virtualbox to run a VM. So it doesn't actually work anyways.

提交回复
热议问题