Archive
Introduction to CloudBees, Developer’s perspective
So Why CloudBees?
For your day-to-day development
- At least, you ( or your team) wants to commit changes to external source control. (svn, git etc.)
- You should be able to preserve and release artifacts. (Our favourite tool is Maven.)
- It would be nice, as soon as you commit (or regular intervals), some external CI tool, takes update from your SCM repo and do build. (And publish to private maven repository too).
- And don’t we feel productive, if we have task management system to align with personal or team goals. (if agile tools available, even better.)
- You may want one 24 x 7 running development integration server, who is always running HEAD (aka snapshot) of your code.
- Once you are ready to release your application to world, you should be able to deploy your code to load-balanced servers.
- CloudBees DEV@cloud (or BUILD) provides tools for CI, SCM & Maven Repositories.
- CloudBees RUN@cloud (or RUN) provides pre-installed java application servers, ready to run your JEE compliant code.
- https://forge.cloudbees.com/a/johndoe/ – for SVN repos and Maven repos. You get 2GB free, combined for both.
- https://svn-johndoe.forge.cloudbees.com/project01/
- https://repository-johndoe.forge.cloudbees.com/snapshot/ (& release too.)
- https://johndoe.ci.cloudbees.com/ – Jenkins landing page. Create jobs, configure it. Very much intuitive.
- (Hopefully in future) https://johndoe.tasks.cloudbees.com/
For you run time needs
- https://run.cloudbees.com/a/johndoe#db-manage , yes you DB too. Free 5MB of MySQL, to get you started. If you already have big data set, I will recommend to keep Amazon RDS (or Xeround) in mind.
- https://run.cloudbees.com/a/johndoe#app-manage You can provision Tomcat or JBoss (and some other kinds too. Here is list)
End Note:
I have argued with myself, in self-hosting tools, I get much cheaper & unlimited CPU time. But I will be wasting my 80+ hours on perfecting it. Plus reliability of self-hosting service is definitely questionable.
Links to bookmark
- https://developer.cloudbees.com/bin/view/Main/
- Maven Settings File (settings.xml). It is recommended, you copy-over or merge-over existing settings.xml @ ~/.m2/settings.xml
- CloudBees support forum at Stackoverflow http://stackoverflow.com/questions/tagged/cloudbees
Public Key Cryptography (Yet another guide)
pub-key concept is basis for digital signatures and digital certs.
PGP is a hybrid cryptosystem.
- A public key of entity, whole this certificate belongs to.
- Certificate information. (“Identity” information about the user, such as name, user ID, and so on.)
- One or more digital signatures of third party companies vouching for authenticity of public key. Digital signature is for public key of entity in question, signed by ‘trusted’ 3rd party. Example verisign, geotrust etc.
- PGP Certs (lesser used)
No 3rd Party digital signature
Self signed digital signature
Multiple people can sign it.
- X.509 Certificates (most commonly used) (web browsers).
Passphrase
Further private key can be stored encrypted by using some password. Generally it is phrase, hence it’s called passphrase. Think of situation, if someone has access to your m/c and steal your private keys. Unless, they decrypt private key using same passphrase, they can’t use that key to encrypt any document
Strength of encryption.
Keys (private & public) are measured in bits. Generally it ranges from 64 bit to 1024 bit. Larger is key, more powerful encryption but bad performing. Hence while choosing key strength, it has to be right balance between strength and performance. Generally 128bit to 256 bit keys are enough for day to day operations like secure website etc. Unless it is military secret. 1024 bit keys are overkill.
Recent Comments