Ok, here is my requirement:

- We have a Dev environment in AWS (with VPC, subnets, EC2, S3, 
Applications, etc)

- Now we need to deploy QA environment similar to Dev, but we do not want 
to rebuild all the infrastructure (with VPC, subnets, EC2, S3, Applications 
etc) manually in QA, instead we want to deploy the entire infrastructure 
with automation, Infrastructure as code.

We want to kind of replicate the Dev environment but with necessary changes 
in parameters, such as instance name, Application Server name, instance 
type, storage size etc., 

Can the above be accomplished with Ansible, if yes, how ?

Hope it is clear now.

thanks
Sreek

On Monday, July 24, 2017 at 7:10:28 PM UTC-4, Dick Visser wrote:
>
> Hi Sreekanth 
> I don't understand - there is a tool called CloudFormer, and you want 
> something in Ansible that does the same thing? 
>
> Dick 
>
> On 24 July 2017 at 22:57, Sreekanth Kannan <[email protected] 
> <javascript:>> wrote: 
> > Hello Dick 
> > 
> > Thanks for your response.  Looks like you are referring to 
> CloudFormation, 
> > but what I was asking is about a tool within CloudFormation which helps 
> you 
> > to generate a template capturing all the resources from your existing 
> > infrastructure in JSON format, it is CloudFormer. 
> > 
> > Later this template can be used to create a CloudFormation stack and 
> spin up 
> > a new environment, kind of a replica but with some tweaking to suit the 
> > target landscape. 
> > 
> > To keep it simple, I just want to know if Ansible has the capability to 
> > capture an existing Dev environment and help us automate the deployment 
> of a 
> > similar QA environment, with some parameter and configuration changes. 
> > 
> > Appreciate your response. 
> > 
> > thanks 
> > Sreekanth 
> > 
> > On Monday, July 24, 2017 at 4:44:05 PM UTC-4, Dick Visser wrote: 
> >> 
> >> There is: 
> >> http://docs.ansible.com/ansible/latest/cloudformation_module.html 
> >> 
> >> On 24 July 2017 at 21:17, Sreekanth Kannan <[email protected]> wrote: 
> >> > Hello 
> >> > 
> >> > I have a need and I am trying to find if there is a module in Ansible 
> >> > that 
> >> > could help me with it. The scenario and the need is: 
> >> > 
> >> >      - We have AWS Infrastructure setup and Applications built and 
> >> > running 
> >> > in AWS. 
> >> >      - We have three accounts for Dev, QA and PRD. 
> >> >      - Now we are required to leverage automation tools to build our 
> QA 
> >> > landscape from what is already built in the Dev landscape. In other 
> >> > words, 
> >> > we need to copy Dev resources to QA and parameterize QA Apps and 
> >> > Configuration. 
> >> > 
> >> >      - CloudFormer (a tool in CloudFormation) very nicely generates a 
> >> > template of the existing infrastructure in the Dev landscape, outputs 
> >> > into a 
> >> > JSON template and enables you to build a cloudformation stack to 
> build 
> >> > QA 
> >> > resources. 
> >> > 
> >> > My question is - Is there a parallel module or tool in Ansible that 
> >> > could do 
> >> > a similar job, to build a new environment from an existing one ? 
> >> > 
> >> > Appreciate your responses. 
> >> > 
> >> > thanks 
> >> > Sreekanth 
> >> > 
> >> > -- 
> >> > 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/014b58e9-3d34-4421-b3b5-502dd9f96a2e%40googlegroups.com.
>  
>
> >> > For more options, visit https://groups.google.com/d/optout. 
> >> 
> >> 
> >> 
> >> -- 
> >> Dick Visser 
> >> Sr. System & Network Engineer 
> >> GÉANT 
> >> 
> >> Want to join us? We're hiring: https://www.geant.org/jobs 
> > 
> > -- 
> > 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] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/ansible-project/70dc6c14-f67d-46d0-98a8-d183f36665ab%40googlegroups.com.
>  
>
> > 
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>
> -- 
> Dick Visser 
> Sr. System & Network Engineer 
> GÉANT 
>
> Want to join us? We're hiring: https://www.geant.org/jobs 
>

-- 
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/3df13844-e64c-43be-af1f-097d5f86a828%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to