Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

개발자를 위한 Amazon Lightsail Deep-Dive - 정창훈(당근마켓)

5,489 views

Published on

AWSKRUG 신년 콘퍼런스 - re:Invent 특집
AWS가 선보인 가상 서버 호스팅은 개발자를 위한 개인 서버 및 소규모 웹 사이트 운영에 적합합니다. API를 통한 관리 방법 및 활용법을 데모와 함께 소개합니다.

Published in: Technology
  • Sex in your area is here: ❶❶❶ http://bit.ly/2F4cEJi ❶❶❶
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Dating direct: ❤❤❤ http://bit.ly/2F4cEJi ❤❤❤
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • accessibility Books Library allowing access to top content, including thousands of title from favorite author, plus the ability to read or download a huge selection of books for your pc or smartphone within minutes ,Download or read Ebooks here ... ......................................................................................................................... Download FULL PDF EBOOK here { https://urlzs.com/UABbn }
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • accessibility Books Library allowing access to top content, including thousands of title from favorite author, plus the ability to read or download a huge selection of books for your pc or smartphone within minutes DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ...................................ALL FOR EBOOKS................................................. Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • (Unlimited)....ACCESS WEBSITE Over for All Ebooks ................ accessibility Books Library allowing access to top content, including thousands of title from favorite author, plus the ability to read or download a huge selection of books for your pc or smartphone within minutes ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M }
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

개발자를 위한 Amazon Lightsail Deep-Dive - 정창훈(당근마켓)

  1. 1. Amazon Lightsail Deep-Dive (@seapy) -
  2. 2. AWS re:invent 2016
  3. 3. , , &
  4. 4. Lightsail VPS AWS EC2 EC2, EBS, Key Pair, Security Group, Elastic IP... EC2 / / , EBS , ...
  5. 5. (IP, Stop, Restart)
  6. 6. SSH
  7. 7. Lightsail No-nonsense pricing?
  8. 8. • : $0.0067/ ($5/ ) • : $0.09/ • : $0.05/ • 20 $1 • • IP : $0.005/ • DNS • 3 DNS • $0.40/
  9. 9. • $5 750 • AWS
  10. 10. • : 20 • IP : 5 • DNS : 3
  11. 11. • • •
  12. 12. • • CLI, SDK •
  13. 13. CLI • SSH Key • / , / / • • / • .
  14. 14. CLI • • •
  15. 15. CLI $ pip install --upgrade awscli
  16. 16. IAM Policy { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "lightsail:*" ], "Resource": "*" } ] }
  17. 17. • • $ aws lightsail --region ap-northeast-2 get-regions Could not connect to the endpoint URL : "https://lightsail.ap-northeast-2.amazonaws.com/"
  18. 18. $ aws lightsail --region us-east-1 --include-availability-zones get-regions { "regions": [ { "name": "us-east-1", "availabilityZones": [ { "zoneName": "us-east-1b", "state": "available" }, { "zoneName": "us-east-1c", "state": "available" },
  19. 19. $ aws lightsail get-bundles
  20. 20. { "bundles": [ { "price": 5.0, "cpuCount": 1, "diskSizeInGb": 20, "bundleId": "nano_1_0", "instanceType": "t2.nano", "power": 300, "ramSizeInGb": 0.5, "transferPerMonthInGb": 1000 }, ... ] }
  21. 21. • $5, nano_1_0, t2.nano • $10, micro_1_0, t2.micro • $20, small_1_0, t2.small • $40, medium_1_0, t2.medium • $80, large_1_0, t2.large
  22. 22. EC2 • t2.nano(EC2 vs Lightsail) • $0.0059/ vs $0.007/ • 1 $2.8/ vs $5/ • t2.large(EC2 vs Lightsail) • $0.094/ vs $0.108/ • 1 $45.75/ vs $80/ EBS 20 ($2) t2.nano Lightsail Lightsail 1TB $90
  23. 23. blueprint • • OS wordpress $ aws lightsail get-blueprints
  24. 24. { "blueprints": [ { "blueprintId": "amazon_linux_2016_09_0", "name": "Amazon Linux", "group": "amazon-linux", "type": "os", ... { "blueprintId": "ubuntu_16_04", "name": "Ubuntu", "group": "ubuntu", "type": "os", ... { "blueprintId": "wordpress_4_6_1", "name": "WordPress", "group": "wordpress", "type": "app", ...
  25. 25. $ aws lightsail create-instances --instance-names reinvent --availability-zone us-east-1b --blueprint-id ubuntu_16_04 --bundle-id nano_1_0
  26. 26. IP $ aws lightsail get-instance --instance-name reinvent
  27. 27. { "instance": { "name": "reinvent", ... "privateIpAddress": "172.1.1.1", "publicIpAddress": "1.2.3.4", ... "state": { "code": 16, "name": "running" }, "username": "ubuntu", "sshKeyName": "LightsailDefaultKeyPair" } } state.name running publicIpAddress
  28. 28. SSH key • key pair • key pair • key pair
  29. 29. key pair $ aws lightsail --query 'privateKeyBase64' --output text download-default-key-pair > ~/.ssh/lightsail.pem && chmod 400 ~/.ssh/lightsail.pem
  30. 30. $ ssh -i ~/.ssh/lightsail.pem ubuntu@1.2.3.4
  31. 31. • • CLI $ aws lightsail create-instance-snapshot --instance-name reinvent --instance-snapshot-name reinvent-snapshot
  32. 32. $ aws lightsail delete-instance --instance-name reinvent
  33. 33. • ssh, http (https ) • Lightsail AWS EC2 , Elastic IP, , • VPC Lightsail AWS VPC (RDS ) • EBS Lightsail ? X
  34. 34. ? • EC2 EC2 • EC2 VPS Lightsail • Lightsail • , Lightsail • CLI ID Lightsail
  35. 35. • https://amazonlightsail.com/docs/#faq • AWS re:Invent 2016: NEW LAUNCH! Introducing Amazon Lightsail (CMP206) • https://youtu.be/lpBRxoNrhhc • Amazon Lightsail – (VPS) • https://aws.amazon.com/ko/blogs/korea/amazon-lightsail-the- power-of-aws-the-simplicity-of-a-vps/

×