Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Automating using Ansible

99 views

Published on

How we have used ansible for real-time industry use cases and Integration with enterprise tools. Infra provisioning and config management using ansible and automating routine tasks.

Published in: Software
  • Be the first to comment

Automating using Ansible

  1. 1. Automating using Ansible By Alok Patra and Paresh Patil
  2. 2. Why Ansible ? ● Opensource ● Agentless ● Easy to read and write - yaml based ● Ready made modules available ● Readily available roles (Ansible Galaxy) ● Easy to install
  3. 3. Ansible Use Cases ● Infra Provisioning ● Server Configuration ● Patching ● Backups ○ Tools ○ Databases ○ Configs ○ AMI’s ● Cluster Deployment ● Scaling
  4. 4. Client 1 Use Case
  5. 5. Client 1 Use Case ● Platform creation for client
  6. 6. Abstraction of Technical Details ● User Input ○ Cloud Provider ○ Region ○ Cluster Size (S / M / L / XL / XXL) ○ Tools ○ Database
  7. 7. Infrastructure Provisioning ● IAM roles ● VPC ● Networking ● Key pairs ● Instances ● Elastic IP ● S3 Buckets
  8. 8. Server Hardening
  9. 9. User Creation ● Admin ● Service Account ● Non-root
  10. 10. Server Configuration Cluster Application Database
  11. 11. Cluster ● Kubernetes Cluster deployment using Kubespray ● Adding Nodes to the cluster
  12. 12. Application ● Web Server (Apache / Nginx) ● Redis ● Jenkins + Jenkins Plugins ● Application Database Backup to S3 Bucket ● Application Config Backup to S3 Bucket
  13. 13. Database ● Mongodb ● MySQL ● Postgres ● DB User Creation ● DB Database Backup
  14. 14. The BORING monotonous tasks ● Installing Packages ● AMI Creation ● Adding or removing volumes to instance ● Vulnerability Assessment ● Patching ● Password Rotation ● Add new config to web server
  15. 15. Ad Hoc Tasks ● User management ○ Add user ○ Privilege management ○ Delete user ○ Update user password ○ Add or update user groups ● Gitlab ○ Project management ○ Gitlab user management ○ Access management
  16. 16. Client 2 Use Case
  17. 17. Client 2 Use Case ● vRA → vRO → Ansible Tower → Ansible ● Input Validation ○ Validate Datatypes ○ Validate value of variables ● Integration with CyberArk ● Integration with SAP Hana ○ Log onto DB, archive and wipe file and email report ● Dynamically enable/disable logging for Passwords ● Custom config file ● Ansible Tower Setup
  18. 18. Client 3 Use Case
  19. 19. Client 3 Use Case ● 2 year engagement ● One of RedHat’s most successful projects in APAC ● Automation with RHEl and Windows ● OS hardening ● Install and configure MSSQL multi-node cluster ● Integrated workflow with Cloudform
  20. 20. Other Use Cases
  21. 21. Other Use Cases 54321 6
  22. 22. Our Accelerator - PowerOps Common problems while providing “DevOps as a Service” 1. Dependency on good devops engineers 2. Simple CI/CD setup takes a long time 3. Custom implementation and automation Crevise PowerOps: - Eliminate people dependency - Faster and smoother CI CD implementation ● - Multi platform and multi tool integration
  23. 23. Thank You ● Paresh Patil ○ Email ID: paresh.patil@crevise.com ○ Contact No: +91-8554909992 ● Alok Patra ○ Email ID: alok.patra@crevise.com ○ Contact No: +91-9545059374 Crevise Technologies Pvt Ltd Website: https://www.crevise.com/ Email ID: hr@crevise.com

×