= sesión 14 OpenStack == openstack === intro * [[https://wiki.openstack.org/wiki/Main_Page]] * [[https://wiki.openstack.org/wiki/Trove|Trove]] : Database as a Service * [[https://wiki.openstack.org/wiki/Zaqar|Zaquar]] : rabbit openstack + broadcast * [[https://wiki.openstack.org/wiki/Swift|Swift]] : aka S3 * opensource S3 (interfaz) : [[https://min.io/]] -> mockups S3 (aunque funciona como producto por si mismo) === composición {{ :info:cursos:pue:devops:pasted:20190330-012439.png }} * han personalizado los diferentes servicios * destacat: Nova y Neutron * [[https://www.openstack.org/software]] {{ :info:cursos:pue:devops:pasted:20190330-013223.png }} * Object Store * RBD (block device) * ceph [[https://ceph.com/]] (concurrencia) * storage distribuido, raid === instalación * ''apt install opentstack-deploy'' * ''dpkg -L openstack-deploy | grep bin/'' * == google cloud * [[https://kubernetes.github.io/ingress-nginx/user-guide/monitoring/]] * [[https://cloud.google.com/monitoring/kubernetes-engine/prometheus]] * ''gcloud config set compute/zone eu-west1-b'' * [[https://cloud.google.com/compute/docs/regions-zones/)]] * ''gcloud container clusters list'' * ''gcloud container clusters get-credentials bootcamp --zone europe-west1-b --project caramel-era-236111'' * para ver con que comandos interactua **kubectl** * ''gcloud container clusters resize bootcamp --size=3'' * ''gcloud container'' * ''gcloud container clusters delete bootcamp'' == otros * ''hostname --fqdn'' -> ''/etc/hosts'' * mysql: use mysql; select * from user; create user 'root'@'%' identified by 'admin123'; grant all privileges on *.* to 'root'@'%'; flush privileges;