DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Deployment
  4. Automating Microservices Deployment With Ansible [Video]

Automating Microservices Deployment With Ansible [Video]

Ideally, each microservices team is multifunctional and owns the software artifact from conception to production. Infrastructure as code and automation are necessities.

Rafael Benevides user avatar by
Rafael Benevides
·
Apr. 11, 17 · Presentation
Like (1)
Save
Tweet
Share
6.02K Views

Join the DZone community and get the full member experience.

Join For Free

One of the main principles of microservices is to be independently deployable. As a consequence, microservices development and operations tend to be much more complex than a monolith because of their distributed nature. If your IT team has not moved out yet from its silos and has adopted DevOps practices, the operations team will not really understand why they have to deploy hundreds of independent software pieces in opposite to the good old monolith.

“You need a mature operations team to manage lots of services, which are being redeployed regularly.” — Microservices trade-offs by Martin Fowler

The operations team and the software development team should work together adopting DevOps practices to avoid silos and deployment process where the software team throws the software over the wall.

Screenshot 2016-11-18 13.46.37.png

Ideally, each microservices team is multifunctional and owns the software artifact from conception to production. Given the multifunctional nature of these teams, infrastructure as code (IaC) and automation are now a necessity. DevOps teams share the knowledge of server provisioning, configuration management, and deployment. There are several tools and approaches for IaC. As an example, I can mention Kubernetes, that allows you to define its objects as YAML or JSON files.

screenshot-2016-11-16-10-53-00

A couple months ago, I published a blog post that shows how to have your own (no-cost) microservices playground. The focus of this material is educational. It provides instructions on how to deploy each microservice independently. However, some people would like to see all of them running in few minutes.

To show how you can run this microservices playground environment in less than 20 minutes, I decided to record the following screencast that shows how to create an OpenShift cluster using “oc cluster up” (Check out four creative ways to create an OpenShift/Kubernetes dev environment), and deploy all of them using Ansible.

I hope that you enjoy.

f

microservice Software development Ansible (software) teams

Published at DZone with permission of Rafael Benevides, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Implementing Adaptive Concurrency Limits
  • How to Quickly Build an Audio Editor With UI
  • Learning by Doing: An HTTP API With Rust
  • What Is Testing as a Service?

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: