Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

[Japan Tech summit 2017] DEP 006

287 Aufrufe

Veröffentlicht am

[Japan Tech summit 2017] DEP 007 セッション資料

Veröffentlicht in: Technologie
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier

[Japan Tech summit 2017] DEP 006

  1. 1. Microsoft Tech Summit 2017本情報の内容(添付文書、リンク先などを含む)は、Microsoft Tech Summit 2017 開催日(2017 年 11 月 8日 - 9 日)時点のものであり、予告なく変更される場合があります。
  2. 2. PS C:> Get-Profile -Name “Shuhei Uda” | Format-List 名前 : 宇田 周平 職種 : サポート エンジニア 2015/12 – 2017/11 Azure (IaaS / Networking) 2013/06 – 2015/11 Windows (Hyper-V / RDS / Performance)
  3. 3. 「何もしてないのに壊れました」 「Windows Update したら調子が悪い」
  4. 4. データのバックアップ・リストア アプリケーションの再インストール
  5. 5. # 実行ポリシーを設定 (要管理者権限) Set-ExecutionPolicy RemoteSigned -Force # Provider を検索 Find-PackageProvider -Force # Provider を登録 Get-PackageProvider -Name Chocolatey -ForceBootstrap # パッケージ検索 Find-Package # インストール Install-Package -Name Firefox -Force Install-Package -Name teraterm -Force
  6. 6. 0 500 1000 1500 2000 2500 3000
  7. 7. PS C:> <Do> - <Something> (取得) Get - AzureVM (作成) New - AzureStorageAccount (変更) Set - AzureRmVirtualNetwork (削除) Remove - AzureRmPublicIpAddress # Get-AzureVM: クラシック デプロイ モデル向け # Get-AzureRmVM: リソース マネージャー モデル向け
  8. 8. # まずは Get-AzureRmXXXX から始めましょう! PS C:> Get-AzureRmVm ResourceGroupName Name Location VmSize OsType ----------------- ---- -------- ------ ------ ArmResourceGroup LinuxVM EastAsia Basic_A0 Linux ArmResourceGroup WindowsVM EastAsia Standard_DS2_v2 Windows # Get コマンドだけでも様々な情報が取得できますし、 # 情報取得のみであれば、環境を壊すこともありません
  9. 9. $VM = Get-AzureRmVM $StorageAccount = Get-AzureRmStorageAccount $VirtualNetwork = Get-AzureRmVirtualNetwork $ResourceGroup = Get-AzureRmResourceGroup $PublicIpAddress = Get-AzureRmPublicIpAddress $NetworkInterface = Get-AzureRmNetworkInterface $NetworkSecurityGroup = Get-AzureRmNetworkSecurityGroup $LoadBalancer = Get-AzureRmLoadBalancer # Get-Command Get-AzureRm* でコマンドの一覧が取得可能
  10. 10. 参考: https://github.com/ShuheiUda/Get-SubscriptionDetails
  11. 11. management.core.windows.net management.azure.com Resource Provider REST API Endpoint PowerShell Console User Input 2. HTTP Request (Get / Put) 1. コマンド入力 (ex. New-AzureRmVM) 4. HTTP Response (200 / 404 / 503) 3. 内部処理 5. 結果を出力
  12. 12. management.core.windows.net management.azure.com Resource Provider REST API Endpoint PowerShell Console User Input 2. HTTP Request2. HTTP Request (Get / Put) 1. コマンド入力 (ex. New-AzureRmVM) 4. HTTP Response (200 / 404 / 503) 3. 内部処理 5. 結果を出力 • xxxx は、コマンドレット、関数、スクリプト ファイル、 または操作可能なプログラムの名前として認識されません。 • パラメーター名 ‘xxxx' に一致するパラメーターが見つかりません。 • パラメーター 'VM' をバインドできません。“xxxx" の値を "System.String" 型から "Microsoft.Azure.Commands.Compute.Models.PSVirtualMachine" 型に変換できません。 etc…
  13. 13. management.core.windows.net management.azure.com Resource Provider REST API Endpoint PowerShell Console User Input 2. HTTP Request2. HTTP Request (Get / Put) 1. コマンド入力 (ex. New-AzureRmVM) 4. HTTP Response (200 / 404 / 503) 3. 内部処理 5. 結果を出力 • この要求の送信中にエラーが発生しました。
  14. 14. management.core.windows.net management.azure.com Resource Provider REST API Endpoint PowerShell Console User Input 2. HTTP Request2. HTTP Request (Get / Put) 1. コマンド入力 (ex. New-AzureRmVM) 4. HTTP Response (200 / 404 / 503) 3. 内部処理 5. 結果を出力 • InternalError: The server encountered an internal error. Please retry the request.
  15. 15. PS C:> Get-AzureRmVMBootDiagnosticsData -Name <VMName> -ResourceGroupName <RGName> -Windows -LocalPath <C:logs> 1. 時刻がずれていないかを確認 (OS がハングアップしていないか) 2. ネットワーク接続状況を確認
  16. 16. PS C:> Get-AzureRmEffectiveNetworkSecurityGroup -NetworkInterfaceName <NICName> -ResourceGroupName <RGName>
  17. 17. PS C:> Test-AzureRmTraffic.ps1 -VMName VMName -SourceIPv4Address <IP> -SourcePort <Port> -DestinationIPv4Address <IP> -DestinationPort <Port> -Protocol <TCP/UDP> -Direction <Inbound/Outbound> # ダウンロード先 # https://github.com/ShuheiUda/Test-AzureRmTraffic
  18. 18. PS C:> Test-AzureRmTraffic.ps1 -VMName Name -SourceIPv4Address 203.0.113.4 -SourcePort 65000 -DestinationIPv4Address 10.0.0.4 -DestinationPort 443 -Protocol TCP -Direction Inbound Access : Deny Priority : 4096 Name : securityRules/DenyAll Protocol : All SourceAddressPrefix : 0.0.0.0/0 SourcePortRange : 0-65535 DestinationAddressPrefix : 0.0.0.0/0 DestinationPortRange : 0-65535 Direction : Inbound
  19. 19. PS C:> Test-AzureRmTraffic.ps1 -VMName Name -SourceIPv4Address 203.0.113.4 -SourcePort 65000 -DestinationIPv4Address 10.0.0.4 -DestinationPort 3389 -Protocol TCP -Direction Inbound Access : Allow Priority : 1000 Name : securityRules/default-allow-rdp Protocol : Tcp SourceAddressPrefix : 0.0.0.0/0 SourcePortRange : 0-65535 DestinationAddressPrefix : 0.0.0.0/0 DestinationPortRange : 3389-3389 Direction : Inbound
  20. 20. # 本日の資料はこちら http://aka.ms/DEP006
  21. 21. ■  https://www.powershellgallery.com/ ■  https://channel9.msdn.com/Events/de-code/2016/INF-009 ■  https://qiita.com/jca02266/items/a0c71ae90d055ab3893c ■  http://winscript.jp/powershell/
  22. 22. ■  https://docs.microsoft.com/ja-jp/powershell/azure/overview ■  https://github.com/Azure/azure-powershell ■  https://www.syuheiuda.com/?p=3489 ■  https://blogs.technet.microsoft.com/jpaztech/

×