Jimmy Tang - Deploying with Ansible

  • 477 views
Uploaded on

Deploying DRI infrastructure and applications with Ansible. Lightening talk at Hydra Connect 2014 - San Diego.

Deploying DRI infrastructure and applications with Ansible. Lightening talk at Hydra Connect 2014 - San Diego.

More in: Technology , Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
477
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
3
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Deploying with Ansible Jimmy Tang - Trinity College Dublin
  • 2. What we needed to do ● ● ● ● ● Deploy Hydra-head(s) and related stack Deploy private compute and storage cloud Automation of deploys and updates Consistency of systems dev/qa/prod Be able to recreate systems in case of disasters/failures
  • 3. Ansible ● Configuration Management, Deployment, Integration ● Ships with the kitchen sink (Plugins for many applications) ● Plugins are idempotent ● Plugins can be written in any language ● Uses SSH to execute commands
  • 4. Why Ansible ● ● ● ● ● Idempotent behaviour Playbooks are in a YAML format Order of operations is deterministic Agentless!!!, no need for yet another PKI Roles can be written, shared and reused for different projects ● Inventories/Groups can be dynamically generated
  • 5. What we’re doing with Ansible ● Deploying our hydra-head in a distributed environment ○ ● ● ● ● ● Tomcat, Fedora-Commons, SOLR, Ruby (via RVM), Passenger, MySQL, Redis, Shibboleth IDP/SP, HAProxy, LDAP, Nagios, Collectd, Buildbot, Radosgw (local S3/Swift service) Deploying our private cloud Managing databases Maintenance work (rolling updates, scaling) Enforcing states of production systems Replicating the production systems for testing/qa ○ in private cloud and vagrant ● TODO: packer based images for cloud deployments
  • 6. ● http://www.ansibleworks.com/ ● https://github.com/jcftang/hydraconnectdeploying-with-ansible ● https://github.com/jcftang/ansible-hydra