Ansible & its case study in Cloud Computing.

In this article we understand what is Ansible and its case study in Cloud Computing Environment .

🔰What is Ansible ?

Ansible is a Automation Tool that provides simple but powerful automation for cross-platform computer support. It is primarily intended for IT professionals, who use it for application deployment, updates on workstations and servers, cloud provisioning, configuration management, intra-service orchestration, and nearly anything a systems administrator does on a weekly or daily basis. Ansible doesn’t depend on agent software and has no additional security infrastructure, so it’s easy to deploy.

Ansible allows you to configure not just one computer, but potentially a whole network of computers at once, and using it requires no programming skills. Instructions written for Ansible are human-readable. Whether you’re entirely new to computers or an expert, Ansible files are easy to understand.

🔰Why Ansible ?

Ansible is:-

1 ) Simple:-

Ansible is simple as it is Human readable automation, it doesn’t required no special coding skills & Tasks executed in order.

2 ) Powerful:-

Ansible is very powerful as it uses in App deployment, Configuration management &Workflow orchestration.

3 ) Agentless

Ansible has Agentless architecture & require no agents to exploit or update.

🔰Ansible Architecture

🔶Inventory :

Inventory is lists of nodes or hosts having their IP addresses, databases, servers, etc. which are need to be managed. An inventory file is also sometimes called a “hostfile”.

🔶Ansible Playbooks :

Playbooks consist of your written code, and they are written in YAML format, which describes the tasks and executes through the Ansible. Also, you can launch the tasks synchronously and asynchronously with playbooks. Playbooks contain the steps which the user wants to execute on a particular machine. And playbooks are run sequentially. Playbooks are the building blocks for all the use cases of Ansible.

🔶Control Node:

Any machine with Ansible installed is known as controller node. You can run Ansible commands and playbooks by invoking the ansible or ansible-playbook command from any control node. You can use any computer that has a Python installation as a control node - laptops, shared desktops, and servers can all run Ansible.

🔶Managed Node:

The network devices (and/or servers) you manage with Ansible. Managed nodes are also sometimes called “hosts”. Ansible is not installed on managed nodes.

🔰Ansible For Cloud Computing

Now we understand the use case of Ansible in Cloud Computing.

Ansible’s library of cloud support modules makes it easy to provision instances, networks, and complete cloud infrastructure wherever you need. The same simple Playbook language you use for application deployment and on-prem virtualization automation also provisions your infrastructure, and applies the correct configuration to it. Ansible ensures your cloud deployments work seamlessly across public, private, or hybrid cloud as easily as you can build a single system.

Clouds are more than just servers. Regardless if your application environment just consists of servers, or servers, specific OS configurations, virtual private networks, subnets, and even load balancers — Ansible will ensure the infrastructure meets every need of your application each and every time.

Now Lets See how Ansible Supports One of The Cloud Computing Platform i.e Google Cloud Platform .

💠Ansible With Google Cloud Platform

Google Cloud Platform (GCP) provides scalable infrastructure and solutions to meet the needs of your organization. GCP offers on-demand instances, software-defined networking, storage and databases, and big data solutions — and they’re all available at your fingertips. GCP enables your applications to take advantage of Google’s significant infrastructure, utilizing their best-of-breed technology and innovation, and only pay for what you need when you need it.

💠Ansible and Google Native Integration

The Ansible + GCP Integration gives you everything you need to manage your IT infrastructure. From provisioning instances and autoscaling, custom networks and load balancing, and even managing DNS and cloud storage, it’s all provided.

— Testing/Continuous Integration

  • Use Ansible to launch instances in any GCP Zone, configure networking setups to accurately simulate real-world scenarios
  • Deploy your code how you want: private disk images, startup scripts pointing to your own package repository and more — all within your native Ansible Playbooks
  • Tear-down instances when you’re done: right after a test or after a review with the team and even keep a snapshot of the disk

— Production Deployment

  • Use GCP Managed Instance Groups (Playbook example) and autoscaling to ensure your application can meet the needs of its users
  • Easily use Cross-Region Load Balancing to have your application served by the closest-available zone
  • Enable Service Accounts with specific access, enabling only those who need it to run your playbooks in production.

I hope you like this article.

For Furthur Queries, Suggestion’s Feel Free to Connect with me On Linkedin.

Thank you!!!!!!!!!