cloud computing - christian baun...cloud computing openstack frankfurt university of applied...

29
Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24 OpenStack | Cloud Computing | 22.07.2019 Wissen durch Praxis stärkt

Upload: others

Post on 12-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Cloud ComputingOpenStackFrankfurt University of Applied SciencesFaculty of Computer Science and EngineeringNils Jorek, Nicolas Fleischer

1/24 OpenStack | Cloud Computing | 22.07.2019

Wissen durch Praxis stärkt

Page 2: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Agenda

Introduction

Cloud Service Type

Components

Packstack

Deployment

2/24 OpenStack | Cloud Computing |

Page 3: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Agenda

Introduction

Cloud Service Type

Components

Packstack

Deployment

OpenStack | Cloud Computing |

Page 4: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Why use OpenStack

Open sourceInfinite scalingSeveral ways of deploying a networkAllows abstraction layers between the network and the end-userapplicationOption to deploy third party devicesHas accessible Web-GUI

3/24 OpenStack | Cloud Computing |

Page 5: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Agenda

Introduction

Cloud Service Type

Components

Packstack

Deployment

OpenStack | Cloud Computing |

Page 6: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Cloud Types

Figure: Different types of cloud services - OpenStack: Iaas

4/24 OpenStack | Cloud Computing |

Page 7: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Agenda

Introduction

Cloud Service Type

Components

Packstack

Deployment

OpenStack | Cloud Computing |

Page 8: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Components

Figure: https://www.openstack.org/software/

5/24 OpenStack | Cloud Computing |

Page 9: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Components

ComputeStorageNetworkingImage ServiceIdentity ServiceDashboard

6/24 OpenStack | Cloud Computing |

Page 10: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Compute: Nova

Provides virtual devices on demandSchedules virtual devicesInteracts with the identity service for authenitication

7/24 OpenStack | Cloud Computing |

Page 11: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Storage types

Ephereal storage (Nova):Used for small applications with small dataObject storage (Swift):Accessible binary files via REST APIAllows bigger data to be managedBlock storage (Cinder):Persistent modules -> detaction and re-attaching doesn’t causedatalossRecommendable for very big amount data

8/24 OpenStack | Cloud Computing |

Page 12: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Networking: Neutron

Handles management of the virtual networkProvides flexible network modelsAllows a user to create networks, control traffic and connectdevices or servers to the networksSupport for FWaaS (Firewall), VPNaaS (Virtual PrivateNetwork), LBaaS (Load Balancer)

9/24 OpenStack | Cloud Computing |

Page 13: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Image Service: Glance

Manages the virtual machines within the cloudComponent based architectureScalable to big workloadsRecoverable when failing

10/24 OpenStack | Cloud Computing |

Page 14: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Identity Service: Keystone

Provides credential validation and data about users and groupsUser = API consumerGroups = Container of usersData about projects and domains is fetched via the resourceservice

11/24 OpenStack | Cloud Computing |

Page 15: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Dashboard: Horizon

Web based user interface for OpenStack modulesAllows managing cloud components without using the terminalAllows interaction with other OpenStack servicesHas lists and pie charts for the graphical representation ofmodulesIs extendable by users

12/24 OpenStack | Cloud Computing |

Page 16: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Agenda

Introduction

Cloud Service Type

Components

Packstack

Deployment

OpenStack | Cloud Computing |

Page 17: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Packstack

Tool to deploy several OpenStack parts by oneOpen source projectUsable only on CentOS or RHEL (Red Hat Enterprise Linux)Simplifies the installation process of OpenStack modulsCaution: Doesn’t guarantee to set up a safe cloud service

13/24 OpenStack | Cloud Computing |

Page 18: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Agenda

Introduction

Cloud Service Type

Components

Packstack

Deployment

OpenStack | Cloud Computing |

Page 19: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Deployment

Figure: Prequisites for setting up OpenStack via Packstack on CentOS to avoid problems caused by Neutron

14/24 OpenStack | Cloud Computing |

Page 20: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Deployment

Figure: Downloading Packstack and installing the all in one version

15/24 OpenStack | Cloud Computing |

Page 21: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Deployment

If you don’t want to have the whole installation you can also typein: $ packstack –gen-answer-file=answer.txtThen access the file via: $ vi answer.txtChange every entry as desiredAllows us to set up a cloud with only Glance, Nova and Neutron

16/24 OpenStack | Cloud Computing |

Page 22: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Deployment

Figure: Example settings for a setup with only Glance, Nova and Neutron

17/24 OpenStack | Cloud Computing |

Page 23: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Deployment

After installing the components retrieve the credentials forlogging in on Horizon$ cat keystonerc_admin will display the login dataNavigate to the IP used by the external bridge (differs from userto user - depending on settings)Login with the credentials fetched from keystone

18/24 OpenStack | Cloud Computing |

Page 24: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Deployment

Figure: Overview over the images tab in Horizon

19/24 OpenStack | Cloud Computing |

Page 25: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Deployment

Figure: Overview over the keypair tab

20/24 OpenStack | Cloud Computing |

Page 26: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Deployment

Figure: Overview after adding an instance

21/24 OpenStack | Cloud Computing |

Page 27: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Deployment

Figure: Accessible instance

22/24 OpenStack | Cloud Computing |

Page 28: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Thank you for your attention!(If you were paying attention...)

23/24 OpenStack | Cloud Computing |

Page 29: Cloud Computing - Christian Baun...Cloud Computing OpenStack Frankfurt University of Applied Sciences Faculty of Computer Science and Engineering Nils Jorek, Nicolas Fleischer 1/24

Referenceshttps://www.openstack.com

https://www.rdoproject.org/install/packstack/

24/24 OpenStack | Cloud Computing |