SlideShare a Scribd company logo
CREATE AND USE A
DOCKERIZED ARUBA CLOUD SERVER
16th March 2017
Turin, Cloud Conference 2017
#cloudconf2017
Docker-machine: What Is It?
• it is a tool to provision multiple Docker hosts
• dockerize local or remote hosts
• provision Swarm cluster
• ArubaCloud is driver to manage dockerized
servers on our platform
ArubaCloud Solutions
• PRO Server (VMware, Hyper-V)
• flexible configuration
• cost per hour
• Smart Server (VMware with SSD storage)
• available in 4 sizes
New ArubaCloud Server (1/2)
• ac_action: NewSmart/NewPro
• Configuration parameters
• ac_endpoint: dc1, dc2, …, dc6
• ac_template: Ubuntu, centOS, etc.
• ac_size: Small, Medium, Large, Extra
Large
New ArubaCloud Server (2/2)
• Credential parameters
• ac_username: Aruba Cloud username
• ac_password: Aruba Cloud password
• ac_admin_password: root password,
required for recovery console
• ac_ssh_key: Key Path (optional)
• All parameters can be set as enviroment
variables
What is ac_endpoint?
docker-machine create
docker-machine create --driver arubacloud 
--ac_username "ARU-XXXX" 
--ac_password "xxxxxxx" 
--ac_endpoint "dc1" 
--ac_template "ubuntu1604_x64_1_0" 
--ac_size "Large" 
--ac_admin_password "yyyyyyyy" 
--ac_action "NewSmart" 
MyDockerHostName
Attach and Reset Server
• Reset of Smart machines (ex. to change
OS)
• How to reset a dockerized smart server?
• Attach Docker to preexisting machines
Attach and Reset Server
docker-machine create --driver arubacloud 
--ac_username "ARU-XXXX" 
--ac_password "xxxxxxx" 
--ac_endpoint "dc1" 
--ac_action "Attach" 
--ac_ip "xx.xx.xx.xx" 
--ac_ssh_key "private_key_path" 
MyDockerExistingHostName
Supported Commands
• Create
• Start
• Stop
• Restart
• Kill
• Remove
Supported Commands
docker-machine env MyDockerHostName
export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://77.81.236.228:2376"
export
DOCKER_CERT_PATH="C:Usersmarco.barzaghi.dockermachinemachinesMy
DockerHostName"
export DOCKER_MACHINE_NAME="MyDockerHostName"
export COMPOSE_CONVERT_WINDOWS_PATHS="true"
# Run this command to configure your shell:
# eval $("C:Program FilesDockerDockerResourcesbindocker-
machine.exe" env MyDockerHostName)
Supported Commands
docker-machine stop MyDockerHostName
Stopping "MyDockerHostName"...
Machine "MyDockerHostName" was stopped.
docker-machine start MyDockerHostName
Starting " MyDockerHostName "...
Machine " MyDockerHostName " was started.
Waiting for SSH to be available...
Detecting the provisioner...
Started machines may have new IP addresses. You may need to re-run
the `docker-machine env` command.
Verify Docker Engine (1/2)
docker run -d -p 8000:80 --name webserver kitematic/hello-world-nginx
Unable to find image 'kitematic/hello-world-nginx:latest' locally
latest: Pulling from kitematic/hello-world-nginx
a285d7f063ea: Pull complete
2d7baf27389b: Pull complete
...
Digest:
sha256:ec0ca6dcb034916784c988b4f2432716e2e92b995ac606e080c7a54b52b870
66
Status: Downloaded newer image for kitematic/hello-world-
nginx:latest
942dfb4a0eaae75bf26c9785ade4ff47ceb2ec2a152be82b9d7960e8b5777e65
Verify Docker Engine (2/2)
In a web browser, go to http://<IP>:8000 to bring up the webserver home page.
Notes
• Command rm deletes the remote server
• With Pro machines command rm does not
delete ip address
• don’t forget to remove the purchased IP address using the web
dashboard if you don't need it anymore
• With Pro machines it is possible to reuse
an ip Address with argument ac_ip
• --ac_ip=“xx.xx.xx.xx”
Aruba Cloud Platform
{api}
Docker
machine
Hypervisor
ssh
Aruba Cloud
How to Create an Account?
• Go to cloud.it
• Get a free voucher at https://www.cloud.it/prova-
cloud-aruba.aspx
• Top up your account
• We’ll send your Aruba Cloud credentials
via email
References
• Cloud.it
• https://github.com/Arubacloud/docker-
machine-driver-arubacloud
• http://kb.cloud.it
• cloudsdk@staff.aruba.it
Become a Contributor
• https://github.com/arubacloud
Thanks

More Related Content

What's hot (16)

PPTX
OpenStack Cinder
Deepti Ramakrishna
 
