SlideShare a Scribd company logo
Copyright © 2020 HashiCorp
Governance for
Multiple Teams
Sharing a Nomad
Cluster
Roger Berlind
Technology Specialist
HashiCorp
Copyright © 2020 HashiCorp
Brief overview of Nomad
Key Nomad multitenancy features that allow teams to
share clusters
Demo of public, hands-on Instruqt track that you can
run yourself
Information about a hands-on "Introduction to
Nomad" workshop we're delivering on May 20, 2020
Q & A
Agenda
Copyright © 2020 HashiCorp
Nomad Overview
Copyright © 2020 HashiCorp
Nomad is an easy-to-use and flexible
Workload Orchestrator that enables
organizations to automate the
deployment of containerized and non-
containerized applications in private and
public clouds.
What is Nomad?
Copyright © 2020 HashiCorp
A Single Workflow Across Multiple Clouds
Copyright © 2020 HashiCorp
Simple Deployment with a Single Binary
Copyright © 2020 HashiCorp
Nomad Increases Density and Reduces Costs
Copyright © 2020 HashiCorp
â–Ș Ease of Use
– Easy for Developers to run Apps and Operators to manage
â–Ș Workload Flexibility
– Supports Docker and Legacy Apps on Linux & Windows
â–Ș Scalability
– Federation of Clusters Across Multiple Regions and Clouds
â–Ș Synergy with Other HashiCorp Solutions
– Integration with Vault for Secrets
– Integration with Consul for Service Discovery & Configuration
Why Do Companies Use Nomad?
Copyright © 2020 HashiCorp
A Nomad Case Study
Copyright © 2020 HashiCorp
Key Nomad
MultiTenancy
Features
Copyright © 2020 HashiCorp
‱ Token-based
authentication
‱ Capability-based
authorization
‱ Centrally managed
policies
‱ Policies and global
tokens are replicated
across clusters
Nomad ACL System
11
Copyright © 2020 HashiCorp
â–Ș Namespaces allow a single multi-region Nomad deployment to
be shared by many teams without conflict.
â–Ș Jobs in different namespaces can have the same name.
â–Ș ACL policies restrict which users can run jobs in namespaces.
â–Ș Namespaces are automatically replicated across federated
clusters.
Nomad Namespaces
Copyright © 2020 HashiCorp
â–Ș Resource Quotas restrict the aggregate resources that each
namespace can use.
â–Ș They prevent one team or user from adversely impacting other
teams and users.
â–Ș ACL policies restrict who can change resource quotas.
â–Ș Resource quotas can be defined for each region or applied
globally.
Nomad Resource Quotas
Copyright © 2020 HashiCorp
 Sentinel expresses Policy as Code.
 In Nomad, Sentinel can restrict jobs and the drivers they use.
 Sentinel policies are applied to submitted/updated jobs after
the ACL system determines that a user is allowed to submit them.
 Sentinel policies are automatically replicated across clusters.
Nomad Sentinel Policies
14
Copyright © 2020 HashiCorp
Demo
Copyright © 2020 HashiCorp
â–Ș We have 1 Nomad Server with 3 Nomad Clients in GCP.
â–Ș We have 2 Teams: dev and qa.
– Each team has its own namespace and resource quota.
– Alice is a developer on the dev team with an ACL token.
– Bob is an engineer on the qa team with an ACL token.
– Charlie is an infrastructure manager allowed to override violations
of soft-mandatory Sentinel policies in all namespaces.
â–Ș We have 3 Sentinel policies that restrict jobs.
â–Ș We will see what happens when the Alice, Bob, and Charlie try
to run different jobs in different namespaces.
Demo Overview
Copyright © 2020 HashiCorp
â–Ș The demo is implemented in a public Instruqt track:
– https://play.instruqt.com/hashicorp/tracks/nomad-governance
â–Ș You can run this track yourself to see how Nomad Enterprise
would allow your teams to safely share Nomad clusters.
â–Ș Full Demo Flow:
1. Configure Nomad namespaces and resource quotas.
2. Create Nomad ACL policies and tokens.
3. Create Sentinel policies.
4. Run Nomad jobs restricted by ACLs and Sentinel policies.
5. Run Nomad jobs restricted by resource quotas.
â–Ș We'll give a shorter version today, starting at step 4.
Demo Implementation
Copyright © 2020 HashiCorp
Some Links and
Q & A
Copyright © 2020 HashiCorp
â–Ș A blog post about the demo that will have the webinar
recording is here:
– Governance for Multiple Teams Sharing a Nomad Cluster
â–Ș Instruqt track that let's you run this demo yourself:
– https://play.instruqt.com/hashicorp/tracks/nomad-governance
â–Ș Other Nomad Instruqt Tracks can be found here:
https://play.instruqt.com/hashicorp/topics/nomad-workshops
Some Links
Copyright © 2020 HashiCorp
â–Ș If you would like to learn more about Nomad, please
register for the Nomad Hands-On Workshop that we will be
delivering on May 20, 2020.
â–Ș Workshop Topics:
– Nomad Concepts and Architecture
– Interacting with Nomad
– Nomad Jobs and Drivers
– Running Nomad Clusters and Jobs
– Monitoring Nomad Jobs
â–Ș You'll find a registration link here:
– https://events.hashicorp.com/workshops/nomad-may20
Nomad Hands-On Workshop

