# 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/).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://awsnotes.dendron.so/developer-tools/aws-codedeploy/common/tutorials.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
