FIWARE Lab Cloud - inicio | Cudi. FIWARE Lab...FIWARE Lab no solamente permite experimentar con las...
Transcript of FIWARE Lab Cloud - inicio | Cudi. FIWARE Lab...FIWARE Lab no solamente permite experimentar con las...
Co-funded by the Horizon 2020 Framework Programme of the European Union
Co-funded by the Horizon 2020 Framework Programme of the European Union
FIWARE Lab Cloud
Karen Mariel Nájera Hernández
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/20172
Agenda
FIWARE Lab: panorama general1
FIWARE Lab: funcionalidades básicas2
Información de referencia3
Co-funded by the Horizon 2020 Framework Programme of the European Union
FIWARE Lab es un ambiente libre deexperimentación (no comercial), dondelos usuarios pueden desarrollaraplicaciones y servicios innovadoresempleando los GEs de FIWARE.
FIWARE Lab CloudPanorama General
THE OPEN INNOVATION LAB
FIWARE Lab no solamente permite experimentar con las tecnologíasFIWARE, también permite mostrar y testear las aplicaciones con datos yusuarios reales, aprovechando los datos abiertos publicados por lasciudades y otras organizaciones. Esto permite captar la atención de losinversionistas y clientes potenciales.
Muchas ciudades ya están conectadas (Trento, Santander, Ciudad deMéxico) y están exportando sus datos abiertos a la nube de FIWARE Lab.
Co-funded by the Horizon 2020 Framework Programme of the European Union
FIWARE Lab CloudArquitectura
• FIWARE Lab emplea la tecnología de OpenStack para el despliegue de la nubevirtual, la cual es una solución cloud computing.
• OpenStack es un sistema operativo abierto y escalable para la creación denubes públicas y privadas.
Misión de OpenStack: creación de nubes simples de implementar y masivamente escalables.
Co-funded by the Horizon 2020 Framework Programme of the European Union
FIWARE Lab CloudArquitectura
Cloud Portal PaaS
SDC Monitoring
Account
Co-funded by the Horizon 2020 Framework Programme of the European Union
FIWARE Lab CloudArquitectura
PaaS
SDC Monitoring
Account
FIWARE Cloud portal: provee una interfaz a los usuarios finales y
al administrador.
Cloud Portal
Co-funded by the Horizon 2020 Framework Programme of the European Union
FIWARE Lab CloudArquitectura
PaaS
SDC Monitoring
Account
Compute: Administra el ciclo de vida de las instancias de
cómputo. Es responsable de la creación, programación y
desmantelamiento de las VMs (OpenStack Nova).
Cloud Portal
Co-funded by the Horizon 2020 Framework Programme of the European Union
FIWARE Lab CloudArquitectura
PaaS
SDC Monitoring
Account
Networking: provee redes virtuales como servicio entre
dispositivos administrados por otros servicios de OpenStack, como
puede ser una máquina virtual de Nova (OpenStack Neutron).
Cloud Portal
Co-funded by the Horizon 2020 Framework Programme of the European Union
FIWARE Lab CloudArquitectura
PaaS
SDC Monitoring
Account
Storage: provee almacenamiento persistente a las VMs alojadas
en la nube. (OpenStack Cinder / OpenStack Swift).
Cloud Portal
Co-funded by the Horizon 2020 Framework Programme of the European Union
FIWARE Lab CloudArquitectura
PaaS
SDC Monitoring
Account
FIWARE PaaS: proporciona una plataforma y un entorno que
permiten a los desarrolladores crear aplicaciones y servicios que
funcionen a través de internet. Además permite el trabajo con
regiones, así como creación de niveles y despliegue de Blueprints.
Cloud Portal
Co-funded by the Horizon 2020 Framework Programme of the European Union
FIWARE Lab CloudArquitectura
PaaS
SDC Monitoring
Account
FIWARE Account: Administra la identidad y a las organizaciones,
provee los servicios de autenticación y autorización (OpenStack
Keystone).
Cloud Portal
Co-funded by the Horizon 2020 Framework Programme of the European Union
FIWARE Lab CloudArquitectura
PaaS
SDC Monitoring
Account
SDC (Software Development and Configuration): Es el
habilitador clave utilizado para soportar la implementación
automatizada (instalación y configuración) de software (GEs) en
la ejecución de máquinas virtuales.
Cloud Portal
Co-funded by the Horizon 2020 Framework Programme of the European Union
FIWARE Lab CloudArquitectura
PaaS
SDC Monitoring
Account
Monitoring: es el encargo del monitorear la información sobre las
máquinas virtuales (OpenStack Ceilometer).
Cloud Portal
Co-funded by the Horizon 2020 Framework Programme of the European Union
FIWARE Lab CloudArquitectura
Co-funded by the Horizon 2020 Framework Programme of the European Union
FIWARE Lab CloudArquitectura
PaaS
SDC Monitoring
Account
Cloud Portal
Co-funded by the Horizon 2020 Framework Programme of the European Union
• Servicios de identificación• Servicios de cómputo
FIWARE Lab: funcionalidades básicas2
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201717
FIWARE Lab:funcionalidades básicasTipos de cuenta
• Basic: es solo un usuarioregistrado en FIWARE, sinembargo no tiene acceso ala nube de FIWARE.
• Trial: usuario que tieneacceso a la nube durante 14días.
• Community: usuario conacceso completo a la nube.
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201718
FIWARE Lab:funcionalidades básicasCreación de cuenta
https://account.lab.fiware.org/
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201719
FIWARE Lab:funcionalidades básicasCreación de cuenta
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201720
FIWARE Lab:funcionalidades básicasCreación de cuenta
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201721
FIWARE Lab:funcionalidades básicasCreación de cuenta
Trial
Aceptar los términos y condiciones
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201722
FIWARE Lab:funcionalidades básicasSolicitar una cuenta Community
Para solicitar una cuenta Community, preferentemente se debe contar con unproyecto de investigación en desarrollo o contar con financiamiento para iniciaro desarrollar una aplicación para Ciudades Inteligentes.
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201723
FIWARE Lab:funcionalidades básicasSolicitar una cuenta Community
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201724
FIWARE Lab:funcionalidades básicasSolicitar una cuenta Community
http://lanif.infotec.mx
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201725
FIWARE Lab:funcionalidades básicasSolicitar una cuenta Community
Cuota máxima:
• Número de instancias: 5• Número de cores: 10• Cantidad de memoria RAM: 10 Gb• Capacidad de disco: 100 Gb• IPs: 5
Cuota estándar:
• Número de instancias: 2• Número de cores: 2• Cantidad de memoria RAM: 4 Gb• Capacidad de disco: 40 Gb• IPs: 1
La evaluación se realizará de acuerdo a los siguientes criterios:o Objetivoo Áreas de aplicación (turismo, salud, seguridad, etc.)o Descripción de la aplicación que desea desarrollar y sus beneficioso Tiempo estimado de desarrolloo Recursos de FIWARE que impactan a su proyecto
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201726
• Servicios de identificación• Servicios de cómputo
FIWARE Lab: funcionalidades básicas2
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201727
FIWARE Lab: funcionalidades básicasAcceso a FIWARE Lab
https://account.lab.fiware.org/
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201728
FIWARE Lab: funcionalidades básicasAcceso a FIWARE Lab Cloud
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201729
FIWARE Lab: funcionalidades básicasAcceso a FIWARE Lab Cloud
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201730
FIWARE Lab: funcionalidades básicasAcceso a FIWARE Lab Cloud
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201731
FIWARE Lab: funcionalidades básicasAcceso a FIWARE Lab Cloud
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201732
FIWARE Lab: funcionalidades básicasAcceso a FIWARE Lab Cloud
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201733
FIWARE Lab: funcionalidades básicasAcceso a FIWARE Lab Cloud
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201734
FIWARE Lab: funcionalidades básicasAcceso a FIWARE Lab Cloud
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201735
FIWARE Lab: funcionalidades básicasFIWARE Lab Cloud
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201736
FIWARE Lab: funcionalidades básicasFIWARE Lab Cloud
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201737
FIWARE Lab: funcionalidades básicasFIWARE Lab Cloud
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201738
FIWARE Lab: funcionalidades básicasInformación de la cuenta
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201739
FIWARE Lab: funcionalidades básicasInformación de la cuenta
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201740
FIWARE Lab: funcionalidades básicasInformación de la cuenta
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201741
FIWARE Lab: funcionalidades básicasInformación de la cuenta
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201742
FIWARE Lab: funcionalidades básicasInformación de la cuenta
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201743
FIWARE Lab: funcionalidades básicasDespliegue de una instancia
Para llevar a cabo el despliegue de una instancia, es necesarioseguir los siguientes pasos:
• Creación de una llave privada (keypair).• Creación de un grupo de seguridad (se definen los puertos para
la instancias, ejemplo el puerto 22 para ssh).• Desplegar tu instancia:
Seleccionar del repositorio una imagen predefinida(Centos, Ubuntu, etc.)
Seleccionar el tamaño de la instancia (vCPU, memoria,usuario, disco).
Seleccionar un grupo de seguridad. Seleccionar la llave privada para acceso.
• Asociar una IP pública a la instancia.
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201744
FIWARE Lab: funcionalidades básicasCreación de una llave privada
Se debe crear una llave privada (keypair) para acceder a las instancias
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201745
FIWARE Lab: funcionalidades básicasCreación de una llave privada
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201746
FIWARE Lab: funcionalidades básicasCreación de una llave privada
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201747
FIWARE Lab: funcionalidades básicasCreación de una llave privada
keyfiware
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201748
FIWARE Lab: funcionalidades básicasCreación de una llave privada
Este es el único momento para DESCARGAR la llave.Al momento de la descarga, NO CAMBIAR el nombre del archivo
Descargar la keypair (archivo.pem)
keyfiware
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201749
FIWARE Lab: funcionalidades básicasCreación de una llave privada
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201750
FIWARE Lab: funcionalidades básicasCreación de un grupo de seguridad
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201751
FIWARE Lab: funcionalidades básicasCreación de un grupo de seguridad
Se recomienda describir adecuadamente los nombres de los grupos de seguridad y las instancias
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201752
FIWARE Lab: funcionalidades básicasCreación de un grupo de seguridad
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201753
FIWARE Lab: funcionalidades básicasDefinición de reglas
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201754
FIWARE Lab: funcionalidades básicasDefinición de reglas
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201755
FIWARE Lab: funcionalidades básicasDespliegue de una instancia
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201756
FIWARE Lab: funcionalidades básicasDespliegue de una instancia
Repositorio de imágenes de FIWARE Lab
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201757
FIWARE Lab: funcionalidades básicasDespliegue de una instancia
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201758
FIWARE Lab: funcionalidades básicasDespliegue de una instancia
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201759
FIWARE Lab: funcionalidades básicasDespliegue de una instancia
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201760
FIWARE Lab: funcionalidades básicasDespliegue de una instancia
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201761
FIWARE Lab: funcionalidades básicasDespliegue de una instancia
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201762
FIWARE Lab: funcionalidades básicasDespliegue de una instancia
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201763
FIWARE Lab: funcionalidades básicasDespliegue de una instancia
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201764
FIWARE Lab: funcionalidades básicasDespliegue de una instancia
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201765
FIWARE Lab: funcionalidades básicasDespliegue de una instancia
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201766
FIWARE Lab: funcionalidades básicasDespliegue de una instancia
No cambiar nada
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201767
FIWARE Lab: funcionalidades básicasDespliegue de una instancia
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201768
FIWARE Lab: funcionalidades básicasDespliegue de una instancia
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201769
FIWARE Lab: funcionalidades básicasDespliegue de una instancia
Pulsar sobre la instancia para ver su
información
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201770
FIWARE Lab: funcionalidades básicasResumen de la instancia
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201771
FIWARE Lab: funcionalidades básicasAsignar una IP
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201772
FIWARE Lab: funcionalidades básicasAsignar una IP
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201773
FIWARE Lab: funcionalidades básicasAsignar una IP
Seleccionar la IP asignada
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201774
FIWARE Lab: funcionalidades básicasAsignar una IP
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201775
FIWARE Lab: funcionalidades básicasAsignar una IP
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201776
FIWARE Lab: funcionalidades básicasAsignar una IP
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201777
FIWARE Lab: funcionalidades básicasAcceder a la instancia
Puntos a considerar (en caso de Linux):• Identificar la IP externa de la instancia
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201778
FIWARE Lab: funcionalidades básicasAcceder a la instancia en Ubuntu
1) Desde una terminal localizar el archivo.pem
sudo ssh –i archivo.pem ubuntu@ipExterna2) Instrucción de acceso:
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201779
FIWARE Lab: funcionalidades básicasAcceder a la instancia
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201780
FIWARE Lab: funcionalidades básicasConexión por SSH en Windows utilizando PuTTY
1. Descargar PuTTYgen y PuTTY del siguiente link:
http://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201781
FIWARE Lab: funcionalidades básicasGeneración de la clave para el acceso con PuTTY
1. Contar con la llave privada(archivo.pem)
2. Procedemos a convertir elarchivo.pem a archivo.ppk
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201782
FIWARE Lab: funcionalidades básicasGeneración de la clave para el acceso con PuTTY
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201783
FIWARE Lab: funcionalidades básicasGeneración de la clave para el acceso con PuTTY
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201784
FIWARE Lab: funcionalidades básicasGeneración de la clave para el acceso con PuTTY
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201785
FIWARE Lab: funcionalidades básicasGeneración de la clave para el acceso con PuTTY
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201786
FIWARE Lab: funcionalidades básicasGeneración de la clave para el acceso con PuTTY
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201787
FIWARE Lab: funcionalidades básicasGeneración de la clave para el acceso con PuTTY
El archivo.ppk solamente se genera una sola vez.
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201788
FIWARE Lab: funcionalidades básicasAcceso a la instancia a través de PuTTY
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201789
FIWARE Lab: funcionalidades básicasAcceso a la instancia a través de PuTTY
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201790
FIWARE Lab: funcionalidades básicasAcceso a la instancia a través de PuTTY
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201791
FIWARE Lab: funcionalidades básicasAcceso a la instancia a través de PuTTY
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201792
FIWARE Lab: funcionalidades básicasAcceso a la instancia a través de PuTTY
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201793
FIWARE Lab: funcionalidades básicasAcceso a la instancia a través de PuTTY
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201794
Información de referencia3
Co-funded by the Horizon 2020 Framework Programme of the European Union31/05/201795
Información de referencia
• FIWARE Cloud portalhttps://catalogue.fiware.org/enablers/self-service-interfaces-cloud-portal-upm
• FIWARE Cloud InfraestructureAccount: https://catalogue.fiware.org/enablers/identity-management-keyrockSDC: https://catalogue.fiware.org/enablers/software-deployment-configuration-sagittaPaaS Manager: https://catalogue.fiware.org/enablers/paas-manager-pegasus
• FIWARE Academyhttps://edu.fiware.org/
Co-funded by the Horizon 2020 Framework Programme of the European Union
Thank you• [email protected]
• www.fiwaremexico.org