PPTX
Openstack Study Nova 1
Jinho Shin
 
PPTX
OpenStack Cinder Best Practices - Meet Up
Aaron Delp
 
PDF
Nick Fisk - low latency Ceph
ShapeBlue
 
PPTX
OpenStack Storage Overview
Bharat Kumar Kobagana
 
PDF
OpenStack Tokyo Meeup - Gluster Storage Day
Dan Radez
 
PDF
Openstack Scheduler and Scalability Issue
Vigneshvar A.S
 
PPTX
Apache Libcloud
Sebastien Goasguen
 
PPTX
Apache LibCloud - Keeping up with the cloud market in 2016
Anthony Shaw
 
PDF
Running Cassandra in AWS
DataStax Academy
 
PPTX
Storage as a service and OpenStack Cinder
openstackindia
 
PPTX
Windows Azure Virtual Machines
Neil Mackenzie
 
PDF
Cloud stack for_beginners
Radhika Puthiyetath
 
PDF
Libcloud and j clouds
DaeMyung Kang
 
PPTX
Storage as a service OpenStack
openstackindia
 
PDF
1027 predictive models in 10 seconds, by David Pardo Villaverde, Corunet
Altinity Ltd
 
OpenStack Cinder
Deepti Ramakrishna
 
Openstack Study Nova 1
Jinho Shin
 
OpenStack Cinder Best Practices - Meet Up
Aaron Delp
 
Nick Fisk - low latency Ceph
ShapeBlue
 
OpenStack Storage Overview
Bharat Kumar Kobagana
 
OpenStack Tokyo Meeup - Gluster Storage Day
Dan Radez
 
Openstack Scheduler and Scalability Issue
Vigneshvar A.S
 
Apache Libcloud
Sebastien Goasguen
 
Apache LibCloud - Keeping up with the cloud market in 2016
Anthony Shaw
 
Running Cassandra in AWS
DataStax Academy
 
Storage as a service and OpenStack Cinder
openstackindia
 
Windows Azure Virtual Machines
Neil Mackenzie
 
Cloud stack for_beginners
Radhika Puthiyetath
 
Libcloud and j clouds
DaeMyung Kang
 
Storage as a service OpenStack
openstackindia
 
1027 predictive models in 10 seconds, by David Pardo Villaverde, Corunet
Altinity Ltd
 

Similar to Create and use a Dockerized Aruba Cloud server - CloudConf 2017 (20)

PPTX
Introction to docker swarm
Hsi-Kai Wang
 
PPTX
Simple docker hosting in FIWARE Lab
Fernando Lopez Aguilar
 
PPTX
Simple docker hosting on fiware lab
Kenneth Nagin
 
PDF
Docker
SangtongPeesing
 
PDF
Orchestrating Docker with OpenStack
Erica Windisch
 
PPTX
Docker-machine
Sabyrzhan Tynybayev
 
PPTX
Тарас Кирилюк — Docker basics. How-to for Drupal developers
LEDC 2016
 
PDF
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
Alessandro Arrichiello
 
PDF
Docker, Kubernetes, and Google Cloud
Samuel Chow
 
PDF
Docker 進階實務班
Philip Zheng
 
PDF
Docker fundamentals
Alper Unal
 
PPTX
Get started with docker &amp; dev ops
Asya Dudnik
 
PDF
廣宣學堂: 容器進階實務 - Docker進深研究班
Paul Chao
 
PPTX
Deploying Windows Containers on Windows Server 2016
Ben Hall
 
PPTX
Docker Introductory workshop
Runcy Oommen
 
PDF
Wordpress y Docker, de desarrollo a produccion
Sysdig
 
PPTX
Get started with docker &amp; dev ops
Asya Dudnik
 
PPTX
Docker workshop
Evans Ye
 
PPTX
Docker Security workshop slides
Docker, Inc.
 
PPTX
Introduction To Docker
Dr. Syed Hassan Amin
 
Introction to docker swarm
Hsi-Kai Wang
 
Simple docker hosting in FIWARE Lab
Fernando Lopez Aguilar
 
Simple docker hosting on fiware lab
Kenneth Nagin
 
Orchestrating Docker with OpenStack
Erica Windisch
 
Docker-machine
Sabyrzhan Tynybayev
 
Тарас Кирилюк — Docker basics. How-to for Drupal developers
LEDC 2016
 
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
Alessandro Arrichiello
 
Docker, Kubernetes, and Google Cloud
Samuel Chow
 
Docker 進階實務班
Philip Zheng
 
Docker fundamentals
Alper Unal
 
Get started with docker &amp; dev ops
Asya Dudnik
 
廣宣學堂: 容器進階實務 - Docker進深研究班
Paul Chao
 
Deploying Windows Containers on Windows Server 2016
Ben Hall
 
