Ultimately it depends how different they are from each other.

Each can be good approaches.

If you are wanting to build an image with Ansible, ec2_ami (Ansible's
module), Packer, or aminator could be useful options to look into.

A lot of folks have a base image and then will have ansible configure it
the rest of the way and make sure configurations are up to date -- though I
always do like live configuration, because it seems useful to have the
latest security updates and such.



On Mon, Sep 8, 2014 at 7:00 AM, Shih Oon Liong <[email protected]>
wrote:

> I was wondering what is everyone's experience with provisioning multiple
> EC2 instances with Ansible. I am contemplating between two methods.
>
> Example I want to provision 10 instances. Should I
>
>    - provisioning 10 EC2 instances, then set them up all 10 via Ansible
>    at once. I know we can speed this up just by increasing the number of
>    parallel job in the ansible playbook
>    - OR provision 1 EC2 instance, then up that one master with Ansible.
>    Then make an AMI copy of that EC2 instance, and then launch 9 more with
>    that AMI instead.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/e56b7f94-c338-4bef-8ba1-256ce22981aa%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/e56b7f94-c338-4bef-8ba1-256ce22981aa%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgxjq1HM5rn%3DS%3DvRgVrt%2BuU21uowoeqgNZn1ZHUXTCpb5Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to