This shows you the differences between two versions of the page.
scgc:laboratoare:10 [2018/05/22 10:43] mihai.carabas |
scgc:laboratoare:10 [2021/11/17 18:38] (current) maria.mihailescu |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Laboratory 10. Openstack security ===== | + | ===== Openstack security ===== |
+ | <hidden> | ||
==== Complete the Feedback ==== | ==== Complete the Feedback ==== | ||
We invite you to evaluate the SCGC team activity. | We invite you to evaluate the SCGC team activity. | ||
- | <note tip>You can find the **feedback form** in the right side of the main page of SO from http://cs.curs.pub.ro in a frame called //"FEEDBACK"// (or [[http://cs.curs.pub.ro/2017/blocks/feedbackacs/view.php?courseid=286&blockid=2391|click aici]]). You must be enroled in the SCGC course, otherwise you will get an error | + | <note tip>You can find the **feedback form** in the right side of the main page of SCGC from http://acs.curs.pub.ro in a frame called //"FEEDBACK"//. You must be enrolled in the SCGC course, otherwise you will get an error. |
</note> | </note> | ||
- | Thank you! | + | **Thank you!** |
+ | ---- | ||
+ | </hidden> | ||
==== Scope ==== | ==== Scope ==== | ||
Line 31: | Line 33: | ||
==== 0. [5p] Creating and preparing the VM ==== | ==== 0. [5p] Creating and preparing the VM ==== | ||
- | In the faculty's [[http://cloud.curs.pub.ro/|OpenStack cloud]], launch an instance with the following parameters: | + | In the faculty's [[http://cloud.grid.pub.ro/|OpenStack cloud]], launch an instance with the following parameters: |
- | * //Name//: **newton** | + | * //Name//: **<user-name>-openstack** |
* //Availability Zone//: **any** | * //Availability Zone//: **any** | ||
* //Instance boot source//: **Boot from image** | * //Instance boot source//: **Boot from image** | ||
* //Image name//: **Ubuntu 16.04 Xenial** | * //Image name//: **Ubuntu 16.04 Xenial** | ||
- | * //Flavor//: **c1.large** | + | * //Flavor//: **m1.large** |
- | * //Keypair//: your own keypair from ''fep.grid.pub.ro'' | + | |
- | Connect to the VM from ''fep.grid.pub.ro'', using the username ''ubuntu''. | + | Connect to the VM using the username ''ubuntu''. |
- | In ''/etc/hosts'', map the IP address of the instance to its hostname: | + | In ''/etc/hosts'', map the IP address of the instance to ''newton'': |
<code bash> | <code bash> | ||
$ cat /etc/hosts | $ cat /etc/hosts | ||
Line 64: | Line 65: | ||
$ sudo apt dist-upgrade | $ sudo apt dist-upgrade | ||
</code> | </code> | ||
+ | |||
+ | <note warning> | ||
+ | DO NOT forget to enter the second ''apt-get update'' command! If you do not enter it, an incorrect version of OpenStack will be installed! | ||
+ | </note> | ||
+ | |||
Install the OpenStack client packages and reboot: | Install the OpenStack client packages and reboot: | ||
Line 971: | Line 977: | ||
<note> | <note> | ||
- | **Hint:** You can follow this [[https://docs.openstack.org/newton/install-guide-ubuntu/horizon-install.html/|tutorial]]. | + | **Hint:** You can follow this [[https://docs.openstack.org/newton/install-guide-ubuntu/horizon-install.html|tutorial]]. |
</note> | </note> | ||
Line 978: | Line 984: | ||
</note> | </note> | ||
- | For testing, launch ''firefox'' from the command-line on ''fep.grid.pub.ro''. | + | For testing, launch ''firefox'' from the command-line on ''fep8.grid.pub.ro''. Make sure to use compression (add the ''-C'' flag to the ''ssh'' command). |