3. DevOps Pipeline
<code/> Git/bb/svn
SCMWrite
push/pull
CI/CD Server
DEVTESTPROD
Deployment Env
SCM – Source Code Management Repository
Ex: git, bitbucket, github, svn etc
CI – Continues Integration, Build
CD – Continues Deployment
Jenkins /Hudson – Web Based server
No build revision is here managed
To have build revision needs to configure nexus/jfrog
Developer
4. Softwares List
• AWS EC2 instance
• Security group inbound allowed ports: 8080, 22, 9090
• Install Git [sudo yum install git]
• Install Maven
• Install Java JDK 1.8.0(oracle jdk)
• Download from Jenkins web archive from internet [jenkins.war]
• Copy war to aws ec2 instance
• Start the Jenkins $ Java –Xms1g –Xmx1g –jar Jenkins.war
• Access Jenkins url example: http://aws-ec2-public-dns-example:8080/
• Login with default password provided instruction
5. Softwares List
• Install default plugins
• Create users : jadmin
• Create ENV variables under config system :MAVEN_HOME, JAVA_HOME etc
• Create a new item : enter name of the project, free style project ok
• Configure scm, build env, build, poll scm
• Bitbucket credentials etc Global config
• Bitbucket SCM login into [www.bitbucket.org]
• Choose your-repo-name, goto repository settings ->webhooks-> add
webhook add title, Jenkins url -> save
6. AWS DevOps
• AWS CodeDeploy uses S3 or AWS CodeCommit
• AWS CodePipeline Integrates with git, bitbucket, S3, github etc
• CodePipeline works with
• Adds Jenkins
• Adds CodeBuild
• Adds CodeBuild Create Build or use existing
• We choose linux, size micro, macro etc
• Docker or vm etc
7. ElasticBeans talks
• AWS Elastic Beanstalk
• End-to-end web application management.
• AWS Elastic Beanstalk is an easy-to-use service for deploying and
scaling web applications and services developed with Java, .NET, PHP,
Node.js, Python, Ruby, Go, and Docker on familiar servers such as
Apache, Nginx, Passenger, and IIS
8. AWS DevOps Pipeline
<code/> Git/bb/svn
SCMWrite
push/pull
CI_CD or
CodeBuild
DEVTESTPROD
Deployment Env
SCM – Source Code Management Repository
Ex: git, bitbucket, github, svn etc
CI – Continues Integration, Build
CD – Continues Deployment
Jenkins/Hudson – Web Based server
S3 – Simple Storage Server manages and
maintains the build revisions
Codepipe :
supports parallel and serial tasks
Easy to add stages when ever we need
AWS CP
AWS codepipeline
S3
S3
ElasticBeans talk – Web PAAS
Developer