2. Summary
FIWARE LAB Cloud Hosting
Deploying your first VM
Deploying components for your application
Object Storage API
Reference Information
3. OpenStack: The Open Source Cloud Operating System
OpenStack is open source software to build private and public clouds
FIWARE LAB Cloud Portal based on OpenStack
Provision and manage large
networks of virtual machines
Object storage and Block storage for
Pluggable, scalable, API-driven system use with servers and applications
for managing networks and IP addresses
Cloud Portal
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. FIWARE LAB Cloud Hosting Create your account in lab.fi-ware.org
Enter your email and password to
access to the FIWARE LAB
If you forgot it, request
the new password
Redirect to
account.lab.fi-ware.org/users/sign_in
If you do not have an
account, sign up
6. FIWARE LAB Cloud Hosting Enter in the Cloud Portal
BLUEPRINT
COMPUTE
STORAGE
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
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. 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. Connection to VM (1)
Example via SSH
with keypair.pem file
ssh -i keypair.pem root@130.206.127.157
52. Connection to VM (2)
Example via Putty
Convert keypair to PPK
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.