directory-service-cmd
create ms ad
AD=corp1.aws.panlm.xyz
PASS=passworD.1
VPC=vpc-0946
SUBNETS=subnet-056f,subnet-033c
aws ds create-microsoft-ad \
--name ${AD} \
--short-name ${AD%%.*} \
--password ${PASS} \
--edition Standard \
--vpc-settings VpcId=${VPC},SubnetIds=${SUBNETS}
MSDS_ID=d-xxxx
aws ds describe-directories \
--directory-ids ${MSDS_ID} \
--query DirectoryDescriptions[0].[Stage,DnsIpAddrs] \
--output text
create ms ad in default vpc
right-click & open-in-new-tab
active directory - windows 2012