ANSIBLE

Manali Jain
3 min readDec 1, 2020

--

  1. Ansible is open-source configuration management, software provisioning,application-deployment tool enabling infrastructure as a code. It can run over UNIX, LINUX, MACOS, and WINDOWS. It is written in Python, Powershell, and Ruby language.
  2. Ansible has the capability to configure 1000’s servers.
  3. Ansible uses the ad-hoc method and playbook method to configure servers.
  4. Ansible internally uses YAML language.

ADVANTAGES OF ANSIBLE

  • Free — It is an open-source tool.
  • Powerful — It Set Up Complex UseCases very easily.
  • Easy Setup — no need to have any coding skills to write an ansible-playbook.
  • Flexible — Ansible does not ask for a particular O.S. command it just asks what to do?
  • Agentless — The client does not require any software to run ansible.

HOW COMPANY USES ANSIBLE??

HOW CLOUD COMPANY USES ANSIBLE??

HOW AWS USES ANSIBLE??

AWS uses a web UI, a command line, or any other way to configure OS but what if all OS need the same configuration and there are 1000+ instances then the situation becomes tough, and here comes Ansible which configures instances fastly and efficiently.

Ansible is used to Automate the applications and take cloud services to its peak.

The questions cloud companies have :

  • How can we control cloud deployments?
  • How does DevOps work in the cloud?
  • Will my deployments be secure?
  • How can we migrate existing apps to the cloud?

The answer to all the above questions is: Automate with Ansible.

When we start using AWS services it seems like it is not a collection of servers but it is a fleet of services which we are using in some other data centers.

AWS services help to deploy and scale the services and these services are a fleet of services. In the cloud we must not take services as a group of servers otherwise we will not be able to take full advantage of services so better use Ansible for Automation which will provide benefits of cloud services and take services as a fleet of services rather than a group of servers.

ANSIBLE HAVE AWS MODULES

  1. Ansible has different modules but the great thing is it also has AWS modules which help us to perform better.
  2. Ansible is used to define, deploy, and manage AWS services.
  3. Some use-cases are tough but ansible solves it easily.
  4. To write ansible code is a one-time investment and even after changing the version of the target node, we don’t need to change the code.
  5. AWS servers are deployed and then according to the company requirements, the servers can be scaled up from 100 to 1000’s or more.

Ansible give AWS modules and some names are -

  • AMI Management
  • Autoscaling Groups
  • CloudFormation
  • CloudTrail
  • CloudWatch
  • DynamoDB
  • ElastiCache
  • Elastic Block Store (EBS)
  • Elastic Cloud Compute (EC2)
  • Elastic IPs (EIP)
  • Elastic Load Balancers (ELB)
  • Identity Access Manager (IAM)
  • Kinesis
  • Lambda
  • Relational Database Service
  • Route53
  • Security Groups
  • Security Token Service
  • Simple Storage Service (S3)
  • Virtual Private Cloud (VPC)

KEEP TRACK OF SERVICES

The company ’n’ number of servers are launched and keeping track of each is tough so With Red Hat Ansible Tower’s cloud inventory synchronization, you can know exactly what AWS instances you have no matter how they were launched. Simply enter your AWS credentials and your entire AWS infrastructure can be made available as resources to use in your Ansible automation jobs.

AUTOMATION WITH SECURITY

In Company when two or three people are working then it’s okay but when the number of team members increases then Ansible Tower provides role-based access to employees so that they can access only that part for which they are allowed.

Also, Ansible provides encryption of credentials so that senior members can give to the junior member without revealing the key.

Ansible has made Migrations Easy by transferring load by playbook code easily to AWS.

Thank You for reading this article!!

--

--

Manali Jain
Manali Jain

Written by Manali Jain

You are the only one person who can Change Yourself…

No responses yet