Docker Introductory workshop
Runcy Oommen
 
Wordpress y Docker, de desarrollo a produccion
Sysdig
 
Get started with docker &amp; dev ops
Asya Dudnik
 
Docker workshop
Evans Ye
 
Docker Security workshop slides
Docker, Inc.
 
Introduction To Docker
Dr. Syed Hassan Amin
 
Ad

More from Aruba S.p.A. (20)

PDF
Cloud Backup e Cloud Object Storage: come mettere in sicurezza i tuoi dati
Aruba S.p.A.
 
PDF
I servizi Cloud di Aruba - 2016
Aruba S.p.A.
 
PDF
Aruba Cloud: Cloud Pubblico vs. Cloud Privato per la propria infrastruttura v...
Aruba S.p.A.
 
PDF
Aruba Cloud DRaaS, Disaster Recovery as a Service
Aruba S.p.A.
 
PDF
Aruba Business: il programma dedicato ai Partner
Aruba S.p.A.
 
PDF
Identità certa nei processi online, SPID, Firma grafometrica e Avanzata
Aruba S.p.A.
 
PDF
Il Cloud Computing di Aruba: soluzione IaaS per l'IT aziendale
Aruba S.p.A.
 
PDF
Aruba Business: nuova divisione per la rivendita delle soluzioni Aruba.it
Aruba S.p.A.
 
PDF
Aruba eCommerce - Corso online ' Come preparare le promozioni nel tuo eCommerce'
Aruba S.p.A.
 
PDF
Hosting: a ogni CMS, il suo hosting...con qualche eccezione #TipOfTheDay
Aruba S.p.A.
 
PDF
Hosting: cache Joomla, tutte le opzioni spiegate passo dopo passo - parte 2 ...
Aruba S.p.A.
 
PDF
Hosting: cache Jooml, tutte le opzioni spiegate passo dopo passo - parte 1 #...
Aruba S.p.A.
 
PDF
Hosting: trasferire Joomla con plugin
Aruba S.p.A.
 
PDF
Workshop Smau Firenze 2015: 'Le soluzioni Cloud di Aruba'
Aruba S.p.A.
 
PDF
Hosting: trasferire Joomla da un hosting all'altro #TipOfThaDay
Aruba S.p.A.
 
PDF
Hosting: il successore di http 1.1 il perchè dell' http 2.0
Aruba S.p.A.
 
PDF
Hosting: storia del protocollo http
Aruba S.p.A.
 
PDF
Hosting: 20 trucchi SEO per ottimizzare il proprio sito - II parte
Aruba S.p.A.
 
PDF
Hosting: 20 trucchi SEO per migliorare l'indicizzazione di un sito - Parte I ...
Aruba S.p.A.
 
PDF
Hosting: Database MySQL, 10 trucchi per migliorarne le performance - #TipOf...
Aruba S.p.A.
 
Cloud Backup e Cloud Object Storage: come mettere in sicurezza i tuoi dati
Aruba S.p.A.
 
I servizi Cloud di Aruba - 2016
Aruba S.p.A.
 
Aruba Cloud: Cloud Pubblico vs. Cloud Privato per la propria infrastruttura v...
Aruba S.p.A.
 
Aruba Cloud DRaaS, Disaster Recovery as a Service
Aruba S.p.A.
 
Aruba Business: il programma dedicato ai Partner
Aruba S.p.A.
 
Identità certa nei processi online, SPID, Firma grafometrica e Avanzata
Aruba S.p.A.
 
Il Cloud Computing di Aruba: soluzione IaaS per l'IT aziendale
Aruba S.p.A.
 
Aruba Business: nuova divisione per la rivendita delle soluzioni Aruba.it
Aruba S.p.A.
 
Aruba eCommerce - Corso online ' Come preparare le promozioni nel tuo eCommerce'
Aruba S.p.A.
 
Hosting: a ogni CMS, il suo hosting...con qualche eccezione #TipOfTheDay
Aruba S.p.A.
 
Hosting: cache Joomla, tutte le opzioni spiegate passo dopo passo - parte 2 ...
Aruba S.p.A.
 
Hosting: cache Jooml, tutte le opzioni spiegate passo dopo passo - parte 1 #...
Aruba S.p.A.
 
Hosting: trasferire Joomla con plugin
Aruba S.p.A.
 
Workshop Smau Firenze 2015: 'Le soluzioni Cloud di Aruba'
Aruba S.p.A.
 
Hosting: trasferire Joomla da un hosting all'altro #TipOfThaDay
Aruba S.p.A.
 
Hosting: il successore di http 1.1 il perchè dell' http 2.0
Aruba S.p.A.
 
Hosting: storia del protocollo http
Aruba S.p.A.
 
