> For the complete documentation index, see [llms.txt](https://awsnotes.dendron.so/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://awsnotes.dendron.so/developer-tools/aws-codedeploy/common/tutorials.md).

# Tutorials

{% hint style="info" %}
This page was generated from content adapted from the [AWS Developer Guide](https://github.com/awsdocs/aws-codedeploy-user-guide.git)
{% endhint %}

## Tutorial: Deploy an application from GitHub

* **Note**\
  You can also use CodeDeploy to deploy an application revision from GitHub to an Ubuntu Server instance. You can use the sample revision described in [Step 2: Create a sample application revision](https://github.com/kevinslin/aws-reference-notes/blob/main/services/aws_code_deploy/tutorials-on-premises-instance-2-create-sample-revision.md) in [Tutorial: Deploy an application to an on-premises instance with CodeDeploy (Windows Server, Ubuntu Server, or Red Hat Enterprise Linux)](https://github.com/kevinslin/aws-reference-notes/blob/main/services/aws_code_deploy/tutorials-on-premises-instance.md), or you can create a revision compatible with an Ubuntu Server instance and CodeDeploy. To create your own revision, see [Plan a revision for CodeDeploy](https://github.com/kevinslin/aws-reference-notes/blob/main/services/aws_code_deploy/application-revisions-plan.md) and [Add an application specification file to a revision for CodeDeploy](https://github.com/kevinslin/aws-reference-notes/blob/main/services/aws_code_deploy/application-revisions-appspec-file.md).

## Tutorial: Deploy an Amazon ECS service with a validation test

* **Note**\
  Completing this tutorial might result in charges to your AWS account. These include possible charges for CodeDeploy, AWS Lambda, and CloudWatch. For more information, see [AWS CodeDeploy pricing](https://aws.amazon.com/codedeploy/pricing/), [AWS Lambda pricing](https://aws.amazon.com/lambda/pricing/), and [Amazon CloudWatch pricing](https://aws.amazon.com/cloudwatch/pricing/).

## Tutorial: Deploy a Lambda function using AWS SAM

* **Note**\
  This tutorial requires you to create resources that might result in charges to your AWS account. These include possible charges for CodeDeploy, Amazon CloudWatch, and AWS Lambda. For more information, see [CodeDeploy pricing](https://aws.amazon.com/codedeploy/pricing/), [Amazon CloudWatch pricing](https://aws.amazon.com/cloudwatch/pricing/), and [AWS Lambda pricing](https://aws.amazon.com/lambda/pricing/).
