93
20131030 アマゾンデータサービスジャパン AWS Basic トレーニング Windows Server 2012

AWS 初級トレーニング (Windows Server 2012編)

Embed Size (px)

Citation preview

  • 1. AWS Basic Windows Server 2012 20131030

2. ! ! ! ! ! ! AWS Amazon EC2 EC2 EC2 EC2AMI Amazon EC2 3. AWS 4. AWS AWS ! PC ! http://aws.amazon.com/jp/register-ow/ ()http://www.slideshare.net/kentamagawa/3aws! http://console.aws.amazon.com/! Intern Explorer 9FireFox Chrome 5. Amazon EC2Amazon EC2? 6. Amazon EC? ! ! ! ! AWS EC2 7. Amazon EC ! ! CPURAM! ! EBS ! OS// LinuxWindows Server 2012! 2IP ! 8. AZEC2 () A BEC2EC2 GovCloud! = 9 (GovCloud) ! ( : AZ) ! (AZ) AZ ( ) ! 9. ! = ! () CPU 10. EBS ! EC2EBS (Elastic Block Store) ! EC21( )EBS EC2 CPUEBS 11. : EBS (Elastic Block Store) AZ - aAZ - bEC2 EC2 EBS EBSEBSEBSAmazon S3! EBSEC2 1GB1TB //IO 1EC2EBS ! EC2 () ! (AZ) ! ! EBSS3 ! EBS (AZ)EBS Copyright 2011 Amazon Web Services 12. : EBS vs (Ephemeral Storage) AZ - a EC2 EBS EBSAmazon S3 EBS ! EBS () EBS DB ! (Ephemeral Disk) ( ) Copyright 2011 Amazon Web Services 13. OS// & 14. 2IP ! 2 Public DNS (*.amazonaws.com) Private DNS(*.internal) Private IP ! PublicIP Elastic IP Addresses (EIP) EC2 15. ! 3 Running : Stop Stopped Stopped : StartRunning Terminated: TerminateStop/StartAMIlaunchRunning Terminate StopTerminated Start TerminateStopped 16. Amazon EC2EC2 17. AWS Management Console ! AWSAWS Management Console 1. [/] 2. [AWS Management Console] 18. AWS Management Console ! AWS1. 2. 3. 19. AWS Management Console ! AWS Management Console[] AWS 20. EC2 ! () () () (T1 Micro) () 1 AMI (/ ) Windows Server 2012 AMI 64bit () 3389 (RDP)80 (HTTP) 21. Amazon EC2 ! EC2 1. [Services]2. [All AWS Services]3. [EC2] 22. ! () 1. 2. Asia Pacic (Tokyo) 23. Key Pair ! Key Pair1 ! AWSEC2 ! Windows ! AWS EC2 EC2 2 24. ! ! LabKey DevKey ProdKey 25. Key Pair ! Key Pair( mykey) ! Create & Download your Key Pair ! Key PairSSH(mykey.pem) ! Administrator 26. Key Pair ! EC2-> Tokyo->Key Pairs ! Create Key Pair Key Pair( mykey ) ! mykey.pem 27. Key Pairs ! EC2-> Key Pairs Key Pairs mykey.pem 28. Key Pair ! Key Pair Key Pair( mykey ) ! Key Pairs Key Pairs PCmykey.pem ! Key Pair Key Pair Key Pair 29. Security Group 25 (SMTP)! Semi-stateful ! ! ( TCP/UDP) IP / Security Group! ! Security Group Security Group 80 (HTTP) 3389 (RDP)EC2 EC2 30. Security Group ! Security Group! ! ! ! Security Group Security Group (HTTP, RDP, ) IPID ! Security Group http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/glossary.html#d0e41681 ! Security Group http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/using-network- security.html 31. Security Group ! Security Group WebDB! ! Security Group sg-1234sg-abcdsg-abcdDBWeb22: 0.0.0.0/0 3306: sg-1234sg-1234 22: 0.0.0.0/0 80: 0.0.0.0/0 25: sg-1234 Websg-xyzsg-1234Web 32. Security Group ! Security Group ( my_sg) ! VPCSecurity Group 33. Security Group ! Security Group ! Web Create a new rule3389(RDP) 80(HTTP)Add Rule ! Apply Rule Changes 34. Security Groups ! EC2-> Security Groups Security Group Inbound 35. Security Group ID ! Security Group ID Security Groupdefault sg-0022bb01 36. Security Group ! Security Group Security GroupGroup TokyoEC2Security Group ! Add Rule Apply Rule Changes 37. ! 1. [EC2 Dashboard]2. [Launch Instance] 38. AMI ! Community AMIsWindows_Server-2012-RTM- Japanese-64Bit-BaseSelect 39. ! Micro 40. ! Number of instances1 41. ! 42. ! KeyNameValue ! 43. Security Groups ! Security Groups Security Group 44. ! Request Instances Wizard Launch 45. Key Pair ! Key Pair Key Pair Key PairAdmin 46. ! Instances ! ! Status Checks 47. ! Security GroupKey Pair! 48. EC2 ! EC2 AMI: Windows Server 2012 t1.micro Security Group: Key Pair: 49. Amazon EC2EC2 50. RDP ! KeyPair( *.pem) ! RDP Public DNS Administrator 51. Windows ! 1015 ! ConnectGet Password xxx.pem-----BEGIN RSA PRIVATE KEY----------END RSA PRIVATE KEY----- Decrypt Password 52. Windows ! ConnectDownload Remote Desktop FilrPublic DNS ! Administrator 53. RDP ! ! ! SecurityGroup 3389(RDP) ! Key Pair 54. Windows Server 2012 ! 55. Windows Server 2012 ! ! 56. WebGUI ! Internet Information ServiceIIS) 57. WebGUI ! IIS ! 58. WebGUI ! ! WebIIS 59. WebGUI ! ! 60. WebGUI ! 61. WebGUI ! ! http://Public DNS/! Security Group 80(HTTP) Internet Information Service(IIS) 62. WebPowershell ! PowerShellInternet Information ServiceIIS) Add-WindowsFeature Name Web-Server! http://Public DNS/! Security Group 80(HTTP) Internet Information Service(IIS) Get-Service W3SVC 63. ! Stop ! Staterunningstopped ! RDPWeb 64. ! Start ! Statestoppedrunning ! RDP 65. ! Terminate ! Stateterminated 66. EC2 ! RDPWeb! Stop/Start/Terminate Stop->Start ! StopChange Instance Type Terminate Change Termination Protection Terminate 67. Stamp EC2AMI 68. AMI AMI (Amazon Machine Image) EBS-Backed AMIS3-Backed AMI (2009) ! EC2/ ! EC2 EC2 EC2 !Copyright 2012 Amazon Web Services 69. AMI AMI Availability ZoneAvailability ZoneAMI ! AWSAMI Instance AMI Amazon Linux AMI! AMI (AMI) ! AMIEC2 Custom AMIAMI https://aws.amazon.com/amis/ https://aws.amazon.com/ marketplace/Amazon Simple Storage Service (S3)! AMI 70. AMI AMI ! AMI ! ! AMI ! AMI ! 71. EC2CongServices ! EC2 ! EC2 CongService Settings ! Windows Set Computer Name User Data Eventlog Wallpaper Information 72. Sysprep ! Sysprep ! ImageRandomShutdown with Sysprep EC2Cong.exe sysprep! ! OS 73. AMI Create Image AMI No Reboot Reboot AMI 74. AMI AMIs ViewingOwned By Me 75. AMI 2 AMIs AMILaunch AMI 76. AMI AMIs AMI Permissions PrivatePublic ID De-register AMIAMI 77. AMI ! AMI( Windows Server 2012) ! Internet Information Service (IIS) GUIPowerShell! AMI Sysprep 5-10! AMI AMI Internet Information Service(IIS) 78. AMI AWSAMI ! AMI ! AWS Marketplace https://aws.amazon.com/marketplace/ ! Microsoft Windows Server & SQL ServerAmazon EC2 http://aws.amazon.com/jp/windows/! EBS-Backed AMI http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/creating-an- ami-ebs.html! AMI http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/AESDG- chapter-usingsharedamis.html#usingsharedamis-security 79. Amazon EC2 80. AWS http://aws.amazon.com/jp/free/! 1 ! EC2 EC2 Linux 750 Microsoft Windows Server 750 EBS 30 GB 200 I/O 1GB 15 GB 81. RD GatewayWindows ! RDPTCP:3389 81 82. AWSAZ www.example.comWeb App DB A DB Web App DB B 83. SQL Server AlwaysOn on AWS ! Windows Server Failover Cluster ManagerSQL Server 2012 AWS ! AWSSQL Server Domain ControllerSQL Server DBSQL Server DBDomain Controller Availability ZoneAvailability Zone AWS Cloud 84. ! AWS Exchange Server 2010 SharePoint Server 2010 SQL Server 2008 R2 Enterprise! SA http://www.microsoft.com/ja-jp/licensing/software- assurance/license-mobility.aspx! 111 1 85. ! RUP RUP 2012 http://www.microsoftvolumelicensing.com/Downloader.aspx? DocumentId=4858! Exchange Server 2010 SharePoint Server 2010 SQL Server 2008 R2 Enterprise! Windows OS 86. SharePoint on AWS 87. AWS Tools for Windows PowerShell ! AWS 550 AWS SDK for .NET! ! EC2, S3 http://aws.amazon.com/jp/powershell/87 88. AWS SDK for .NET ! AWS SDK for .NET AmazonAWS.NET SDK http://aws.amazon.com/sdkfornet/ .NET Framework 3.5 C#Visual Basic 89. AWS Toolkit for Visual Studio ! Visual Studio ! AWS SDK for .NET ! AWS Elastic Beanstalk/AWS CloudFormation .NET 90. Petboard ! ASP.NET http://aws.amazon.com/ articles/3592? _encoding=UTF8&jiveRedire ct=1! SimpleDBS3 SimpleDB S3 ASP.NET 91. Next Step! 92. AWS ! ! ! ! BP2/7 E 93. AWS 1. -> Terminate2.AMI AMI-> De-Register3. ->Delete Snapshot4. ->Delete VolumeSecurity Group, Key Pair