Amazon FSx
Amazon FSx for Windows File Server
์ ๊ฒ ํ์ค SMB(Service Message Block) ํ๋กํ ์ฝ์ ํตํด ์ก์ธ์ค ํ ์ ์๋ ์์ ๊ด๋ฆฌ๋๊ณ ์์ ์ ์ธ ํ์ผ ์คํ ๋ฆฌ์ง ์ ๊ณต
Amazon FSx for Lustre
๊ธฐ๊ณํ์ต, ๊ณ ์ฑ๋ฅ ์ปดํจํ
(HPC), ๋น๋์ค ์ฒ๋ฆฌ, ์ฌ๋ฌด ๋ชจ๋ธ๋ง ๋ฐ EDA(Electronic Design Automation)์ ๊ฐ์ ์ํฌ๋ก๋์ ๋น ๋ฅธ ์ฒ๋ฆฌ์ ์ต์ ํ ๋ ๊ณ ์ฑ๋ฅ ํ์ผ ์์คํ
์ ๊ณต
URL : https://aws.amazon.com/ko/blogs/korea/new-amazon-fsx-for-lustre/
ํน์ง
์ ๊ทผ์ฑ ๋ฐ ํ๋กํ ์ฝ ์ง์
Amazon EC2 ์ธ์คํด์ค(Windows), Amazon WorkSpaces ๋ฑ์์ ์ฌ์ฉ๋จ.
SMB 2.0~3.1.1๊น์ง ์ง์
์ฑ๋ฅ ๋ฐ ํ๋ ๊ธฐ๋ฅ
FSx for Windows File Server๋ ์ผ๊ด๋ ๋ฐ๋ฆฌ์ด ๋ฏธ๋ง์ ์ง์ฐ ์๊ฐ์ ์ ๊ณต.
ํ์ผ ์์คํ ํฌ๊ธฐ์ ์ฒ๋ฆฌ๋(MB/s)์ ๊ฐ๊ฐ ์์ ๋กญ๊ฒ ๋ ๋ฆฝ์ ์ผ๋ก ์ค์ ๊ฐ๋ฅ.
ํฌ๊ธฐ : 32GB~64TB, ์ด๋น์ฒ๋ฆฌ๋ : 8MB/s~2GB/s
๊ด๋ฆฌ
AWS ๊ฐ์ฉ ์ญ์ญ ๋ด์์ ์ด์คํ๋์ด ์ ์ฅ
๋งค์ผ ์๋์ผ๋ก ์ฆ๋ถ ๋ฐฑ์ ์ด ์ํ๋๋ฉฐ, ์ถ๊ฐ ๋ฐฑ์ ์ ์์ฑํ ์๋ ์์
๋ณด์
์ฌ๋ฌ ๋ ๋ฒจ์ ์ก์ธ์ค ์ ์ด ๋ฐ ๋ฐ์ดํฐ ๋ณดํธ๊ฐ ์ ์ฉ
์๋ํฌ์ธํธ, ๋ณด์ ๊ทธ๋ฃน, Windows ACL, IAM ๋ฑ์ ํตํด์ ์ ์ด ๊ฐ๋ฅ
๋ฐ์ดํฐ ์ ์ก ๋ ๋์ ์ ์ฅ๋ ๋ ์ํธํ
๋ค์ค AZ ๋ฐฐํฌ
ํ์ผ ์์คํ ์ ๊ฐ๋ณ AWS ๊ฐ์ฉ ์์ญ์ ์์ฑ๋๋ฉฐ, Microsoft DFS(Distributed File System)๋ฅผ ์ฌ์ฉํ์ฌ ์์ญ๊ฐ ์๋ ๋ณต์ ๋ฐ ์ฅ์ ์กฐ์น
Microsoft DFS ๋ค์์คํ์ด์ค๋ฅผ ์ฌ์ฉํด ์ฌ๋ฌ ํ์ผ ์์คํ ์์ ๊ณต์ ๋๋ ๊ณตํต์ ๋ค์์คํ์ด์ค๋ฅผ ์์ฑ ๊ฐ๋ฅ
์ฌ์ ์กฐ๊ฑด
VPC-Subnet๋ด Active Directory(AWS service: Directory Service) ํ์
์ง์ ํ
ํด๋ผ์ด์ธํธ
AWS ์ธ์คํด์ค : EC2, WorkSpaces, AppStream 2.0
OS : Windows Server 2008, 2008 R2, 2012, 2012 R2, 2016, 2019
Vista, 7, 8, 8.1, 10
cifs-utils๋๊ตฌ๋ฅผ ์ฌ์ฉํ๋ Linux
์ก์ธ์ค ๋ฐฉ๋ฒ
๋ชจ๋ ํ์ผ ์์คํ ์ ๋ํ DNS(Domain Name System) ์ด๋ฆ์ ์ ๊ณตํจ. ์ด DNS ์ด๋ฆ์ ์ฌ์ฉํ์ฌ ์ปดํจํ ์ธ์คํด์ค์ ๋๋ผ์ด๋ธ ๋ฌธ์๋ฅผ FSx ํ์ผ ๊ณต์ ์ ๋งคํํ์ฌ ์ฌ์ฉํ๊ฒ ๋จ. ์) fs-0123456789abcdef0.ad-domain.com
๋คํธ์ํฌ
๊ธฐ๋ณธ์ ํ์ผ ์์คํ ๊ณผ ๋์ผํ VPC๋ด ๋ฆฌ์์ค์์๋ง ์ก์ธ์ค๊ฐ ๊ฐ๋ฅํ๋ค. ๊ทธ๋ฌ๋ ๋ค๋ฅธ ์๋น์ค์ ์ฐ๊ณ์ ๋ค๋ฅธ VPC, AWS ๊ณ์ , ์จํ๋ ๋ฏธ์ค์์๋ ์ก์ธ์ค๊ฐ ๊ฐ๋ฅํ๋ค.
On-premises <-> FSx : AWS Direct Connect or AWS VPN
๋ค๋ฅธ VPC or ๊ณ์ <-> FSx : VPC peering or Trasit Gateway
๊ฐ์ฉ์ฑ
๋ฐฐํฌ ํ์ ํน์ง
Type
SSD
HDD
DFS namespaces
DFS replication
Custom DNS name
CA shares
Single-AZ1
โ
โ
โ
โ
Single-AZ2
โ
โ
โ
Coming soon
โ*
Multi-AZ
โ
โ
โ
Coming soon
โ*
Multi-AZ์์๋ ๋ค์๊ณผ ๊ฐ์ ์ํฉ์ ์๋ Failover๊ฐ ์ง์๋๋ค.
๊ฐ์ฉ์์ญ ์ค๋จ
์ฌ์ฉ๋ถ๊ฐ๋ฅ ํ๊ฑฐ๋ ์ ์ง๋ณด์ ์ค์ธ ๊ฒฝ์ฐ
Failover์ ํ๋์ํ๋ฅผ ๊ฐ์งํ๊ณ ์ ํ๋๋๋ฐ 30์ด ์ด๋ด๊ฐ ์๋น๋๋ค. โป DNS๊ธฐ๋ฐ์ failover ๋ฐฉ์์ ๋ฆฌ๋ ์ค์์๋ ์๋์ผ๋ก ๋์ํ์ง ์๋๋ค.
Multi-AZ๋ ์๋ธ๋ท ๋๊ฐ ์ ํ, Single-AZ๋ ํ๋์ ์๋ธ๋ท๋ง ์ ํ
๋น์ฉ ์ต์ ํ
์ํฌ๋ก๋ ์๊ตฌ ์ฌํญ์ ๋ฐ๋ฅธ SSD/HDD ์ ํ
๋ฐ์ดํธ ์ค๋ณต ์ ๊ฑฐ ํ์ฑํ ๊ฐ๋ฅ (powershell ํตํด์ ์ค์ )
Active Directory
Amazon FSx๋ฅผ ์ฌ์ฉํ์ฌ ํ์ผ ์์คํ ์ ์์ฑํ๋ฉด ํด๋น ํ์ผ ์์คํ ์ Active Directory ๋๋ฉ์ธ์ ๊ฐ์ ์์ผ ์ฌ์ฉ์ ์ธ์ฆ ๋ฐ ํ์ผ ๋ฐ ํด๋ ์์ค ์ก์ธ์ค ์ ์ด ๊ฐ๋ฅ.
AWS ๊ด๋ฆฌํ Microsoft AD
์์ฒด ๊ด๋ฆฌ AD
DFS ๋ค์์คํ์ด์ค
๋ค๋ฅธ ์๋ฒ์ ์๋ ๊ณต์ต ํด๋๋ฅผ ํ๋ ์ด์์ ๋ ผ๋ฆฌ์ ์ผ๋ก ๊ตฌ์ฑ๋ ๋ค์์คํ์ด์ค๋ก ๊ทธ๋ฃนํํ ์ ์๋๋ก ํ๋ Windows Server์ ์ญํ ์๋น์ค. DFS ๋ค์์คํ์ด์ค๋น 50,000์ด์์ ๊ณต์ ๊ฐ์์ 3EiB์ฌ์ด์ฆ ๊ฐ๋ฅ

