DEV Community

Dhiraj Patra
Dhiraj Patra

Posted on

AWS CodeBuild vs Travis CI

AWS CodePipeline with CodeBuild and CodeDeploy vs Travis CI:

What are the differences?

Developers describe AWS CodeDeploy as “Coordinate application deployments to Amazon EC2 instances”. AWS CodeDeploy is a service that automates code deployments to Amazon EC2 instances. AWS CodeDeploy makes it easier for you to rapidly release new features, helps you avoid downtime during deployment, and handles the complexity of updating your applications.

On the other hand, Travis CI is detailed as “A hosted continuous integration service for open source and private projects”. Free for open source projects.
AWS CodeDeploy and Travis CI are primarily classified as “Deployment as a Service” and “Continuous Integration” tools respectively.

Some of the features offered by AWS CodeDeploy are:
AWS CodeDeploy fully automates your code deployments, allowing you to deploy reliably and rapidly
AWS CodeDeploy helps maximize your application availability by performing rolling updates across your Amazon EC2 instances and tracking application health according to configurable rules
AWS CodeDeploy allows you to easily launch and track the status of your deployments through the AWS Management Console or the AWS CLI
ou might use manual approvals for these reasons:
You want someone to perform a code review or change management review before a revision is allowed into the next stage of a pipeline.

You want someone to perform manual quality assurance testing on the latest version of an application, or to confirm the integrity of a build artifact, before it is released.
You want someone to review new or updated text before it is published to a company website.

Publish Approval Notifications You can configure an approval action to publish a message to an Amazon Simple Notification Service topic when the pipeline stops at the action.

Also possible to parameterize variable

With AWS CodePipeline, there are no upfront fees or commitments. You pay only for what you use. AWS CodePipeline costs $1.00 per active pipeline* per month. AWS CodeDeploy deployments to AWS servers are free.

On the other hand, Travis CI provides the following key features:

Easy Setup- Getting started with Travis CI is as easy as enabling a project, adding basic build instructions to your project and committing code.

Travis CI allows you to move complex scripts into separate scripts stored in the same code repository.

Supports Your Platform- Lots of databases and services are pre-installed and can simply be enabled in your build configuration, we’ll launch them for you automatically. MySQL, PostgreSQL, ElasticSearch, Redis, Riak, RabbitMQ, Memcached are available by default.

Deploy With Confidence- Deploying to production after a successful build is as easy as setting up a bit of configuration, and we’ll deploy your code to Heroku, Engine Yard Cloud, Nodejitsu, cloudControl, OpenShift, and CloudFoundry.

Travis CI has a per-user pricing model. Starts at $69/month.
Travis CI offers the capabilities and scale that your organization requires, it is likely a safer bet to start with them. AWS CodePipeline gives the greatest feeling of vendor lock-in.

However if your organization already uses AWS then it will be easier to set up with CodePipeline.

Discussion (0)