More Related Content

PPTX
AWS SSA Webinar 15 - Getting started on AWS with Containers: Amazon EKS
PPTX
AWS SSA Webinar 11 - Getting started on AWS: Security
PPTX
AWS SSA Webinar 17 - Getting Started on AWS with Amazon RDS
PPTX
AWS SSA Webinar 10 - Getting Started on AWS: Networking
PPTX
AWS SSA Webinar 12 - Getting started on AWS with Containers
PPTX
HashiTalks Africa - Going multi-account on AWS with Terraform
PPTX
AWS SSA Webinar 16 - Getting Started on AWS with Amazon EC2
PPTX
AWS SSA Webinar 13 - Getting started on AWS with Containers: Amazon ECS
AWS SSA Webinar 15 - Getting started on AWS with Containers: Amazon EKS
AWS SSA Webinar 11 - Getting started on AWS: Security
AWS SSA Webinar 17 - Getting Started on AWS with Amazon RDS
AWS SSA Webinar 10 - Getting Started on AWS: Networking
AWS SSA Webinar 12 - Getting started on AWS with Containers
HashiTalks Africa - Going multi-account on AWS with Terraform
AWS SSA Webinar 16 - Getting Started on AWS with Amazon EC2
AWS SSA Webinar 13 - Getting started on AWS with Containers: Amazon ECS

What's hot (6)

PPTX
AWS SSA Webinar 9 - Getting Started on AWS: Storage
PPTX
AWS SSA Webinar 8 - Getting Started on AWS: Compute
PPTX
AWS SSA Webinar 18 - Getting Started with Multi-Region Architecture: Data
PPTX
AWS EMEA Online Summit - Blending Spot and On-Demand instances to optimizing ...
PPTX
The Serverless Tidal Wave - SwampUP 2018 Keynote
PPTX
AWS AWSome Day 2018 - Technical Track
AWS SSA Webinar 9 - Getting Started on AWS: Storage
AWS SSA Webinar 8 - Getting Started on AWS: Compute
AWS SSA Webinar 18 - Getting Started with Multi-Region Architecture: Data
AWS EMEA Online Summit - Blending Spot and On-Demand instances to optimizing ...
The Serverless Tidal Wave - SwampUP 2018 Keynote
AWS AWSome Day 2018 - Technical Track
Ad

Similar to Governance for Multiple Teams Sharing a Nomad Cluster (20)

PPTX
Nomad by HashiCorp Presentation (DevOps)
PPTX
Nomad by HashiCorp Presentation (DevOps)
PDF
Persistent storage with containers By Kaslin Fields
PDF
introduction to kubernetes slide deck by Roach
PDF
Data Con LA 2022-Open Source or Open Core in Your Data Layer? What Needs to B...
PPTX
Full-Stack Development with JavaScript and NoSQL
PDF
Kubernetes Security Best Practices for DevOps
PDF
MuleSoft Surat Virtual Meetup#35 - Setting up MuleSoft Runtime and Anypoint C...
PPTX
Tecnologias Oracle em Docker Containers On-premise e na Nuvem
PPTX
Mule meetup 25thjan
PPTX
Automating a PostgreSQL High Availability Architecture with Ansible
 
PPTX
Online spanish meetup #2
PPTX
Cloudbreak - Technical Deep Dive
PDF
One Hadoop, Multiple Clouds - NYC Big Data Meetup
PDF
One Hadoop, Multiple Clouds
PPTX
My sql8 innodb_cluster
PDF
Overpowered Kubernetes: CI/CD for K8s on Enterprise IaaS
PPTX
Using MySQL Containers
PDF
9. virtualization virtualization
PPTX
Nomad by HashiCorp Presentation (DevOps)
Nomad by HashiCorp Presentation (DevOps)
Persistent storage with containers By Kaslin Fields
introduction to kubernetes slide deck by Roach
Data Con LA 2022-Open Source or Open Core in Your Data Layer? What Needs to B...
Full-Stack Development with JavaScript and NoSQL
Kubernetes Security Best Practices for DevOps
MuleSoft Surat Virtual Meetup#35 - Setting up MuleSoft Runtime and Anypoint C...
Tecnologias Oracle em Docker Containers On-premise e na Nuvem
Mule meetup 25thjan
Automating a PostgreSQL High Availability Architecture with Ansible
 
