How Industries are solving challenges using Ansible!

Mrunali Gorde
4 min readMar 16, 2021

Whenever you want to install any application manually, you can do it twice, thrice , maximum ten times but what if you need to do the same job hundred times!!!. Doing this work manually will consume more time, human and many other resources. But what if we do automation for completing this task? Here we can use the tool called Ansible.

Ansible is a tool/software used for configuration management of operating system. We the help of Ansible we can launch hundreds of machine at one time.

Team impact:-

  • Save time and be more productive
  • Eliminate repetitive tasks
  • Fewer mistakes & errors
  • Improve collaboration and job satisfaction

Enterprise Impact:-

  • Overcome complexity
  • More resources for innovation
  • Increase accountability and compliance

Let us have a glance on how the industries are making effective use of Ansible for solving their use cases:-

  1. Integration of Ansible with AWS:-

When you deploy an application into AWS, you will soon realize that the cloud is much more than a collection of servers in someone else’s data center. You now have a fleet of services available to you to rapidly deploy and scale applications. However, if you continue to manage AWS like just a group of servers, you won’t see the full benefit of your migration to the cloud. Ansible automation can help you manage your AWS environment like a fleet of services instead of a collection of servers.

From the beginning, Ansible has offered deep support for AWS. Ansible can be used to define, deploy, and manage a wide variety of AWS services. Even the most complicated of AWS environments can be easily described in Ansible playbooks. Once your AWS-based application environments are described with Ansible, you can deploy them again and again, easily scaling out to 100s or 1000s of instances across multiple regions, with the same results each and every time.

Ansible has nearly 100 modules supporting AWS capabilities, including:

  • 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)

2. Integration of 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.

The Ansible/GCP integration gives you everything you need to manage your IT infrastructure. From provisioning instances and auto-scaling, custom networks and load balancing, and even managing DNS and cloud storage, it’s all provided. Use the Ansible/GCP tutorial and examples in your Playbooks.

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 auto-scaling 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

Google is an Active Contributor to the Ansible Community:-

The Ansible open source community is a vibrant, fast-moving place that strives to get things done. Google thrives in open source, but also understands the reliability needs of its users to safely run their infrastructure. Google Engineering actively builds Ansible modules, contributes code and documentation, and helps users deliver their solutions with GCP.

--

--