Select Page

Using ansible for AWS EC2 instances provisioning

Sources: http://allandenot.com/devops/2015/01/31/provisioning-ec2-hosts-with-ansible.html http://boto.readthedocs.io/en/latest/boto_config_tut.html If you want to use ansible for AWS EC2 instances you need to make these steps to make it working: On your local machine:...

Attach and format new EBS volume on AWS EC2

Sources: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-attaching-volume.html http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-using-volumes.html   Steps to success 🙂 You can either create EBS (elastic block store) volume during creation of the new EC2...

Ansible – install golang and set env variables

Playbook nstalls golang of desired version on remote instance. Checks vesion of already installed golang. Based on: https://github.com/jlund/ansible-go/blob/master/tasks/main.yml Run is using: ansible-playbook "yourplaybookname.yaml" -i ./hosts -e...