Hosting: 20 trucchi SEO per ottimizzare il proprio sito - II parte
Aruba S.p.A.
 
Hosting: 20 trucchi SEO per migliorare l'indicizzazione di un sito - Parte I ...
Aruba S.p.A.
 
Hosting: Database MySQL, 10 trucchi per migliorarne le performance - #TipOf...
Aruba S.p.A.
 
Ad

Recently uploaded (20)

PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
July Patch Tuesday
Ivanti
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
July Patch Tuesday
Ivanti
 

Create and use a Dockerized Aruba Cloud server - CloudConf 2017

  • 1. CREATE AND USE A DOCKERIZED ARUBA CLOUD SERVER 16th March 2017 Turin, Cloud Conference 2017 #cloudconf2017
  • 2. Docker-machine: What Is It? • it is a tool to provision multiple Docker hosts • dockerize local or remote hosts • provision Swarm cluster • ArubaCloud is driver to manage dockerized servers on our platform
  • 3. ArubaCloud Solutions • PRO Server (VMware, Hyper-V) • flexible configuration • cost per hour • Smart Server (VMware with SSD storage) • available in 4 sizes
  • 4. New ArubaCloud Server (1/2) • ac_action: NewSmart/NewPro • Configuration parameters • ac_endpoint: dc1, dc2, …, dc6 • ac_template: Ubuntu, centOS, etc. • ac_size: Small, Medium, Large, Extra Large
  • 5. New ArubaCloud Server (2/2) • Credential parameters • ac_username: Aruba Cloud username • ac_password: Aruba Cloud password • ac_admin_password: root password, required for recovery console • ac_ssh_key: Key Path (optional) • All parameters can be set as enviroment variables
  • 7. docker-machine create docker-machine create --driver arubacloud --ac_username "ARU-XXXX" --ac_password "xxxxxxx" --ac_endpoint "dc1" --ac_template "ubuntu1604_x64_1_0" --ac_size "Large" --ac_admin_password "yyyyyyyy" --ac_action "NewSmart" MyDockerHostName
  • 8. Attach and Reset Server • Reset of Smart machines (ex. to change OS) • How to reset a dockerized smart server? • Attach Docker to preexisting machines
  • 9. Attach and Reset Server docker-machine create --driver arubacloud --ac_username "ARU-XXXX" --ac_password "xxxxxxx" --ac_endpoint "dc1" --ac_action "Attach" --ac_ip "xx.xx.xx.xx" --ac_ssh_key "private_key_path" MyDockerExistingHostName
  • 10. Supported Commands • Create • Start • Stop • Restart • Kill • Remove
  • 11. Supported Commands docker-machine env MyDockerHostName export DOCKER_TLS_VERIFY="1" export DOCKER_HOST="tcp://77.81.236.228:2376" export DOCKER_CERT_PATH="C:Usersmarco.barzaghi.dockermachinemachinesMy DockerHostName" export DOCKER_MACHINE_NAME="MyDockerHostName" export COMPOSE_CONVERT_WINDOWS_PATHS="true" # Run this command to configure your shell: # eval $("C:Program FilesDockerDockerResourcesbindocker- machine.exe" env MyDockerHostName)
  • 12. Supported Commands docker-machine stop MyDockerHostName Stopping "MyDockerHostName"... Machine "MyDockerHostName" was stopped. docker-machine start MyDockerHostName Starting " MyDockerHostName "... Machine " MyDockerHostName " was started. Waiting for SSH to be available... Detecting the provisioner... Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.
  • 13. Verify Docker Engine (1/2) docker run -d -p 8000:80 --name webserver kitematic/hello-world-nginx Unable to find image 'kitematic/hello-world-nginx:latest' locally latest: Pulling from kitematic/hello-world-nginx a285d7f063ea: Pull complete 2d7baf27389b: Pull complete ... Digest: sha256:ec0ca6dcb034916784c988b4f2432716e2e92b995ac606e080c7a54b52b870 66 Status: Downloaded newer image for kitematic/hello-world- nginx:latest 942dfb4a0eaae75bf26c9785ade4ff47ceb2ec2a152be82b9d7960e8b5777e65
  • 14. Verify Docker Engine (2/2) In a web browser, go to http://<IP>:8000 to bring up the webserver home page.
  • 15. Notes • Command rm deletes the remote server • With Pro machines command rm does not delete ip address • don’t forget to remove the purchased IP address using the web dashboard if you don't need it anymore • With Pro machines it is possible to reuse an ip Address with argument ac_ip • --ac_ip=“xx.xx.xx.xx”
  • 17. How to Create an Account? • Go to cloud.it • Get a free voucher at https://www.cloud.it/prova- cloud-aruba.aspx • Top up your account • We’ll send your Aruba Cloud credentials via email
  • 19. Become a Contributor • https://github.com/arubacloud