0
Setting up your virtual infrastructure using FI-LAB
Cloud

Open APIs for Open Minds
#CPBr7
Fernando López Aguilar
(fla@tid...
Content
§  Introduction to FI-LAB Cloud Hosting
§  Deploying your first VM
§  Create Container and add objects
§  Depl...
FI-LAB Cloud Hosting

2
FI-LAB Cloud Hosting

§ Create your account in lab.fi-ware.eu
§ Enter in the Cloud Portal
§ Create your keypair (privat...
Add new user
Enter your email and password
to access to the FI-LAB.

If you do not have it or forgot it,
sign up or reques...
You must create a keypair
to access to the servers.

5
How to connect from Windows (I)

§ Install PuTTY and PuTTYgen from http://www.putty.org/
§ Convert your Keypair to PPK
•...
How to connect from Windows (II)

§ Connect to your instance
•  Start PuTTY.
•  Put the public IP of your instance (defau...
Security groups

Open ports in your VM.

8
Allocate IP to project

Allocate new IP

9
Launch Instances

Launch new
instance

10
Launch instances

11
Launch Instances

12
Launch Instances

13
Allocate Floating IP

14
15
Access to the instance

16
FI-LAB Cloud Hosting

§ Create volumes
§ Attach volume to servers
§ Create containers in the object storage
§ Upload o...
Create a volume

18
Attach volume to instance

19
Volume attached

20
Create container

21
Upload object

22
Object Storage API
§  http://forge.fi-ware.eu/plugins/mediawiki/wiki/fiware/index.php/Object_Storage__User_and_Programmer...
FI-LAB Cloud Hosting

§ Deploying components for your application.
§ Create blueprint templates.
§ Create Tiers on a bl...
Deploying components for your application
•  Deploying applications and not only Servers.
•  Ad hoc installation (not temp...
Deploy example
Blueprint template: fiware1
Servers: 2-5

•  Blueprint Template: platform specification
to be deployed.
•  ...
Demo

You can open the Catalog of
Blueprint Template or create one
from the scratch.
Press the option
“Blueprint Templates...
Demo

You should introduce the
“Name” and the “Description”.

28
Demo

To add new Tier,
press “CPBR7” name.

29
Demo

After press “Add Tier” you see
this windows to define
the servers of this tier.

You must select a Keypair
to access...
Demo
You should specify the
maximum, minimum and current
number of servers

31
Demo

Press “Action” and select
“Lauch Template” to launch
the Instance.

32
Demo

You should specify the “Name”
and “Description” for
your blueprint.

33
Demo

Firstly, the deployment
of infrastructure.

34
Demo

Secondly, the installation
of the software.

35
Demo

Pressing the name you can
see the tiers of this blueprint.

Finally, if all was ok.

36
Demo

Press it to get information
of your server.

37
Demo

38
Demo

39
Demo

40
Reference Information

§ More information and manuals on the Pegasus PaaS Manager
page at FI-WARE Catalogue, “Documentati...
If you have any question or problem
contact to
fiware-lab-help@lists.fi-ware.eu

42
Muito obrigado!!!

43
Upcoming SlideShare
Loading in...5
×

Setting up your virtual infrastructure using fi-lab cloud

1,111

Published on

Campus Party Brasil 2014, FI-WARE Cloud presentation where you can find how to deploy servers and blueprint in the FI-Lab Cloud. Besides, the upload of contents into the Object Storage service.

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,111
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
30
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Transcript of "Setting up your virtual infrastructure using fi-lab cloud"

  1. 1. Setting up your virtual infrastructure using FI-LAB Cloud Open APIs for Open Minds #CPBr7 Fernando López Aguilar (fla@tid.es) (Slides: http://tinyurl.com/fiware-cloud)
  2. 2. Content §  Introduction to FI-LAB Cloud Hosting §  Deploying your first VM §  Create Container and add objects §  Deploying components for your application §  Reference Information 1
  3. 3. FI-LAB Cloud Hosting 2
  4. 4. FI-LAB Cloud Hosting § Create your account in lab.fi-ware.eu § Enter in the Cloud Portal § Create your keypair (private key) § Deploy your instance § Add a public IP § Open ports to the VM 3
  5. 5. Add new user Enter your email and password to access to the FI-LAB. If you do not have it or forgot it, sign up or request for a new one. 4
  6. 6. You must create a keypair to access to the servers. 5
  7. 7. How to connect from Windows (I) § Install PuTTY and PuTTYgen from http://www.putty.org/ § Convert your Keypair to PPK •  Start PuTTYgen (e.g. From the Start menu, click All Programs > PuTTY > PuTTYgen) •  Click Load and select the Keypair file (e.g. my_cert.pem). You’ll need to display All Files (*.*) to see your Keypair. •  Click Open. And select the destination path and name of your PPK file. 6
  8. 8. How to connect from Windows (II) § Connect to your instance •  Start PuTTY. •  Put the public IP of your instance (default SSH port is 22). § Configure it to use your Keypair •  Open the Auth submenu (Connection > SSH > Auth) •  Select the recently generated Private key file (PPK file). 7
  9. 9. Security groups Open ports in your VM. 8
  10. 10. Allocate IP to project Allocate new IP 9
  11. 11. Launch Instances Launch new instance 10
  12. 12. Launch instances 11
  13. 13. Launch Instances 12
  14. 14. Launch Instances 13
  15. 15. Allocate Floating IP 14
  16. 16. 15
  17. 17. Access to the instance 16
  18. 18. FI-LAB Cloud Hosting § Create volumes § Attach volume to servers § Create containers in the object storage § Upload objects into your containers § Object Storage API 17
  19. 19. Create a volume 18
  20. 20. Attach volume to instance 19
  21. 21. Volume attached 20
  22. 22. Create container 21
  23. 23. Upload object 22
  24. 24. Object Storage API §  http://forge.fi-ware.eu/plugins/mediawiki/wiki/fiware/index.php/Object_Storage__User_and_Programmers_Guide §  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.eu:4730/v2.0/tokens -vvv §  Use initial token to get tenant curl -H 'x-auth-token: '$token http://cloud.lab.fi-ware.eu: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.eu:4730/v2.0/tokens §  Object Storage URL http://130.206.82.9:8080/v1/AUTH_tenantId 23
  25. 25. FI-LAB Cloud Hosting § Deploying components for your application. § Create blueprint templates. § Create Tiers on a blueprint template. § Launch blueprint templates -> create blueprint instances § See details of the blueprint instance § Check the SW installed on the blueprint instance. 24
  26. 26. Deploying components for your application •  Deploying applications and not only Servers. •  Ad hoc installation (not template usage). •  Managing applications in Servers (install, uninstall, configure, snapshot…). •  Deploying different environments for that applications. 25
  27. 27. Deploy example Blueprint template: fiware1 Servers: 2-5 •  Blueprint Template: platform specification to be deployed. •  Tier: Each kind of software and server to be deployed. •  Each Tier can be deployed in one or several servers (e.g. tomcat, 2-5 servers). •  Blueprint Instance: Deployed in the testbed. Tier 1: Tomcat Server: 1 Server: 1 Context Broker Tier 2: Context Broker Tier 3: MongoDB Context Broker 26
  28. 28. Demo You can open the Catalog of Blueprint Template or create one from the scratch. Press the option “Blueprint Templates” from menu 27
  29. 29. Demo You should introduce the “Name” and the “Description”. 28
  30. 30. Demo To add new Tier, press “CPBR7” name. 29
  31. 31. Demo After press “Add Tier” you see this windows to define the servers of this tier. You must select a Keypair to access to those servers. Install software pressing the mouse right click. 30
  32. 32. Demo You should specify the maximum, minimum and current number of servers 31
  33. 33. Demo Press “Action” and select “Lauch Template” to launch the Instance. 32
  34. 34. Demo You should specify the “Name” and “Description” for your blueprint. 33
  35. 35. Demo Firstly, the deployment of infrastructure. 34
  36. 36. Demo Secondly, the installation of the software. 35
  37. 37. Demo Pressing the name you can see the tiers of this blueprint. Finally, if all was ok. 36
  38. 38. Demo Press it to get information of your server. 37
  39. 39. Demo 38
  40. 40. Demo 39
  41. 41. Demo 40
  42. 42. Reference Information § More information and manuals on the Pegasus PaaS Manager page at FI-WARE Catalogue, “Documentation” tab • http://tinyurl.com/paas-manager (1) § More information and manuals on the Object Storage GE page at FI-WARE Catalogue. • http://tinyurl.com/object-storage (2) § More FI-LAB Cloud Hosting components. • http://tinyurl.com/cloud-hosting-ges (3) (1)  http://catalogue.fi-ware.eu/enablers/paas-manager-pegasus/documentation (2)  http://catalogue.fi-ware.eu/enablers/object-storage-ge-fi-ware-implementation (3)  http://catalogue.fi-ware.eu/enablers?chapter_tid=2 41
  43. 43. If you have any question or problem contact to fiware-lab-help@lists.fi-ware.eu 42
  44. 44. Muito obrigado!!! 43
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×