SlideShare ist ein Scribd-Unternehmen logo
1 von 16
Downloaden Sie, um offline zu lesen
PowerShell 5.0 JEA
(Just Enough Administration)
First Step
System Center User Group Japan #14 (2015.12.19)
Kazuki Takai
自己紹介
 高井 一輝 (Takai Kazuki)
 某ISP勤務
 クラウドサービスの開発、設計、設備維持
 Windows Server / System Center / Linux / etc…
 System Center User Group Japan (SCUGJ)
 Twitter : @zhuky7 / Facebook : kazuki.takai
 Blog : http://operationslab.wordpress.com/
2
セッション・アジェンダとゴール
 Agenda
 Just Enough Administration (JEA) とは
 Demo: JEA の動作イメージ
 JEA の(簡易)構成
 Goal
 JEA がどのようなものか何となく分かる
 JEA を検証用に構成できる
3
はじめる前に
 本資料の内容は個人的な検証結果に基づきます
 所属する会社や組織、マイクロソフト社の公式な見解を記載するものではありません
 表記や内容に誤りがあるなど、お気づきの点があれば、facebook 等でご連絡いただ
けると幸いです
 この資料では Preview 版の製品、テクノロジーについて記載しています
 2015/12 時点の情報をベースにしています
 今後のリリースで機能や動作が変更、削除される可能性があります
 ご利用は自己責任で!!
4
なのですが…
WMF 5.0 RTM is now available !!
 Windows Management Framework (WMF) 5.0 / PowerShell 5.0
 2015/12/16 に RTM (KB3094174 - KB3094176)
 http://blogs.msdn.com/b/powershell/archive/2015/12/16/windows-management-
framework-wmf-5-0-rtm-is-now-available.aspx
 12/19 04:00 am (JST) 時点でリリースノートは未 Upload
 必要な方は Production Preview の Release Notes を参照
 本日のデモ環境は Windows Server 2016 TP4 です
 Windows Server 2012 R2 + WMF 5.0 RTM でも同様のはずです
 それよりも古いOSは…未確認です
5
Just Enough Administration とは
 操作 (Operation) に関する、セキュリティレベルを向上させるための機能
 管理者権限を持つユーザーが多すぎるのでは?
 必要十分な権限で管理を行う
 PowerShell をベーステクノロジーとして利用
 PowerShell Remoting
 PowerShell Session Configuration / Endpoint
 Command visibility & Proxy command
6
(補足)JEA と JIT Admin の違い
 Just Enough Administration (JEA)
 管理者が実行可能な操作、範囲を制限する
 できることを制限する
 Base Technology - PowerShell
 Just-in-Time Administration (JIT Admin)
 管理者権限に有効期限を設定し、必要なときに(のみ)権限を付与する
 できる時間を制限する
 Base Technology – Active Directory + MIM 2016 ( + PowerShell )
7
Demo
Just Enough Administration
8
JEA の仕組み
9
Operator
PowerShell Client
Target Server
Active Directory
Domain Service
PS Remoting
Endpoint
ACL (Permission)
RunAsUser
Role Capability
Cmdlets
External cmds
Authentication / Authorization
JEA の構成要素
 Endpoint (Session Configuration)
 PS Remoting の受け口
 誰が接続できるのか、接続した後どのような権限で実行するのか、などを定義
 実行ユーザー(の所属グループ)を定義しない場合、デフォルトでは Administrators
(Domain Admins) グループのメンバーとして実行
 Role Capability
 Endpoint に紐づけられた、具体的な役割(に応じた実行内容)
 何ができるのか(何を実行してよいのか)を定義
10
JEA の構成
 現時点 (2015/12/19 時点) では、2種類の方法が利用可能
 xJEA モジュールを使用して構成
 超簡単!(5分で構成可能)
 Windows Server 2016 TP2 の頃から存在する方法(今後は推奨されないかも)
 WorkGroup 環境でも利用可能(現時点では)
 RoleCapability と SessionConfiguration を使用して構成
 xJEA モジュールを使用する方法より、若干ステップ数が多い
 Windows Server 2016 TP4 (PP1) or Windows Server 2012 R2 + WMF 5.0 RTM が必要
 xJEA モジュールで実現していたいくつかの機能が PowerShell Core に取り込まれたことに