ํ์์กฐ๊ฑด : DFS ๋ค์์คํ์ด์ค ์๋ฒ ์
Windows ํ์ผ ์๋ฒ์ฉ Amazon FSx๋ Microsoft์ DFS (Distributed File System) ๋ค์ ์คํ์ด์ค ์ฌ์ฉ์ ์ง์.
DFS ๋ค์์๋ฒ ๊ตฌ์ฑ CloudFormation Template URL link
์ค์ต
Tutorial: https://github.com/aws-samples/amazon-fsx-tutorial/tree/master/windows-file-server


FSx windows w/workshop
workshop template in S3 : https://s3.amazonaws.com/amazon-fsx/workshop/windows-file-server/templates/fsx-windows-od-workshop.yaml
์์ฑ ์๊ฐ : ์ฝ 40~50์ฌ๋ถ..
FSx ๋ด์ฉ ์ค๋ช
Windows Filesystem Mount
์๋์ฐ ์ ์ password๋ sectet์ ์ ์ฅ๋จ.
Network Drive mapping z:๋๋ผ์ด๋ธ์ DNS Name ์ฐธ๊ณ ํด์ ์ฐ๊ฒฐ (e.g. "amznfsx0123abcde.example.com")
ํ์ผ&ํด๋ ์์ฑ ํ ์คํธ
Linux Filesystem Mount
Linux ์ ์ key pair ํตํด์ ์ ์
cifs ์ฐ๊ฒฐ password๋ sectet์ ์ ์ฅ๋จ.
sudo yum install cifs-utils -y
mountpoint=/fsx dnsname="dns_name" # e.g. "amznfsx0123abcde.example.com" username="admin@example.com"
sudo mkdir -p ${mountpoint} sudo mount -t cifs //${dnsname}/share ${mountpoint} -o vers=2.0,user=${username}
3. ์ฐ๊ฒฐ ํ์ธ
mount -t cifs
ll /fsx
time tree --du -h /fsx์ถ๊ฐ ๊ณต์ ํด๋ ์์ฑ
์๋์ฐ ์ ์
Powershell์์
fsmgmt.msc์คํNew share.. ์ํ application, dataํด๋ ์์ฑํ๊ณ ์ ์ฒด ๊ถํ ๊ณต์ ๋ง๋ค๊ธฐ
Windows Remote PowerShell ์ํ
$WindowsRemotePowerShellEndpoint = "windows_remote_powershell_endpoint" # e.g. "amznfsx0123abcde.example.com" enter-pssession -ComputerName ${WindowsRemotePowerShellEndpoint} -ConfigurationName FsxRemoteAdmin
Get-Command # ๋์๋ง
Get-FSxSmbShare # ๊ณต์ฐํด๋ ๋ชฉ๋ก
Get-FSxSmbSession # ์ ์ ์ธ์
์ ๋ณด
Get-FSxSmbServerConfiguration # ์๋ฒ ์ ๋ณด
Get-FSxSmbShareAccess # ๊ณต์ ํด๋ ์ ๊ทผ ๊ถํ ์ ๋ณดLast updated
Was this helpful?