SlideShare a Scribd company logo
May, 25th, 2017
JinYeong Wang
Parallel Computing Lab.
Mechanical Engineering
Hanyang University
AWS Distributed Deep Learning
기본 인스턴스 제한
• https://aws.amazon.com/ko/ec2/faqs/#How_many_instances_can_I_run_in_Amazon_EC2
기본 인스턴스 제한 숫자 증가 요청
• https://aws.amazon.com/contact-us/ec2-request
인스턴스 제한 증가 요청을 하지 않았을 시 볼 수 있는 에러
Create New Stack in CloudFormation
Select Template
• Template from https://github.com/awslabs/deeplearning-cfn
Specify Details
• CIDR IP from http://www.ipaddressguide.com/cidr#range
Skip Options
Review
Create Complete
EC2 – Auto Scaling Groups
Master Instance
Master Instance IP and DNS
Putty Configuration
Putty Configuration
Putty Configuration
Putty Configuration
Putty Configuration
Run MXNet Distributed Learning
• #terminate all running Python processes across workers while read -u 10 host;
do ssh $host "pkill -f python" ; done 10<$DEEPLEARNING_WORKERS_PATH
• #navigate to the mnist image-classification example directory cd
~/src/mxnet/example/image-classification
• #run the MNIST distributed training example ../../tools/launch.py -n
$DEEPLEARNING_WORKERS_COUNT -H $DEEPLEARNING_WORKERS_PATH python
train_mnist.py --gpus $(seq -s , 0 1 $(($DEEPLEARNING_WORKER_GPU_COUNT - 1)))
--network lenet --kv-store dist_sync
Reference
• AWS를 통한 분산 딥러닝 구성하기
– https://aws.amazon.com/ko/blogs/korea/distributed-deep-learning-made-easy/
• Github AWS Distributed Deep Learning Templete
– https://github.com/awslabs/deeplearning-cfn
• Securely Connect to Linux Instances Running in a Private Amazon VPC
– https://aws.amazon.com/ko/blogs/security/securely-connect-to-linux-instances-running-in-a-private-
amazon-vpc/
• Putty를 사용하여 Windows에서 Linux 인스턴스에 연결
– http://docs.aws.amazon.com/ko_kr/AWSEC2/latest/UserGuide/putty.html
• CIDR IP Address Guide
– http://www.ipaddressguide.com/cidr#range

More Related Content