Online spanish meetup #2
Cloudbreak - Technical Deep Dive
One Hadoop, Multiple Clouds - NYC Big Data Meetup
One Hadoop, Multiple Clouds
My sql8 innodb_cluster
Overpowered Kubernetes: CI/CD for K8s on Enterprise IaaS
Using MySQL Containers
9. virtualization virtualization
Ad

More from Mitchell Pronschinske (20)

PDF
Getting Started with Kubernetes and Consul
PDF
Multi-Cloud with Nomad and Consul Connect
PDF
Code quality for Terraform
PDF
Dynamic Azure Credentials for Applications and CI/CD Pipelines
PPTX
Migrating from VMs to Kubernetes using HashiCorp Consul Service on Azure
PPTX
Empowering developers and operators through Gitlab and HashiCorp
PPTX
Automate and simplify multi cloud complexity with f5 and hashi corp
PDF
Vault 1.5 Overview
PPTX
Using new sentinel features in terraform cloud
PDF
Military Edge Computing with Vault and Consul
PDF
Unlocking the Cloud operating model with GitHub Actions
PDF
Vault 1.4 integrated storage overview
PDF
Unlocking the Cloud Operating Model
PPTX
Cisco ACI with HashiCorp Terraform (APAC)
PDF
Integrating Terraform and Consul
PPTX
Unlocking the Cloud Operating Model: Deployment
PPTX
Keeping a Secret with HashiCorp Vault
PPTX
Modern Scheduling for Modern Applications with Nomad
PPTX
Moving to a Microservice World: Leveraging Consul on Azure
PPTX
Remote Culture at HashiCorp
Getting Started with Kubernetes and Consul
Multi-Cloud with Nomad and Consul Connect
Code quality for Terraform
Dynamic Azure Credentials for Applications and CI/CD Pipelines
Migrating from VMs to Kubernetes using HashiCorp Consul Service on Azure
Empowering developers and operators through Gitlab and HashiCorp
Automate and simplify multi cloud complexity with f5 and hashi corp
Vault 1.5 Overview
Using new sentinel features in terraform cloud
Military Edge Computing with Vault and Consul
Unlocking the Cloud operating model with GitHub Actions
Vault 1.4 integrated storage overview
Unlocking the Cloud Operating Model
Cisco ACI with HashiCorp Terraform (APAC)
Integrating Terraform and Consul
Unlocking the Cloud Operating Model: Deployment
Keeping a Secret with HashiCorp Vault
Modern Scheduling for Modern Applications with Nomad
Moving to a Microservice World: Leveraging Consul on Azure
Remote Culture at HashiCorp

Recently uploaded (20)

PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
 
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
System and Network Administration Chapter 2
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
Transform Your Business with a Software ERP System
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
Introduction to Artificial Intelligence
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
L1 - Introduction to python Backend.pptx
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
history of c programming in notes for students .pptx
PPTX
Reimagine Home Health with the Power of Agentic AI​
PPTX
Why Generative AI is the Future of Content, Code & Creativity?
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PDF
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
 
Internet Downloader Manager (IDM) Crack 6.42 Build 41
System and Network Administration Chapter 2
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Transform Your Business with a Software ERP System
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Digital Systems & Binary Numbers (comprehensive )
Softaken Excel to vCard Converter Software.pdf
Introduction to Artificial Intelligence
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
L1 - Introduction to python Backend.pptx
How to Choose the Right IT Partner for Your Business in Malaysia
Operating system designcfffgfgggggggvggggggggg
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
history of c programming in notes for students .pptx
Reimagine Home Health with the Power of Agentic AI​
Why Generative AI is the Future of Content, Code & Creativity?
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency

