Skip to content

Instantly share code, notes, and snippets.

@wesky93
Last active May 18, 2018 12:09
Show Gist options
  • Save wesky93/7bab93cf680235e197391f0dc4bdec03 to your computer and use it in GitHub Desktop.
Save wesky93/7bab93cf680235e197391f0dc4bdec03 to your computer and use it in GitHub Desktop.
AWSKRUG 핸드온2018 서버리스 데이터레이크 Cloud9 구축 템플릿
AWSTemplateFormatVersion: "2010-09-09"
Description: 개발용 환경 구축
Resources:
DevServer:
Type: "AWS::Cloud9::EnvironmentEC2"
Properties:
OwnerArn: !Sub 'arn:aws:iam::${AWS::AccountId}:user/datalake_2018'
Description: "헨드온 실습진행에 사용할 cloud9"
AutomaticStopTimeMinutes: 20
InstanceType: t2.micro
Name: HandsOnCloud9
@wesky93
Copy link
Author

wesky93 commented May 18, 2018

배포시
aws cloudformation create-stack --stack-name sls-datalake-init --template-body https://gist.githubusercontent.com/wesky93/7bab93cf680235e197391f0dc4bdec03/raw/690430e1aaf1ca9445a5b5c93844f7b87d7b2ed6/Cloud9.yml --region ap-southeast-1 --profile datalake

삭제시
aws cloudformation delete-stack --stack-name sls-datalake-init --region ap-southeast-1 --profile datalake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment