Open APIs for Open Minds
Setting up your virtual infrastructure
using FI-LAB Cloud
(http://tinyurl.com/FIWARECloudWebminar...
Content
1. Introduction to FI-LAB Cloud Hosting
2. Deploying your first server
3. Containers and volumes
4. Deploying comp...
2
“We truly believe
that OpenStack is
the Linux of cloud
computing”
Mariano Cunietti
CTO Enter &
Cloudup
3
Source: https://twitter.com/netpres/status/296039862182744064/photo/1
4
1. Introduction to FI-LAB Cloud Hosting
2. Deploying your first Server
Create your account in lab.fi-ware.eu
Enter in the Cloud Portal
Create your keypair (pri...
6
7
Enter your email and password
to access to the FI-LAB.
Sign in
8
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 ...
Create new user account
9
10
You must create a keypair
to access to the servers.
Create a new keypair
11
Create a new keypair
12
Create a new keypair
Please download it.
The portal does not store
your Public Key
How to connect from Windows
Install PuTTY and PuTTYgen from http://www.putty.org/
Convert your Keypair to PPK
• Start Pu...
How to connect from Windows
14
How to connect from Windows
Connect to your instance
• Start PuTTY.
• Put the public IP of your instance (default SSH por...
Create a new
Security Group
Security groups
16
Security groups
17
Edit Rules to open
ports in your VM.
Security groups
18
Security groups
19
Allocate IP to project
20
Allocate new IP
Allocate IP to project
21
Allocate IP to project
22
Launch Instances
23
Launch new
instance
Launch new instance
24
Launch new instance
25
Launch new instance
26
Launch new instance
27
Launch new instance
28
Associate IP
29
Associate a public
IP to a server.
Associate IP
30
Associate IP
31
Allocate IP to project
32
Instance Overview
33
Access to the instance
34
Access to the instance
35
Access to the instance
36
3. Containers and volumes
Create volumes
Attach volume to servers
Create containers in the object storage
Upload objec...
Create a volume
38
Create a new
volume
Create a volume
39
Attach volume to instance
40
Attach volume to instance
41
Attach volume to instance
42
Create container
43
Create a new
container
Create container
44
Create container
45
Upload object
46
Upload object
47
Object Storage API
 http://forge.fi-ware.eu/plugins/mediawiki/wiki/fiware/index.php/Object_Storage_-
_User_and_Programmer...
4. Deploying components for your application
in FI-LAB Cloud Hosting
Deploying components for your application.
Create B...
Deploying components for your application
50
• Deploying applications and not only Servers (Ad hoc installation not templa...
Deploying components for your application
Blueprint template: fiware1
• Blueprint Template: platform specification
to be d...
Deploying components for your application
Blueprint template: fiware1
• Blueprint Template: platform specification
to be d...
Deploying components for your application
Blueprint template: fiware1
• Blueprint Template: platform specification
to be d...
Deploying components for your application
Blueprint template: fiware1
• Blueprint Template: platform specification
to be d...
Create Blueprint templates
55
Press the option
“Blueprint Templates”
from menu
You can open the Catalog of
Blueprint Templ...
Create Blueprint templates
56
You should introduce the
“Name” and the “Description”.
Create Tiers on a Blueprint template
57
To add new Tier,
press “SevillaTemplate”
name.
Create Tiers on a Blueprint template
58
Press “Add Tier” to create
new tier inside the template
Create Tiers on a Blueprint template
59
You must select a Keypair
to access to those servers.
Do not forget to check
It if...
Create Tiers on a Blueprint template
60
Drag&Drop the software that
you want to install on this
group of servers.
Create Tiers on a Blueprint template
61
Launch Blueprint templates -> Blueprint instances
62
Press “Action” and select
“Lauch Template” to launch
the Instance.
Launch Blueprint templates -> Blueprint instances
63
You should specify the “Name”
and “Description” for
your blueprint.
Launch Blueprint templates -> Blueprint instances
64
Firstly, the deployment
of infrastructure.
Launch Blueprint templates -> Blueprint instances
65
Secondly, the installation
of the software.
Launch Blueprint templates -> Blueprint instances
66
Finally, if all was ok.
Pressing the name you can
see the tiers of th...
Launch Blueprint templates -> Blueprint instances
67
Press it to get information
of your server(s).
Demo
68
10.0.1.93
130.206.82.54
Demo
69
Demo
70
Reference Information
More information and manuals on the Pegasus PaaS Manager
page at FI-WARE Catalogue, “Documentation”...
72
Source: http://blog.liverez.com/2013/11/25/5-questions-to-ask-when-switching-to-cloud-based-vacation-rental-software/
fiware-lab-help@lists.fi-ware.org
73
 http://fi-ppp.eu
 http://fi-ware.eu
 Follow @Fiware on Twitter !
Thanks !
74
Upcoming SlideShare
Loading in...5
×

Setting up your virtual infrastructure using fi lab cloud webminar

500

Published on

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

  • Be the first to like this

No Downloads
Views
Total Views
500
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • 1. En la primera slide poned una lista de puntos de lo que se puede hacer con ese GE/set de GEs. Me refiero en plan titulares, sin muchas explicaciones.2. Mostrad un ejemplo representativo de uno o varios de los puntos anteriores.    Recordad: si lo hacéis como demo, poned slides con capturas y explicaciones también (así sirve también por si la demo os falla en ese momento ;-) ).3. Mostrad un enlace donde pondremos esta semana las slides de la Campus que tienen los detalles de todos los puntos mencionados en 1.   (Poned la lista de ficheros pero dejad el enlace en blanco que ya lo pondremos a última hora).
  • ssh -i ~/Downloads/keypairfla.pem root@130.206.83.38mysql -u root-p mysql321go
  • Setting up your virtual infrastructure using fi lab cloud webminar

    1. 1. Open APIs for Open Minds Setting up your virtual infrastructure using FI-LAB Cloud (http://tinyurl.com/FIWARECloudWebminar) Henar Muñoz Frutos (henar@tid.es) Webminar
    2. 2. Content 1. Introduction to FI-LAB Cloud Hosting 2. Deploying your first server 3. Containers and volumes 4. Deploying components for your application in your FI-LAB Cloud Hosting 5. Reference Information 1
    3. 3. 2 “We truly believe that OpenStack is the Linux of cloud computing” Mariano Cunietti CTO Enter & Cloudup
    4. 4. 3 Source: https://twitter.com/netpres/status/296039862182744064/photo/1
    5. 5. 4 1. Introduction to FI-LAB Cloud Hosting
    6. 6. 2. Deploying your first Server 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 5
    7. 7. 6
    8. 8. 7 Enter your email and password to access to the FI-LAB. Sign in
    9. 9. 8 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. Sign in
    10. 10. Create new user account 9
    11. 11. 10 You must create a keypair to access to the servers. Create a new keypair
    12. 12. 11 Create a new keypair
    13. 13. 12 Create a new keypair Please download it. The portal does not store your Public Key
    14. 14. How to connect from Windows 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. sevilla.pem). You’ll need to display All Files (*.*) to see your Keypair. • Click Open. 13
    15. 15. How to connect from Windows 14
    16. 16. How to connect from Windows Connect to your instance • Start PuTTY. • Put the public IP of your instance (default SSH port: 22). Configure it to use your Keypair • Open the Auth submenu (Connection > SSH > Auth) • Select the recently generated Private key file (PPK file). 15
    17. 17. Create a new Security Group Security groups 16
    18. 18. Security groups 17
    19. 19. Edit Rules to open ports in your VM. Security groups 18
    20. 20. Security groups 19
    21. 21. Allocate IP to project 20 Allocate new IP
    22. 22. Allocate IP to project 21
    23. 23. Allocate IP to project 22
    24. 24. Launch Instances 23 Launch new instance
    25. 25. Launch new instance 24
    26. 26. Launch new instance 25
    27. 27. Launch new instance 26
    28. 28. Launch new instance 27
    29. 29. Launch new instance 28
    30. 30. Associate IP 29 Associate a public IP to a server.
    31. 31. Associate IP 30
    32. 32. Associate IP 31
    33. 33. Allocate IP to project 32
    34. 34. Instance Overview 33
    35. 35. Access to the instance 34
    36. 36. Access to the instance 35
    37. 37. Access to the instance 36
    38. 38. 3. Containers and volumes Create volumes Attach volume to servers Create containers in the object storage Upload objects into your containers Object Storage API 37
    39. 39. Create a volume 38 Create a new volume
    40. 40. Create a volume 39
    41. 41. Attach volume to instance 40
    42. 42. Attach volume to instance 41
    43. 43. Attach volume to instance 42
    44. 44. Create container 43 Create a new container
    45. 45. Create container 44
    46. 46. Create container 45
    47. 47. Upload object 46
    48. 48. Upload object 47
    49. 49. 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 48
    50. 50. 4. Deploying components for your application in 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. 49
    51. 51. Deploying components for your application 50 • Deploying applications and not only Servers (Ad hoc installation not template usage). • Managing applications in Servers (install, uninstall, configure, snapshot…). • Deploying different environments for those applications.
    52. 52. Deploying components for your application Blueprint template: fiware1 • Blueprint Template: platform specification to be deployed. Context Broker 51
    53. 53. Deploying components for your application Blueprint template: fiware1 • Blueprint Template: platform specification to be deployed. • Tier: Each kind of software and server to be deployed. Tier 1: Tomcat Tier 2: Context Broker Tier 3: MongoDB Context Broker 52
    54. 54. Deploying components for your application Blueprint template: fiware1 • 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). Tier 1: Tomcat Tier 2: Context Broker Tier 3: MongoDB Server: 1 Server: 1 Servers: 2-5 Context Broker 53
    55. 55. Deploying components for your application Blueprint template: fiware1 • 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 FI-Lab.Tier 1: Tomcat Tier 2: Context Broker Tier 3: MongoDB Server: 1 Server: 1 Servers: 2-5 Context Broker Context Broker 54
    56. 56. Create Blueprint templates 55 Press the option “Blueprint Templates” from menu You can open the Catalog of Blueprint Template or create one from the scratch.
    57. 57. Create Blueprint templates 56 You should introduce the “Name” and the “Description”.
    58. 58. Create Tiers on a Blueprint template 57 To add new Tier, press “SevillaTemplate” name.
    59. 59. Create Tiers on a Blueprint template 58 Press “Add Tier” to create new tier inside the template
    60. 60. Create Tiers on a Blueprint template 59 You must select a Keypair to access to those servers. Do not forget to check It if you want to have public access
    61. 61. Create Tiers on a Blueprint template 60 Drag&Drop the software that you want to install on this group of servers.
    62. 62. Create Tiers on a Blueprint template 61
    63. 63. Launch Blueprint templates -> Blueprint instances 62 Press “Action” and select “Lauch Template” to launch the Instance.
    64. 64. Launch Blueprint templates -> Blueprint instances 63 You should specify the “Name” and “Description” for your blueprint.
    65. 65. Launch Blueprint templates -> Blueprint instances 64 Firstly, the deployment of infrastructure.
    66. 66. Launch Blueprint templates -> Blueprint instances 65 Secondly, the installation of the software.
    67. 67. Launch Blueprint templates -> Blueprint instances 66 Finally, if all was ok. Pressing the name you can see the tiers of this blueprint.
    68. 68. Launch Blueprint templates -> Blueprint instances 67 Press it to get information of your server(s).
    69. 69. Demo 68 10.0.1.93 130.206.82.54
    70. 70. Demo 69
    71. 71. Demo 70
    72. 72. 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) 71 (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
    73. 73. 72 Source: http://blog.liverez.com/2013/11/25/5-questions-to-ask-when-switching-to-cloud-based-vacation-rental-software/
    74. 74. fiware-lab-help@lists.fi-ware.org 73
    75. 75.  http://fi-ppp.eu  http://fi-ware.eu  Follow @Fiware on Twitter ! Thanks ! 74
    1. A particular slide catching your eye?

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

    ×