in Education by
If I have to build an infrastructure stack in the cloud using a tool like Ansible. Is it necessary to have the automation tool and scripts locally or we can I just have automation tool and stack in seperate regions/VPCs in the cloud? Which is the best to use? Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
It allows us to use centralized Jenkins servers that run Ansible (and Terraform in our case for the actual AWS provisioning with Ansible is just used to configure EC2 instances and run its ad-hoc playbooks for administrative tasks).We can then control access to these Jenkins servers through credentials and/or security groups/NACLs. Doing it this way means we can control the amount of people who have some form of credentials that would allow them to build anything they like and/or destroy anything they like. Ideally, we would only provide credentials to the Jenkins servers via IAM EC2 instance roles but we're not quite there yet. One real positive out of this is that our front line/second line support guys who use Windows pretty much exclusively can access a nice web GUI for managing things in the middle of the night and run Jenkins jobs that they specifically have access to run that will do things such as restarting a server/service or even rebuilding part of a VPC. We've got a separate 'dev' account that developers have access to from their own machines and it's here that we build things out as we develop our Ansible (and Terraform) code base before that code base is then used in our test and production environments.

Related questions

0 votes
    My git workspace is dirty, there are some local modifications. When I use the command git pull origin master it ... Ansible git module? Select the correct answer from above options...
asked Feb 8, 2022 in Education by JackTerrance
0 votes
    I'm just getting my feet wet with Ansible 2.2 and Devops and I've run into the following problem. I have a ... . How to fix this? Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    I am new at using Ansible. I tried to create directories and download files using Ansible. Should I use shell ... module is available? Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
0 votes
    I am facing a weird issue, we have developed a BOT which runs on BOT runner(virtual machine). the job ... is much appreciated. Thanks Select the correct answer from above options...
asked Feb 1, 2022 in Education by JackTerrance
0 votes
    I want to implement Web sockets for a couple of Web services. How will the stateful HTTP connections impact Blue- ... . Please help. Select the correct answer from above options...
asked Jan 25, 2022 in Education by JackTerrance
0 votes
    I want to migrate my webapp from Amazon EC2 to ECS. I ECS I have to allocate memory and vCPU for the ... needed for the process? Select the correct answer from above options...
asked Jan 25, 2022 in Education by JackTerrance
0 votes
    I have a playbook that looks like the following. It is supposed to install python onto the remote machine ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 14, 2022 in Education by JackTerrance
0 votes
    We are using Selenium to automate our testing. Recently we have seen the majority of our users using Chrome. ... over Selenium? Select the correct answer from above options...
asked Feb 8, 2022 in Education by JackTerrance
0 votes
    In deploy scenario I need to create and run Jenkins task on the list of hosts, i.e. create something like a ... anyone help with it? Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    I've been using K8S ConfigMap and Secret to manage our properties. My design is pretty simple, that keeps ... 't been created Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    I am migrating my Java,Tomcat, Mysql server to AWS EC2. I have already attached EBS volume for storing MySql ... you guide. Thanks Select the correct answer from above options...
asked Feb 8, 2022 in Education by JackTerrance
0 votes
    I am migrating my Java,Tomcat, Mysql server to AWS EC2. I have already attached EBS volume for storing MySql ... you guide. Thanks Select the correct answer from above options...
asked Feb 5, 2022 in Education by JackTerrance
0 votes
    Are there use cases that lend themselves better to Amazon cloudfront over s3 or the other way around? I'm ... 2 through examples. Select the correct answer from above options...
asked Feb 2, 2022 in Education by JackTerrance
0 votes
    I am setting up a common standalone-full.xml file for all server environments, and therefore need to have ... is greatly appreciated. Select the correct answer from above options...
asked Feb 8, 2022 in Education by JackTerrance
0 votes
    Let's say I have one variable, directory_list, which I define and set in a ruby_block named get_directory_list. Can ... woohoo" end end Select the correct answer from above options...
asked Feb 8, 2022 in Education by JackTerrance
...