Pasquale Vitale Engineering Ingegneria Informatica FIWARE LAB Cloud Portal
Summary FIWARE LAB Cloud Hosting Deploying your first VM Deploying components for your application Object Storage API Reference Information
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 Cloud Portal Provision and manage large networks of virtual machines Pluggable, scalable, API-driven system for managing networks and IP addresses Object storage and Block storage for use with servers and applications
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
FIWARE LAB Cloud Hosting Create your account in lab.fi-ware.org Redirect to account.lab.fi-ware.org/users/sign_in Enter your email and password to access to the FIWARE LAB If you do not have an account, sign up If you forgot it, request the new password
FIWARE LAB Cloud Hosting Enter in the Cloud Portal BLUEPRINT COMPUTE STORAGE
FIWARE LAB Cloud Hosting Create your keypair
FIWARE LAB Cloud Hosting Compute section Compute menu Images Instances Security Flavors Snapshots
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
FIWARE LAB Cloud Hosting Compute section detail
FIWARE LAB Cloud Hosting Compute section Wizard - step 1 of 4 Details Instance Name Flavor (tiny, small, medium, etc ) Instance Count
FIWARE LAB Cloud Hosting Compute section Wizard - step 2 of 4 Access & Security Keypair Security Groups
FIWARE LAB Cloud Hosting Compute section Wizard - step 3 of 4 Post Creation Customization Script
FIWARE LAB Cloud Hosting Compute section Wizard - step 4 of 4 Summary Instance Name Keypair Security Group
FIWARE LAB Cloud Hosting Compute section Instances
FIWARE LAB Cloud Hosting Compute section Flavors
FIWARE LAB Cloud Hosting Compute section Security Security Floating IPs Security Groups Keypairs
FIWARE LAB Cloud Hosting Compute section Security Security Floating IPs Allocate Floating IPs Actions Associate IP Disassociate Floating IP Release Floating IPs
FIWARE LAB Cloud Hosting Compute section Security Security Floating IPs Allocate Floating IPs Actions Associate IP Disassociate Floating IP Release Floating IPs
FIWARE LAB Cloud Hosting Compute section Security Security Security Groups Create Security Group Actions Edit Rule Delete Rule
FIWARE LAB Cloud Hosting Compute section Security Security Security Groups Create Security Group -1 is to allow ping Actions 22 is to allow ssh Edit Rule 443 is to allow https Delete Rule 80 is to allow http allow only IP
FIWARE LAB Cloud Hosting Compute section Security Security Keypairs Create Keypair Import Keypair Actions Delete Keypairs
FIWARE LAB Cloud Hosting Compute section Security Security Keypairs Create Keypair Import Keypair Actions Delete Keypairs
FIWARE LAB Cloud Hosting Compute section Snapshots Snapshots Instance Snapshots Volume Snapshots
FIWARE LAB Cloud Hosting Compute section Snapshots Snapshots Instance Snapshots Actions Launch Instance Edit Image Delete Snapshots
FIWARE LAB Cloud Hosting Compute section Snapshots Snapshots Volume Snapshots Actions Delete Snapshots
FIWARE LAB Cloud Hosting Blueprint section Blueprint Instances Blueprint Templates
FIWARE LAB Cloud Hosting Blueprint section Blueprint Instances Go in the catalog
FIWARE LAB Cloud Hosting Blueprint section Blueprint Templates Blueprint Templates Open Catalog Create New Template Actions Launch Template Clone Template Delete Template
FIWARE LAB Cloud Hosting Blueprint section Open Catalog Blueprint Templates Catalog Close catalog Actions Clone Template
FIWARE LAB Cloud Hosting Blueprint section Create New Template Blueprint Template Create New Template
FIWARE LAB Cloud Hosting Blueprint section Blueprint Templates Click on template to start the wizard to add tiers in your CloudPortalTemplate
FIWARE LAB Cloud Hosting Blueprint section Blueprint Templates Blueprint Templates Create Tier Wizard step 1 of 2
FIWARE LAB Cloud Hosting Blueprint section Blueprint Templates Blueprint Templates Create Tier Wizard step 2 of 2 Software added to tier
FIWARE LAB Cloud Hosting Blueprint section Blueprint Templates CloudPortalTemplate detail Edit and delete tiers
FIWARE LAB Cloud Hosting Blueprint section Blueprint Templates There are 2 tiers for CloudPortalTemplate
FIWARE LAB Cloud Hosting Blueprint section Blueprint Templates Launch the CloudPortalTemplate to start the wizard
FIWARE LAB Cloud Hosting Blueprint section Blueprint Templates Blueprint Templates Launch Blueprint Template
FIWARE LAB Cloud Hosting Blueprint section Blueprint Instances
FIWARE LAB Cloud Hosting Storage section Volumes Containers
FIWARE LAB Cloud Hosting Storage section Volumes Volumes are persistent storage for the VM
FIWARE LAB Cloud Hosting Storage section Create Volume Create Volume
FIWARE LAB Cloud Hosting Storage section Volume attached
FIWARE LAB Cloud Hosting Storage section Containers Containers are object storage (like folders)
FIWARE LAB Cloud Hosting Storage section Create Container Create Container
FIWARE LAB Cloud Hosting Storage section Create Container Upload Objects
FIWARE LAB Cloud Hosting Storage section Container Download Object
FIWARE LAB Cloud Hosting Storage section Container Copy Object
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
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
Connection to VM (1) Example via SSH with keypair.pem file ssh -i keypair.pem root@130.206.127.157
Connection to VM (2) Example via Putty Convert keypair to PPK
Connection to VM (3) Example via FileZilla Set keypair
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.
Thanks!