On Tue, Dec 06, 2016 at 03:02:36PM +0530, Chethan ARAVIND T S wrote: > Hi, > I've been trying to create AWS instances using Ansible. Is it > mandatory that I have to create a VPC, assign a Gateway and a security > group for the instance? If yes can anyone help me by sending an example > playbook to do all this at 1 go..
Hello, In many regions AWS requires VPC and SG for machines (in the past it was possible to create "EC2 Classic" which did not required those). You can find a Playbook I wrote for what you require at https://github.com/PacktPublishing/Learning-Ansible-2-Second-Edition/blob/master/Chapter%2005/playbooks/aws_simple_provision.yaml Cheers, Fale -- Fabio Alessandro Locati Red Hat - Senior Consultant PGP Fingerprint: E815 3C49 2A8D FD8B 1CBD BC85 FDB3 DF20 B2DC 9C1B -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: PGP signature