より、xJEA モジュールに依存せず構成可能(今後推奨となる可能性が高い)
11
xJEAモジュールを使用した構成
 PS Remoting の有効化
 Enable-PSRemoting / Set-Item wsman:¥localhost¥Client¥TrustedHosts -Value *
 xJEA モジュールのインストール
 Install-Module xJea
 構成の記述
 Show-JeaExamples – ISE でサンプルコンフィグを開く
 Show-JeaWhitePaper – White Paper を開く (docx)
 Show-JeaWhitpaper – TechED 2014 のスライドを開く (pptx)
 DSC による構成の配布
12
RoleCapability と SessionConfiguration
による構成
 Target Server をドメインに参加
 PS Remoting の有効化
 ACL 用のユーザー、グループを構成、(必要があれば)実行ユーザーの作成
 Role Capability の記述
 New-PSRoleCapabilityFile
 Session Configuration の記述
 New-PSSessionConfigurationFile
 記述した Session Configuration を Endpoint として登録
 Register-PSSessionConfiguration
13
Demo
Configure JEA
14
まとめ
 JEA を利用することで、何ができるかを細かく制御可能
 誰が、何を、どのような権限で実行するのか
 Configuration は難しくない
 何をどう制御したいかが決まっていれば、実装は書くだけ
 運用設計、業務設計が重要
15
参考資料
 Just Enough Administration (JEA) Infrastructure: An Introduction
 https://gallery.technet.microsoft.com/Just-Enough-Administration-6b5ad370
 Windows Management Framework 5.0
 https://www.microsoft.com/en-us/download/details.aspx?id=50395
 Windows Management Framework 5.0 Production Preview
 https://www.microsoft.com/en-us/download/details.aspx?id=48729
 PowerShell xJea Module
 http://www.powershellgallery.com/packages/xJea/
16

Weitere ähnliche Inhalte

Was ist angesagt?

1st step LogicFlow
1st step LogicFlow1st step LogicFlow
1st step LogicFlowTomoyuki Obi
 
Introducing Windows Terminal
Introducing Windows TerminalIntroducing Windows Terminal
Introducing Windows TerminalKazuki Takai
 
INF-009_PowerShell を 使いこなして、自動化対応 エンジニア になろう!!
INF-009_PowerShell を 使いこなして、自動化対応 エンジニア になろう!!INF-009_PowerShell を 使いこなして、自動化対応 エンジニア になろう!!
INF-009_PowerShell を 使いこなして、自動化対応 エンジニア になろう!!decode2016
 
20180630 data transformationusinglogicflow
20180630 data transformationusinglogicflow20180630 data transformationusinglogicflow
20180630 data transformationusinglogicflowTomoyuki Obi
 
[SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか?
[SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか? [SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか?
[SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか? de:code 2017
 
PowerShell and Release Management Server
PowerShell and  Release Management ServerPowerShell and  Release Management Server
PowerShell and Release Management ServerKazushi Kamegawa
 
Team Foundation Server入門
Team Foundation Server入門Team Foundation Server入門
Team Foundation Server入門Akihiro Nakajima
 
System Center Operations Manager 2019
System Center Operations Manager 2019System Center Operations Manager 2019
System Center Operations Manager 2019Norio Sashizaki
 
System Centerで変わる運用
System Centerで変わる運用System Centerで変わる運用
System Centerで変わる運用Masahiko Ebisuda
 
App controllerとwindows azure packで作る大規模プライベートクラウド
App controllerとwindows azure packで作る大規模プライベートクラウドApp controllerとwindows azure packで作る大規模プライベートクラウド
App controllerとwindows azure packで作る大規模プライベートクラウドTakashi Kanai
 
最新情報でわかる Windows 10 の導入と展開 (2017/9/19 開催分)
最新情報でわかる Windows 10 の導入と展開 (2017/9/19 開催分)最新情報でわかる Windows 10 の導入と展開 (2017/9/19 開催分)
最新情報でわかる Windows 10 の導入と展開 (2017/9/19 開催分)TOSHIO TOJO
 
Intuneによるパッチ管理
Intuneによるパッチ管理Intuneによるパッチ管理
Intuneによるパッチ管理Suguru Kunii
 
[TL10] Azure IaaS 構築・運用・管理の専門家が語る DevTest Labs ~高速・費用無駄ナシ・簡単管理を実現する開発・テスト環境の構築~
[TL10] Azure IaaS 構築・運用・管理の専門家が語る DevTest Labs ~高速・費用無駄ナシ・簡単管理を実現する開発・テスト環境の構築~[TL10] Azure IaaS 構築・運用・管理の専門家が語る DevTest Labs ~高速・費用無駄ナシ・簡単管理を実現する開発・テスト環境の構築~
[TL10] Azure IaaS 構築・運用・管理の専門家が語る DevTest Labs ~高速・費用無駄ナシ・簡単管理を実現する開発・テスト環境の構築~de:code 2017
 
PowerShell の基本操作とリモーティング&v3のご紹介 junichia
PowerShell の基本操作とリモーティング&v3のご紹介 junichiaPowerShell の基本操作とリモーティング&v3のご紹介 junichia
PowerShell の基本操作とリモーティング&v3のご紹介 junichiajunichi anno
 
IT エンジニアのための 流し読み Windows 10 - Microsoft の更新プログラム管理インフラ比較 ~ WU / WSUS / SCCM ...
IT エンジニアのための 流し読み Windows 10 - Microsoft の更新プログラム管理インフラ比較 ~ WU / WSUS / SCCM ...IT エンジニアのための 流し読み Windows 10 - Microsoft の更新プログラム管理インフラ比較 ~ WU / WSUS / SCCM ...
IT エンジニアのための 流し読み Windows 10 - Microsoft の更新プログラム管理インフラ比較 ~ WU / WSUS / SCCM ...TAKUYA OHTA
 
はじめてのTeam foundation server執筆裏話
はじめてのTeam foundation server執筆裏話はじめてのTeam foundation server執筆裏話
はじめてのTeam foundation server執筆裏話Kazushi Kamegawa
 
[MR08] 知っておくべき UWP アプリ開発の A to Z
[MR08] 知っておくべき UWP アプリ開発の A to Z[MR08] 知っておくべき UWP アプリ開発の A to Z
[MR08] 知っておくべき UWP アプリ開発の A to Zde:code 2017
 
App controllerとSPFで実現するハイブリッドクラウド
App controllerとSPFで実現するハイブリッドクラウドApp controllerとSPFで実現するハイブリッドクラウド
App controllerとSPFで実現するハイブリッドクラウドTakashi Kanai
 

Was ist angesagt? (19)

1st step LogicFlow
1st step LogicFlow1st step LogicFlow
1st step LogicFlow
 
Introducing Windows Terminal
Introducing Windows TerminalIntroducing Windows Terminal
Introducing Windows Terminal
 
INF-009_PowerShell を 使いこなして、自動化対応 エンジニア になろう!!
INF-009_PowerShell を 使いこなして、自動化対応 エンジニア になろう!!INF-009_PowerShell を 使いこなして、自動化対応 エンジニア になろう!!
INF-009_PowerShell を 使いこなして、自動化対応 エンジニア になろう!!
 
20180630 data transformationusinglogicflow
20180630 data transformationusinglogicflow20180630 data transformationusinglogicflow
20180630 data transformationusinglogicflow
 
TFSを支える技術
TFSを支える技術TFSを支える技術
TFSを支える技術
 
[SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか?
[SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか? [SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか?
[SC03] Active Directory の DR 対策~天災/人災/サイバー攻撃、その時あなたの IT 基盤は利用継続できますか?
 
PowerShell and Release Management Server
PowerShell and  Release Management ServerPowerShell and  Release Management Server
PowerShell and Release Management Server
 
Team Foundation Server入門
Team Foundation Server入門Team Foundation Server入門
Team Foundation Server入門
 
System Center Operations Manager 2019
System Center Operations Manager 2019System Center Operations Manager 2019
System Center Operations Manager 2019
 
System Centerで変わる運用
System Centerで変わる運用System Centerで変わる運用
System Centerで変わる運用
 
App controllerとwindows azure packで作る大規模プライベートクラウド
App controllerとwindows azure packで作る大規模プライベートクラウドApp controllerとwindows azure packで作る大規模プライベートクラウド
App controllerとwindows azure packで作る大規模プライベートクラウド
 
最新情報でわかる Windows 10 の導入と展開 (2017/9/19 開催分)
最新情報でわかる Windows 10 の導入と展開 (2017/9/19 開催分)最新情報でわかる Windows 10 の導入と展開 (2017/9/19 開催分)
最新情報でわかる Windows 10 の導入と展開 (2017/9/19 開催分)
 
Intuneによるパッチ管理
Intuneによるパッチ管理Intuneによるパッチ管理
Intuneによるパッチ管理
 
[TL10] Azure IaaS 構築・運用・管理の専門家が語る DevTest Labs ~高速・費用無駄ナシ・簡単管理を実現する開発・テスト環境の構築~
[TL10] Azure IaaS 構築・運用・管理の専門家が語る DevTest Labs ~高速・費用無駄ナシ・簡単管理を実現する開発・テスト環境の構築~[TL10] Azure IaaS 構築・運用・管理の専門家が語る DevTest Labs ~高速・費用無駄ナシ・簡単管理を実現する開発・テスト環境の構築~
[TL10] Azure IaaS 構築・運用・管理の専門家が語る DevTest Labs ~高速・費用無駄ナシ・簡単管理を実現する開発・テスト環境の構築~
 
PowerShell の基本操作とリモーティング&v3のご紹介 junichia
PowerShell の基本操作とリモーティング&v3のご紹介 junichiaPowerShell の基本操作とリモーティング&v3のご紹介 junichia
PowerShell の基本操作とリモーティング&v3のご紹介 junichia
 
IT エンジニアのための 流し読み Windows 10 - Microsoft の更新プログラム管理インフラ比較 ~ WU / WSUS / SCCM ...
IT エンジニアのための 流し読み Windows 10 - Microsoft の更新プログラム管理インフラ比較 ~ WU / WSUS / SCCM ...IT エンジニアのための 流し読み Windows 10 - Microsoft の更新プログラム管理インフラ比較 ~ WU / WSUS / SCCM ...
IT エンジニアのための 流し読み Windows 10 - Microsoft の更新プログラム管理インフラ比較 ~ WU / WSUS / SCCM ...
 
はじめてのTeam foundation server執筆裏話
はじめてのTeam foundation server執筆裏話はじめてのTeam foundation server執筆裏話
はじめてのTeam foundation server執筆裏話
 
[MR08] 知っておくべき UWP アプリ開発の A to Z
[MR08] 知っておくべき UWP アプリ開発の A to Z[MR08] 知っておくべき UWP アプリ開発の A to Z
[MR08] 知っておくべき UWP アプリ開発の A to Z
 
App controllerとSPFで実現するハイブリッドクラウド
App controllerとSPFで実現するハイブリッドクラウドApp controllerとSPFで実現するハイブリッドクラウド
App controllerとSPFで実現するハイブリッドクラウド
 

Ähnlich wie PowerShell 5.0 JEA (Just Enough Administration) First Step

Sql server 2014 新機能の紹介 改訂版
Sql server 2014 新機能の紹介 改訂版Sql server 2014 新機能の紹介 改訂版
Sql server 2014 新機能の紹介 改訂版Oda Shinsuke
 
JMeterをWebでしか設定できないサーバの設定自動化に使う
JMeterをWebでしか設定できないサーバの設定自動化に使うJMeterをWebでしか設定できないサーバの設定自動化に使う
JMeterをWebでしか設定できないサーバの設定自動化に使う隆行 神戸
 
Recap: PowerShell Core
Recap: PowerShell CoreRecap: PowerShell Core
Recap: PowerShell CoreKazuki Takai
 
Visual studio online and Agile
Visual studio online and AgileVisual studio online and Agile
Visual studio online and AgileKazushi Kamegawa
 
Past and Future of PowerShell
Past and Future of PowerShellPast and Future of PowerShell
Past and Future of PowerShellKazuki Takai
 
Windows Server 2016 Essentials TP4の強化ポイントと PowerShellの使いどころ
Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころWindows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ
Windows Server 2016 Essentials TP4の強化ポイントと PowerShellの使いどころSatoru Nasu
 
Windows PowerShell 2.0 の基礎知識
Windows PowerShell 2.0 の基礎知識Windows PowerShell 2.0 の基礎知識
Windows PowerShell 2.0 の基礎知識shigeya
 
運用構築技術者の為のPSプログラミング第1回
運用構築技術者の為のPSプログラミング第1回運用構築技術者の為のPSプログラミング第1回
運用構築技術者の為のPSプログラミング第1回Shigeharu Yamaoka
 
ADO.NET Entity Framework
ADO.NET Entity Framework ADO.NET Entity Framework
ADO.NET Entity Framework Microsoft
 
20130203 OSS-DB Exam Silver 技術解説無料セミナー
20130203 OSS-DB Exam Silver 技術解説無料セミナー20130203 OSS-DB Exam Silver 技術解説無料セミナー
20130203 OSS-DB Exam Silver 技術解説無料セミナーKazuko Itoda
 
140917運用管理勉強会job scheduler
140917運用管理勉強会job scheduler140917運用管理勉強会job scheduler
140917運用管理勉強会job schedulerOSSラボ株式会社
 
Team foundation serverの新しいビルド
Team foundation serverの新しいビルドTeam foundation serverの新しいビルド
Team foundation serverの新しいビルド__Black
 
20150530 めとべや東京 Reactive Property + Livetで作るWPFアプリ
20150530 めとべや東京 Reactive Property + Livetで作るWPFアプリ20150530 めとべや東京 Reactive Property + Livetで作るWPFアプリ
20150530 めとべや東京 Reactive Property + Livetで作るWPFアプリTakayoshi Tanaka
 
PowerShell DSC と Linux
PowerShell DSC と LinuxPowerShell DSC と Linux
PowerShell DSC と LinuxKazuki Takai
 

Ähnlich wie PowerShell 5.0 JEA (Just Enough Administration) First Step (20)

Sql server 2014 新機能の紹介 改訂版
Sql server 2014 新機能の紹介 改訂版Sql server 2014 新機能の紹介 改訂版
Sql server 2014 新機能の紹介 改訂版
 
JMeterをWebでしか設定できないサーバの設定自動化に使う
JMeterをWebでしか設定できないサーバの設定自動化に使うJMeterをWebでしか設定できないサーバの設定自動化に使う
JMeterをWebでしか設定できないサーバの設定自動化に使う
 
Recap: PowerShell Core
Recap: PowerShell CoreRecap: PowerShell Core
Recap: PowerShell Core
 
Visual studio online and Agile
Visual studio online and AgileVisual studio online and Agile
Visual studio online and Agile
 
Visual studio de debug
Visual studio de debugVisual studio de debug
Visual studio de debug
 
Past and Future of PowerShell
Past and Future of PowerShellPast and Future of PowerShell
Past and Future of PowerShell
 
LogicFlow 概要
LogicFlow 概要LogicFlow 概要
LogicFlow 概要
 
Windows Server 2016 Essentials TP4の強化ポイントと PowerShellの使いどころ
Windows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころWindows Server 2016 Essentials TP4の強化ポイントとPowerShellの使いどころ
Windows Server 2016 Essentials TP4の強化ポイントと PowerShellの使いどころ
 
NET5 and Diagnostics
NET5 and DiagnosticsNET5 and Diagnostics
NET5 and Diagnostics
 
Windows PowerShell 2.0 の基礎知識
Windows PowerShell 2.0 の基礎知識Windows PowerShell 2.0 の基礎知識
Windows PowerShell 2.0 の基礎知識
 
運用構築技術者の為のPSプログラミング第1回
運用構築技術者の為のPSプログラミング第1回運用構築技術者の為のPSプログラミング第1回
運用構築技術者の為のPSプログラミング第1回
 
ADO.NET Entity Framework
ADO.NET Entity Framework ADO.NET Entity Framework
ADO.NET Entity Framework
 
220523JS7.pdf
220523JS7.pdf220523JS7.pdf
220523JS7.pdf
 
20130203 oss-db-lpi
20130203 oss-db-lpi20130203 oss-db-lpi
20130203 oss-db-lpi
 
20130203 OSS-DB Exam Silver 技術解説無料セミナー
20130203 OSS-DB Exam Silver 技術解説無料セミナー20130203 OSS-DB Exam Silver 技術解説無料セミナー
20130203 OSS-DB Exam Silver 技術解説無料セミナー
 
140917運用管理勉強会job scheduler
140917運用管理勉強会job scheduler140917運用管理勉強会job scheduler
140917運用管理勉強会job scheduler
 
Windows Azure PHP Tips
Windows Azure PHP Tips Windows Azure PHP Tips
Windows Azure PHP Tips
 
Team foundation serverの新しいビルド
Team foundation serverの新しいビルドTeam foundation serverの新しいビルド
Team foundation serverの新しいビルド
 
20150530 めとべや東京 Reactive Property + Livetで作るWPFアプリ
20150530 めとべや東京 Reactive Property + Livetで作るWPFアプリ20150530 めとべや東京 Reactive Property + Livetで作るWPFアプリ
20150530 めとべや東京 Reactive Property + Livetで作るWPFアプリ
 
PowerShell DSC と Linux
PowerShell DSC と LinuxPowerShell DSC と Linux
PowerShell DSC と Linux
 

Mehr von Kazuki Takai

Azure Arc Automanage Machine Configuration による構成の管理と適用
Azure Arc Automanage Machine Configuration による構成の管理と適用Azure Arc Automanage Machine Configuration による構成の管理と適用
Azure Arc Automanage Machine Configuration による構成の管理と適用Kazuki Takai
 
Azure Arc Jumpstart - Azure ArcBox を使った Azure Arc 対応 SQL MI 学習環境の構築
Azure Arc Jumpstart - Azure ArcBox を使った Azure Arc 対応 SQL MI 学習環境の構築Azure Arc Jumpstart - Azure ArcBox を使った Azure Arc 対応 SQL MI 学習環境の構築
Azure Arc Jumpstart - Azure ArcBox を使った Azure Arc 対応 SQL MI 学習環境の構築Kazuki Takai
 
Azure Arc Jumpstart Update - HCIBox Edition
Azure Arc Jumpstart Update - HCIBox EditionAzure Arc Jumpstart Update - HCIBox Edition
Azure Arc Jumpstart Update - HCIBox EditionKazuki Takai
 
ArcBox のおさらいと最新情報
ArcBox のおさらいと最新情報ArcBox のおさらいと最新情報
ArcBox のおさらいと最新情報Kazuki Takai
 
Arc 対応サーバーへの SSH アクセス
Arc 対応サーバーへの SSH アクセスArc 対応サーバーへの SSH アクセス
Arc 対応サーバーへの SSH アクセスKazuki Takai
 
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...Kazuki Takai
 
Insight into Azure Active Directory - Azure AD Custom Role & Scope
Insight into Azure Active Directory - Azure AD Custom Role & ScopeInsight into Azure Active Directory - Azure AD Custom Role & Scope
Insight into Azure Active Directory - Azure AD Custom Role & ScopeKazuki Takai
 
最近の PowerShell について
最近の PowerShell について最近の PowerShell について
最近の PowerShell についてKazuki Takai
 
Windows Server 2022 Datacenter Azure Edition Overview
Windows Server 2022 Datacenter Azure Edition OverviewWindows Server 2022 Datacenter Azure Edition Overview
Windows Server 2022 Datacenter Azure Edition OverviewKazuki Takai
 
Recap: Windows Server 2019 Failover Clustering
Recap: Windows Server 2019 Failover ClusteringRecap: Windows Server 2019 Failover Clustering
Recap: Windows Server 2019 Failover ClusteringKazuki Takai
 
使ってみよう PowerShell
使ってみよう PowerShell使ってみよう PowerShell
使ってみよう PowerShellKazuki Takai
 
5分で分かる Windows Server 2019 HCI 超概要
5分で分かる Windows Server 2019 HCI 超概要5分で分かる Windows Server 2019 HCI 超概要
5分で分かる Windows Server 2019 HCI 超概要Kazuki Takai
 
Application Platform としての Windows Server 2019
Application Platform としての Windows Server 2019Application Platform としての Windows Server 2019
Application Platform としての Windows Server 2019Kazuki Takai
 
Windows Server 2019 で Container を使ってみる
Windows Server 2019 で Container を使ってみるWindows Server 2019 で Container を使ってみる
Windows Server 2019 で Container を使ってみるKazuki Takai
 
Getting started with Windows Containers
Getting started with Windows ContainersGetting started with Windows Containers
Getting started with Windows ContainersKazuki Takai
 
Windows とコンテナの話
Windows とコンテナの話Windows とコンテナの話
Windows とコンテナの話Kazuki Takai
 
Azure Stack の使い道 - 2017年11月版 -
Azure Stack の使い道 - 2017年11月版 -Azure Stack の使い道 - 2017年11月版 -
Azure Stack の使い道 - 2017年11月版 -Kazuki Takai
 
最近の PowerShell のお話
最近の PowerShell のお話最近の PowerShell のお話
最近の PowerShell のお話Kazuki Takai
 
IT Pro のための PowerShell スクリプティング
IT Pro のための PowerShell スクリプティングIT Pro のための PowerShell スクリプティング
IT Pro のための PowerShell スクリプティングKazuki Takai
 

Mehr von Kazuki Takai (20)

Azure Arc Automanage Machine Configuration による構成の管理と適用
Azure Arc Automanage Machine Configuration による構成の管理と適用Azure Arc Automanage Machine Configuration による構成の管理と適用
Azure Arc Automanage Machine Configuration による構成の管理と適用
 
Azure Arc Jumpstart - Azure ArcBox を使った Azure Arc 対応 SQL MI 学習環境の構築
Azure Arc Jumpstart - Azure ArcBox を使った Azure Arc 対応 SQL MI 学習環境の構築Azure Arc Jumpstart - Azure ArcBox を使った Azure Arc 対応 SQL MI 学習環境の構築
Azure Arc Jumpstart - Azure ArcBox を使った Azure Arc 対応 SQL MI 学習環境の構築
 
Azure Arc Jumpstart Update - HCIBox Edition
Azure Arc Jumpstart Update - HCIBox EditionAzure Arc Jumpstart Update - HCIBox Edition
Azure Arc Jumpstart Update - HCIBox Edition
 
ArcBox のおさらいと最新情報
ArcBox のおさらいと最新情報ArcBox のおさらいと最新情報
ArcBox のおさらいと最新情報
 
Arc 対応サーバーへの SSH アクセス
Arc 対応サーバーへの SSH アクセスArc 対応サーバーへの SSH アクセス
Arc 対応サーバーへの SSH アクセス
 
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...
Insight into Azure Active Directory #02 - Azure AD B2B Collaboration New Feat...
 
Insight into Azure Active Directory - Azure AD Custom Role & Scope
Insight into Azure Active Directory - Azure AD Custom Role & ScopeInsight into Azure Active Directory - Azure AD Custom Role & Scope
Insight into Azure Active Directory - Azure AD Custom Role & Scope
 
最近の PowerShell について
最近の PowerShell について最近の PowerShell について
最近の PowerShell について
 
Windows Server 2022 Datacenter Azure Edition Overview
Windows Server 2022 Datacenter Azure Edition OverviewWindows Server 2022 Datacenter Azure Edition Overview
Windows Server 2022 Datacenter Azure Edition Overview
 
Azure Arc 概要
Azure Arc 概要Azure Arc 概要
Azure Arc 概要
 
Recap: Windows Server 2019 Failover Clustering
Recap: Windows Server 2019 Failover ClusteringRecap: Windows Server 2019 Failover Clustering
Recap: Windows Server 2019 Failover Clustering
 
使ってみよう PowerShell
使ってみよう PowerShell使ってみよう PowerShell
使ってみよう PowerShell
 
5分で分かる Windows Server 2019 HCI 超概要
5分で分かる Windows Server 2019 HCI 超概要5分で分かる Windows Server 2019 HCI 超概要
5分で分かる Windows Server 2019 HCI 超概要
 
Application Platform としての Windows Server 2019
Application Platform としての Windows Server 2019Application Platform としての Windows Server 2019
Application Platform としての Windows Server 2019
 
Windows Server 2019 で Container を使ってみる
Windows Server 2019 で Container を使ってみるWindows Server 2019 で Container を使ってみる
Windows Server 2019 で Container を使ってみる
 
Getting started with Windows Containers
Getting started with Windows ContainersGetting started with Windows Containers
Getting started with Windows Containers
 
Windows とコンテナの話
Windows とコンテナの話Windows とコンテナの話
Windows とコンテナの話
 
Azure Stack の使い道 - 2017年11月版 -
Azure Stack の使い道 - 2017年11月版 -Azure Stack の使い道 - 2017年11月版 -
Azure Stack の使い道 - 2017年11月版 -
 
最近の PowerShell のお話
最近の PowerShell のお話最近の PowerShell のお話
最近の PowerShell のお話
 
IT Pro のための PowerShell スクリプティング
IT Pro のための PowerShell スクリプティングIT Pro のための PowerShell スクリプティング
IT Pro のための PowerShell スクリプティング
 

PowerShell 5.0 JEA (Just Enough Administration) First Step

  • 1. PowerShell 5.0 JEA (Just Enough Administration) First Step System Center User Group Japan #14 (2015.12.19) Kazuki Takai
  • 2. 自己紹介  高井 一輝 (Takai Kazuki)  某ISP勤務  クラウドサービスの開発、設計、設備維持  Windows Server / System Center / Linux / etc…  System Center User Group Japan (SCUGJ)  Twitter : @zhuky7 / Facebook : kazuki.takai  Blog : http://operationslab.wordpress.com/ 2
  • 3. セッション・アジェンダとゴール  Agenda  Just Enough Administration (JEA) とは  Demo: JEA の動作イメージ  JEA の(簡易)構成  Goal  JEA がどのようなものか何となく分かる  JEA を検証用に構成できる 3
  • 4. はじめる前に  本資料の内容は個人的な検証結果に基づきます  所属する会社や組織、マイクロソフト社の公式な見解を記載するものではありません  表記や内容に誤りがあるなど、お気づきの点があれば、facebook 等でご連絡いただ けると幸いです  この資料では Preview 版の製品、テクノロジーについて記載しています  2015/12 時点の情報をベースにしています  今後のリリースで機能や動作が変更、削除される可能性があります  ご利用は自己責任で!! 4 なのですが…
  • 5. WMF 5.0 RTM is now available !!  Windows Management Framework (WMF) 5.0 / PowerShell 5.0  2015/12/16 に RTM (KB3094174 - KB3094176)  http://blogs.msdn.com/b/powershell/archive/2015/12/16/windows-management- framework-wmf-5-0-rtm-is-now-available.aspx  12/19 04:00 am (JST) 時点でリリースノートは未 Upload  必要な方は Production Preview の Release Notes を参照  本日のデモ環境は Windows Server 2016 TP4 です  Windows Server 2012 R2 + WMF 5.0 RTM でも同様のはずです  それよりも古いOSは…未確認です 5
  • 6. Just Enough Administration とは  操作 (Operation) に関する、セキュリティレベルを向上させるための機能  管理者権限を持つユーザーが多すぎるのでは?  必要十分な権限で管理を行う  PowerShell をベーステクノロジーとして利用  PowerShell Remoting  PowerShell Session Configuration / Endpoint  Command visibility & Proxy command 6
  • 7. (補足)JEA と JIT Admin の違い  Just Enough Administration (JEA)  管理者が実行可能な操作、範囲を制限する  できることを制限する  Base Technology - PowerShell  Just-in-Time Administration (JIT Admin)  管理者権限に有効期限を設定し、必要なときに(のみ)権限を付与する  できる時間を制限する  Base Technology – Active Directory + MIM 2016 ( + PowerShell ) 7
  • 9. JEA の仕組み 9 Operator PowerShell Client Target Server Active Directory Domain Service PS Remoting Endpoint ACL (Permission) RunAsUser Role Capability Cmdlets External cmds Authentication / Authorization
  • 10. JEA の構成要素  Endpoint (Session Configuration)  PS Remoting の受け口  誰が接続できるのか、接続した後どのような権限で実行するのか、などを定義  実行ユーザー(の所属グループ)を定義しない場合、デフォルトでは Administrators (Domain Admins) グループのメンバーとして実行  Role Capability  Endpoint に紐づけられた、具体的な役割(に応じた実行内容)  何ができるのか(何を実行してよいのか)を定義 10
  • 11. JEA の構成  現時点 (2015/12/19 時点) では、2種類の方法が利用可能  xJEA モジュールを使用して構成  超簡単!(5分で構成可能)  Windows Server 2016 TP2 の頃から存在する方法(今後は推奨されないかも)  WorkGroup 環境でも利用可能(現時点では)  RoleCapability と SessionConfiguration を使用して構成  xJEA モジュールを使用する方法より、若干ステップ数が多い  Windows Server 2016 TP4 (PP1) or Windows Server 2012 R2 + WMF 5.0 RTM が必要  xJEA モジュールで実現していたいくつかの機能が PowerShell Core に取り込まれたことに より、xJEA モジュールに依存せず構成可能(今後推奨となる可能性が高い) 11
  • 12. xJEAモジュールを使用した構成  PS Remoting の有効化  Enable-PSRemoting / Set-Item wsman:¥localhost¥Client¥TrustedHosts -Value *  xJEA モジュールのインストール  Install-Module xJea  構成の記述  Show-JeaExamples – ISE でサンプルコンフィグを開く  Show-JeaWhitePaper – White Paper を開く (docx)  Show-JeaWhitpaper – TechED 2014 のスライドを開く (pptx)  DSC による構成の配布 12
  • 13. RoleCapability と SessionConfiguration による構成  Target Server をドメインに参加  PS Remoting の有効化  ACL 用のユーザー、グループを構成、(必要があれば)実行ユーザーの作成  Role Capability の記述  New-PSRoleCapabilityFile  Session Configuration の記述  New-PSSessionConfigurationFile  記述した Session Configuration を Endpoint として登録  Register-PSSessionConfiguration 13
  • 15. まとめ  JEA を利用することで、何ができるかを細かく制御可能  誰が、何を、どのような権限で実行するのか  Configuration は難しくない  何をどう制御したいかが決まっていれば、実装は書くだけ  運用設計、業務設計が重要 15
  • 16. 参考資料  Just Enough Administration (JEA) Infrastructure: An Introduction  https://gallery.technet.microsoft.com/Just-Enough-Administration-6b5ad370  Windows Management Framework 5.0  https://www.microsoft.com/en-us/download/details.aspx?id=50395  Windows Management Framework 5.0 Production Preview  https://www.microsoft.com/en-us/download/details.aspx?id=48729  PowerShell xJea Module  http://www.powershellgallery.com/packages/xJea/ 16