PDF
전 세계 팬들이 모일 수 있는 플랫폼 만들기 - 강진우 (beNX) :: AWS Community Day 2020
PDF
How to scale WordPress on AWS in 15 minutes
PDF
[AWSKRUG&JAWS-UG Meetup #1] 70% Cost Reduction with On-demand resizing
PDF
EKS에서 Opentelemetry로 코드실행 모니터링하기 - 신재현 (인덴트코퍼레이션) :: AWS Community Day Online...
PDF
Chatting Server on AWS
PDF
Axemblr Provisionr 0.3.x Overview
PDF
Webconf nodejs-production-architecture
PPTX
Ansible - Why and what
전 세계 팬들이 모일 수 있는 플랫폼 만들기 - 강진우 (beNX) :: AWS Community Day 2020
How to scale WordPress on AWS in 15 minutes
[AWSKRUG&JAWS-UG Meetup #1] 70% Cost Reduction with On-demand resizing
EKS에서 Opentelemetry로 코드실행 모니터링하기 - 신재현 (인덴트코퍼레이션) :: AWS Community Day Online...
Chatting Server on AWS
Axemblr Provisionr 0.3.x Overview
Webconf nodejs-production-architecture
Ansible - Why and what

What's hot (14)

PPTX
Unikernelize your Java Application
PPTX
Cluster Computing for $0.27/hr using Amazon EC2 and IPython Notebook
PDF
WordPress Security - 12 WordPress Security Fundamentals
PPTX
Quoi de neuf Dans Azure ?
PDF
murakumo Cloud Controller
PDF
ELB를 활용한 Socket.IO 멀티노드 구축사례
PPTX
Bringing clouds together : the future of cloud services
PDF
Azure Stack Hub Development Kit (ASDK)のAzure上への構築方法
PDF
20160828 open cae_summerschool_shiratori
PPTX
Mvp skill saturday ep 03
PPTX
Cloud Storage Engine for MySQL -- ClouSE
PPTX
AEM - Key Learning from Escalations
PPT
Day of Cloud: Amazon EC2
PDF
"Building a Production-Grade Serverless Deployment" - Eoin Shanaghy, CTO, fo...
Unikernelize your Java Application
Cluster Computing for $0.27/hr using Amazon EC2 and IPython Notebook
WordPress Security - 12 WordPress Security Fundamentals
Quoi de neuf Dans Azure ?
murakumo Cloud Controller
ELB를 활용한 Socket.IO 멀티노드 구축사례
Bringing clouds together : the future of cloud services
Azure Stack Hub Development Kit (ASDK)のAzure上への構築方法
20160828 open cae_summerschool_shiratori
Mvp skill saturday ep 03
Cloud Storage Engine for MySQL -- ClouSE
AEM - Key Learning from Escalations
Day of Cloud: Amazon EC2
"Building a Production-Grade Serverless Deployment" - Eoin Shanaghy, CTO, fo...
Ad

Similar to 20170525 왕진영 AWS 분산딥러닝 (20)

PPTX
Automating Your Microsoft Azure Environment (DevLink 2014)
PPTX
Automating Your Azure Environment
PDF
Julien Simon "Scaling ML from 0 to millions of users"
PPTX
Automated Intrusion Detection and Response on AWS
PPTX
Exam Overview 70-533 Implementing Azure Infrastructure Solutions
PDF
Priming Your Teams For Microservice Deployment to the Cloud
PDF
Running Production Ready Java WebApp for $5 per month - Gautam Singh, Chicago
PDF
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
PPTX
Windows azure overview for SharePoint Pros
PDF
Playing with php_on_azure
PDF
Global Windows Azure Bootcamp : Cedric Derue playing with php on azure. (spon...
PDF
AWS UG Warsaw & Serverless warsztatowo! 19.09.2019 | Eoin Shanaghy's presenta...
PPTX
Chris O'Brien - Best bits of Azure for Office 365/SharePoint developers
PDF
[Struyf] Automate Your Tasks With Azure Functions
PDF
How to build a Citrix infrastructure on AWS
PDF
Big Data Step-by-Step: Infrastructure 3/3: Taking it to the cloud... easily.....
PPTX
Strategies to automate deployment and provisioning of Microsoft Azure.
ODP
AutoScaling and Drupal
PPTX
ECS and Docker at Okta
PDF
20211202 NADOG Adapting to Covid with Serverless Craeg Strong Ariel Partners
Automating Your Microsoft Azure Environment (DevLink 2014)
Automating Your Azure Environment
Julien Simon "Scaling ML from 0 to millions of users"
Automated Intrusion Detection and Response on AWS
Exam Overview 70-533 Implementing Azure Infrastructure Solutions
Priming Your Teams For Microservice Deployment to the Cloud
Running Production Ready Java WebApp for $5 per month - Gautam Singh, Chicago
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
Windows azure overview for SharePoint Pros
Playing with php_on_azure
Global Windows Azure Bootcamp : Cedric Derue playing with php on azure. (spon...
AWS UG Warsaw & Serverless warsztatowo! 19.09.2019 | Eoin Shanaghy's presenta...
Chris O'Brien - Best bits of Azure for Office 365/SharePoint developers
[Struyf] Automate Your Tasks With Azure Functions
How to build a Citrix infrastructure on AWS
Big Data Step-by-Step: Infrastructure 3/3: Taking it to the cloud... easily.....
Strategies to automate deployment and provisioning of Microsoft Azure.
AutoScaling and Drupal
ECS and Docker at Okta
20211202 NADOG Adapting to Covid with Serverless Craeg Strong Ariel Partners
Ad

Recently uploaded (20)

PPTX
Tour Presentation Educational Activity.pptx
PPTX
MERISTEMATIC TISSUES (MERISTEMS) PPT PUBLIC
PDF
PM Narendra Modi's speech from Red Fort on 79th Independence Day.pdf
PDF
Yusen Logistics Group Sustainability Report 2024.pdf
PDF
Unnecessary information is required for the
PDF
MODULE 3 BASIC SECURITY DUTIES AND ROLES.pdf
PPTX
Phylogeny and disease transmission of Dipteran Fly (ppt).pptx
PPTX
Intro to ISO 9001 2015.pptx wareness raising
PPTX
Research Process - Research Methods course
PPTX
Lesson-7-Gas. -Exchange_074636.pptx
PPTX
chapter8-180915055454bycuufucdghrwtrt.pptx
PDF
Module 7 guard mounting of security pers
PPTX
nose tajweed for the arabic alphabets for the responsive
PDF
_Nature and dynamics of communities and community development .pdf
PDF
COLEAD A2F approach and Theory of Change
PPTX
Tablets And Capsule Preformulation Of Paracetamol
PPTX
Shizophrnia ppt for clinical psychology students of AS
PPTX
Anesthesia and it's stage with mnemonic and images
PPTX
2025-08-17 Joseph 03 (shared slides).pptx
PPTX
Introduction-to-Food-Packaging-and-packaging -materials.pptx
Tour Presentation Educational Activity.pptx
MERISTEMATIC TISSUES (MERISTEMS) PPT PUBLIC
PM Narendra Modi's speech from Red Fort on 79th Independence Day.pdf
Yusen Logistics Group Sustainability Report 2024.pdf
Unnecessary information is required for the
MODULE 3 BASIC SECURITY DUTIES AND ROLES.pdf
Phylogeny and disease transmission of Dipteran Fly (ppt).pptx
Intro to ISO 9001 2015.pptx wareness raising
Research Process - Research Methods course
Lesson-7-Gas. -Exchange_074636.pptx
chapter8-180915055454bycuufucdghrwtrt.pptx
Module 7 guard mounting of security pers
nose tajweed for the arabic alphabets for the responsive
_Nature and dynamics of communities and community development .pdf
COLEAD A2F approach and Theory of Change
Tablets And Capsule Preformulation Of Paracetamol
Shizophrnia ppt for clinical psychology students of AS
Anesthesia and it's stage with mnemonic and images
2025-08-17 Joseph 03 (shared slides).pptx
Introduction-to-Food-Packaging-and-packaging -materials.pptx

20170525 왕진영 AWS 분산딥러닝

  • 1. May, 25th, 2017 JinYeong Wang Parallel Computing Lab. Mechanical Engineering Hanyang University AWS Distributed Deep Learning
  • 2. 기본 인스턴스 제한 • https://aws.amazon.com/ko/ec2/faqs/#How_many_instances_can_I_run_in_Amazon_EC2
  • 3. 기본 인스턴스 제한 숫자 증가 요청 • https://aws.amazon.com/contact-us/ec2-request
  • 4. 인스턴스 제한 증가 요청을 하지 않았을 시 볼 수 있는 에러
  • 5. Create New Stack in CloudFormation
  • 6. Select Template • Template from https://github.com/awslabs/deeplearning-cfn
  • 7. Specify Details • CIDR IP from http://www.ipaddressguide.com/cidr#range
  • 11. EC2 – Auto Scaling Groups
  • 19. Run MXNet Distributed Learning • #terminate all running Python processes across workers while read -u 10 host; do ssh $host "pkill -f python" ; done 10<$DEEPLEARNING_WORKERS_PATH • #navigate to the mnist image-classification example directory cd ~/src/mxnet/example/image-classification • #run the MNIST distributed training example ../../tools/launch.py -n $DEEPLEARNING_WORKERS_COUNT -H $DEEPLEARNING_WORKERS_PATH python train_mnist.py --gpus $(seq -s , 0 1 $(($DEEPLEARNING_WORKER_GPU_COUNT - 1))) --network lenet --kv-store dist_sync
  • 20. Reference • AWS를 통한 분산 딥러닝 구성하기 – https://aws.amazon.com/ko/blogs/korea/distributed-deep-learning-made-easy/ • Github AWS Distributed Deep Learning Templete – https://github.com/awslabs/deeplearning-cfn • Securely Connect to Linux Instances Running in a Private Amazon VPC – https://aws.amazon.com/ko/blogs/security/securely-connect-to-linux-instances-running-in-a-private- amazon-vpc/ • Putty를 사용하여 Windows에서 Linux 인스턴스에 연결 – http://docs.aws.amazon.com/ko_kr/AWSEC2/latest/UserGuide/putty.html • CIDR IP Address Guide – http://www.ipaddressguide.com/cidr#range