Cloudy with a chance of Simulation - ROSCon 2017 · PDF fileCloudy with a chance of Simulation...
Transcript of Cloudy with a chance of Simulation - ROSCon 2017 · PDF fileCloudy with a chance of Simulation...
![Page 1: Cloudy with a chance of Simulation - ROSCon 2017 · PDF fileCloudy with a chance of Simulation ROSCon 2016 October 2016 Ian Chen, OSRF. Simulation on the Cloud ... Cloudsim developers:](https://reader031.fdocuments.us/reader031/viewer/2022030511/5abb70b67f8b9a441d8cd26c/html5/thumbnails/1.jpg)
Cloudy with a chance of SimulationROSCon 2016
October 2016Ian Chen, OSRF
![Page 2: Cloudy with a chance of Simulation - ROSCon 2017 · PDF fileCloudy with a chance of Simulation ROSCon 2016 October 2016 Ian Chen, OSRF. Simulation on the Cloud ... Cloudsim developers:](https://reader031.fdocuments.us/reader031/viewer/2022030511/5abb70b67f8b9a441d8cd26c/html5/thumbnails/2.jpg)
Simulation on the Cloud
DARPA Virtual Robotics Challenge● Birth of CloudSim
Rich Hardware / Software Resources available
![Page 3: Cloudy with a chance of Simulation - ROSCon 2017 · PDF fileCloudy with a chance of Simulation ROSCon 2016 October 2016 Ian Chen, OSRF. Simulation on the Cloud ... Cloudsim developers:](https://reader031.fdocuments.us/reader031/viewer/2022030511/5abb70b67f8b9a441d8cd26c/html5/thumbnails/3.jpg)
Upcoming Projects
Space Robotics Challenge (SRC) NASA
Agile Robotics for Industrial Automation Competition (ARIAC) NIST
Upcoming Swarm Competition TBA
![Page 4: Cloudy with a chance of Simulation - ROSCon 2017 · PDF fileCloudy with a chance of Simulation ROSCon 2016 October 2016 Ian Chen, OSRF. Simulation on the Cloud ... Cloudsim developers:](https://reader031.fdocuments.us/reader031/viewer/2022030511/5abb70b67f8b9a441d8cd26c/html5/thumbnails/4.jpg)
Cloudsim.io
![Page 5: Cloudy with a chance of Simulation - ROSCon 2017 · PDF fileCloudy with a chance of Simulation ROSCon 2016 October 2016 Ian Chen, OSRF. Simulation on the Cloud ... Cloudsim developers:](https://reader031.fdocuments.us/reader031/viewer/2022030511/5abb70b67f8b9a441d8cd26c/html5/thumbnails/5.jpg)
Cloudsim.io - What’s New?
Architectural Design● Frontend: Web components● Backend: Servers as micro-services
Flexible configuration of machine instances
Permissions / Resource Sharing
User software setup
![Page 6: Cloudy with a chance of Simulation - ROSCon 2017 · PDF fileCloudy with a chance of Simulation ROSCon 2016 October 2016 Ian Chen, OSRF. Simulation on the Cloud ... Cloudsim developers:](https://reader031.fdocuments.us/reader031/viewer/2022030511/5abb70b67f8b9a441d8cd26c/html5/thumbnails/6.jpg)
Frontend: Cloudsim-Widgets
Web-app pieced together by web components
![Page 7: Cloudy with a chance of Simulation - ROSCon 2017 · PDF fileCloudy with a chance of Simulation ROSCon 2016 October 2016 Ian Chen, OSRF. Simulation on the Cloud ... Cloudsim developers:](https://reader031.fdocuments.us/reader031/viewer/2022030511/5abb70b67f8b9a441d8cd26c/html5/thumbnails/7.jpg)
Cloudsim-WidgetsA
UTH
POR
TAL
Web components talks directly to back-end
SIM
![Page 8: Cloudy with a chance of Simulation - ROSCon 2017 · PDF fileCloudy with a chance of Simulation ROSCon 2016 October 2016 Ian Chen, OSRF. Simulation on the Cloud ... Cloudsim developers:](https://reader031.fdocuments.us/reader031/viewer/2022030511/5abb70b67f8b9a441d8cd26c/html5/thumbnails/8.jpg)
Authentication
AU
TH
POR
TAL
SIM
Authentication Server● Log in/out● token
AWS Portal● Launch/Kill
instances● Permissions
(instances)
Log in (REST)
token
Simulation Server● Create/Remove
simulation tasks● Start/Stop/Play/Pause ● Permissions
(simulations)
![Page 9: Cloudy with a chance of Simulation - ROSCon 2017 · PDF fileCloudy with a chance of Simulation ROSCon 2016 October 2016 Ian Chen, OSRF. Simulation on the Cloud ... Cloudsim developers:](https://reader031.fdocuments.us/reader031/viewer/2022030511/5abb70b67f8b9a441d8cd26c/html5/thumbnails/9.jpg)
Back-end Servers
AU
TH
POR
TAL
SIM
Authentication Server● Log in/out● token
AWS Portal● Launch/Kill
instances● Permissions
(instances)
Launch instance(REST)
success, instance id, IP, etc
launch instance(AWS )
Simulation Server● Create/Remove
simulation tasks● Start/Stop/Play/Pause ● Permissions
(simulations)
![Page 10: Cloudy with a chance of Simulation - ROSCon 2017 · PDF fileCloudy with a chance of Simulation ROSCon 2016 October 2016 Ian Chen, OSRF. Simulation on the Cloud ... Cloudsim developers:](https://reader031.fdocuments.us/reader031/viewer/2022030511/5abb70b67f8b9a441d8cd26c/html5/thumbnails/10.jpg)
Back-end Servers
AU
TH
POR
TAL
SIM
Authentication Server● Log in/out● token
AWS Portal● Launch/Kill
instances● Permissions
(instances)
Simulation Server● Create/Remove
simulation tasks● Start/Stop/Play/Pause ● Permissions
(simulations)
Create task(REST)
success, task id
![Page 11: Cloudy with a chance of Simulation - ROSCon 2017 · PDF fileCloudy with a chance of Simulation ROSCon 2016 October 2016 Ian Chen, OSRF. Simulation on the Cloud ... Cloudsim developers:](https://reader031.fdocuments.us/reader031/viewer/2022030511/5abb70b67f8b9a441d8cd26c/html5/thumbnails/11.jpg)
Back-end Servers
AU
TH
POR
TAL
SIM
Authentication Server● Log in/out● token
AWS Portal● Launch/Kill
instances● Permissions
(instances)
statusio.connect(websocket)
io.connect(websocket)
status
Simulation Server● Create/Remove
simulation tasks● Start/Stop/Play/Pause ● Permissions
(simulations)
![Page 12: Cloudy with a chance of Simulation - ROSCon 2017 · PDF fileCloudy with a chance of Simulation ROSCon 2016 October 2016 Ian Chen, OSRF. Simulation on the Cloud ... Cloudsim developers:](https://reader031.fdocuments.us/reader031/viewer/2022030511/5abb70b67f8b9a441d8cd26c/html5/thumbnails/12.jpg)
Security Groups: Swarm CompetitionCase Study
XSGroupBlue SGroupGold
SGroupSim
● Traffic Control managed by Portal
POR
TAL
1. Create sgroup name: SGroupGold rules: type: inbound src: sgroupsim
2. Launch instance sgroup: SGroupGold
![Page 14: Cloudy with a chance of Simulation - ROSCon 2017 · PDF fileCloudy with a chance of Simulation ROSCon 2016 October 2016 Ian Chen, OSRF. Simulation on the Cloud ... Cloudsim developers:](https://reader031.fdocuments.us/reader031/viewer/2022030511/5abb70b67f8b9a441d8cd26c/html5/thumbnails/14.jpg)
Thank you - Questions?
Cloudsim developers:Ian Chen, Louise Poubel, Hugo Boyer
Contributions:Gazebo/ROS team @ OSRFMohamd Ayman (GSOC student for gazebojs / gzweb)
CloudSim Repo:https://bitbucket.org/osrf/cloudsim