Governance for Multiple Teams Sharing a Nomad Cluster

  • 1. Copyright © 2020 HashiCorp Governance for Multiple Teams Sharing a Nomad Cluster Roger Berlind Technology Specialist HashiCorp
  • 2. Copyright © 2020 HashiCorp Brief overview of Nomad Key Nomad multitenancy features that allow teams to share clusters Demo of public, hands-on Instruqt track that you can run yourself Information about a hands-on "Introduction to Nomad" workshop we're delivering on May 20, 2020 Q & A Agenda
  • 3. Copyright © 2020 HashiCorp Nomad Overview
  • 4. Copyright © 2020 HashiCorp Nomad is an easy-to-use and flexible Workload Orchestrator that enables organizations to automate the deployment of containerized and non- containerized applications in private and public clouds. What is Nomad?
  • 5. Copyright © 2020 HashiCorp A Single Workflow Across Multiple Clouds
  • 6. Copyright © 2020 HashiCorp Simple Deployment with a Single Binary
  • 7. Copyright © 2020 HashiCorp Nomad Increases Density and Reduces Costs
  • 8. Copyright © 2020 HashiCorp â–Ș Ease of Use – Easy for Developers to run Apps and Operators to manage â–Ș Workload Flexibility – Supports Docker and Legacy Apps on Linux & Windows â–Ș Scalability – Federation of Clusters Across Multiple Regions and Clouds â–Ș Synergy with Other HashiCorp Solutions – Integration with Vault for Secrets – Integration with Consul for Service Discovery & Configuration Why Do Companies Use Nomad?
  • 9. Copyright © 2020 HashiCorp A Nomad Case Study
  • 10. Copyright © 2020 HashiCorp Key Nomad MultiTenancy Features
  • 11. Copyright © 2020 HashiCorp ‱ Token-based authentication ‱ Capability-based authorization ‱ Centrally managed policies ‱ Policies and global tokens are replicated across clusters Nomad ACL System 11
  • 12. Copyright © 2020 HashiCorp â–Ș Namespaces allow a single multi-region Nomad deployment to be shared by many teams without conflict. â–Ș Jobs in different namespaces can have the same name. â–Ș ACL policies restrict which users can run jobs in namespaces. â–Ș Namespaces are automatically replicated across federated clusters. Nomad Namespaces
  • 13. Copyright © 2020 HashiCorp â–Ș Resource Quotas restrict the aggregate resources that each namespace can use. â–Ș They prevent one team or user from adversely impacting other teams and users. â–Ș ACL policies restrict who can change resource quotas. â–Ș Resource quotas can be defined for each region or applied globally. Nomad Resource Quotas
  • 14. Copyright © 2020 HashiCorp  Sentinel expresses Policy as Code.  In Nomad, Sentinel can restrict jobs and the drivers they use.  Sentinel policies are applied to submitted/updated jobs after the ACL system determines that a user is allowed to submit them.  Sentinel policies are automatically replicated across clusters. Nomad Sentinel Policies 14
  • 15. Copyright © 2020 HashiCorp Demo
  • 16. Copyright © 2020 HashiCorp â–Ș We have 1 Nomad Server with 3 Nomad Clients in GCP. â–Ș We have 2 Teams: dev and qa. – Each team has its own namespace and resource quota. – Alice is a developer on the dev team with an ACL token. – Bob is an engineer on the qa team with an ACL token. – Charlie is an infrastructure manager allowed to override violations of soft-mandatory Sentinel policies in all namespaces. â–Ș We have 3 Sentinel policies that restrict jobs. â–Ș We will see what happens when the Alice, Bob, and Charlie try to run different jobs in different namespaces. Demo Overview
  • 17. Copyright © 2020 HashiCorp â–Ș The demo is implemented in a public Instruqt track: – https://play.instruqt.com/hashicorp/tracks/nomad-governance â–Ș You can run this track yourself to see how Nomad Enterprise would allow your teams to safely share Nomad clusters. â–Ș Full Demo Flow: 1. Configure Nomad namespaces and resource quotas. 2. Create Nomad ACL policies and tokens. 3. Create Sentinel policies. 4. Run Nomad jobs restricted by ACLs and Sentinel policies. 5. Run Nomad jobs restricted by resource quotas. â–Ș We'll give a shorter version today, starting at step 4. Demo Implementation
  • 18. Copyright © 2020 HashiCorp Some Links and Q & A
  • 19. Copyright © 2020 HashiCorp â–Ș A blog post about the demo that will have the webinar recording is here: – Governance for Multiple Teams Sharing a Nomad Cluster â–Ș Instruqt track that let's you run this demo yourself: – https://play.instruqt.com/hashicorp/tracks/nomad-governance â–Ș Other Nomad Instruqt Tracks can be found here: https://play.instruqt.com/hashicorp/topics/nomad-workshops Some Links
  • 20. Copyright © 2020 HashiCorp â–Ș If you would like to learn more about Nomad, please register for the Nomad Hands-On Workshop that we will be delivering on May 20, 2020. â–Ș Workshop Topics: – Nomad Concepts and Architecture – Interacting with Nomad – Nomad Jobs and Drivers – Running Nomad Clusters and Jobs – Monitoring Nomad Jobs â–Ș You'll find a registration link here: – https://events.hashicorp.com/workshops/nomad-may20 Nomad Hands-On Workshop