실천 CloudFormation Workspaces 편
13035 단어 workspacesCloudFormationAWS
우선 조금 설정하지 않으면 갈 수 없으므로 WorkSpaces로 이동합니다.
AD 및 검색에서 Active Directory 선택

CloudFormation에서 만든 AD 선택

앱 및 서비스 항목에서 WorkSpcaes 선택

이동사키는 이런 느낌

WorkSpaces 항목을 선택하고 WorkSpaces 시작을 클릭합니다.

서브넷을 선택합니다.
여기에서는 VPC 편으로 만든 라우팅 테이블에 연결하는 공용 서브넷이 좋습니다.

다음 단계를 선택합니다.

사용자 정보를 입력하고 사용자 만들기를 클릭합니다.

준비는 이상입니다.
이번에 하고 싶었던 것은
AD를 WorkSpaces에 연결하고 서브넷을 등록해야 했으며 사용자를 한 명 추가해야 합니다.
이제 CloudFormation으로 돌아갑시다.
그 1

WorkSpaces.yaml 선택
다양한 설정
OwnBnadleId 없이도 OK

다양한 설정은 데포에서 스택 생성을 수행합니다.
완성! !

완성 후 기동
다음과 같은 메일이 도착하므로 WorkSpaces를 시작합시다.

비밀번호 설정

클라이언트 소프트웨어 다운로드

앱을 시작하고 비밀번호 입력

움직였다! !

공유 폴더(FSx)에 액세스할 수 있는지 확인! !

파일 작성이 가능한지 확인! !
₩₩amznfsxorunjwor.sample.example.com₩share

이제 원격 환경을 만들었습니다! !
수고하셨습니다.
소스 코드 확인
문서
AWSTemplateFormatVersion: "2010-09-09"
Description: "Create Workspaces"
Mappings:
WSTypeMap:
Standard-with-Windows-10-Japanese:
BundleId: wsb-0ngbndd5g
Value-with-Windows-10-Japanese:
BundleId: wsb-gwwsvq6xr
Performance-with-Windows-10-Japanese:
BundleId: wsb-dk55sygy0
Parameters:
WorkstationType:
AllowedValues:
- Standard-with-Windows-10-Japanese
- Value-with-Windows-10-Japanese
- Performance-with-Windows-10-Japanese
Description: Select the type of workstation
Default: Standard-with-Windows-10-Japanese
Type: String
OwnBundleId:
Type: String
MinLength: '0'
MaxLength: '63'
Default: ""
AllowedPattern: "(^$|^wsb-[0-9a-z]*$)"
ConstraintDescription: BundleId format is blank or wsb-[alphanumeric characters]. Min characters 8, Max characters 63.
UserVolumeSizeGibValue:
Type: "Number"
Default: 50
AllowedValues:
- 10
- 50
- 80
RootVolumeSizeGibValue:
Type: "Number"
Default: 80
AllowedValues:
- 80
# 前提:事前にuserが作成済み(コンソールから作成)
UserNameValue:
Type: "String"
MinLength: '1'
MaxLength: '63'
Default: "username"
AllowedPattern: "[a-zA-Z][a-zA-Z0-9]*"
ConstraintDescription: must use only alphabet characters. Min 1 Max 63.
PJPrefix:
Description: Enter a prefix of this system.
Type: String
Default: "test"
AllowedPattern: "[a-zA-Z][a-zA-Z0-9][ -~]*"
ConstraintDescription: must begin with a letter and contain only alphanumeric characters.
Conditions:
WSBundleId: !Equals [ !Ref OwnBundleId, "" ]
Resources:
WorkSpacesWorkspace:
Type: "AWS::WorkSpaces::Workspace"
Properties:
DirectoryId: { "Fn::ImportValue": !Sub "${PJPrefix}-windows-ad" }
UserName: !Ref UserNameValue
BundleId:
Fn::If: [ WSBundleId,
!FindInMap [
WSTypeMap,
!Ref WorkstationType,
BundleId
],
!Ref OwnBundleId
]
RootVolumeEncryptionEnabled: false
UserVolumeEncryptionEnabled: false
WorkspaceProperties:
RunningMode: "AUTO_STOP"
RunningModeAutoStopTimeoutInMinutes: 60
RootVolumeSizeGib: !Ref RootVolumeSizeGibValue
UserVolumeSizeGib: !Ref UserVolumeSizeGibValue
ComputeTypeName: "STANDARD"
Tags:
- Key: Name
Value: !Sub ${PJPrefix}-WS
Outputs:
WorkSpaces:
Value: !Ref WorkSpacesWorkspace
Export:
Name: !Sub ${PJPrefix}-windows-ws
Reference
이 문제에 관하여(실천 CloudFormation Workspaces 편), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/kazumasamatsumo/items/0d2e2991bf674a894103텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)