[opensuse-buildservice] Installing an obsserver as an appliance in Amazon Cloud service
Hello, following a long thread of debug with Tim, I am pleased to give here a short HowTo for those who would like to create an OBS server in the cloud. Having an OBS in the cloud can be an interesting model to get a large server for validation and test without the initial investment or to provide a scalable service. I let you do your math and do not take this email as an advise to use or not use the service. I have used the appliance provided by the obslight project and made my test with Amazon EC2 cloud service Create an acount on Amazon cloud service. https://console.aws.amazon.com Login and select EC2 "Virtual Server in the Cloud" In "My Ressources" (first time only) Create a new pair of key and save it in your local drive (will be needed later to connect as root). Prepare your AWS credential https://aws-portal.amazon.com/gp/aws/securityCredentials (first time only) Get the OBS appliance http://susestudio.com/a/e0uuBG/meego-obs (note this process is valid from the version 1.0.48) Select the Type "Cloud" Select "upload to EC2" Add your credential to SUSE Studio (first time only) UN-select the "Automatic Launch option" (if you forget that you will just have to terminate the instance started by SUSE) Click on "Upload to Amazon" Return to AWS Management Console -> EC2 Select Network-Security -> Security Groups Create a new security Group called observer in "InBound" Tabulation add two rules for the ports 82 and 444 with Source 0.0.0.0/0 (Note in production, your rules will need to be smarter) Select Images -> AMIs you see an image called ....MeeGo_OBS..... Select it with a click Right Click to access contextual menu -> Launch Instance Instance Type -> change to Medium (m1.medium) or higher Click "Continue", 3 times until 'Create KeyPairs' Select the Key pair that you have saved previously Click "Continue" to 'Configure Firewall' Select all the available rules Click "Continue" to 'Review' Click Launch Select Instance -> Instances Your instance is running. Once that 'status checks' is green (running green is not enough) Connect with ssh on your instance. the name is something like ec2-xxx-xxx-xx-xxx.compute-n.amazonaws.com add an entry for obslightserver in /etc/hosts on your local PC (mandatory) IP address is the number in the appliance host name. use ssh -i path-to-you-key.pem root@ec2-xxx-xxx-xx-xxx.compute-n.amazonaws.com Increase the HDD size which by default is only 10GB. resize2fs /dev/sda1 50G Correct the obsworker mode of operation to select chroot vi /etc/sysconfig/obs-server change OBS_VM_TYPE = "none" rcobsworker stop rcobsworker start Your OBS appliance is ready. Note that its name and IP address will change each time that you stop it by default. Remember the entry in /etc/host You can now connect to the appliance from your PC with https://obslightserver You can follow the process to add Tizen IVI 1.0 in your new private OBS, as Fake OBS is already installed you you can jump the first phases. https://lists.tizen.org/pipermail/ivi/2012-May/000038.html Enjoy. -- Dominig ar Foll Senior Software Architect Open Source Technology Centre Intel SSG -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tuesday 05 June 2012 17:31:28 Dominig ar Foll wrote:
a short HowTo for those who would like to create an OBS server in the cloud. Having an OBS in the cloud can be an interesting model to get a large server for validation and test without the initial investment or to provide a scalable service.
I have put it online: http://en.opensuse.org/openSUSE:OBSonEC2 With a link to it from: http://en.opensuse.org/openSUSE:Build_Service_Appliance I think integrating the two pages might be a good idea but I'm not entirely sure if and how that would work. Maybe Florent has a suggestion. /Jos -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hello Jos, Thanks for creating this wiki page. I don't think integrating the two page is a good idea since "openSUSE:Build_Service_Appliance" talks about the official OBS appliance, and the procedure you transcribed is using OBS Light's custom appliance generated on SUSE Studio. Maybe we can move your page to the "openSUSE:OBS_Light" namespace, and add another entry in the navbar. Florent Le 27/06/2012 13:59, Jos Poortvliet a écrit :
On Tuesday 05 June 2012 17:31:28 Dominig ar Foll wrote:
a short HowTo for those who would like to create an OBS server in the cloud. Having an OBS in the cloud can be an interesting model to get a large server for validation and test without the initial investment or to provide a scalable service. I have put it online: http://en.opensuse.org/openSUSE:OBSonEC2 With a link to it from: http://en.opensuse.org/openSUSE:Build_Service_Appliance
I think integrating the two pages might be a good idea but I'm not entirely sure if and how that would work. Maybe Florent has a suggestion.
/Jos -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Wed, Jun 27, 2012 at 4:20 PM, Florent Vennetier (Intel OTC)
Hello Jos,
Thanks for creating this wiki page.
I don't think integrating the two page is a good idea since "openSUSE:Build_Service_Appliance" talks about the official OBS appliance, and the procedure you transcribed is using OBS Light's custom appliance generated on SUSE Studio. Maybe we can move your page to the "openSUSE:OBS_Light" namespace, and add another entry in the navbar.
That would be another way of doing this, yes. My wiki fu however breaks here - I dunno how to add things to the navbar :D
Florent
Le 27/06/2012 13:59, Jos Poortvliet a écrit :
On Tuesday 05 June 2012 17:31:28 Dominig ar Foll wrote:
a short HowTo for those who would like to create an OBS server in the cloud. Having an OBS in the cloud can be an interesting model to get a large server for validation and test without the initial investment or to provide a scalable service.
I have put it online: http://en.opensuse.org/openSUSE:OBSonEC2 With a link to it from: http://en.opensuse.org/openSUSE:Build_Service_Appliance
I think integrating the two pages might be a good idea but I'm not entirely sure if and how that would work. Maybe Florent has a suggestion.
/Jos
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Dominig ar Foll (Intel OTC)
-
Florent Vennetier (Intel OTC)
-
Jos Poortvliet