- A vagrant project with an ubuntu box with the tools needed to do DevOps
sudo -i
git clone http://github.com/finfra/terraform-quickstart.git
. terraform-quickstart/scripts/installOnEc2.sh
exit
echo 'export AWS_ACCESS_KEY_ID="xxxxxxxxxxxx"' >> ~/.bashrc
echo 'export AWS_SECRET_ACCESS_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"' >> ~/.bashrc
. ~/.bashrc
git clone http://github.com/finfra/terraform-quickstart.git
cd terraform-quickstart
vagrant destroy -f ;vagrant up;vagrant ssh
- v
cd /vagrant/forVm
- ta
terraform destroy -auto-approve
terraform init
terraform apply -auto-approve
cat terraform.tfstate|grep public_ip|grep -v associate
- td
terraform destroy -auto-approve
- dk
aws ec2 delete-key-pair --key-name mykey
- Terraform
- git
- AWS CLI
- AWS Elastic Beanstalk CLI
- Packer
- Docker
- python3
- Ansible
- Apply AutoComplete
terraform -install-autocomplete