Jenkins EC2 plugin: how to choose different security group - hudson

I am trying to use the EC2 plugin from jenkins to launch a slave agaent instance on AWS EC2. However I want to be able to specify my security group and as of right now it forces me to choose default. Does anyone know a workaround for this?
I looked on git and apparently there was a pull request for this feature. I'm not very familiar with it but it did say it was closed so does that mean it never got commited?
Thanks in advance!

It's not tested or anything, but my fork has security groups as of today.
https://github.com/jmoses/ec2-plugin
There's also no downloadable .hpi in the repo, so you'd have to build it. I'll probably upload one at some point, or drop me a message and I can shoot you the one I've got. Work in progress.

Related

How to find MySQL database in AWS

This may sound like a silly question, but my client had me working on a dev version of his website, and now wants me to push changes to the live AWS server.
He's given me access, however I can't for the life of me find the MySQL database in AWS. I am given to understand it should be located under RDS but there seems to be nothing there:
Can someone tell me where to find it then? Did the client send me to the wrong server or something? He is not technical at all so not of any help.
You can use the tag editor to find all the resources that are running in the aws account (which can be tagged). Go to the tag editor and then select all region and resources to see where the db is running. Maybe its running under some other region and you are looking in the wrong region. Hope that helps

difference Open-shift advance and quick installation

I am new to Openshift world. When I try to setup Openshift cluster (I tried mini-shift already), I got two main styles (or ways) to setup open-shift.
1. Advanced installation
2. Quick installation
As the name suggests I think in advance installation we can get more control on installation, but quick installation is interactive but less controlled installation.
I googled out but I did not get any link for pros and cons for each of this type. I did not understand which way I can choose when. Can somebody help me out?
thanks in advance.
If you want to set up single-node development cluster, use minishift as you have already tried.
If you want to deploy any other cluster, do the Advanced installation. It's good for single-node clusters as well as production-grade multi-node deployments.
I usually do not recommend users to do the Quick installation, unless you a very specific reason to require this method.

OpenShift system and package updates/patches

How does one keep OpenShift gears up-to-date? For example, updates to:
The Linux kernel
Important components/libraries like libc
Apache
Apache modules like mod_wsgi
Python
Python packages
Does OpenShift automatically update these and then restart the gear (or reboot the node)? Or does OpenShift send email notifications and the end-user can restart the gear during maintenance windows? What is the model?
What got me thinking about this was back in January there was a remote-code-execution bug in Ruby on Rails that everyone had to patch immediately.
This FAQ seems to suggest that some level of upgrades happen automatically, but it isn’t clear whether this only applies to the OpenShift-specific code, or also other components like the kernel, Apache, etc.
I can tell you from my experience that changes to the openshift system are not always automatic. They had a change about 10 days ago and I'm still tracking down what they did to make my app run correctly. As far as I know there was no email sent. I did find a blog post of some of the major changes, not all. Of course, they introduced at least one bug that I know of. YMMV
My experiences over the last few weeks have been the following:
Last week there seemed to be an unannounced reboot of the server. I detected this by logging from a custom action hook. I didn't receive any email about it and I didn't see any notice at https://twitter.com/openshift_ops or https://openshift.redhat.com/app/status.
This week, there was the Heartbleed OpenSSL vulnerability and it seems like some gears were restarted. I didn't receive any email about it, Twitter didn't show anything, but there was information on the status page.

SVN web authentication by MySql

I want to do authentication for my SVN server through Apache Web Server by mod_dav_svn. Authentication users I want to use MySql since later I want to extend other functions later on.
I've follow this instruction and it's working out correctly and perfect for me
SVN Authentication using MySQL
But what happen since I want to define group of user with read-only and other groups read-write permission.
I'm out of ideas so please help me :) .
PS: AuthzSVNAccessFile dynamic editing would take too much of effort :'(
From what I have read if you are going to use the open source subversion server, your options are limited to modifying the access file as you were hesitant to do.
The issue is mentioned here, although in regards to LDAP auth: https://serverfault.com/questions/188023/webinterface-for-configuring-svn-access-in-mod-dav-svn
My advice is to set up a cron job to automatically generate the auth file on a regular interval.

Comet (Ajax Push) in Godaddy dedicated server?

I want to know if it's possible and I'm looking for tutorials to set it up.
APE website says that knowledge of JavaScript programming is sufficent to follow the tutorial however I haven't been able to puzzle even the first 2 lines of the tutorial.
I'm using Ubuntu. After downloading APE I have no idea what to do. I already set up SSH to access the server.
What should be my following steps or where can I find an easier to tutorial to use comet be it through APE or something else?
Assuming your GoDaddy server is running some flavor of Linux, I don't see any reason it would not be possible. I was just looking over the documentation and I am not clear on what part you are having trouble with. What Linux distribution are you using? Do you have SSH access?
If you have ssh access and a root account you should be able to just follow the instructions to get APE running on the default port.
If you are running a Debian dist (Ubuntu and others) it looks like you should download the source from Git and compile it. There are instructions for the compilation there. You can learn about what you need to do wth Git by search for "clone git".
If you can be more specific about what you are having trouble with, we can probably be more helpful. But ultimately you should be able to install this on any dedicated server without issue.