> For the complete documentation index, see [llms.txt](https://tkssharma-devops.gitbook.io/devops-training/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tkssharma-devops.gitbook.io/devops-training/devops-01-continuous-integration/continuous-integration-and-continuous-delivery/ci-cd-using-travis-github/travis-using-code-deploy-ec2.md).

# Travis using Code Deploy EC2

CodeDeploy is a deployment service that automates application deployments to **Amazon EC2 instances, on-premises instances, server less Lambda functions, or Amazon ECS services.**

**we will be covering deploying application to EC2 Instance**&#x20;

You can deploy a nearly unlimited variety of application content, including:

* code
* serverless AWS Lambda functions
* web and configuration files
* executables
* packages
* scripts
* multimedia files

CodeDeploy can deploy application content that runs on a server and is stored in Amazon S3 buckets, GitHub repositories, or Bitbucket repositories. CodeDeploy can also deploy a serverless Lambda function. You do not need to make changes to your existing code before you can use CodeDeploy.

CodeDeploy makes it easier for you to:

* Rapidly release new features.
* Update AWS Lambda function versions.
* Avoid downtime during application deployment.
* Handle the complexity of updating your applications, without many of the risks associated with error-prone manual deployments.

The service scales with your infrastructure so you can easily deploy to one instance or thousands.

CodeDeploy works with various systems for configuration management, source control, [continuous integration](https://aws.amazon.com/devops/continuous-integration/), [continuous delivery](https://aws.amazon.com/devops/continuous-delivery/), and continuous deployment. For more information, see [Product Integrations](https://aws.amazon.com/codedeploy/product-integrations/).

{% embed url="<https://www.youtube.com/watch?v=qZa5JXmsWZs>" %}

![](/files/-LiRfd80wJwcKI3DJFoL)
