Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

FIWARE Lab

1.761 Aufrufe

Veröffentlicht am

PResentation on the FIWARE cloud environment FIWARE LAB

Veröffentlicht in: Software
  • Als Erste(r) kommentieren

  • Gehören Sie zu den Ersten, denen das gefällt!

FIWARE Lab

  1. 1. Pasquale Vitale Engineering Ingegneria Informatica FIWARE LAB Cloud Portal
  2. 2. Summary FIWARE LAB Cloud Hosting Deploying your first VM Deploying components for your application Object Storage API Reference Information
  3. 3. OpenStack: The Open Source Cloud Operating System OpenStack is open source software to build private and public clouds FIWARE LAB Cloud Portal is IaaS based on OpenStack Provision and manage large networks of virtual machines Object storage and Block storage for use with servers and applicationsPluggable, scalable, API-driven system for managing networks and IP addresses Cloud Portal
  4. 4. FIWARE LAB Cloud Hosting Steps: Create your account in lab.fi-ware.org Enter in the Cloud Portal Create your keypair (private key) Deploy your instance Add a public IP Open ports to the VM
  5. 5. FIWARE LAB Cloud Hosting Create your account in lab.fi-ware.org If you forgot it, request the new password Enter your email and password to access to the FIWARE LAB Redirect to account.lab.fi-ware.org/users/sign_in If you do not have an account, sign up
  6. 6. FIWARE LAB Cloud Hosting Enter in the Cloud Portal COMPUTE STORAGE BLUEPRINT
  7. 7. FIWARE LAB Cloud Hosting Create your keypair
  8. 8. FIWARE LAB Cloud Hosting Compute section Compute menu Images Instances Security Flavors Snapshots
  9. 9. FIWARE LAB Cloud Hosting Compute section Images Choose your VM you want to launch •baseimages, •fiware:apps, •fiware:data, •fiware:i2nd, •fiware:iot, •fiware:security, •fiware:userinterface, •fiware:utils
  10. 10. FIWARE LAB Cloud Hosting Compute section detail
  11. 11. FIWARE LAB Cloud Hosting Compute section Wizard - step 1 of 4 Details Instance Name Flavor (tiny, small, medium, etc…) Instance Count
  12. 12. FIWARE LAB Cloud Hosting Compute section Wizard - step 2 of 4 Access & Security Keypair Security Groups
  13. 13. FIWARE LAB Cloud Hosting Compute section Wizard - step 3 of 4 Post Creation Customization Script
  14. 14. FIWARE LAB Cloud Hosting Compute section Wizard - step 4 of 4 Summary Instance Name Keypair Security Group
  15. 15. FIWARE LAB Cloud Hosting Compute section Instances
  16. 16. FIWARE LAB Cloud Hosting Compute section Flavors
  17. 17. FIWARE LAB Cloud Hosting Compute section Security Security Floating IPs Security Groups Keypairs
  18. 18. FIWARE LAB Cloud Hosting Compute section Security Security Floating IPs Allocate Floating IPs Actions Associate IP Disassociate Floating IP Release Floating IPs
  19. 19. FIWARE LAB Cloud Hosting Compute section Security Security Floating IPs Allocate Floating IPs Actions Associate IP Disassociate Floating IP Release Floating IPs
  20. 20. FIWARE LAB Cloud Hosting Compute section Security Security Security Groups Create Security Group Actions Edit Rule Delete Rule
  21. 21. FIWARE LAB Cloud Hosting Compute section Security Security Security Groups Create Security Group Actions Edit Rule Delete Rule -1 is to allow ping 22 is to allow ssh 443 is to allow https 80 is to allow http allow only IP
  22. 22. FIWARE LAB Cloud Hosting Compute section Security Security Keypairs Create Keypair Import Keypair Actions Delete Keypairs
  23. 23. FIWARE LAB Cloud Hosting Compute section Security Security Keypairs Create Keypair Import Keypair Actions Delete Keypairs
  24. 24. FIWARE LAB Cloud Hosting Compute section Snapshots Snapshots Instance Snapshots Volume Snapshots
  25. 25. FIWARE LAB Cloud Hosting Compute section Snapshots Snapshots Instance Snapshots Actions Launch Instance Edit Image Delete Snapshots
  26. 26. FIWARE LAB Cloud Hosting Compute section Snapshots Snapshots Volume Snapshots Actions Delete Snapshots
  27. 27. FIWARE LAB Cloud Hosting Blueprint section Blueprint Instances Blueprint Templates
  28. 28. FIWARE LAB Cloud Hosting Blueprint section Blueprint Instances Go in the catalog
  29. 29. FIWARE LAB Cloud Hosting Blueprint section Blueprint Templates Blueprint Templates Open Catalog Create New Template Actions Launch Template Clone Template Delete Template
  30. 30. FIWARE LAB Cloud Hosting Blueprint section Open Catalog Blueprint Templates Catalog Close catalog Actions Clone Template
  31. 31. FIWARE LAB Cloud Hosting Blueprint section Create New Template Blueprint Template Create New Template
  32. 32. FIWARE LAB Cloud Hosting Blueprint section Blueprint Templates Click on template to start the wizard to add tiers in your CloudPortalTemplate
  33. 33. FIWARE LAB Cloud Hosting Blueprint section Blueprint Templates Blueprint Templates Create Tier Wizard step 1 of 2
  34. 34. FIWARE LAB Cloud Hosting Blueprint section Blueprint Templates Blueprint Templates Create Tier Wizard step 2 of 2 Software added to tier
  35. 35. FIWARE LAB Cloud Hosting Blueprint section Blueprint Templates CloudPortalTemplate detail Edit and delete tiers
  36. 36. FIWARE LAB Cloud Hosting Blueprint section Blueprint Templates There are 2 tiers for CloudPortalTemplate
  37. 37. FIWARE LAB Cloud Hosting Blueprint section Blueprint Templates Launch the CloudPortalTemplate to start the wizard
  38. 38. FIWARE LAB Cloud Hosting Blueprint section Blueprint Templates Blueprint Templates Launch Blueprint Template
  39. 39. FIWARE LAB Cloud Hosting Blueprint section Blueprint Instances
  40. 40. FIWARE LAB Cloud Hosting Storage section Volumes Containers
  41. 41. FIWARE LAB Cloud Hosting Storage section Volumes Volumes are persistent storage for the VM
  42. 42. FIWARE LAB Cloud Hosting Storage section Create Volume Create Volume
  43. 43. FIWARE LAB Cloud Hosting Storage section Volume attached
  44. 44. FIWARE LAB Cloud Hosting Storage section Containers Containers are object storage (like folders)
  45. 45. FIWARE LAB Cloud Hosting Storage section Create Container Create Container
  46. 46. FIWARE LAB Cloud Hosting Storage section Create Container Upload Objects
  47. 47. FIWARE LAB Cloud Hosting Storage section Container Download Object
  48. 48. FIWARE LAB Cloud Hosting Storage section Container Copy Object
  49. 49. FIWARE LAB Cloud Hosting Storage section Object Storage API Authentication to get initial token username='email@company.com' password='mypassword' curl -d '{"auth": {"passwordCredentials": {"username":"'$username'", "password":"'$password'"}}}' -H ‘content-type: aplication/json' http://cloud.lab.fi-ware.org:4730/v2.0/tokens -vvv Use initial token to get tenant curl -H 'x-auth-token: '$token http://cloud.lab.fi-ware.org:4730/v2.0/tenants Authenticate tenant to get token for Object Storage curl -d '{"auth": {"passwordCredentials": {"username":"'$username'", "password":"'$password'"}, "tenantId":"'$tenantId'"}}' -H ‘content-type: aplication/json' http://cloud.lab.fi-ware.org:4730/v2.0/tokens Object Storage URL http://$node_cdmi:8080/cdmi/$auth/container/ http://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/Object_Storage_-_User_and_Programmers_Guide
  50. 50. FIWARE LAB Cloud Hosting Storage section Example container REST call: GET X-Auth-Token application/cdmi-object X-CDMI-Specification-Version List of objects within the container
  51. 51. Connection to VM (1) Example via SSH with keypair.pem file ssh -i keypair.pem root@130.206.127.157
  52. 52. Connection to VM (2) Example via Putty Convert keypair to PPK
  53. 53. Connection to VM (3) Example via FileZilla Set keypair
  54. 54. Information If you have any question or problem contact to fiware-lab-help@lists.fi-ware.org You can see webinars, courses, videos in the FIWARE Academy http://edu.fi-ware.org You can use stackoverflow to ask question using the fiware and/or filab tags.
  55. 55. Thanks!Thanks!

×